]> sourceware.org Git - glibc.git/blame - ChangeLog
hppa: Remove lowlevellock.c.
[glibc.git] / ChangeLog
CommitLineData
2c3520d9
BO
12014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2
3 [BZ #15119]
4 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5
acaa4d24
RM
62014-06-09 Roland McGrath <roland@hack.frob.com>
7
8 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10
962b744d
RM
112014-06-09 Roland McGrath <roland@hack.frob.com>
12
d752f0cc
RM
13 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15
34eda6d1
RM
16 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18
50f0a637
RM
19 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
21
08f41f04
RM
22 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
24
962b744d
RM
25 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26 if not already defined.
27 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
28 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
29 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30 (TLS_INIT_TP): Use it.
31 (TLS_DEFINE_INIT_TP): New macro.
32 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33
09f19b05
JM
342014-06-09 Joseph Myers <joseph@codesourcery.com>
35
36 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37 constant.
38 [POSIX] (IXANY): Likewise.
39 [POSIX] (OLCUC): Likewise.
40 [POSIX || POSIX2008] (CBAUD): Do not allow.
41 [POSIX || POSIX2008] (DEFECHO): Likewise.
42 [POSIX || POSIX2008] (ECHOCTL): Likewise.
43 [POSIX || POSIX2008] (ECHOKE): Likewise.
44 [POSIX || POSIX2008] (ECHOPRT): Likewise.
45 [POSIX || POSIX2008] (EXTA): Likewise.
46 [POSIX || POSIX2008] (EXTB): Likewise.
47 [POSIX || POSIX2008] (FLUSHO): Likewise.
48 [POSIX || POSIX2008] (LOBLK): Likewise.
49 [POSIX || POSIX2008] (PENDIN): Likewise.
50 [POSIX || POSIX2008] (SWTCH): Likewise.
51 [POSIX || POSIX2008] (VDISCARD): Likewise.
52 [POSIX || POSIX2008] (VDSUSP): Likewise.
53 [POSIX || POSIX2008] (VLNEXT): Likewise.
54 [POSIX || POSIX2008] (VREPRINT): Likewise.
55 [POSIX || POSIX2008] (VSTATUS): Likewise.
56 [POSIX || POSIX2008] (VWERASE): Likewise.
57 (B*): Change to B[0123456789]*.
58 * conform/data/time.h-data [POSIX || UNIX98]
59 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
60 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
61 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
62 [POSIX] (tm_*): Do not allow.
63
686554bf
JM
642014-06-07 Joseph Myers <joseph@codesourcery.com>
65
66 * Makefile (install): Don't set LANGUAGE.
67 * Makefile.in (install): Likewise.
68 * assert/Makefile (test-assert-ENV): Remove variable.
69 (test-assert-perr-ENV): Likewise.
70 * elf/Makefile (neededtest4-ENV): Likewise.
71 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
72 [$(cross-compiling) = no]: Don't set LANGUAGE.
73 * io/ftwtest-sh (LANG): Remove variable.
74 * libio/Makefile (tst-widetext-ENV): Likewise.
75 * manual/install.texi (Running make install): Don't refer to
76 environment settings for make install.
77 * INSTALL: Regenerated.
78 * nptl/tst-tls6.sh: Don't set LANG.
79 * posix/globtest.sh (LANG): Remove variable.
80 * string/Makefile (tester-ENV): Likewise.
81 (inl-tester-ENV): Likewise.
82 (noinl-tester-ENV): Likewise.
83 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
84 [$(cross-compiling) = no]: Don't set LANGUAGE.
85 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
86 without explicit environment settings.
87
68e6b6b1
RM
882014-06-06 Roland McGrath <roland@hack.frob.com>
89
90 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
91 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
92 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
93 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
94
4d3ae034
CM
952014-06-06 Chris Metcalf <cmetcalf@tilera.com>
96
97 * crypt/crypt-private.h [DOS]: Add some includes taken from the
98 other files in the crypt directory.
99 * crypt/crypt.c: Remove duplicate includes.
100 * crypt/crypt-entry.c: Likewise.
101 * crypt/crypt_util.c: Likewise.
102
8540f6d2
JM
1032014-06-06 Joseph Myers <joseph@codesourcery.com>
104
105 * Makeconfig (run-program-env): New variable.
106 (run-program-prefix-before-env): Likewise.
107 (run-program-prefix-after-env): Likewise.
108 (run-program-prefix): Define in terms of new variables.
109 (built-program-cmd-before-env): New variable.
110 (built-program-cmd-after-env): Likewise.
111 (built-program-cmd): Define in terms of new variables.
112 (test-program-prefix-before-env): New variable.
113 (test-program-prefix-after-env): Likewise.
114 (test-program-prefix): Define in terms of new variables.
115 (test-program-cmd-before-env): New variable.
116 (test-program-cmd-after-env): Likewise.
117 (test-program-cmd): Define in terms of new variables.
118 * Rules (make-test-out): Use $(run-program-env).
119 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
120 (help): Do not mention environment variables. Mention
121 --timeoutfactor option.
122 (timeoutfactor): New variable.
123 (blacklist_exports): Remove function.
124 (exports): Remove variable.
125 (command): Do not include ${exports}.
126 * manual/install.texi (Configuring and compiling): Do not mention
127 test wrappers preserving environment variables. Mention that last
128 assignment to a variable must take precedence.
129 * INSTALL: Regenerated.
130 * benchtests/Makefile (run-bench): Use $(run-program-env).
131 * catgets/Makefile ($(objpfx)test1.cat): Use
132 $(built-program-cmd-before-env), $(run-program-env) and
133 $(built-program-cmd-after-env).
134 ($(objpfx)test2.cat): Do not specify environment variables
135 explicitly.
136 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
137 $(run-program-env) and $(built-program-cmd-after-env).
138 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
139 $(run-program-env) and $(test-program-cmd-after-env).
140 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
141 explicitly.
142 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
143 run_program_env and test_program_cmd_after_env arguments.
144 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
145 * elf/tst-pathopt.sh: Use run_program_env argument.
146 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
147 $(test-wrapper-env) and $(run-program-env).
148 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
149 run_program_env arguments.
150 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
151 * intl/Makefile ($(objpfx)tst-gettext.out): Use
152 $(test-program-prefix-before-env), $(run-program-env) and
153 $(test-program-prefix-after-env).
154 ($(objpfx)tst-gettext2.out): Likewise.
155 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
156 run_program_env and test_program_prefix_after_env arguments.
157 * intl/tst-gettext2.sh: Likewise.
158 * intl/tst-gettext4.sh: Do not set environment variables
159 explicitly.
160 * intl/tst-gettext6.sh: Likewise.
161 * intl/tst-translit.sh: Likewise.
162 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
163 $(test-program-prefix-before-env), $(run-program-env) and
164 $(test-program-prefix-after-env).
165 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
166 run_program_env and test_program_prefix_after_env arguments.
167 * math/Makefile (run-regen-ulps): Use $(run-program-env).
168 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
169 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
170 explicitly with each use of ${test_wrapper_env}.
171 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
172 $(test-program-prefix-before-env), $(run-program-env) and
173 $(test-program-prefix-after-env).
174 * posix/tst-getconf.sh: Do not set environment variables
175 explicitly.
176 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
177 run_program_env and test_program_prefix_after_env arguments.
178 * stdio-common/tst-printf.sh: Do not set environment variables
179 explicitly.
180 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
181 $(test-program-prefix-before-env), $(run-program-env) and
182 $(test-program-prefix-after-env).
183 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
184 run_program_env and test_program_prefix_after_env arguments.
185 Split $test calls into $test_pre and $test.
186 * timezone/Makefile (build-testdata): Use
187 $(built-program-cmd-before-env), $(run-program-env) and
188 $(built-program-cmd-after-env).
189
ed36bfa1
AZ
1902014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
191
192 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
193 strlen for non SHARED builds.
194
fc75bf46
SP
1952014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
196
197 * nptl/allocatestack.c (check_list): Inlined function...
198 (__reclaim_stacks): ... here.
199
d89b3d80
OB
2002014-06-05 Ondřej Bílka <neleai@seznam.cz>
201
202 [BZ #15698]
203 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
204 memory overrun.
205
2bf18041
JM
2062014-06-05 Joseph Myers <joseph@codesourcery.com>
207
208 * Rules (make-test-out): Include
209 LOCPATH=$(common-objpfx)localedata in default environment.
210 * debug/Makefile (tst-chk1-ENV): Remove variable.
211 (tst-chk2-ENV): Likewise.
212 (tst-chk3-ENV): Likewise.
213 (tst-chk4-ENV): Likewise.
214 (tst-chk5-ENV): Likewise.
215 (tst-chk6-ENV): Likewise.
216 (tst-lfschk1-ENV): Likewise.
217 (tst-lfschk2-ENV): Likewise.
218 (tst-lfschk3-ENV): Likewise.
219 (tst-lfschk4-ENV): Likewise.
220 (tst-lfschk5-ENV): Likewise.
221 (tst-lfschk6-ENV): Likewise.
222 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
223 (tst-iconv7-ENV): Likewise.
224 * intl/Makefile (LOCPATH-ENV): Likewise.
225 (tst-codeset-ENV): Likewise.
226 (tst-gettext3-ENV): Likewise.
227 (tst-gettext5-ENV): Likewise.
228 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
229 (tst-fopenloc-ENV): Likewise.
230 (tst-fgetws-ENV): Remove variable.
231 (tst-ungetwc1-ENV): Likewise.
232 (tst-ungetwc2-ENV): Likewise.
233 (bug-ungetwc2-ENV): Likewise.
234 (tst-swscanf-ENV): Likewise.
235 (bug-ftell-ENV): Likewise.
236 (tst-fgetwc-ENV): Likewise.
237 (tst-fseek-ENV): Likewise.
238 (tst-ftell-partial-wide-ENV): Likewise.
239 (tst-ftell-active-handler-ENV): Likewise.
240 (tst-ftell-append-ENV): Likewise.
241 * posix/Makefile (tst-fnmatch-ENV): Likewise.
242 (tst-regexloc-ENV): Likewise.
243 (bug-regex1-ENV): Likewise.
244 (tst-regex-ENV): Likewise.
245 (tst-regex2-ENV): Likewise.
246 (bug-regex5-ENV): Likewise.
247 (bug-regex6-ENV): Likewise.
248 (bug-regex17-ENV): Likewise.
249 (bug-regex18-ENV): Likewise.
250 (bug-regex19-ENV): Likewise.
251 (bug-regex20-ENV): Likewise.
252 (bug-regex22-ENV): Likewise.
253 (bug-regex23-ENV): Likewise.
254 (bug-regex25-ENV): Likewise.
255 (bug-regex26-ENV): Likewise.
256 (bug-regex30-ENV): Likewise.
257 (bug-regex32-ENV): Likewise.
258 (bug-regex33-ENV): Likewise.
259 (bug-regex34-ENV): Likewise.
260 (bug-regex35-ENV): Likewise.
261 (tst-rxspencer-ENV): Likewise.
262 (tst-rxspencer-no-utf8-ENV): Likewise.
263 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
264 (tst-sscanf-ENV): Likewise.
265 (tst-swprintf-ENV): Likewise.
266 (tst-swscanf-ENV): Likewise.
267 (test-vfprintf-ENV): Likewise.
268 (scanf13-ENV): Likewise.
269 (bug14-ENV): Likewise.
270 (tst-grouping-ENV): Likewise.
271 * stdlib/Makefile (tst-strtod-ENV): Likewise.
272 (tst-strtod3-ENV): Likewise.
273 (tst-strtod4-ENV): Likewise.
274 (tst-strtod5-ENV): Likewise.
275 (testmb2-ENV): Likewise./
276 * string/Makefile (tst-strxfrm-ENV): Likewise.
277 (tst-strxfrm2-ENV): Likewise.
278 (bug-strcoll1-ENV): Likewise.
279 (test-strcasecmp-ENV): Likewise.
280 (test-strncasecmp-ENV): Likewise.
281 * time/Makefile (tst-strptime-ENV): Likewise.
282 (tst-ftime_l-ENV): Likewise.
283 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
284 (tst-mbrtowc-ENV): Likewise.
285 (tst-wcrtomb-ENV): Likewise.
286 (tst-mbrtowc2-ENV): Likewise.
287 (tst-c16c32-1-ENV): Likewise.
288 (tst-mbsnrtowcs-ENV): Likewise.
289
cd1fb604
OB
2902014-06-05 Ondřej Bílka <neleai@seznam.cz>
291
292 * manual/resource.texi (How to get information about the memory
293 subsystem?): Fix typo.
294 Reported by Peon de la Parra Ivan <peon@keba.com>
295
b42eca7d
GY
2962014-06-03 Guo Yixuan <culu.gyx@gmail.com>
297
298 [BZ #16882]
299 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
300 (pthread_spin_lock): Branch out of spin loop to proper location.
301 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
302 (pthread_spin_lock): Likewise.
303
902b71f9
DM
304 * nptl/tst-spin4.c: New test.
305 * nptl/Makefile (tests): Add tst-spin4.
306
f9d2d032
AS
3072014-06-03 Andreas Schwab <schwab@suse.de>
308
309 [BZ #15946]
310 * resolv/res_send.c (send_dg): Reload file descriptor after
311 calling reopen.
312
cf7bfd28
SL
3132014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
314
315 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
316
111cc714
RH
3172014-06-03 Richard Henderson <rth@redhat.com>
318
89b4bd6b
RH
319 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
320 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
321 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
322 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
323 in the SAVE_PID block.
324 (__libc_vfork): New alias.
71840409 325 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 326
111cc714
RH
327 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
328 child in registers, not on the stack. Remove RESET_PID conditionals.
329 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
330
ccc39911
MS
3312014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
332
333 * sysdeps/aarch64/libm-test-ulps: Regenerate.
334
693096cc
W
3352014-06-03 Wilco <wdijkstr@arm.com>
336
337 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
338 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
339 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
340 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
341 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
342 Likewise.
343
0b4366bc
W
3442014-06-03 Wilco <wdijkstr@arm.com>
345
346 * sysdeps/aarch64/fpu/math_private.h
347 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
348 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
349 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
350 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
351 Fix declarations.
352
8747cd03
KS
3532014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
354
355 * crypt/crypt-private.h: Include ufc-crypt.h.
356 (__b64_from_24bit): Declare extern.
357 * crypt/crypt_util.c(__b64_from_24bit): New function.
358 (b64t): New static const variable.
359 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
360 (b64t): Remove variable.
361 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
362 * crypt/sha256-crypt.c: Include crypt-private.h.
363 (b64t): Remove variable.
364 (__sha256_crypt_r): Remove b64_from_24bit and replace
365 with __b64_from_24bit.
366 * crypt/sha512-crypt.c: Likewise.
367
d936d379
RM
3682014-06-02 Roland McGrath <roland@hack.frob.com>
369
370 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
371 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
372 Label the code __libc_vfork rather than __vfork.
373 [!NOT_IN_libc] (vfork): Define as weak alias.
374 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
375 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
376 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
377
9fa76613
SP
3782014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
379
380 * malloc/malloc.c (malloc_info): Fix format specifier for
381 n_mmaps.
382
a88dadbe
W
3832014-06-02 Wilco <wdijkstr@arm.com>
384
385 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
386 FPCR write.
387
c95b3011
W
3882014-06-02 Wilco <wdijkstr@arm.com>
389
390 [BZ #17009]
391 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
392 Rewrite to reduce FPCR/FPSR accesses.
393
6b4d7a90
DM
3942014-06-01 David S. Miller <davem@davemloft.net>
395
396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
397
30f3d07c
DM
3982014-05-31 David S. Miller <davem@davemloft.net>
399
400 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
401 to occur in round to nearest mode when |x| >= 2.0
402
74f31c18
RH
4032014-05-30 Richard Henderson <rth@twiddle.net>
404
f0712b54
RH
405 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
406 (PSEUDO_RET_NOERRNO): Remove.
407 (ret): Don't redefine.
408 (ret_NOERRNO): Define in terms of ret.
409 (ret_ERRVAL): Likewise.
410
74f31c18
RH
411 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
412 use of PSEUDO_RET; perform the error check directly.
413
30477995
MM
4142014-05-30 Marko Myllynen <myllynen@redhat.com>
415
416 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
417 with __int128_t.
418
62a58816
SP
4192014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
420
421 * malloc/malloc (malloc_info): Fix formatting.
422
4d653a59
SP
4232014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
424 Roland McGrath <roland@hack.frob.com>
425
426 * malloc/malloc (malloc_info): Also print mmapped statistics.
427
5190c17f
RM
4282014-05-30 Roland McGrath <roland@hack.frob.com>
429
430 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
431 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
432
987c0269
OB
4332014-05-30 Ondřej Bílka <neleai@seznam.cz>
434
435 * malloc/malloc.c (malloc_info): Inline mi_arena.
436
af4e8ef9
RH
4372014-05-29 Richard Henderson <rth@twiddle.net>
438
1670e207
RH
439 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
440 Remove comma before expanding ASM_ARGS_##nr.
441 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
442 Make _x0 a strict output; make _x8 a strict input; adjust expansion
443 of ASM_ARGS_##nr.
444 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
445 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
446 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
447 (ASM_ARGS_1): Add leading comma.
448
11a28aee
RH
449 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
450 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
451 to __errno_location.
452 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
453 Remove the expected plt for __errno_location.
454
a17e5ffb 455 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 456 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
457 call to __read_tp.
458
b5be4597
RH
459 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
460 Always allocate 64 bytes of stack frame. Use ldp/stp to create
461 it and break it down.
462 (DOCARGS_0, DOCARGS_1): Do nothing.
463 (DOCARGS_2): Update to store into the new stack frame.
464 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
465 (UNDOCARGS_1): Update to restore from the new stack frame.
466 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
467 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
468
645d44ab
RH
469 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
470 (SINGLE_THREAD_P): New parameter for result regno.
471 (PSEUDO): Update to match; use cbz instead of beq.
472
a8b4f04a
RH
473 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
474 Use ENTRY to define the _nocancel entry point. Share the syscall
475 and syscall error check paths with the cancel path.
476 (PSEUDO_END): New.
477
af4e8ef9
RH
478 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
479 whitespace; tabs before and after asm mnemonics.
480
26b0d2e1
EW
4812014-05-29 Eric Wong <normalperson@yhbt.net>
482
483 [BZ #15132]
484 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
485 Call fstat64 or stat64 internally, depending on arguments passed.
486 Replace stat buffer argument with file descriptor argument.
487 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
488 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
489 Pass fd to __internal_statvfs instead of calling fstat64.
490 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
491 Pass fd to __internal_statvfs64 instead of calling fstat64.
492 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
493 Pass -1 to __internal_statvfs instead of calling stat64.
494 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
495 Pass -1 to __internal_statvfs64 instead of calling stat64.
496
1efe2bd9
RM
4972014-05-28 Roland McGrath <roland@hack.frob.com>
498
0d3b7a19
RM
499 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
500 that was previously under [RESET_PID].
501 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
502
1efe2bd9
RM
503 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
504 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
505
a6bea3ca
RM
5062014-05-27 Roland McGrath <roland@hack.frob.com>
507
30b6629e
RM
508 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
509
a6bea3ca
RM
510 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
511 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
512
3dfb9a5c
OB
5132014-05-27 Ondřej Bílka <neleai@seznam.cz>
514
515 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
516
774f9285
AS
5172014-05-27 Andreas Schwab <schwab@suse.de>
518
519 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
520 TLS_INIT_TP macro.
521 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
522 * elf/rtld.c (init_tls, dl_main): Likewise.
523 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
524 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
525 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
526 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
527 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
528 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
529 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
530 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
531 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
532 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
533 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
534 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
535 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
536 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
537 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
538 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
539 * sysdeps/generic/tls.h: Update description.
540
36ffe739
WN
5412014-05-27 Will Newton <will.newton@linaro.org>
542
543 [BZ #16990]
544 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
545 and restore r2 rather than just restoring.
546
2482ae43
SP
5472014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
548
549 [BZ #16724]
550 * libio/tst-ftell-append.c: New test case.
551 * libio/Makefile (tests): Add test case.
552 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
553 append mode.
554 * libio/wfileops.c (do_ftell_wide): Likewise.
555
3d1024e8
AZ
5562014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
557
bab90016
AZ
558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
559
c7a8d667
AZ
560 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
561 ...
562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
564 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
565 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
566 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
567 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
568 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
569 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
570 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
571 Moved ...
572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
573 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
574 Moved ...
575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
576 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
577 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
578 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
579 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
580 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
581 ...
582 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
583 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
584 Moved ...
585 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
586 here.
587 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
588 ...
589 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
590 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
591 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
592
daee7851
AZ
593 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
594 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
595 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
596 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
597
50a40819
AZ
598 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
599 merge into ...
600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
602 ...
603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
604 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
605 ...
606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
608 Moved ...
609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
610 here.
611 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
612 Moved ...
613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
615 Moved ...
616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
617
8464c2a1
AZ
618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
619 conditional [RESET_PID].
620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
622 removed.
623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
624 removed.
625
3d1024e8
AZ
626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
627 <tcb-offsets.h>.
628 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
629 (__libc_vfork): New strong alias.
630 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
631 removed.
632 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
633 Removed.
634
635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
636 <tcb-offsets.h>.
637 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
638 (__libc_vfork): New strong alias.
639 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
640 removed.
641 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
642 removed.
643
fdfd175d
CD
6442014-05-26 Carlos O'Donell <carlos@redhat.com>
645
646 * malloc/malloc.c (mi_arena): New function.
647 (malloc_info): Remove nested function mi_arena. Call non-nosted
648 function mi_arena.
649
d298c416
AZ
6502014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
651
652 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
653 by insrwi.
654 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
655 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
656 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
657 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
658 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
659 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
660 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
661
b60ea6ff
AS
6622014-05-26 Andreas Schwab <schwab@suse.de>
663
664 [BZ #16984]
665 * locale/programs/repertoire.c (repertoire_read): Add slash
666 between I18NPATH element and file name.
667 * locale/programs/locfile.c (locfile_read): Likewise.
668
67365926
SL
6692014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
670
671 * nptl/pthread_mutexattr_settype.c
672 (__pthread_mutexattr_settype):
673 Disable lock elision for PTHREAD_MUTEX_NORMAL.
674
f8bdf1f0
SL
6752014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
676
677 * nptl/tst-mutex5 (do_test):
678 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
679
15eaf6ff
SP
6802014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
681
682 * benchtests/README: Document 'init' directive.
683 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
684 BENCH_INIT.
685 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
686 (parse_file): Recognize 'init' directive.
687
75f11331
KM
6882014-05-26 Kyle McMartin <kyle@redhat.com>
689
690 [BZ #16796]
691 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
692 alignment of struct pthread.
693
c3ec475c
SP
6942014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
695
696 [BZ #16878]
697 * nscd/netgroupcache.c (addgetnetgrentX): Look for
698 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
699 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
700 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
701
82aab97c
RH
7022014-05-25 Richard Henderson <rth@twiddle.net>
703
aa2f176d
RH
704 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
705 (SINGLE_THREAD_P_PIC): Remove.
706 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
707 (SINGLE_THREAD_P_PIC): Remove.
708
ca3cfa40
RH
709 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
710 branch to syscall error ...
711 (PSEUDO): ... here.
712 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
713 from __local_syscall_error to .Lsyscall_error.
714 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
715 (SYSCALL_ERROR): Update label name.
716
6e6c2d01
RH
717 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
718 Do not use DOARGS/UNDOARGS.
719 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
720 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
721 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
722 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
723 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
724
c69abcee
RH
725 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
726 block comment.
727
82aab97c
RH
728 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
729 define if !NOT_IN_libc.
730 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
731 define with non-default symbol versions.
732
8820e3ac
RH
7332014-05-23 Richard Henderson <rth@twiddle.net>
734
900e445f
RH
735 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
736 (vfork, __vfork): Define via compat_symbol.
737
8820e3ac
RH
738 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
739 [!HAVE_IFUNC] (vfork_compat): Remove.
740 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
741
e59252a5
JM
7422014-05-23 Joseph Myers <joseph@codesourcery.com>
743
744 [BZ #16978]
745 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
746 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
747 variable.
748
132c7f5f
RH
7492014-05-23 Richard Henderson <rth@twiddle.net>
750
bc89e962
RH
751 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
752 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
753 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
754 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
755
756 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
757 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
758 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
759 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
760 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
761 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
762 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
763 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
764 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
765 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
766 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
767 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
768 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
769 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
770 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
771 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
772 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
773 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
774 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
775 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
776 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
777 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
778 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
779 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
780 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
781 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
782 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
783 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
784 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
785 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
786 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
787 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
788 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
789 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
790 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
791 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
792 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
793 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
794 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
795 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
796 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
797 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
798 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
799 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
800 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
801 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
802 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
803 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
804 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
805 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
806 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
807 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
808 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
809 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
810 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
811 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
812
e2fa4bc2
RH
813 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
814 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
815 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
816 before exiting on error.
817 (__libc_vfork): New strong alias.
818 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
819 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
820
279b24e2
RH
821 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
822 that was previously under [RESET_PID].
823 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
824
132c7f5f
RH
825 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
826
b72592e7
JM
8272014-05-23 Joseph Myers <joseph@codesourcery.com>
828
829 [BZ #16977]
830 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
831 value when x - 1 is zero.
832 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
833 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
834 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
835 0.0L for an argument of 1.0L.
836 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
837 Likewise.
838 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
839 value when x - 1 is zero.
840 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
841 * sysdeps/i386/fpu/libm-test-ulps: Update.
842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
843
2302d679
RV
8442014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
845
846 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
847 alphasort and versionsort.
848
32999d63
AZ
8492014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
850
851 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
852 macro.
853 [copysignf]: Likewise.
854
019324d0
SP
8552014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
856
857 * crypt/md5-crypt.c: Fix formatting.
858
34fff5c2
KS
8592014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
860
861 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
862 (b64_from_24bit): New function.
863
3d2badac
AZ
8642014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
865
866 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
867 libc_hidden_builtin_def to ifunc.
868 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
869 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
870
f7bb179f 8712014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
872
873 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
874 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
875
4134b50d
JM
8762014-05-21 Joseph Myers <joseph@codesourcery.com>
877
bb7d0337
JM
878 * nscd/Depend (linuxthreads): Remove.
879 (nptl): Add.
880 * resolv/Depend (linuxthreads): Remove.
881 * rt/Depend (linuxthreads): Remove.
882
4134b50d
JM
883 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
884 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
885 $(common-objpfx)elf/.
886 (link-libc-before-gnulib): Likewise.
887 (elfobjdir): Remove variable.
888 * Makefile (install): Use $(elf-objpfx) instead of
889 $(common-objpfx)elf/.
890 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
891 $(elfobjdir)/.
892 (link-libc-deps): Likewise.
893 ($(common-objpfx)libc.so): Likewise.
894 ($(common-objpfx)linkobj/libc.so): Likewise.
895 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
896 instead of $(common-objpfx)elf/.
897 (symbolic-link-list): Likewise.
898 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
899 [$(cross-compiling) = no]: Likewise.
900 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
901 $(elfobjdir)/.
902 (static-gnulib-arch): Likewise.
903 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
904 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
905 $(common-objpfx)elf/.
906
3612eb8f
RH
9072014-05-21 Richard Henderson <rth@redhat.com>
908
a6b3657b
RH
909 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
910 (SINGLE_THREAD_P): Use the correct width load. Fold
911 into the ldr offset.
912
3612eb8f
RH
913 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
914 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
915
175cef41
JM
9162014-05-20 Joseph Myers <joseph@codesourcery.com>
917
918 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
919 (libgcc_s_resume): Use __attribute_used__.
920 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
921 Likewise.
922
e13bccd3
AZ
9232014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
924
925 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
926 optimization when used with float constants.
927
7c112a38
AZ
928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
929
ae75a883
AJ
9302014-05-20 Aurelien Jarno <aurelien@aurel32.net>
931
932 [BZ #16915]
933 * locale/nl_langinfo_l.c: Make direct reference to every
934 _nl_current_CATEGORY symbol.
935 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
936 (tests-static): Add tst-langinfo-static.
937 (tests-special): Add tst-langinfo-static.out.
938 ($(objpfx)tst-langinfo.out): Redirect output.
939 ($(objpfx)tst-langinfo-static.out): New.
940 * localedata/tst-langinfo.sh: Send output to stdout.
941 * localedata/tst-langinfo-static.c: New file.
942
4406c41c
AJ
943 [BZ #16965]
944 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
945 when the shift amount is modulo the limb size.
946
4c0a1e63
RH
9472014-05-20 Richard Henderson <rth@redhat.com>
948
de9d8f20
RH
949 [BZ #16967]
950 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
951 Change type of sa_flags from unsigned int to int.
952
4c0a1e63
RH
953 [BZ #16966]
954 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
955
956 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
957
a60339aa
WN
9582014-05-20 Will Newton <will.newton@linaro.org>
959
960 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
961 Test the return value of the system call in the nocancel case.
962
7d05a816
YR
9632014-05-20 Will Newton <will.newton@linaro.org>
964 Yvan Roux <yvan.roux@linaro.org>
965
966 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
967 #include of asm/ptrace.h.
968 (PTRACE_GET_THREAD_AREA): Remove #undef.
969 (PTRACE_GETHBPREGS): Likewise.
970 (PTRACE_SETHBPREGS): Likewise.
971 (struct user_regs_struct): New structure.
972 (struct user_fpsimd_struct): New structure.
973 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
974 #include of asm/ptrace.h and second #include of sys/user.h.
975 (PTRACE_GET_THREAD_AREA): Remove #undef.
976 (PTRACE_GETHBPREGS): Likewise.
977 (PTRACE_SETHBPREGS): Likewise.
978 (ELF_NGREG): Use new struct user_regs_struct.
979 (elf_fpregset_t): Use new struct user_fpsimd_struct.
980
af121e37
AZ
9812014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
982
983 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
984 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
985
834caf06
JM
9862014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
987
988 [BZ #16958]
989 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
990 membar to avoid block loads/stores to overlap previous stores.
991
e184a918
RH
9922014-05-17 Richard Henderson <rth@redhat.com>
993
994 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
995 Create the __##syscall_name##_nocancel entry point.
996 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
997 Remove; let the sysdep-cancel.h code create it.
998
f56c7a6a
DM
9992014-05-17 David S. Miller <davem@davemloft.net>
1000
1001 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1002 Protect with __USE_GNU.
1003 (TIOCSET_TEMPT): Likewise.
1004 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1005 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1006 these are already provided in bits/ioctl-types.h
1007
f75616b2
RM
10082014-05-16 Roland McGrath <roland@hack.frob.com>
1009
3edeca86
RM
1010 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1011 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1012
f75616b2
RM
1013 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1014 Use wait4 regardless of [__NR_waitpid].
1015
deb0f7f6
MR
10162014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1017
1018 PR libgcc/60166
1019 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1020 (_FP_NANSIGN_Q): Set the quiet bit.
1021
79520f4b
JM
10222014-05-16 Joseph Myers <joseph@codesourcery.com>
1023
1024 * benchtests/Makefile
1025 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1026 not $(common-objpfx)math/libm.so.
1027 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1028 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1029 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1030 $(common-objpfx)dlfcn/libdl.so.
1031 ($(objpfx)tst-audit8): Depend on $(libm), not
1032 $(common-objpfx)math/libm.so.
1033 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1034 not $(common-objpfx)dlfcn/libdl.so.
1035 * math/Makefile
1036 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1037 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1038 [$(build-shared) = yes].
1039 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1040 $(common-objpfx)nptl/libpthread.so.
1041 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1042 $(common-objpfx)math/libm.so$(libm.so-version) or
1043 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1044 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1045 $(common-objpfx)dlfcn/libdl.so.
1046 * setjmp/Makefile (link-libm): Remove variable.
1047 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1048 * stdio-common/Makefile (link-libm): Remove variable.
1049 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1050 * stdlib/Makefile (link-libm): Remove variable.
1051 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1052 ($(objpfx)tst-strtod-round): Likewise.
1053 ($(objpfx)tst-tininess): Likewise.
1054 ($(objpfx)tst-strtod-underflow): Likewise.
1055 ($(objpfx)tst-strtod6): Likewise.
1056 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1057 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1058 $(common-objpfx)dlfcn/libdl.so.
1059
026b0fe4
AZ
10602014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1061
1062 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1063 BSD terminal modes definitions.
1064
def4bcb2
RM
10652014-05-16 Roland McGrath <roland@hack.frob.com>
1066
fe39b021
RM
1067 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1068 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1069
1d1fc46e 1070 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1071 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1072 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1073 Don't do #include_next.
1074 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1075 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1076 Don't do #include_next.
1077 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1078 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1079 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1080 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1081
c72399fb
AM
10822014-05-16 Allan McRae <allan@archlinux.org>
1083
d51d659d
AM
1084 * po/sv.po: Update Swedish translation from translation project.
1085
c72399fb
AM
1086 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1087 in sed expression.
1088
d0583c40
AJ
10892014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1090
1091 [BZ #16917]
1092 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1093 errno if the TIOCGPTN ioctl fails with an error different than
1094 EINVAL.
1095 * login/tst-ptsname.c: New file.
1096 * login/Makefile (tests): Add tst-ptsname.
1097
d16e6ec7
AJ
1098 [BZ #16943]
1099 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1100 and prlimit64.
1101
cf26a0cb
SP
11022014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1103
1104 [BZ #16849]
1105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1106 herrno to return EAI_AGAIN.
1107
5675da1e
RM
11082014-05-14 Roland McGrath <roland@hack.frob.com>
1109
a5d87b3d
RM
1110 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1111 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1112 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1113 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1114 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1115 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1116 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1117 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1118 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1119 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1120 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1121 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1122 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1123 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1124 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1125 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1126 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1127 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1129 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1130 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1131 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1132 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1133 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1134 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1135 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1136 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1137 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1138 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1139 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1141 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1143 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1145 Moved ...
1146 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1148 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1150 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1154 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1156 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1158 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1160 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1162 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1166 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1168 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1170 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1172 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1174 Moved ...
1175 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1185 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1187 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1189 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1191 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1193 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1195 Moved ...
1196 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1198 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1199
039890a6
RM
1200 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1201 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1202 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1203 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1204 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1205 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1206 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1207 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1208 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1209 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1210 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1211 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1212 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1213 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1214 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1215 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1216 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1217 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1218 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1219 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1220 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1221 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1222 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1223 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1224 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1225 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1226 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1227 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1228 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1229 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1230 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1231
65c89320
RM
1232 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1233 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1234
348f8e8c
RM
1235 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1236 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1237 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1238 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1239 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1240 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1241 Moved ...
1242 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1243 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1244 Moved ...
1245 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1246 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1247 Moved ...
1248 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1249 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1250 Moved ...
1251 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1252 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1253 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1254 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1255 Moved ...
1256 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1257 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1258 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1259 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1260 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1261 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1262 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1263 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1264 Moved ...
1265 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1266 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1267 Moved ...
1268 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1269 ... here.
1270 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1271 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1272 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1273 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1274 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1275 Moved ...
1276 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1277 ... here.
1278 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1279 Moved ...
1280 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1281 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1282 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1283 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1284 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1285 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1286 Moved ...
1287 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1288 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1289 Moved ...
1290 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1291 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1292 Moved ...
1293 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1294 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1295 Moved ...
1296 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1297 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1298 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1299 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1300 Moved ...
1301 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1302 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1303 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1304 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1305 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1306 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1307 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1308 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1309 Moved ...
1310 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1311 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1312 Moved ...
1313 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1314 ... here.
1315 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1316 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1317 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1318 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1319 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1320 Moved ...
1321 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1322 ... here.
1323 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1324 Moved ...
1325 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1326 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1327 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1328 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1329 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1330 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1331 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1332 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1333 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1334 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1335 Moved ...
1336 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1337 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1338 Moved ...
1339 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1340 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1341 Moved ...
1342 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1343 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1344 Moved ...
1345 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1346 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1347 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1348 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1349 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1350 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1351 Moved ...
1352 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1353 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1354 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1355 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1356 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1357 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1358 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1359 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1360 Moved ...
1361 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1362 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1363 Moved ...
1364 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1365 ... here.
1366 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1367 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1368 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1369 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1370 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1371 Moved ...
1372 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1373 ... here.
1374 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1375 Moved ...
1376 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1377 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1378 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1379 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1380 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1381 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1382 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1383 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1384 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1385 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1386 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1387
5085af05
RM
1388 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1389 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1390
708f0813
RM
1391 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1392 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1393
c96067bc
RM
1394 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1395 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1396 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1397 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1398 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1399 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1400 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1401 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1402 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1403 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1404 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1405 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1406 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1407 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1408 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1410 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1412 Moved ...
1413 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1415 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1416 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1417 Moved ...
1418 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1420 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1421 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1422 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1423 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1424 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1425 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1426 Moved ...
1427 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1428 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1429 Moved ...
1430 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1431 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1432 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1433 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1434 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1435 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1436 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1437 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1438 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1439 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1440 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1441 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1442 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1443 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1444 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1445 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1446 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1447
ec136444
RM
1448 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1449 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1450 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1451 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1452 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1453
2fbdf533
RM
1454 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1455 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1456 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1457 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1458 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1459 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1460 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1461 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1462 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1463 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1464
4c68138b
RM
1465 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1466 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1467
4eaae765
RM
1468 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1469 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
1470 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1471 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1472 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1473 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1474 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1475 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1476 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1477 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1478 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1479 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1480 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1481 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1482 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1483 Update #include.
1484 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1485 Likewise.
1486 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1487 Likewise.
1488 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1489 Likewise.
1490 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1491 Likewise.
1492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1493 Likewise.
1494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1495 Likewise.
1496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1497 Likewise.
1498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1499 Likewise.
1500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1501 Likewise.
4ef6befa
RM
1502 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1503 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1504 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1505 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1506 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
1507 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1508 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1509 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1510 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1511 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1512 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1513 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1514 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1515 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1516 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 1517
941d7dfd
RM
1518 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1519 that was previously under [RESET_PID].
1520 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1521 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1522 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1523
1b731c35
RM
1524 * sysdeps/i386/nptl/Implies: New file.
1525 * sysdeps/x86_64/nptl/Implies: New file.
1526 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1527 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1528 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1529 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1530
e2787137
RM
1531 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1532 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1533 (__libc_vfork): New strong alias.
1534 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1535 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1536
1537 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1538 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1539 (__libc_vfork): New strong alias.
1540 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1541 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1542
5675da1e
RM
1543 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1544 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1545 (__libc_vfork): New strong alias.
1546 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1547 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1548 * nptl/pt-vfork.c: New file.
1549 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1550 (libpthread: GLIBC_2.20): New version set (empty).
1551
4f02e2b8
WN
15522014-05-14 Will Newton <will.newton@linaro.org>
1553
1554 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1555 rather than #if.
1556
0bf061d3
JM
15572014-05-14 Joseph Myers <joseph@codesourcery.com>
1558
1a84c3d6
JM
1559 [BZ #16564]
1560 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1561 arguments with exponent 65 or above.
1562 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1563 arguments 0x1p113L or above.
1564 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1565 to arguments 0x1p107L or above.
1566 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1567 positive arguments with exponent 65 or above.
1568 * math/auto-libm-test-in: Add more tests of log1p.
1569 * math/auto-libm-test-out: Regenerated.
1570
01dbacd2
JM
1571 [BZ #16928]
1572 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1573 non-finite arguments is +0.
1574 * math/s_cacosf.c (__cacosf): Likewise.
1575 * math/s_cacosl.c (__cacosl): Likewise.
1576 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1577 * sysdeps/i386/fpu/libm-test-ulps: Update.
1578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1579
913d03c8
JM
1580 [BZ #16927]
1581 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1582 value.
1583 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1584 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1585 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1586 for explicit high bit of mantissa when testing for argument equal
1587 to 1.
1588 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1589 * sysdeps/i386/fpu/libm-test-ulps: Update.
1590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1591
0bf061d3
JM
1592 [BZ #16516]
1593 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1594 (__erf): Scale by 16 instead of 8 in potentially underflowing
1595 case. Ensure exception if result actually underflows.
1596 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1597 (__erff): Scale by 16 instead of 8 in potentially underflowing
1598 case. Ensure exception if result actually underflows.
1599 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1600 (efx8): Remove variable.
1601 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1602 case. Ensure exception if result actually underflows.
1603 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1604 (efx8): Remove variable.
1605 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1606 case. Ensure exception if result actually underflows.
1607 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1608 (efx8): Remove variable.
1609 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1610 case. Ensure exception if result actually underflows.
1611 * math/auto-libm-test-in: Add more tests of erf.
1612 * math/auto-libm-test-out: Regenerated.
1613
73ba67cb
AS
16142014-05-14 Andreas Schwab <schwab@suse.de>
1615
3d8c8bff
AS
1616 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1617 Remove code conditionalized on USE___THREAD.
1618
73ba67cb
AS
1619 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1620 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1621 not definedness.
1622
5c521ecd
JM
16232014-05-14 Joseph Myers <joseph@codesourcery.com>
1624
5e7698c6
JM
1625 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1626 Define unconditionally.
1627 (__ASSUME_O_CLOEXEC): Likewise.
1628 (__ASSUME_SOCK_CLOEXEC): Likewise.
1629 (__ASSUME_IN_NONBLOCK): Likewise.
1630 (__ASSUME_PIPE2): Likewise.
1631 (__ASSUME_EVENTFD2): Likewise.
1632 (__ASSUME_SIGNALFD4): Likewise.
1633 (__ASSUME_DUP3): Likewise.
1634 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1635 (__ASSUME_DUP3): Do not define.
1636 (__ASSUME_EVENTFD2): Likewise.
1637 (__ASSUME_IN_NONBLOCK): Likewise.
1638 (__ASSUME_O_CLOEXEC): Likewise.
1639 (__ASSUME_PIPE2): Likewise.
1640 (__ASSUME_SIGNALFD4): Likewise.
1641 (__ASSUME_SOCK_CLOEXEC): Likewise.
1642 (__ASSUME_UTIMES): Undefine.
1643 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1644 (__ASSUME_UTIMES): Do not define.
1645 (__ASSUME_O_CLOEXEC): Likewise.
1646 (__ASSUME_SOCK_CLOEXEC): Likewise.
1647 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1648 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1649 0x020621].
1650 (__ASSUME_PIPE2): Likewise.
1651 (__ASSUME_EVENTFD2): Likewise.
1652 (__ASSUME_SIGNALFD4): Likewise.
1653 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1654 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1655 Do not define.
1656 (__ASSUME_EVENTFD2): Likewise.
1657 (__ASSUME_SIGNALFD4): Likewise.
1658 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1659 (__ASSUME_32BITUIDS): Likewise.
1660 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1661 (__ASSUME_IPC64): Likewise.
1662 (__ASSUME_ST_INO_64_BIT): Likewise.
1663 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1664 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1665 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1666 (__ASSUME_UTIMES): Do not define.
1667 (__ASSUME_PSELECT): Likewise.
1668 (__ASSUME_PPOLL): Likewise.
1669 (__ASSUME_O_CLOEXEC): Likewise.
1670 (__ASSUME_SOCK_CLOEXEC): Likewise.
1671 (__ASSUME_IN_NONBLOCK): Likewise.
1672 (__ASSUME_PIPE2): Likewise.
1673 (__ASSUME_EVENTFD2): Likewise.
1674 (__ASSUME_SIGNALFD4): Likewise.
1675 (__ASSUME_DUP3): Likewise.
1676 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1677 (__ASSUME_UTIMES): Likewise.
1678 (__ASSUME_O_CLOEXEC): Likewise.
1679 (__ASSUME_SOCK_CLOEXEC): Likewise.
1680 (__ASSUME_IN_NONBLOCK): Likewise.
1681 (__ASSUME_PIPE2): Likewise.
1682 (__ASSUME_EVENTFD2): Likewise.
1683 (__ASSUME_SIGNALFD4): Likewise.
1684 (__ASSUME_DUP3): Likewise.
1685 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1686 (__ASSUME_UTIMES): Likewise.
1687 (__ASSUME_O_CLOEXEC): Likewise.
1688 (__ASSUME_SOCK_CLOEXEC): Likewise.
1689 (__ASSUME_IN_NONBLOCK): Likewise.
1690 (__ASSUME_PIPE2): Likewise.
1691 (__ASSUME_EVENTFD2): Likewise.
1692 (__ASSUME_SIGNALFD4): Likewise.
1693 (__ASSUME_DUP3): Likewise.
1694 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1695 Likewise.
1696 (__ASSUME_UTIMES): Likewise.
1697 (__ASSUME_EVENTFD2): Likewise.
1698 (__ASSUME_SIGNALFD4): Likewise.
1699 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1700 (__ASSUME_O_CLOEXEC): Likewise.
1701 (__ASSUME_SOCK_CLOEXEC): Likewise.
1702 (__ASSUME_IN_NONBLOCK): Likewise.
1703 (__ASSUME_PIPE2): Likewise.
1704 (__ASSUME_EVENTFD2): Likewise.
1705 (__ASSUME_SIGNALFD4): Likewise.
1706 (__ASSUME_DUP3): Likewise.
1707 (__ASSUME_UTIMES): Undefine.
1708
5c521ecd
JM
1709 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1710 feclearexcept. Remove symbol versioning code.
1711 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1712 symbol versioning code.
1713 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1714 symbol versioning code.
1715 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1716 feupdateenv. Remove symbol versioning code.
1717 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1718 fegetexceptflag. Remove symbol versioning code.
1719 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1720 fesetexceptflag. Remove symbol versioning code.
1721 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1722 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1723 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1724 (__posix_fadvise64_l32): Remove prototype.
1725 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1726 code.
1727
5da9dfad
RM
17282014-05-13 Roland McGrath <roland@hack.frob.com>
1729
1730 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1731 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1732 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1733 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1734
893b4f37
SK
17352014-05-13 Sami Kerola <kerolasa@iki.fi>
1736
1737 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1738 current working directory
1739
e0db6517
RM
17402014-05-13 Roland McGrath <roland@hack.frob.com>
1741
58aa195d
RM
1742 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1743 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1744 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1745 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1746 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1747 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1748 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1749 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1750 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1751 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1752 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1753 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1754 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1755 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1756 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1757 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1758 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1759 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1760 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1761 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1762 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1763 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1764 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1765 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1766 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1767 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1768 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1769 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1770 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1771 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1772 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1773 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1774 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1775 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1776 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1777 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1778 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1779 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1780 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1781 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1782 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1783 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1784
8c6d01f0
RM
1785 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1786 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1787
1788 * sysdeps/unix/sysv/linux/arm/Makefile
1789 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1790 Add rt-aeabi_unwind_cpp_pr1.
1791 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1792 Add nptl-aeabi_unwind_cpp_pr1.
1793 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1794 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1795 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1796 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1797 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1798 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1799
1800 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1801 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1802 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1803 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1804
bba6da4e
RM
1805 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1806 Deconditionalize the code that was previously under [RESET_PID].
1807 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1808
e0db6517
RM
1809 * sysdeps/generic/exit-thread.h: New file.
1810 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1811 * include/unistd.h (__exit_thread): Remove declaration.
1812 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1813 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1814 * csu/libc-start.c: Include <exit-thread.h>.
1815 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1816 * nptl/pthread_create.c: Include <exit-thread.h>.
1817 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1818 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1819 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1820 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1821 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1822 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1823 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1824 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1825 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1826 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1827 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1828 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1829 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1830 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1831 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1832 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1833 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1834
01eb16fd
AS
18352014-05-13 Andreas Schwab <schwab@suse.de>
1836
1837 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1838
637461d9
JM
18392014-05-12 Joseph Myers <joseph@codesourcery.com>
1840
1841 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1842 (__ASSUME_UTIMES): Do not condition on kernel version.
1843 (__ASSUME_PSELECT): Define unconditionally.
1844 (__ASSUME_PPOLL): Likewise.
1845 (__ASSUME_ATFCTS): Likewise.
1846 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1847 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1848 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1849 (__ASSUME_UTIMENSAT): Define unconditionally.
1850 (__ASSUME_PRIVATE_FUTEX): Likewise.
1851 (__ASSUME_FALLOCATE): Likewise.
1852 (__ASSUME_O_CLOEXEC): Likewise.
1853 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1854 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1855 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1856 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1857 (__ASSUME_IN_NONBLOCK): Likewise.
1858 (__ASSUME_PIPE2): Likewise.
1859 (__ASSUME_EVENTFD2): Likewise.
1860 (__ASSUME_SIGNALFD4): Likewise.
1861 (__ASSUME_DUP3): Likewise.
1862 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1863 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1864 (__ASSUME_AT_RANDOM): Likewise.
1865 (__ASSUME_PREADV): Likewise.
1866 (__ASSUME_PWRITEV): Likewise.
1867 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1868 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1869 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1870 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1871 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1872 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1873 (__ASSUME_O_CLOEXEC): Define unconditionally.
1874 (__ASSUME_PSELECT): Do not undefine conditionally.
1875 (__ASSUME_PPOLL): Likewise.
1876 (__ASSUME_ATFCTS): Likewise.
1877 (__ASSUME_SET_ROBUST_LIST): Likewise.
1878 (__ASSUME_UTIMENSAT): Likewise.
1879 (__ASSUME_FDATASYNC): Define unconditionally.
1880 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1881 (__ASSUME_SIGFRAME_V2): Likewise.
1882 )__ASSUME_EVENTFD2): Likewise.
1883 (__ASSUME_SIGNALFD4): Likewise.
1884 (__ASSUME_PSELECT): Do not undefine conditionally.
1885 (__ASSUME_PPOLL): Likewise.
1886 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1887 (__ASSUME_PSELECT): Define unconditionally.
1888 (__ASSUME_PPOLL): Likewise.
1889 (__ASSUME_O_CLOEXEC): Likewise.
1890 (__ASSUME_SOCK_CLOEXEC): Likewise.
1891 (__ASSUME_IN_NONBLOCK): Likewise.
1892 (__ASSUME_PIPE2): Likewise.
1893 (__ASSUME_EVENTFD2): Likewise.
1894 (__ASSUME_SIGNALFD4): Likewise.
1895 (__ASSUME_DUP3): Likewise.
1896 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1897 (__ASSUME_O_CLOEXEC): Likewise.
1898 (__ASSUME_SOCK_CLOEXEC): Likewise.
1899 (__ASSUME_IN_NONBLOCK): Likewise.
1900 (__ASSUME_PIPE2): Likewise.
1901 (__ASSUME_EVENTFD2): Likewise.
1902 (__ASSUME_SIGNALFD4): Likewise.
1903 (__ASSUME_DUP3): Likewise.
1904 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1905 (__ASSUME_EVENTFD2): Likewise.
1906 (__ASSUME_SIGNALFD4): Likewise.
1907 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1908
315eb1d8
AS
19092014-05-12 Andreas Schwab <schwab@suse.de>
1910
1911 [BZ #16932]
1912 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1913 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1914 than maximum RPC packet size.
1915 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1916 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1917 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1918 (_nss_nis_getservbyport_r): Likewise.
1919
91df99f7
WN
19202014-05-12 Will Newton <will.newton@linaro.org>
1921
1922 * malloc/Makefile (tests): Add tst-mallopt.
1923 * malloc/tst-mallopt.c: New file.
1924
0a982a29
RM
19252014-05-09 Roland McGrath <roland@hack.frob.com>
1926
1927 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1928 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1929
0ded08a5
AZ
19302014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1931
1932 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1933 (tst-tlsmod6.so): Likewise.
1934
55d4d550
RM
19352014-05-09 Roland McGrath <roland@hack.frob.com>
1936
1937 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1938
77d08aca
JM
19392014-05-09 Joseph Myers <joseph@codesourcery.com>
1940
1941 [BZ #16064]
1942 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1943 and <dl-procinfo.h>.
1944 (__fegetenv): Save SSE state in envp->__eip if supported.
1945 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1946 envp->__eip if supported.
1947 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1948 and <dl-procinfo.h>.
1949 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1950 __data_offset and __data_selector in environment to 0. Set SSE
1951 state if supported.
1952 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1953 test-fenv-sse.
1954 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1955 -mfpmath=sse.
1956 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1957
28162f4d
WN
19582014-05-09 Will Newton <will.newton@linaro.org>
1959
1960 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1961 and libc_relro_required for ARM.
1962 * sysdeps/arm/preconfigure: Regenerate.
1963
5a414ff7
DV
19642014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1965 Stefan Liebler <stli@linux.vnet.ibm.com>
1966
1967 * config.make.in (enable-lock-elision): New Makefile variable.
1968 * configure.ac: Likewise.
1969 * configure: Regenerate.
1970 * sysdeps/s390/configure.ac:
1971 Add check for gcc transactions support.
1972 * sysdeps/s390/configure: Regenerate.
1973 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1974 Build elision files if enabled.
1975 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1976 Add lock elision support for s390.
1977 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1978 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1979 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1980 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1981 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1982 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1983 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1984 Likewise.
1985 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1986 Likewise.
1987 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1988 Likewise.
1989 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1990 Likewise.
1991 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1992 (__lll_timedlock_elision, __lll_lock_elision)
1993 (__lll_unlock_elision, __lll_trylock_elision)
1994 (lll_timedlock_elision, lll_lock_elision)
1995 (lll_unlock_elision, lll_trylock_elision): Add.
1996 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1997 (pthread_mutex_t): Add lock elision support for s390.
1998
1a2f40e5
W
19992014-05-14 Wilco <wdijkstr@arm.com>
2000
2001 * sysdeps/arm/fclrexcpt.c: Cleanup.
2002 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2003 * sysdeps/arm/feenablxcpt.c: Cleanup.
2004 * sysdeps/arm/fegetenv.c: Cleanup.
2005 * sysdeps/arm/fegetexcept.c: Cleanup.
2006 * sysdeps/arm/fegetround.c: Cleanup.
2007 * sysdeps/arm/feholdexcpt.c: Cleanup.
2008 * sysdeps/arm/fesetenv.c: Cleanup.
2009 * sysdeps/arm/fesetround.c: Cleanup.
2010 * sysdeps/arm/feupdateenv.c: Cleanup.
2011 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2012 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2013 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2014 * sysdeps/arm/ftestexcept.c: Cleanup.
2015 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2016 * sysdeps/arm/setfpucw.c: Cleanup.
2017
f63c86fe
WN
20182014-05-09 Will Newton <will.newton@linaro.org>
2019
2020 * sysdeps/arm/armv7/strcmp.S: New file.
2021 * NEWS: Mention addition of ARMv7 optimized strcmp.
2022
7a1a51b5
RM
20232014-05-08 Roland McGrath <roland@hack.frob.com>
2024
95afbbe5
RM
2025 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2026 look for %.ac rather than %.in.
2027
2028 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2029 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2030 * sysdeps/mach/hurd/configure: Regenerated.
2031 * sysdeps/unix/sysv/linux/configure: Regenerated.
2032
7a1a51b5
RM
2033 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2034
5057ad3b
SE
20352014-05-07 Steve Ellcey <sellcey@mips.com>
2036
2037 [BZ# 16922]
2038 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2039 (LONG_SUB): Ditto.
2040 (PTR_SUB): Ditto.
2041
8dc97517
AS
20422014-05-07 Andreas Schwab <schwab@suse.de>
2043
2044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2045 when skipping over non-matching result from nscd.
2046
ce0c5b8f
OB
20472014-05-07 Ondřej Bílka <neleai@seznam.cz>
2048
2049 [BZ #16876]
2050 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2051
a1189263
OB
2052 [BZ #16877]
2053 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2054 nscd security class.
ce0c5b8f 2055
0f58d252
RM
20562014-05-06 Roland McGrath <roland@hack.frob.com>
2057
2058 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2059 * sysdeps/arm/unwind.h: ... here.
2060
83df9ad0
AJ
20612014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2062
ce0c5b8f
OB
2063 [BZ# 16916]
2064 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2065 Define.
83df9ad0 2066
f360f94a
VR
20672014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2068
2069 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2070 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2071 multiarch strncpy for PPC64.
2072 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2073 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2075 multiarch optimizations.
2076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2077 (__libc_ifunc_impl_list): Likewise.
2078 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2079 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2080 multiarch stpncpy for PPC64.
2081 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2082 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2083
978a41c3
AS
20842014-05-06 Andreas Schwab <schwab@suse.de>
2085
2086 [BZ #16912]
2087 * gmon/mcount.c (_MCOUNT_DECL): Use
2088 atomic_compare_and_exchange_bool_acq instead of
2089 catomic_compare_and_exchange_bool_acq.
2090
eb1ed03d
RM
20912014-05-05 Roland McGrath <roland@hack.frob.com>
2092
fe658845
RM
2093 * elf/Makefile (others, install-bin): Remove pldd.
2094 (pldd-modules): Variable removed.
2095 ($(objpfx)pldd): Target removed.
2096 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2097 (others, install-bin): Append pldd here.
2098 ($(objpfx)pldd): New target.
2099
eb1ed03d
RM
2100 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2101 to 0, so the first #if test emitted later doesn't see it undefined.
2102 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2103 * sysdeps/gnu/errlist.c: Regenerated.
2104
19c4bec0
AZ
21052014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2106
2107 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2108 [libc_hidden_builtin_def]: Define to empty value.
2109 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2110 [libc_hidden_builtin_def]: Likewise.
2111 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2112 [libc_hidden_builtin_def]: Likewise.
2113 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2114 [libc_hidden_builtin_def]: Likewise.
2115 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2116 __redirect_memcpy and define ifunc as default hidden symbol.
2117 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2118 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2119
7776e669
AC
21202014-05-04 Adam Conrad <adconrad@0c3.net>
2121
2122 * locale/iso-4217.def: Reintroduce XDR currency.
2123
d69aeb12
AM
21242014-05-04 Allan McRae <allan@archlinux.org>
2125
2126 * po/eo.po: Update Esperanto translation from translation project.
2127
8f1df5cf
CD
21282014-05-02 Carlos O'Donell <carlos@redhat.com>
2129
2130 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2131 and FEATURE_INDEX_MAX to 1.
2132 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2133
13e402e7
SE
21342014-05-01 Steve Ellcey <sellcey@mips.com>
2135
2136 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2137 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2138 * iconvdata/big5.c (ONE_DIRECTION): Define.
2139 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2140 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2141 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2142 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2143 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2144 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2145 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2146 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2147 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2148 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2149 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2150 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2151 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2152 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2153 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2154 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2155 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2156 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2157 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2158 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2159 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2160 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2161 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2162 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2163 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2164 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2165 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2166 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2167 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2168 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2169 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2170 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2171 * iconvdata/johab.c (ONE_DIRECTION): Define.
2172 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2173 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2174 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2175 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2176 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2177 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2178 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2179 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2180 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2181 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2182
c727f032
RM
21832014-05-01 Roland McGrath <roland@hack.frob.com>
2184
8f2f08d0
RM
2185 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2186 (_IO_JUMPS_OFFSET): Define to 0.
2187
c727f032
RM
2188 * nptl/sysdeps/pthread/bits/libc-lock.h
2189 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2190 (__libc_lock_define_initialized_recursive): Always define using
2191 initializer. Modern compilers treat uninitialized (implicit zero) and
2192 explicit zero initializers the same (i.e. put the datum in bss).
2193
a849e800
AS
21942014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2195
2196 * nscd/nscd-client.h: Include <string.h>.
2197
5331255b
DM
21982014-05-01 David S. Miller <davem@davemloft.net>
2199
2200 [BZ #16885]
2201 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2202 multiple zero bytes exist at the end of a string.
2203 Reported by Aurelien Jarno <aurelien@aurel32.net>
2204
2205 * string/test-strcmp.c (check): Add explicit test for situations where
2206 there are multiple zero bytes after the first.
2207
4fdfe821
AS
22082014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2209
2210 [BZ #16890]
2211 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2212 when compiling wprintf.
2213 * stdio-common/tstdiomisc.c (t3): New function.
2214 (main): Call it.
2215
0cdddc25
SE
22162014-05-01 Steve Ellcey <sellcey@mips.com>
2217
2218 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2219 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2220 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2221 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2222
6426d77e
SE
22232014-05-01 Steve Ellcey <sellcey@mips.com>
2224
2225 * stdlib/longlong.h: Updated from GCC.
2226
6d96f5e4
WN
22272014-05-01 Will Newton <will.newton@linaro.org>
2228 Bernard Ogden <bernie.ogden@linaro.org>
2229
7470db0c
WN
2230 * NEWS: Update fixed bug list.
2231
6d96f5e4
WN
2232 [BZ #15119]
2233 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2234
211d653c
DM
22352014-04-30 David S. Miller <davem@davemloft.net>
2236
4fa262fa
DM
2237 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2238 (libc_feholdexcept_setround_sparc_ctx): New function.
2239 (libc_fesetenv_sparc_ctx): Likewise.
2240 (libc_feupdateenv_sparc_ctx): Likewise.
2241 (libc_feholdsetround_sparc_ctx): Likewise.
2242 (libc_feholdexcept_setround_ctx): Define.
2243 (libc_feholdexcept_setroundf_ctx): Likewise.
2244 (libc_feholdexcept_setroundl_ctx): Likewise.
2245 (libc_fesetenv_ctx): Likewise.
2246 (libc_fesetenvf_ctx): Likewise.
2247 (libc_fesetenvl_ctx): Likewise.
2248 (libc_feupdateenv_ctx): Likewise.
2249 (libc_feupdateenvf_ctx): Likewise.
2250 (libc_feupdateenvl_ctx): Likewise.
2251 (libc_feresetround_ctx): Likewise.
2252 (libc_feresetroundf_ctx): Likewise.
2253 (libc_feresetroundl_ctx): Likewise.
2254 (libc_feholdsetround_ctx): Likewise.
2255 (libc_feholdsetroundf_ctx): Likewise.
2256 (libc_feholdsetroundl_ctx): Likewise.
2257
1d3d93ef
DM
2258 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2259 with __USE_GNU instead of XOPEN cpp guards.
2260
8aa583c3
DM
2261 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2262 0.
2263
211d653c
DM
2264 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2265 with XOPEN cpp guards.
2266
60c8f1f6
JB
22672014-04-30 Julian Brown <julian@codesourcery.com>
2268
2269 [BZ #16888]
2270 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2271 handling.
2272
9a461d46
JM
22732014-04-30 Joseph Myers <joseph@codesourcery.com>
2274
d0f5b3f8
JM
2275 [BZ #9894]
2276 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2277 Change to 2.6.32.
2278 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2279 * sysdeps/unix/sysv/linux/configure: Regenerated.
2280 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2281 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2282 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2283 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2284 * README: Update reference to required Linux kernel version.
2285 * manual/install.texi (Linux): Update reference to required Linux
2286 kernel headers version.
2287 * INSTALL: Regenerated.
2288
9a461d46
JM
2289 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2290 header inclusion.
2291 [POSIX] (limits.h): Likewise.
2292 [POSIX] (math.h): Likewise.
2293 [POSIX] (sys/wait.h): Likewise.
2294 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2295 function.
2296 [POSIX] (stddef.h): Do not allow header inclusion.
2297
1775babf
AZ
22982014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2299
57f41c40 2300 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2301
8f630cca
YY
23022014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2303
2304 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2305 Return immediately after lll_futex_wake.
2306
1cdeb237
SP
23072014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2308
bc8f194c
SP
2309 [BZ #16791]
2310 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2311 structure.
2312 (datahead_init_pos): Call datahead_init_common early.
2313 (datahead_init_neg): Likewise.
2314
1cdeb237
SP
2315 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2316 datahead_init_neg): New functions.
2317 * nscd/aicache.c (addhstaiX): Use them.
2318 * nscd/grpcache.c (cache_addgr): Likewise.
2319 * nscd/hstcache.c (cache_addhst): Likewise.
2320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2321 * nscd/netgroupcache.c (do_notfound): Likewise.
2322 (addgetnetgrentX): Likewise.
2323 (addinnetgrX): Likewise.
2324 * nscd/pwdcache.c (cache_addpw): Likewise.
2325 * nscd/servicescache.c (cache_addserv): Likewise.
2326
16b293a7
SP
23272014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2328 Atsushi Onoe <atsushi@onoe.org>
2329
2330 [BZ #14308]
2331 [BZ #12994]
2332 [BZ #13651]
2333 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2334 one response is valid.
2335 * resolv/res_send.c (send_dg): Check for validity of other
2336 response if the current response is a referral.
2337
a28a9b94
SE
23382014-04-29 Steve Ellcey <sellcey@mips.com>
2339
2340 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2341
2ca180e9
SL
23422014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2343
2344 [BZ #16823]
2345 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2346 Always divide by positive zero when computing -Inf result.
2347 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2348 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2349
18f2945a
AZ
23502014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2351
2352 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2353 FPSCR if value do not change.
2354 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2355 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2356 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2357 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2358 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2359 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2360 function.
2361
5abebba4
CD
23622014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2363
2364 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2365 * sysdeps/unix/sysv/linux/hppa: Move directory from
2366 ports/systeps/unix/sysv/linux/hppa.
2367 * README: Update listing for hppa-*-linux-gnu.
2368
f7ed60c2
OB
23692014-04-28 Ondřej Bílka <neleai@seznam.cz>
2370
fff763a5
OB
2371 [BZ #16754]
2372 * manual/stdio.texi (Hook functions): Fix types of stream hook
2373 functions.
f7ed60c2
OB
2374 [BZ #16854]
2375 * socket/sys/socket.h: Fix typo in comment.
2376
df639d73
WD
23772014-04-28 Wilco <wdijkstr@arm.com>
2378
f7ed60c2 2379 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2380 * sysdeps/arm/math_private.h: New file.
2381 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2382
48332d82
L
23832014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2384
2385 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2386 with __int128_t.
2387 (La_x86_64_retval): Likewise.
2388
e5e0d9a4
IB
23892014-04-24 Ian Bolton <ian.bolton@arm.com>
2390
2391 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2392 fpsr if value didn't change.
2393 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2394 to fpcr if value didn't change.
2395 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2396 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2397 fpsr or fpcr if value didn't change.
2398 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2399 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2400 fpcr if value didn't change.
2401 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2402 to fpsr if value didn't change.
2403
bacc75f7
SP
24042014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2405
2406 * nptl/tst-sem3.c: Use test-skeleton.c
2407 (main): Rename to do_test. Use return instead of
2408 exit.
2409 * nptl/tst-sem4.c: Use test-skeleton.c
2410 (main): Rename to do_test.
2411
a059d359
DM
24122014-04-22 David S. Miller <davem@davemloft.net>
2413
2414 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2415 (struct sigaction): New struct member __glibc_reserved0, change
2416 type of sa_flags to int.
2417
ea6c92f3
YZ
24182014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2419
2420 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2421 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2422
766c4a36
SP
24232014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2424
2425 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2426 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2427
140cc7ab
VK
24282014-04-22 Will Newton <will.newton@linaro.org>
2429 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2430
2431 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2432 (__longjmp): Add longjmp and longjmp_target SystemTap
2433 probes.
2434 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2435 (__sigsetjmp): Add setjmp SystemTap probe.
2436
c54e5cf7
CD
24372014-04-17 Carlos O'Donell <carlos@redhat.com>
2438
2439 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2440 match manual order.
2441
75ffb047
AZ
24422014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2443
2444 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2445
2cd925f7
AZ
2446 * sysdeps/powerpc/fpu/fenv_private.h
2447 (libc_feholdexcept_setroundl_ctx): Define to
2448 libc_feholdexcept_setround_ppc_ctx.
2449 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2450 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2451 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2452 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2453
39e6cd8d
IB
24542014-04-17 Ian Bolton <ian.bolton@arm.com>
2455
2456 * sysdeps/aarch64/math-tests.h: New file.
2457
f9281df9
SY
24582014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2459
2460 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2461 New.
2462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2463 Check and set bit_AVX2_Usable.
2464 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2465 macro.
2466 (bit_AVX2): Likewise.
2467 (index_AVX2_Usable): Likewise.
2468 (CPUID_AVX2): Likewise.
2469 (HAS_AVX2): Likewise.
2470
37d35007
WN
24712014-04-17 Will Newton <will.newton@linaro.org>
2472
7c677662
WN
2473 * manual/setjmp.texi (System V contexts): Add note that
2474 calling setcontext on a context created by a call to a
2475 signal handler is undefined. Update text to note that
2476 setcontext from a signal handler is possible but not
2477 recommended.
2478
37d35007 2479 [BZ #16629]
e04a4e9d
WN
2480 * stdlib/tst-setcontext.c: Include signal.h.
2481 (main): Check that the signal stack before and
2482 after swapcontext is the same.
2483
37d35007
WN
2484 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2485 Re-implement to restore registers in user code and avoid
2486 rt_sigreturn system call.
2487
423a7160
W
24882014-04-17 Wilco <wdijkstr@arm.com>
2489
2490 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2491 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2492 * math/test-fenv.c: Skip exception trap tests on targets which only
2493 support non-stop mode.
2494
bc93ab29
IB
24952014-04-17 Ian Bolton <ian.bolton@arm.com>
2496 Wilco Dijkstra <wilco.dijkstra@arm.com>
2497
2498 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2499 (libc_feholdsetround_aarch64_ctx)
2500 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2501 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2502 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2503 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2504 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2505 (libc_feresetround_noexl_ctx): Define.
2506
95fc5fa3
RH
25072014-04-16 Richard Henderson <rth@redhat.com>
2508
ddb04724
RH
2509 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2510
d77c0899
RH
2511 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2512 unwind tables.
2513
a3df56fc
RH
2514 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2515 const from the non-libc, non-ldso copy.
2516
95fc5fa3
RH
2517 * sysdeps/alpha/libm-test-ulps: Regenerate.
2518
7e0b6763
IB
25192014-04-16 Ian Bolton <ian.bolton@arm.com>
2520 Wilco Dijkstra <wilco.dijkstra@arm.com>
2521
2522 * sysdeps/aarch64/fpu/math_private.h: New file.
2523
a9ea2e0c
MS
25242014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2525
2526 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2527
ea8ba7cd
IZ
25282014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2529
2530 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2531 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2533 Intel MPX bound registers before _dl_profile_fixup.
2534 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2535 registers after _dl_profile_fixup. Save and restore bound
2536 registers bnd0/bnd1 when calling _dl_call_pltexit.
2537 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2538 (LR_BND_OFFSET): Likewise.
2539 (LRV_BND0_OFFSET): Likewise.
2540 (LRV_BND1_OFFSET): Likewise.
2541
9f2a4fbc
ST
25422014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2543
2544 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2545 to...
2546 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
2547 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2548 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2549 fields.
9f2a4fbc 2550
fd15a59b
ST
25512014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2552
2553 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2554
f19dfa0a
SL
25552014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2556
2557 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2558
4fa8bc3b
SL
25592014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2560
2561 [BZ #14770]
2562 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2563 * sysdeps/s390/configure: Regenerate.
2564
8ea587db
SL
2565 [BZ #16824]
2566 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2567 Set round-to-nearest internally to reduce error accumulation.
2568
aa5f0ff1
AM
25692014-04-16 Alan Modra <amodra@gmail.com>
2570
2571 [BZ #16740]
2572 [BZ #16619]
2573 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2574 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2575 * NEWS: Update fixed bug list.
aa5f0ff1 2576
bb9c256f
SP
25772014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2578
2579 * benchtests/Makefile: Depend on libraries in build directory.
2580 (bench-math): Separate out math tests.
2581 (bench-pthread): Separate out pthread tests.
2582 (bench): Include math and pthread tests.
2583
f737dfd0
CD
25842014-04-14 Carlos O'Donell <carlos@redhat.com>
2585
2586 [BZ #16831]
2587 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2588 _dl_debug_initialize.
2589
0699f766
CD
2590 * configure.ac: Remove SELinux header check.
2591 * configure: Regenerate.
2592 * nscd/selinux.c (perms): Array of const char* to permission names.
2593 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2594 default policy. Call string_to_security_class and string_to_av_perm to
2595 translate strings. Enforce default policy and call avs_has_perm with
2596 results of translated strings.
2597
809bd45f
DM
25982014-04-13 David S. Miller <davem@davemloft.net>
2599
2600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2601
89e691f2
AM
26022014-04-12 Allan McRae <allan@archlinux.org>
2603
2604 [BZ #16838]
2605 * manual/string.texi (Collation Functions): Fix qsort argument
2606 order in example.
2607 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2608
9c9daaeb
CM
26092014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2610
2611 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2612 Make the test a no-op if there are no exceptions defined.
2613
95561fb9
PP
26142014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2615
fe8d072c 2616 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2617 enable-hardcoded-path-in-tests
2618
970c602a
WN
26192014-04-11 Will Newton <will.newton@linaro.org>
2620
2621 * benchtests/Makefile (extra-objs): Add json-lib.o.
2622 (bench-func): Tidy up JSON output.
2623 * benchtests/bench-skeleton.c: Include json-lib.h.
2624 (main): Use JSON library functions to do output of
2625 benchmark results.
2626 * benchtests/bench-timing-type.c (main): Output the
2627 timing type simply, leaving formatting to the user.
2628 * benchtests/json-lib.c: New file.
2629 * benchtests/json-lib.h: Likewise.
2630
36875b06
TR
26312014-04-11 Torvald Riegel <triegel@redhat.com>
2632
2633 [BZ #15215]
2634 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2635 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2636 memory barriers. Add comments.
2637 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2638 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2639 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2640 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2641 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2642 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2643
579db35a
SL
26442014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2645
2646 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2647 * sysdeps/s390/s390-64/configure.ac: ... this ...
2648 * sysdeps/s390/configure.ac: ... to here.
2649 * sysdeps/s390/s390-32/configure: Delete file.
2650 * sysdeps/s390/s390-64/configure: Delete file.
2651 * sysdeps/s390/configure: Regenerate.
2652
c12e9f37
JAPH
26532014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2654
2655 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2656
439bda32
WN
26572014-04-11 Will Newton <will.newton@linaro.org>
2658
2659 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2660 to zero if it is not defined elsewhere. (mtrim): Test
2661 the value of MALLOC_DEBUG with #if rather than #ifdef.
2662
6a5d6ea1
TR
26632014-04-10 Torvald Riegel <triegel@redhat.com>
2664
2665 * benchtests/pthread_once-inputs: New file.
2666 * benchtests/pthread_once-source.c: New file.
2667 * benchtests/README: Update documentation.
2668
a4c75cfd
IZ
26692014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2670 H.J. Lu <hongjiu.lu@intel.com>
2671
2672 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2673 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2674 * sysdeps/x86_64/configure: Regenerated.
2675 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2676 macro.
2677 (REGISTER_SAVE_RAX): Likewise.
2678 (REGISTER_SAVE_RCX): Likewise.
2679 (REGISTER_SAVE_RDX): Likewise.
2680 (REGISTER_SAVE_RSI): Likewise.
2681 (REGISTER_SAVE_RDI): Likewise.
2682 (REGISTER_SAVE_R8): Likewise.
2683 (REGISTER_SAVE_R9): Likewise.
2684 (REGISTER_SAVE_BND0): Likewise.
2685 (REGISTER_SAVE_BND1): Likewise.
2686 (REGISTER_SAVE_BND2): Likewise.
2687 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2688 bound registers when calling _dl_fixup.
2689
27822ce6
AZ
26902014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2691
2692 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2693 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2694 of its definition.
27822ce6
AZ
2695 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2696 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2697 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2698 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2699 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2700 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2701 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2702
a88ddc90
PTB
27032014-04-09 Peter Brett <peter@peter-b.co.uk>
2704
2705 [BZ #15514]
2706 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2707 pathconf(_PC_NAME_MAX).
2708
01f8eac2
AZ
27092014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2710
2711 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2712 Remove macro usage.
2713 (__PTHREAD_SPINS): Move definition to ...
2714 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2715 (__PTHREAD_SPINS): ... here.
2716 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2717 (__PTHREAD_SPIN): Likewise.
2718 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2719 (__PTHREAD_SPIN): Likewise.
2720 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2721 (__PTHREAD_SPIN): Likewise.
2722 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2723 (__PTHREAD_SPIN): Likewise.
2724 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2725 (__PTHREAD_SPIN): Likewise.
2726 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2727 (__PTHREAD_SPIN): Likewise.
2728 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2729 (__PTHREAD_SPIN): Likewise.
2730 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2731 (__PTHREAD_SPIN): Likewise.
2732 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2733 (__PTHREAD_SPIN): Likewise.
2734 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2735 (__PTHREAD_SPIN): Likewise.
2736 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2737 (__PTHREAD_SPIN): Likewise.
2738 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2739 (__PTHREAD_SPIN): Likewise.
2740
de21c33c
AZ
2741 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2742 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2743 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2744 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2745 imply folder.
2746 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2747 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2748 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2749 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2750 correct imply path.
2751 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2752 strlen symbol for non multi-arch builds.
2753 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2754 missing hidden_def and weak_alias.
2755
862c472e
CD
27562014-04-08 Carlos O'Donell <carlos@redhat.com>
2757
2758 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2759
8667f90e
WN
27602014-04-07 Will Newton <will.newton@linaro.org>
2761
2762 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2763 and contents. [!_LIBC] Remove #ifndef and contents.
2764 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2765 * string/memccpy.c (__memccpy): Use ANSI prototype.
2766 * string/memfrob.c (memfrob): Likewise.
2767 * string/strcoll.c (STRCOLL): Likewise.
2768 * string/strlen.c (strlen): Likewise.
2769 * string/strtok.c (STRTOK): Likewise.
2770 * string/strcat.c: Remove unused #include of memcopy.h.
2771 (strcat): Use ANSI prototype.
2772 * string/strchr.c: Remove unused #include of memcopy.h.
2773 (strchr): Use ANSI prototype.
2774 * string/strcmp.c: Remove unused #include of memcopy.h.
2775 (strcmp): Use ANSI prototype.
2776 * string/strcpy.c: Remove unused #include of memcopy.h.
2777 (strcpy): Use ANSI prototype.
2778
7ffa9423
AZ
27792014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2780
2781 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2782 * config.make.in (config-extra-cppflags): Set it from
2783 libc_extra_cppflags.
2784 * configure.ac (libc_extra_cflags): Make it accumulate over
2785 configure fragments.
2786 (libc_extra_cppflags): New flag.
2787 * configure. Regenerate.
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2789 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2790 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2792
8bd70862
AZ
2793 [BZ #16815]
2794 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2795 result for FE_DOWNWARD rounding mode.
2796 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2797 Likewise.
2798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2799
d42f3448
CM
28002014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2801
2802 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2803 in function argument name.
2804
1c21d115
DS
28052014-04-03 David Svoboda <svoboda@cert.org>
2806
2807 [BZ #5666]
2808 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2809 explicitly.
2810
fcccd512
RM
28112014-04-03 Roland McGrath <roland@hack.frob.com>
2812
2813 * elf/dl-unmap-segments.h: New file.
2814 * sysdeps/generic/ldsodefs.h
2815 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2816 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2817 * elf/dl-fptr.c: Likewise.
2818 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2819 * sysdeps/aarch64/tlsdesc.c: Likewise.
2820 * sysdeps/arm/tlsdesc.c: Likewise.
2821 * sysdeps/i386/tlsdesc.c: Likewise.
2822 * sysdeps/tile/dl-runtime.c: Likewise.
2823 * sysdeps/x86_64/tlsdesc.c: Likewise.
2824 * elf/dl-load.h: New file.
2825 * elf/dl-load.c: Include it.
2826 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2827 Macros moved to dl-load.h.
2828 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2829 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2830 Use _dl_unmap_segments in place of __munmap.
2831 Break out segment-mapping loop into ...
2832 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2833
f6488e2b
WN
28342014-04-03 Will Newton <will.newton@linaro.org>
2835
2836 * elf/dl-lookup.c (do_lookup_x): Remove comment
2837 referring to nested function and move variable
2838 declarations down to before first use.
2839
6f05bafe
JM
28402014-04-02 Joseph Myers <joseph@codesourcery.com>
2841
a84e78c8
JM
2842 [BZ #16799]
2843 [BZ #16800]
2844 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2845 with 0 numerator.
2846 * math/s_catanf.c (__catanf): Likewise.
2847 * math/s_catanh.c (__catanh): Likewise.
2848 * math/s_catanhf.c (__catanhf): Likewise.
2849 * math/s_catanhl.c (__catanhl): Likewise.
2850 * math/s_catanl.c (__catanl): Likewise.
2851 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2852 by positive zero when computing -Inf result.
2853 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2854 (catanh_test): Likewise.
2855 * sysdeps/i386/fpu/libm-test-ulps: Update.
2856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2857
6f05bafe
JM
2858 [BZ #16789]
2859 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2860 instead of using underflowing value in computing result.
2861 * math/s_clog10.c (__clog10): Likewise.
2862 * math/s_clog10f.c (__clog10f): Likewise.
2863 * math/s_clog10l.c (__clog10l): Likewise.
2864 * math/s_clogf.c (__clogf): Likewise.
2865 * math/s_clogl.c (__clogl): Likewise.
2866 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2867 (clog10_test): Likewise.
2868 * sysdeps/i386/fpu/libm-test-ulps: Update.
2869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2870
b0abbc21
AM
28712014-04-02 Alan Modra <amodra@gmail.com>
2872
2873 [BZ #16739]
2874 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2875 output when value is near a power of two. Use int64_t for lx and
2876 remove casts. Use decimal rather than hex exponent constants.
2877 Don't use long double multiplication when double will suffice.
2878 * math/libm-test.inc (nextafter_test_data): Add tests.
2879 * NEWS: Add 16739 and 16786 to bug list.
2880
af6b1797
AM
2881 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2882
483818d7
AM
2883 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2884
f6c55796
WN
28852014-04-01 Will Newton <will.newton@linaro.org>
2886
2887 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2888 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2889
13f7fe35
FW
28902014-04-01 Florian Weimer <fweimer@redhat.com>
2891
2892 [BZ #13347]
2893 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2894 * nptl/tst-setuid2.c: New file.
2895 * nptl/Makefile (xtests): Add tst-setuid2.
2896
c859b32e
AM
28972014-04-01 Alan Modra <amodra@gmail.com>
2898
2899 [BZ #16786]
2900 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2901
54fa2475
JM
29022014-03-31 Joseph Myers <joseph@codesourcery.com>
2903
8795b4a4
JM
2904 [BZ #6803]
2905 [BZ #6804]
2906 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2907 set errno as appropriate.
2908 * math/w_scalbf.c (__scalbf): Likewise.
2909 * math/w_scalbl.c (__scalbl): Likewise.
2910 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2911 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2912 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2913 Add more NaN tests.
2914
54fa2475
JM
2915 [BZ #16349]
2916 * math/w_atan2.c: Include <errno.h>.
2917 (__atan2): Set errno for result underflowing to zero.
2918 * math/w_atan2f.c: Include <errno.h>.
2919 (__atan2f): Set errno for result underflowing to zero.
2920 * math/w_atan2l.c: Include <errno.h>.
2921 (__atan2l): Set errno for result underflowing to zero.
2922 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2923 tests.
2924 * math/auto-libm-test-out: Regenerated.
2925
757d9dd5
AZ
29262014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2927
2928 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2929 Encode instruction correctly in little endian.
2930 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2931 Likewise.
2932 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2933 Likewise.
2934 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2935 Likewise.
2936 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2937 Likewise.
2938
d7a68734
JM
29392014-03-31 Joseph Myers <joseph@codesourcery.com>
2940
47c5adeb
JM
2941 [BZ #9894]
2942 * sysdeps/unix/sysv/linux/kernel-features.h
2943 [__sparc__ && !__arch64__ && !__sparc_v9__]
2944 (__ASSUME_SET_ROBUST_LIST): Do not define.
2945 [__sparc__ && !__arch64__ && !__sparc_v9__]
2946 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2947 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2948 Likewise.
2949 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2950 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2951 (__ASSUME_REQUEUE_PI): Likewise.
2952 (__ASSUME_SET_ROBUST_LIST): Likewise.
2953 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2954 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2955 Undefine.
2956 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2957 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2958 Likewise.
2959 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2960 Likewise.
2961 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2962 Likewise.
2963 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2964 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2965 Undefine.
2966 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2967 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2968 Likewise.
2969
d7a68734
JM
2970 [BZ #16648]
2971 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2972 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2973 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2974
c760f5c2
WN
29752014-03-31 Will Newton <will.newton@linaro.org>
2976
2977 * benchtests/Makefile (bench): Add ffs and ffsll to list
2978 of tests.
2979 * benchtests/ffs-inputs: New file.
2980 * benchtests/ffsll-inputs: Likewise.
2981
ea6029b1
JM
29822014-03-29 Joseph Myers <joseph@codesourcery.com>
2983
2984 [BZ #16770]
2985 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2986 too large before casting to int.
2987 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2988 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2989 * math/libm-test.inc (scalb_test_data): Add more tests.
2990
cf806aff
SP
29912014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2992
56737508
SP
2993 * benchtests/Makefile (DETAILED_OPT): New make option.
2994 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2995 set.
2996 * benchtests/bench-skeleton.c: Include stdbool.h.
2997 (main): Store and print timings per input.
2998 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2999 member to each argument value.
3000 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3001 (_print_arg_data): Initialize per-input timing to 0.
3002
cb5e4aad
SP
3003 * benchtests/Makefile (timing-type): New binary.
3004 (bench-clean): Also remove bench-timing-type.
3005 (bench): New target for timing-type.
3006 (bench-func): Print output in JSON format.
3007 * benchtests/bench-skeleton.c (main): Print output in JSON
3008 format.
3009 * benchtests/bench-timing-type.c: New file.
3010 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3011 (TIMING_PRINT_STATS): Remove.
3012 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3013 name separately.
3014
cf806aff
SP
3015 * benchtests/bench-modf.c: Remove.
3016 * benchtests/modf-inputs: New inputs file.
3017
289e0779
JM
30182014-03-28 Joseph Myers <joseph@codesourcery.com>
3019
3020 [BZ #16362]
3021 * math/s_clog10.c (M_PI_LOG10E): New macro.
3022 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3023 imaginary parts are 0.
3024 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3025 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3026 imaginary parts are 0.
3027 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3028 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3029 imaginary parts are 0.
3030 * math/libm-test.inc (clog10_test_data): Update expected results
3031 for when real and imaginary parts are 0.
3032
277ae3f1
PP
30332014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3034
3035 * elf/dl-load.c: Finish conversion of __builtin_expect into
3036 __glibc_{un}likely.
3037
03a7091f
JM
30382014-03-27 Joseph Myers <joseph@codesourcery.com>
3039
3040 [BZ #16348]
3041 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3042 1+x for argument with exponent below -67.
3043 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3044 Likewise.
3045 * math/auto-libm-test-in: Add more tests of exp.
3046 * math/auto-libm-test-out: Regenerated.
3047
ea7d8b95
SP
30482014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3049
dd3022d7
SP
3050 [BZ #16759]
3051 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3052 (nscd_getnetgrent): Use it.
3053
ea7d8b95
SP
3054 [BZ #16760]
3055 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3056 of stpcpy.
3057
df5b85da
AK
30582014-03-27 Andi Kleen <ak@linux.intel.com>
3059
57f41c40
AS
3060 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3061 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3062 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3063 (lll_robust_unlock): Remove out of line section. Use cfi
3064 intrinsics.
df5b85da 3065 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3066 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3067 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3068 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3069 (lll_robust_unlock): Remove out of line section. Use cfi
3070 intrinsics.
df5b85da
AK
3071 (LLL_STUB_UNWIND_INFO*): Remove.
3072
fbd6b5a4
SP
30732014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3074
3075 [BZ #16758]
3076 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3077 blank values.
3078
1b26b855
PP
30792014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3080
3081 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3082
9be36fb8
JM
30832014-03-26 Joseph Myers <joseph@codesourcery.com>
3084
3085 [BZ #16198]
3086 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3087 fnstenv.
3088 * math/test-fenv-preserve.c: New file.
3089 * math/Makefile (tests): Add test-fenv-preserve.
3090
60a2f3c1
WN
30912014-03-26 Will Newton <will.newton@linaro.org>
3092
3093 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3094
a5e5f1e2
RM
30952014-03-25 Roland McGrath <roland@hack.frob.com>
3096
3097 * scripts/versionlist.awk: Partition the version sets and emit all
3098 GLIBC_* (sorted) before all others (sorted).
3099
00f4012a
JM
31002014-03-25 Joseph Myers <joseph@codesourcery.com>
3101
3102 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3103 GLIBC_2.2.5 version.
3104
7bc5a741
AZ
31052014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3106
3107 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3108 calls.
3109
7578473b
AZ
3110 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3111 previous change.
3112
f3f1dab3
AZ
3113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3114
6da36183
AS
31152014-03-25 Andreas Schwab <schwab@suse.de>
3116
3117 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3118 label to be used after in6ailist is initialized.
3119
f3f1dab3 31202014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3121
7578473b 3122 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3123 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3124
046651c1
JM
31252014-03-25 Joseph Myers <joseph@codesourcery.com>
3126
3127 [BZ #16357]
3128 [BZ #16599]
3129 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3130 min_plus_half.
3131 (fp_formats): Update initializers.
3132 (init_fp_formats): Initialize new field.
3133 (output_for_one_input_case): Allow underflow for results up to
3134 min_plus_half.
3135 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3136 * math/auto-libm-test-in: Don't mark some underflows from asin and
3137 atanh as spurious.
3138 * math/auto-libm-test-out: Regenerated.
3139 * sysdeps/i386/fpu/libm-test-ulps: Update.
3140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3141
003e49ed
AS
31422014-03-25 Andreas Schwab <schwab@suse.de>
3143
3144 * libio/Makefile (tst-ftell-partial-wide-ENV)
3145 (tst-ftell-active-handler-ENV): Define.
3146
de031874
SL
31472014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3148
3149 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3150
55a81e3b
PP
31512014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3152
3153 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3154
f3426898
JM
31552014-03-24 Joseph Myers <joseph@codesourcery.com>
3156
3157 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3158 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3159 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3160
a42faf59
PP
31612014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3162
3163 [BZ #16634]
a42faf59 3164 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3165 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3166 (open_path): Change from boolean 'secure' to complete flag 'mode'
3167 (_dl_map_object): Adjust.
a42faf59
PP
3168 * elf/Makefile (tests): Add tst-dlopen-aout.
3169 * elf/tst-dlopen-aout.c: New test.
3170
50936127
SL
31712014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3172
3173 [BZ #16714]
3174 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3175 (struct stat): Rename member pad0 to __glibc_reserved0.
3176
26011b5c
SL
3177 [BZ #16712]
3178 * sysdeps/s390/s390-32/bits/wordsize.h
3179 (__WORDSIZE32_SIZE_ULONG): New define.
3180 * sysdeps/s390/s390-64/bits/wordsize.h
3181 (__WORDSIZE32_SIZE_ULONG): Likewise.
3182 * sysdeps/generic/stdint.h (SIZE_MAX):
3183 Define as UL if __WORDSIZE32_SIZE_ULONG.
3184
a2d86bf1
SL
3185 [BZ #16713]
3186 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3187 (__glibc_reserved0): New variable.
3188 (sa_flags): Change type to int.
3189
78b6eebc
SL
3190 * posix/Makefile (before-compile): Use += before-compile instead
3191 of a :=.
3192
f1399b5a
SL
3193 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3194 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3195
a071766e
AS
31962014-03-20 Andreas Schwab <schwab@suse.de>
3197
3198 [BZ #16743]
3199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3200 non-matching result from nscd.
3201
27c673b8
SP
32022014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3203
3204 * scripts/bench.py: Moved to ...
3205 * benchtests/scripts/bench.py: ... here.
3206 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3207
44152e4b
AS
32082014-03-24 Andreas Schwab <schwab@suse.de>
3209
3210 [BZ #16002]
3211 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3212 alloca_account and account alloca use for struct in6ailist.
3213
b376a11a
JM
32142014-03-24 Joseph Myers <joseph@codesourcery.com>
3215
3216 [BZ #16284]
3217 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3218 rounding mode to recompute results that overflow to infinity or
3219 underflow to zero.
3220 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3221 bug 16284.
3222 * math/auto-libm-test-out: Regenerated.
3223 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3224 (ccosh_test): Likewise.
3225 (csin_test_data): Use plus_oflow.
3226 (csin_test): Use ALL_RM_TEST.
3227 (csinh_test_data): Use plus_oflow.
3228 (csinh_test): Use ALL_RM_TEST.
3229 * sysdeps/i386/fpu/libm-test-ulps: Update.
3230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3231
f7be7376
JM
32322014-03-21 Joseph Myers <joseph@codesourcery.com>
3233
1ca2d03e
JM
3234 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3235 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3236 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3237
f7be7376
JM
3238 [BZ #16731]
3239 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3240 when x - 1 is zero.
3241 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3242 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3243 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3244 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3245 argument is 1.
3246 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3247 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3248 zero.
3249 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3250 * sysdeps/i386/fpu/libm-test-ulps: Update.
3251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3252
fdf4534d
SP
32532014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3254
df26ea53
SP
3255 * scripts/bench.pl: Remove file.
3256 * scripts/bench.py: New benchmark script.
3257 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3258 * benchtests/README: Mention python dependency.
3259 * scripts/pylintrc: New file.
3260 * scripts/pylint: New file.
3261
fdf4534d
SP
3262 * bits/mathdef.h: Use #ifdef instead of #if.
3263 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3264 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3265 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3266 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3267 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3268 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3269
6f23d093
AZ
32702014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3271 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3272
3273 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3275 and strpbrk-ppc64 objects.
3276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3277 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3278 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3279 multiarch strpbrk for POWER7.
3280 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3281 multiarch strpbrk for PPC64.
3282 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3283 ifunc selector.
3284 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3285 strpbrk for POWER7.
3286
8c92dfff
JM
32872014-03-20 Joseph Myers <joseph@codesourcery.com>
3288
3289 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3290 (atan_test): Likewise.
3291 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3292 (atanh_test): Use ALL_RM_TEST.
3293 (atan2_test_data): Likewise.
3294 (cabs_test): Likewise.
3295 (cacosh_test): Likewise.
3296 (carg_test): Likewise.
3297 (casin_test): Likewise.
3298 (casinh_test): Likewise.
3299 (cbrt_test): Likewise.
3300 (csqrt_test): Likewise.
3301 (erf_test): Likewise.
3302 (erfc_test): Likewise.
3303 (pow10_test): Likewise.
3304 (exp2_test): Likewise.
3305 (hypot_test): Likewise.
3306 (j0_test): Likewise.
3307 (j1_test): Likewise.
3308 (lgamma_test): Likewise.
3309 (gamma_test): Likewise.
3310 (sincos_test): Likewise.
3311 (tanh_test): Likewise.
3312 (y0_test): Likewise.
3313 (y1_test): Likewise.
3314 * sysdeps/i386/fpu/libm-test-ulps: Update.
3315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3316
6eaf95cb
AZ
33172014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3318
a387428c
SP
3319 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3321 and strcspn-ppc64 objects.
3322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3323 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3324 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3325 multiarch strcspn for POWER7.
3326 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3327 multiarch strcspn for PPC64.
3328 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3329 ifunc selector.
3330 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3331 strcspn for POWER7.
3332
ae3a5dff
JM
33332014-03-20 Joseph Myers <joseph@codesourcery.com>
3334
3335 * math/gen-libm-test.pl (generate_testfile): Expect only function
3336 name as argument to AUTO_TESTS_* and pass results for all rounding
3337 modes to parse_args.
3338 (parse_auto_input): Separate inputs of automatic tests from
3339 outputs before storing in %auto_tests.
3340 * math/libm-test.inc (acos_test_data): Update call to
3341 AUTO_TESTS_f_f.
3342 (acos_test): Use ALL_RM_TEST.
3343 (acos_tonearest_test_data): Remove.
3344 (acos_test_tonearest): Likewise.
3345 (acos_towardzero_test_data): Likewise.
3346 (acos_test_towardzero): Likewise.
3347 (acos_downward_test_data): Likewise.
3348 (acos_test_downward): Likewise.
3349 (acos_upward_test_data): Likewise.
3350 (acos_test_upward): Likewise.
3351 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3352 (asin_test_data): Likewise.
3353 (asin_test): Use ALL_RM_TEST.
3354 (asin_tonearest_test_data): Remove.
3355 (asin_test_tonearest): Likewise.
3356 (asin_towardzero_test_data): Likewise.
3357 (asin_test_towardzero): Likewise.
3358 (asin_downward_test_data): Likewise.
3359 (asin_test_downward): Likewise.
3360 (asin_upward_test_data): Likewise.
3361 (asin_test_upward): Likewise.
3362 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3363 (atan_test_data): Likewise.
3364 (atanh_test_data): Likewise.
3365 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3366 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3367 (carg_test_data): Likewise.
3368 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3369 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3370 (ccosh_test_data): Likewise.
3371 (cexp_test_data): Likewise.
3372 (clog_test_data): Likewise.
3373 (clog10_test_data): Likewise.
3374 (cos_test_data): Update call to AUTO_TESTS_f_f.
3375 (cos_test): Use ALL_RM_TEST.
3376 (cos_tonearest_test_data): Remove.
3377 (cos_test_tonearest): Likewise.
3378 (cos_towardzero_test_data): Likewise.
3379 (cos_test_towardzero): Likewise.
3380 (cos_downward_test_data): Likewise.
3381 (cos_test_downward): Likewise.
3382 (cos_upward_test_data): Likewise.
3383 (cos_test_upward): Likewise.
3384 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3385 (cosh_test): Use ALL_RM_TEST.
3386 (cosh_tonearest_test_data): Remove.
3387 (cosh_test_tonearest): Likewise.
3388 (cosh_towardzero_test_data): Likewise.
3389 (cosh_test_towardzero): Likewise.
3390 (cosh_downward_test_data): Likewise.
3391 (cosh_test_downward): Likewise.
3392 (cosh_upward_test_data): Likewise.
3393 (cosh_test_upward): Likewise.
3394 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3395 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3396 (ctan_test_data): Likewise.
3397 (ctan_test): Use ALL_RM_TEST.
3398 (ctan_tonearest_test_data): Remove.
3399 (ctan_test_tonearest): Likewise.
3400 (ctan_towardzero_test_data): Likewise.
3401 (ctan_test_towardzero): Likewise.
3402 (ctan_downward_test_data): Likewise.
3403 (ctan_test_downward): Likewise.
3404 (ctan_upward_test_data): Likewise.
3405 (ctan_test_upward): Likewise.
3406 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3407 (ctanh_test): Use ALL_RM_TEST.
3408 (ctanh_tonearest_test_data): Remove.
3409 (ctanh_test_tonearest): Likewise.
3410 (ctanh_towardzero_test_data): Likewise.
3411 (ctanh_test_towardzero): Likewise.
3412 (ctanh_downward_test_data): Likewise.
3413 (ctanh_test_downward): Likewise.
3414 (ctanh_upward_test_data): Likewise.
3415 (ctanh_test_upward): Likewise.
3416 (erf_test_data): Update call to AUTO_TESTS_f_f.
3417 (erfc_test_data): Likewise.
3418 (exp_test_data): Likewise.
3419 (exp_test): Use ALL_RM_TEST.
3420 (exp_tonearest_test_data): Remove.
3421 (exp_test_tonearest): Likewise.
3422 (exp_towardzero_test_data): Likewise.
3423 (exp_test_towardzero): Likewise.
3424 (exp_downward_test_data): Likewise.
3425 (exp_test_downward): Likewise.
3426 (exp_upward_test_data): Likewise.
3427 (exp_test_upward): Likewise.
3428 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3429 (exp10_test): Use ALL_RM_TEST.
3430 (exp10_tonearest_test_data): Remove.
3431 (exp10_test_tonearest): Likewise.
3432 (exp10_towardzero_test_data): Likewise.
3433 (exp10_test_towardzero): Likewise.
3434 (exp10_downward_test_data): Likewise.
3435 (exp10_test_downward): Likewise.
3436 (exp10_upward_test_data): Likewise.
3437 (exp10_test_upward): Likewise.
3438 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3439 (expm1_test_data): Likewise.
3440 (expm1_test): Use ALL_RM_TEST.
3441 (expm1_tonearest_test_data): Remove.
3442 (expm1_test_tonearest): Likewise.
3443 (expm1_towardzero_test_data): Likewise.
3444 (expm1_test_towardzero): Likewise.
3445 (expm1_downward_test_data): Likewise.
3446 (expm1_test_downward): Likewise.
3447 (expm1_upward_test_data): Likewise.
3448 (expm1_test_upward): Likewise.
3449 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3450 (fma_test): Use ALL_RM_TEST.
3451 (fma_towardzero_test_data): Remove.
3452 (fma_test_towardzero): Likewise.
3453 (fma_downward_test_data): Likewise.
3454 (fma_test_downward): Likewise.
3455 (fma_upward_test_data): Likewise.
3456 (fma_test_upward): Likewise.
3457 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3458 (j0_test_data): Update call to AUTO_TESTS_f_f.
3459 (j1_test_data): Likewise.
3460 (jn_test_data): Update call to AUTO_TESTS_if_f.
3461 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3462 (log_test_data): Update call to AUTO_TESTS_f_f.
3463 (log10_test_data): Likewise.
3464 (log1p_test_data): Likewise.
3465 (log2_test_data): Likewise.
3466 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3467 (pow_tonearest_test_data): Likewise.
3468 (sin_test_data): Update call to AUTO_TESTS_f_f.
3469 (sin_test): Use ALL_RM_TEST.
3470 (sin_tonearest_test_data): Remove.
3471 (sin_test_tonearest): Likewise.
3472 (sin_towardzero_test_data): Likewise.
3473 (sin_test_towardzero): Likewise.
3474 (sin_downward_test_data): Likewise.
3475 (sin_test_downward): Likewise.
3476 (sin_upward_test_data): Likewise.
3477 (sin_test_upward): Likewise.
3478 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3479 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3480 (sinh_test): Use ALL_RM_TEST.
3481 (sinh_tonearest_test_data): Remove.
3482 (sinh_test_tonearest): Likewise.
3483 (sinh_towardzero_test_data): Likewise.
3484 (sinh_test_towardzero): Likewise.
3485 (sinh_downward_test_data): Likewise.
3486 (sinh_test_downward): Likewise.
3487 (sinh_upward_test_data): Likewise.
3488 (sinh_test_upward): Likewise.
3489 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3490 (sqrt_test): Use ALL_RM_TEST.
3491 (sqrt_tonearest_test_data): Remove.
3492 (sqrt_test_tonearest): Likewise.
3493 (sqrt_towardzero_test_data): Likewise.
3494 (sqrt_test_towardzero): Likewise.
3495 (sqrt_downward_test_data): Likewise.
3496 (sqrt_test_downward): Likewise.
3497 (sqrt_upward_test_data): Likewise.
3498 (sqrt_test_upward): Likewise.
3499 (tan_test_data): Update call to AUTO_TESTS_f_f.
3500 (tan_test): Use ALL_RM_TEST.
3501 (tan_tonearest_test_data): Remove.
3502 (tan_test_tonearest): Likewise.
3503 (tan_towardzero_test_data): Likewise.
3504 (tan_test_towardzero): Likewise.
3505 (tan_downward_test_data): Likewise.
3506 (tan_test_downward): Likewise.
3507 (tan_upward_test_data): Likewise.
3508 (tan_test_upward): Likewise.
3509 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3510 (tgamma_test_data): Likewise.
3511 (y0_test_data): Likewise.
3512 (y1_test_data): Likewise.
3513 (yn_test_data): Update call to AUTO_TESTS_if_f.
3514 (main): Do not call removed functions.
3515
d71aeee8
JM
35162014-03-19 Joseph Myers <joseph@codesourcery.com>
3517
3518 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3519 (ldexp_test_data): Remove.
3520 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3521 scalbn_test_data.
3522 (scalb_test): Use ALL_RM_TEST.
3523
baaf1ded
AS
35242014-03-19 Andreas Schwab <schwab@suse.de>
3525
3526 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3527
b1115e91
JM
35282014-03-19 Joseph Myers <joseph@codesourcery.com>
3529
3530 [BZ #16649]
3531 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3532 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3533 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3534 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3535 (__ASSUME_PREADV): Undefine.
3536 (__ASSUME_PWRITEV): Likewise.
3537
0283ecca
RM
35382014-03-18 Roland McGrath <roland@hack.frob.com>
3539
7d375303
RM
3540 * bits/mman-linux.h: Add comment about non-Linux use.
3541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3542 bits/mman-linux.h resting place.
3543
0283ecca
RM
3544 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3545 * bits/mman-linux.h: ... here.
3546
aebe1003
AZ
35472014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3548
3549 * conform/conformtest.pl: Add standard definition when calling C
3550 preprocessor on data files.
3551 (checknamespace): Remove unused variable.
3552
b29b6bb8
JM
35532014-03-18 Joseph Myers <joseph@codesourcery.com>
3554
3555 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3556 minus_oflow, plus_uflow and minus_uflow in expected results.
3557 * math/libm-test.inc (scalbn_test_data): Add more tests of
3558 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3559 minus_uflow.
3560 (scalbn_test): Use ALL_RM_TEST.
3561 (scalbln_test_data): Add more tests of negative arguments. Use
3562 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3563 (scalbln_test): Use ALL_RM_TEST.
3564
c8f8fa15
RM
35652014-03-18 Roland McGrath <roland@hack.frob.com>
3566
3567 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3568
fede7a5f
WN
35692014-03-18 Will Newton <will.newton@linaro.org>
3570
3571 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3572 inaccurate comment.
3573
80cf0a58
JM
35742014-03-18 Joseph Myers <joseph@codesourcery.com>
3575
3576 * Makerules [!subdir] (check-abi): Exit with error status if a
3577 test failed.
3578
b3620862
JM
35792014-03-17 Joseph Myers <joseph@codesourcery.com>
3580
3581 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3582 for rint. Include results for all rounding modes.
3583 (nearbyint_test): Use ALL_RM_TEST.
3584 (rint_test_data): Include all tests used for nearbyint.
3585
788bba36
WN
35862014-03-17 Will Newton <will.newton@linaro.org>
3587
04ec140a
WN
3588 * nptl/sysdeps/pthread/pthread.h: Revert previous
3589 change.
3590
7579d8d5
WN
3591 * sysdeps/generic/ldsodefs.h: Revert previous
3592 change.
3593
c15cf13a
WN
3594 * libio/genops.c: Revert previous change.
3595 * libio/libioP.h: Likewise.
3596 * stdio-common/vfprintf.c: Likewise.
3597
d0ac1324
WN
3598 * sysdeps/generic/math_private.h: Revert previous
3599 change.
3600
9290130a
WN
3601 * sysdeps/generic/math_private.h: Check whether
3602 HAVE_RM_CTX is defined with #ifdef rather
3603 than #if.
3604
afb466fc
WN
3605 * argp/argp-fmtstream.h: Check whether
3606 __STRICT_ANSI__ is defined with #ifdef rather
3607 than #if.
3608 * argp/argp.h: Likewise.
3609
f7efd7c3
WN
3610 * libio/genops.c: Check whether
3611 _IO_JUMPS_OFFSET is defined with #ifdef rather
3612 than #if.
3613 * libio/libioP.h: Likewise.
3614 * stdio-common/vfprintf.c: Likewise.
3615
53f1bed3
WN
3616 * sysdeps/generic/ldsodefs.h: Check whether
3617 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3618 than #if.
3619
788bba36
WN
3620 * nptl/sysdeps/pthread/pthread.h: Check
3621 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3622 its value.
3623
fcd89ebe
SP
36242014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3625
ae42bbc5
SP
3626 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3627 setting O_APPEND.
3628 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3629 test case.
3630
ea33158c
SP
3631 [BZ #16680]
3632 * libio/fileops.c (_IO_file_open): Seek to end of file but
3633 don't cache the offset.
3634 (get_file_offset): Remove function.
3635 (do_ftell): Use cached offset when available.
3636 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3637 don't cache the offset.
3638 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3639 case.
3640 (do_one_test): Call it.
3641 (do_ftell_test): Fix up expected old offset for a+ mode.
3642 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3643 available.
3644
b1dbb426
SP
3645 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3646 up test status with function return status.
3647 (do_write_test): Likewise.
3648 (do_append_test): Likewise.
3649
fcd89ebe
SP
3650 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3651 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3652 Remove.
3653
9962a2d3
JM
36542014-03-17 Joseph Myers <joseph@codesourcery.com>
3655
3656 * math/gen-libm-test.pl (parse_args): Handle results specified for
3657 each rounding mode separately.
3658 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3659 tests and results from lrint_tonearest_test_data,
3660 lrint_towardzero_test_data, lrint_downward_test_data and
3661 lrint_upward_test_data.
3662 (lrint_test): Use ALL_RM_TEST.
3663 (lrint_tonearest_test_data): Remove.
3664 (lrint_test_tonearest): Likewise.
3665 (lrint_towardzero_test_data): Likewise.
3666 (lrint_test_towardzero): Likewise.
3667 (lrint_downward_test_data): Likewise.
3668 (lrint_test_downward): Likewise.
3669 (lrint_upward_test_data): Likewise.
3670 (lrint_test_upward): Likewise.
3671 (llrint_test_data): Merge in per-rounding-mode tests and results
3672 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3673 llrint_downward_test_data and llrint_upward_test_data.
3674 (llrint_test): Use ALL_RM_TEST.
3675 (llrint_tonearest_test_data): Remove.
3676 (llrint_test_tonearest): Likewise.
3677 (llrint_towardzero_test_data): Likewise.
3678 (llrint_test_towardzero): Likewise.
3679 (llrint_downward_test_data): Likewise.
3680 (llrint_test_downward): Likewise.
3681 (llrint_upward_test_data): Likewise.
3682 (llrint_test_upward): Likewise.
3683 (rint_test_data): Merge in per-rounding-mode tests and results
3684 from rint_tonearest_test_data, rint_towardzero_test_data,
3685 rint_downward_test_data and rint_upward_test_data. Add
3686 per-rounding-mode results for tests not in those arrays.
3687 (rint_test): Use ALL_RM_TEST.
3688 (rint_tonearest_test_data): Remove.
3689 (rint_test_tonearest): Likewise.
3690 (rint_towardzero_test_data): Likewise.
3691 (rint_test_towardzero): Likewise.
3692 (rint_downward_test_data): Likewise.
3693 (rint_test_downward): Likewise.
3694 (rint_upward_test_data): Likewise.
3695 (rint_test_upward): Likewise.
3696 (main): Don't call removed functions.
3697
5006148e
RM
36982014-03-14 Roland McGrath <roland@hack.frob.com>
3699
3700 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3701 "Compiled on ..." crapola. It is anti-useful.
3702
d6fe5e58
JM
37032014-03-14 Joseph Myers <joseph@codesourcery.com>
3704
3705 * scripts/evaluate-test.sh: Handle fourth argument to determine
3706 whether test run should stop on failure.
3707 * Makeconfig (stop-on-test-failure): New variable.
3708 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3709 $(stop-on-test-failure).
3710 * Makefile (tests): Give a summary of results from testing and
3711 exit with failure status if they include an ERROR or FAIL.
3712 (xtests): Likewise.
3713 * manual/install.texi (Configuring and compiling): Mention
3714 stop-on-test-failure=y.
3715 * INSTALL: Regenerated.
3716
498a2233
RM
37172014-03-14 Roland McGrath <roland@hack.frob.com>
3718
22dbc19d
RM
3719 * scripts/versionlist.awk: New file.
3720 * Makerules [$(build-shared) = yes]
3721 (postclean-generated): Add Versions.def, not Versions.def.v and
3722 Versions.def.v.i.
3723 ($(common-objpfx)Versions.def.v.i): Target removed.
3724 ($(common-objpfx)Versions.def): New target.
3725 ($(common-objpfx)Versions.all): Depend on that rather that
3726 $(common-objpfx)Versions.def.v.
3727 * Versions.def: File removed.
3728
498a2233
RM
3729 * Makeconfig (+gccwarn): Add -Wundef.
3730 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3731 a dl-sysdep.h breaking its contract.
3732 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3733 * include/stackinfo.h: New file.
3734 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3735 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3736 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3737 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3738 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3739 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3740 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3741 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3742 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3743 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3744 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3745 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3746 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3747 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3748 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3749
c7de5025
AZ
37502014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3751
3752 [BZ #16707]
3753 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3754 implementation.
3755 * math/libm-test.inc (round_test_data): Add more tests.
3756
98fb27a3
AZ
3757 [BZ #16706]
3758 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3759 implementation.
3760 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3761
374f7f61
AZ
3762 [BZ #16701]
3763 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3764 implementation.
3765 * math/libm-test.inc (ceil_test_data): Add more tests.
3766
4655c291
AZ
3767 * math/libm-test.inc (trunc_test_data): Add more tests related to
3768 BZ#16414.
3769
d7329d4b
RM
37702014-03-14 Roland McGrath <roland@hack.frob.com>
3771
3772 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3773 with #if rather than #ifdef.
3774 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3775
aa4de9ce
L
37762014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3777
3778 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3779 first. Disable AVX-512 GCC support if assembler doesn't support
3780 it.
3781 * sysdeps/x86_64/configure: Regenerated.
3782
2e03fae7
CD
37832014-03-13 Carlos O'Donell <carlos@redhat.com>
3784
3785 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3786 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3787 (__old_pthread_attr_setstack): Likewise.
3788 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3789 [!_STACK_GROWS_DOWN]: Likewise.
3790
43ca83ec
MF
37912014-03-13 Mike Frysinger <vapier@gentoo.org>
3792
3793 * config.make.in (have-bash2): Delete.
3794 * configure.ac (libc_cv_have_bash2): Delete.
3795 * configure: Regenerate.
3796 * elf/Makefile (common-ldd-rewrite): Rename to ...
3797 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3798 (sh-ldd-rewrite): Delete.
3799 (bash-ldd-rewrite): Delete.
3800 (have-bash2): Delete checks.
57f41c40
AS
3801 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3802 ldd-rewrite.
c66e48b4
MF
3803
3804 * config.make.in (have-ksh): Delete.
3805 (KSH): Delete.
3806 * configure.ac (libc_cv_have_ksh): Delete.
3807 * configure: Regenerate.
3808
b93834ef
MF
3809 * elf/Makefile: Delete $(have-ksh) check.
3810 ($(objpfx)sotruss): Change KSH to BASH.
3811 * elf/sotruss.ksh: Rename to ...
3812 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3813 function style to match POSIX. Drop ksh vim mode setting.
3814
f3a4632a
MF
3815 * manual/time.texi (Specifying the Time Zone with TZ): Change
3816 Tuesday to Thursday.
3817
5896c8bd
MF
3818 * debug/tst-longjmp_chk2.c: Update header comment.
3819 (stackoverflow_handler): Add comment. Call assert on pass value.
3820
2d63a517
IZ
38212014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3822
3823 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3824 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3825 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3826 (La_x86_64_vector): Add zmm.
3827 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3828 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3829 ($(objpfx)tst-audit10): New target.
3830 ($(objpfx)tst-audit10.out): Likewise.
3831 (tst-audit10-ENV): New.
3832 (AVX512-CFLAGS): Likewise.
3833 (CFLAGS-tst-audit10.c): Likewise.
3834 (CFLAGS-tst-auditmod10a.c): Likewise.
3835 (CFLAGS-tst-auditmod10b.c): Likewise.
3836 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3837 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3838 * sysdeps/x86_64/configure: Regenerated.
3839 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3840 AVX-512 zmm register support.
3841 (_dl_x86_64_save_sse): Likewise.
3842 (_dl_x86_64_restore_sse): Likewise.
3843 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3844 size vector registers.
3845 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3846 (ZMM_SIZE): Likewise.
3847 * sysdeps/x86_64/tst-audit10.c: New file.
3848 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3849 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3850
44c4e5d5
RM
38512014-03-13 Roland McGrath <roland@hack.frob.com>
3852
3853 * configure.ac (HAVE_EHDR_START): New check.
3854 * configure: Regenerated.
3855 * config.h.in (HAVE_EHDR_START): New #undef.
3856 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3857 assuming the lowest-addressed segment maps the start of the file.
3858
acd6e389
JM
38592014-03-13 Joseph Myers <joseph@codesourcery.com>
3860
3861 * INSTALL: Regenerated.
3862
6f918f36
WN
38632014-03-13 Will Newton <will.newton@linaro.org>
3864
3865 * manual/setjmp.texi (System V contexts): Improve
3866 clarity and grammar of documentation.
3867
798212a0
PP
38682014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3869
3870 [BZ #16381]
798212a0 3871 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3872 (tests-pie): Add tst-pie2.
798212a0
PP
3873 * elf/tst-pie2.c: New file.
3874 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3875 for ET_EXEC.
3876 * elf/rtld.c (map_doit): Load executable as lt_executable.
3877 (dl_main): Likewise.
3878
abe6d90c
JM
38792014-03-12 Joseph Myers <joseph@codesourcery.com>
3880
3881 [BZ #16642]
3882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3883 (__ASSUME_PSELECT): Undefine.
3884
dd3946c6
AZ
38852014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3886
3887 [BZ #16689]
3888 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3889 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3890 static build.
3891 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3892 selector for static builds.
3893
c44496df
SP
38942014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3895
3896 [BZ #16695]
3897 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3898 key in the buffer.
3899
27c7220a
AZ
39002014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3901
57f41c40
AS
3902 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3903 IFUNC selector for static builds.
27c7220a 3904
600fa361
JM
39052014-03-11 Joseph Myers <joseph@codesourcery.com>
3906
76c96cf7
JM
3907 * sysdeps/mips/math_private.h [__mips_hard_float]
3908 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3909 libc_feresetround_mips_ctx.
3910 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3911 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3912 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3913
600fa361
JM
3914 [BZ #16677]
3915 * math/s_nextafter.c (__nextafter): Do not return value from
3916 overflowing computation.
3917 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3918 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3919 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3920 Likewise.
3921 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3922 Likewise.
3923 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3924 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3925
d7706c32
RM
39262014-03-11 Roland McGrath <roland@hack.frob.com>
3927
3928 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3929 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3930 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3931 the new mov targetting sp.
3932
4facea47
AZ
39332014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3934
3935 [BZ #16683]
3936 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3937 Define it for static builds as well.
3938 (NO_BZERO_IMPL): Likewise.
3939
e65caf1f
VR
39402014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3941
3942 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3943 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3944 multiarch strspn for PPC64.
3945 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3946 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3948 (__libc_ifunc_impl_list): Likewise.
3949 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3950 multiarch optimizations
3951 * string/strspn.c (strspn): Using macro to redefine symbol name.
3952
ba9cc071
AZ
39532014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3954 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3955
3956 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3957 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3958 multiarch strncat for PPC64.
3959 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3960 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3962 (__libc_ifunc_impl_list): Likewise.
3963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3964 multiarch optimizations
3965
8b4ff974
SP
39662014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3967
3968 [BZ #16639]
3969 * nscd/nscd.service: Make service type forking.
3970
54b46a4b
AZ
39712014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3972
3973 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3974 sign in non default rounding modes.
3975 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3976
e9996ef7
JM
39772014-03-08 Joseph Myers <joseph@codesourcery.com>
3978
3979 * math/libm-test.inc (ALL_RM_TEST): New macro.
3980 (ceil_test): Use ALL_RM_TEST.
3981 (cimag_test): Likewise.
3982 (conj_test): Likewise.
3983 (copysign_test): Likewise.
3984 (cproj_test): Likewise.
3985 (creal_test): Likewise.
3986 (fabs_test): Likewise.
3987 (floor_test): Likewise.
3988 (fmax_test): Likewise.
3989 (fmin_test): Likewise.
3990 (fmod_test): Likewise.
3991 (fpclassify_test): Likewise.
3992 (frexp_test): Likewise.
3993 (ilogb_test): Likewise.
3994 (isfinite_test): Likewise.
3995 (finite_test): Likewise.
3996 (isgreater_test): Likewise.
3997 (isgreaterequal_test): Likewise.
3998 (isinf_test): Likewise.
3999 (isless_test): Likewise.
4000 (islessequal_test): Likewise.
4001 (islessgreater_test): Likewise.
4002 (isnan_test): Likewise.
4003 (isnormal_test): Likewise.
4004 (issignaling_test): Likewise.
4005 (isunordered_test): Likewise.
4006 (logb_test): Likewise.
4007 (logb_downward_test_data): Remove.
4008 (logb_test_downward): Likewise.
4009 (lround_test): Use ALL_RM_TEST.
4010 (llround_test): Likewise.
4011 (modf_test): Likewise.
4012 (nexttoward_test): Likewise.
4013 (remainder_test): Likewise.
4014 (drem_test): Likewise.
4015 (remainder_tonearest_test_data): Likewise.
4016 (remainder_test_tonearest): Likewise.
4017 (drem_test_tonearest): Likewise.
4018 (remainder_towardzero_test_data): Likewise.
4019 (remainder_test_towardzero): Likewise.
4020 (drem_test_towardzero): Likewise.
4021 (remainder_downward_test_data): Likewise.
4022 (remainder_test_downward): Likewise.
4023 (drem_test_downward): Likewise.
4024 (remainder_upward_test_data): Likewise.
4025 (remainder_test_upward): Likewise.
4026 (drem_test_upward): Likewise.
4027 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4028 (round_test): Use ALL_RM_TEST.
4029 (signbit_test): Likewise.
4030 (trunc_test): Likewise.
4031 (significand_test): Likewise.
4032 (main): Don't call removed functions.
4033
bc61d27c
JM
40342014-03-07 Joseph Myers <joseph@codesourcery.com>
4035
5c780849
JM
4036 [BZ #16674]
4037 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4038 || __USE_XOPEN2K8].
4039 (ILL_ILLOPN): Likewise.
4040 (ILL_ILLADR): Likewise.
4041 (ILL_ILLTRP): Likewise.
4042 (ILL_PRVOPC): Likewise.
4043 (ILL_PRVREG): Likewise.
4044 (ILL_COPROC): Likewise.
4045 (ILL_BADSTK): Likewise.
4046 (FPE_INTDIV): Likewise.
4047 (FPE_INTOVF): Likewise.
4048 (FPE_FLTDIV): Likewise.
4049 (FPE_FLTOVF): Likewise.
4050 (FPE_FLTUND): Likewise.
4051 (FPE_FLTRES): Likewise.
4052 (FPE_FLTINV): Likewise.
4053 (FPE_FLTSUB): Likewise.
4054 (SEGV_MAPERR): Likewise.
4055 (SEGV_ACCERR): Likewise.
4056 (BUS_ADRALN): Likewise.
4057 (BUS_ADRERR): Likewise.
4058 (BUS_OBJERR): Likewise.
4059 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4060 (TRAP_TRACE): Likewise.
4061 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4062 __USE_XOPEN2K8].
4063 (CLD_KILLED): Likewise.
4064 (CLD_DUMPED): Likewise.
4065 (CLD_TRAPPED): Likewise.
4066 (CLD_STOPPED): Likewise.
4067 (CLD_CONTINUED): Likewise.
4068 (POLL_IN): Likewise.
4069 (POLL_OUT): Likewise.
4070 (POLL_MSG): Likewise.
4071 (POLL_ERR): Likewise.
4072 (POLL_PRI): Likewise.
4073 (POLL_HUP): Likewise.
4074 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4075 Likewise.
4076 (ILL_ILLOPN): Likewise.
4077 (ILL_ILLADR): Likewise.
4078 (ILL_ILLTRP): Likewise.
4079 (ILL_PRVOPC): Likewise.
4080 (ILL_PRVREG): Likewise.
4081 (ILL_COPROC): Likewise.
4082 (ILL_BADSTK): Likewise.
4083 (FPE_INTDIV): Likewise.
4084 (FPE_INTOVF): Likewise.
4085 (FPE_FLTDIV): Likewise.
4086 (FPE_FLTOVF): Likewise.
4087 (FPE_FLTUND): Likewise.
4088 (FPE_FLTRES): Likewise.
4089 (FPE_FLTINV): Likewise.
4090 (FPE_FLTSUB): Likewise.
4091 (SEGV_MAPERR): Likewise.
4092 (SEGV_ACCERR): Likewise.
4093 (BUS_ADRALN): Likewise.
4094 (BUS_ADRERR): Likewise.
4095 (BUS_OBJERR): Likewise.
4096 (BUS_MCEERR_AR): Likewise.
4097 (BUS_MCEERR_AO): Likewise.
4098 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4099 (TRAP_TRACE): Likewise.
4100 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4101 __USE_XOPEN2K8].
4102 (CLD_KILLED): Likewise.
4103 (CLD_DUMPED): Likewise.
4104 (CLD_TRAPPED): Likewise.
4105 (CLD_STOPPED): Likewise.
4106 (CLD_CONTINUED): Likewise.
4107 (POLL_IN): Likewise.
4108 (POLL_OUT): Likewise.
4109 (POLL_MSG): Likewise.
4110 (POLL_ERR): Likewise.
4111 (POLL_PRI): Likewise.
4112 (POLL_HUP): Likewise.
4113 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4114 (ILL_ILLOPN): Likewise.
4115 (ILL_ILLADR): Likewise.
4116 (ILL_ILLTRP): Likewise.
4117 (ILL_PRVOPC): Likewise.
4118 (ILL_PRVREG): Likewise.
4119 (ILL_COPROC): Likewise.
4120 (ILL_BADSTK): Likewise.
4121 (FPE_INTDIV): Likewise.
4122 (FPE_INTOVF): Likewise.
4123 (FPE_FLTDIV): Likewise.
4124 (FPE_FLTOVF): Likewise.
4125 (FPE_FLTUND): Likewise.
4126 (FPE_FLTRES): Likewise.
4127 (FPE_FLTINV): Likewise.
4128 (FPE_FLTSUB): Likewise.
4129 (SEGV_MAPERR): Likewise.
4130 (SEGV_ACCERR): Likewise.
4131 (BUS_ADRALN): Likewise.
4132 (BUS_ADRERR): Likewise.
4133 (BUS_OBJERR): Likewise.
4134 (BUS_MCEERR_AR): Likewise.
4135 (BUS_MCEERR_AO): Likewise.
4136 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4137 (TRAP_TRACE): Likewise.
4138 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4139 __USE_XOPEN2K8].
4140 (CLD_KILLED): Likewise.
4141 (CLD_DUMPED): Likewise.
4142 (CLD_TRAPPED): Likewise.
4143 (CLD_STOPPED): Likewise.
4144 (CLD_CONTINUED): Likewise.
4145 (POLL_IN): Likewise.
4146 (POLL_OUT): Likewise.
4147 (POLL_MSG): Likewise.
4148 (POLL_ERR): Likewise.
4149 (POLL_PRI): Likewise.
4150 (POLL_HUP): Likewise.
4151 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4152 Likewise.
4153 (ILL_ILLOPN): Likewise.
4154 (ILL_ILLADR): Likewise.
4155 (ILL_ILLTRP): Likewise.
4156 (ILL_PRVOPC): Likewise.
4157 (ILL_PRVREG): Likewise.
4158 (ILL_COPROC): Likewise.
4159 (ILL_BADSTK): Likewise.
4160 (ILL_BADIADDR): Likewise.
4161 (ILL_BREAK): Likewise.
4162 (FPE_INTDIV): Likewise.
4163 (FPE_INTOVF): Likewise.
4164 (FPE_FLTDIV): Likewise.
4165 (FPE_FLTOVF): Likewise.
4166 (FPE_FLTUND): Likewise.
4167 (FPE_FLTRES): Likewise.
4168 (FPE_FLTINV): Likewise.
4169 (FPE_FLTSUB): Likewise.
4170 (FPE_DECOVF): Likewise.
4171 (FPE_DECDIV): Likewise.
4172 (FPE_DECERR): Likewise.
4173 (FPE_INVASC): Likewise.
4174 (FPE_INVDEC): Likewise.
4175 (SEGV_MAPERR): Likewise.
4176 (SEGV_ACCERR): Likewise.
4177 (SEGV_PSTKOVF): Likewise.
4178 (BUS_ADRALN): Likewise.
4179 (BUS_ADRERR): Likewise.
4180 (BUS_OBJERR): Likewise.
4181 (BUS_MCEERR_AR): Likewise.
4182 (BUS_MCEERR_AO): Likewise.
4183 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4184 (TRAP_TRACE): Likewise.
4185 (TRAP_BRANCH): Likewise.
4186 (TRAP_HWBKPT): Likewise.
4187 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4188 __USE_XOPEN2K8].
4189 (CLD_KILLED): Likewise.
4190 (CLD_DUMPED): Likewise.
4191 (CLD_TRAPPED): Likewise.
4192 (CLD_STOPPED): Likewise.
4193 (CLD_CONTINUED): Likewise.
4194 (POLL_IN): Likewise.
4195 (POLL_OUT): Likewise.
4196 (POLL_MSG): Likewise.
4197 (POLL_ERR): Likewise.
4198 (POLL_PRI): Likewise.
4199 (POLL_HUP): Likewise.
4200 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4201 (ILL_ILLOPN): Likewise.
4202 (ILL_ILLADR): Likewise.
4203 (ILL_ILLTRP): Likewise.
4204 (ILL_PRVOPC): Likewise.
4205 (ILL_PRVREG): Likewise.
4206 (ILL_COPROC): Likewise.
4207 (ILL_BADSTK): Likewise.
4208 (FPE_INTDIV): Likewise.
4209 (FPE_INTOVF): Likewise.
4210 (FPE_FLTDIV): Likewise.
4211 (FPE_FLTOVF): Likewise.
4212 (FPE_FLTUND): Likewise.
4213 (FPE_FLTRES): Likewise.
4214 (FPE_FLTINV): Likewise.
4215 (FPE_FLTSUB): Likewise.
4216 (SEGV_MAPERR): Likewise.
4217 (SEGV_ACCERR): Likewise.
4218 (BUS_ADRALN): Likewise.
4219 (BUS_ADRERR): Likewise.
4220 (BUS_OBJERR): Likewise.
4221 (BUS_MCEERR_AR): Likewise.
4222 (BUS_MCEERR_AO): Likewise.
4223 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4224 (TRAP_TRACE): Likewise.
4225 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4226 __USE_XOPEN2K8].
4227 (CLD_KILLED): Likewise.
4228 (CLD_DUMPED): Likewise.
4229 (CLD_TRAPPED): Likewise.
4230 (CLD_STOPPED): Likewise.
4231 (CLD_CONTINUED): Likewise.
4232 (POLL_IN): Likewise.
4233 (POLL_OUT): Likewise.
4234 (POLL_MSG): Likewise.
4235 (POLL_ERR): Likewise.
4236 (POLL_PRI): Likewise.
4237 (POLL_HUP): Likewise.
4238 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4239 (ILL_ILLOPN): Likewise.
4240 (ILL_ILLADR): Likewise.
4241 (ILL_ILLTRP): Likewise.
4242 (ILL_PRVOPC): Likewise.
4243 (ILL_PRVREG): Likewise.
4244 (ILL_COPROC): Likewise.
4245 (ILL_BADSTK): Likewise.
4246 (FPE_INTDIV): Likewise.
4247 (FPE_INTOVF): Likewise.
4248 (FPE_FLTDIV): Likewise.
4249 (FPE_FLTOVF): Likewise.
4250 (FPE_FLTUND): Likewise.
4251 (FPE_FLTRES): Likewise.
4252 (FPE_FLTINV): Likewise.
4253 (FPE_FLTSUB): Likewise.
4254 (SEGV_MAPERR): Likewise.
4255 (SEGV_ACCERR): Likewise.
4256 (BUS_ADRALN): Likewise.
4257 (BUS_ADRERR): Likewise.
4258 (BUS_OBJERR): Likewise.
4259 (BUS_MCEERR_AR): Likewise.
4260 (BUS_MCEERR_AO): Likewise.
4261 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4262 (TRAP_TRACE): Likewise.
4263 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4264 __USE_XOPEN2K8].
4265 (CLD_KILLED): Likewise.
4266 (CLD_DUMPED): Likewise.
4267 (CLD_TRAPPED): Likewise.
4268 (CLD_STOPPED): Likewise.
4269 (CLD_CONTINUED): Likewise.
4270 (POLL_IN): Likewise.
4271 (POLL_OUT): Likewise.
4272 (POLL_MSG): Likewise.
4273 (POLL_ERR): Likewise.
4274 (POLL_PRI): Likewise.
4275 (POLL_HUP): Likewise.
4276 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4277 (ILL_ILLOPN): Likewise.
4278 (ILL_ILLADR): Likewise.
4279 (ILL_ILLTRP): Likewise.
4280 (ILL_PRVOPC): Likewise.
4281 (ILL_PRVREG): Likewise.
4282 (ILL_COPROC): Likewise.
4283 (ILL_BADSTK): Likewise.
4284 (FPE_INTDIV): Likewise.
4285 (FPE_INTOVF): Likewise.
4286 (FPE_FLTDIV): Likewise.
4287 (FPE_FLTOVF): Likewise.
4288 (FPE_FLTUND): Likewise.
4289 (FPE_FLTRES): Likewise.
4290 (FPE_FLTINV): Likewise.
4291 (FPE_FLTSUB): Likewise.
4292 (SEGV_MAPERR): Likewise.
4293 (SEGV_ACCERR): Likewise.
4294 (BUS_ADRALN): Likewise.
4295 (BUS_ADRERR): Likewise.
4296 (BUS_OBJERR): Likewise.
4297 (BUS_MCEERR_AR): Likewise.
4298 (BUS_MCEERR_AO): Likewise.
4299 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4300 (TRAP_TRACE): Likewise.
4301 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4302 __USE_XOPEN2K8].
4303 (CLD_KILLED): Likewise.
4304 (CLD_DUMPED): Likewise.
4305 (CLD_TRAPPED): Likewise.
4306 (CLD_STOPPED): Likewise.
4307 (CLD_CONTINUED): Likewise.
4308 (POLL_IN): Likewise.
4309 (POLL_OUT): Likewise.
4310 (POLL_MSG): Likewise.
4311 (POLL_ERR): Likewise.
4312 (POLL_PRI): Likewise.
4313 (POLL_HUP): Likewise.
4314 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4315 (ILL_ILLOPN): Likewise.
4316 (ILL_ILLADR): Likewise.
4317 (ILL_ILLTRP): Likewise.
4318 (ILL_PRVOPC): Likewise.
4319 (ILL_PRVREG): Likewise.
4320 (ILL_COPROC): Likewise.
4321 (ILL_BADSTK): Likewise.
4322 (ILL_DBLFLT): Likewise.
4323 (ILL_HARDWALL): Likewise.
4324 (FPE_INTDIV): Likewise.
4325 (FPE_INTOVF): Likewise.
4326 (FPE_FLTDIV): Likewise.
4327 (FPE_FLTOVF): Likewise.
4328 (FPE_FLTUND): Likewise.
4329 (FPE_FLTRES): Likewise.
4330 (FPE_FLTINV): Likewise.
4331 (FPE_FLTSUB): Likewise.
4332 (SEGV_MAPERR): Likewise.
4333 (SEGV_ACCERR): Likewise.
4334 (BUS_ADRALN): Likewise.
4335 (BUS_ADRERR): Likewise.
4336 (BUS_OBJERR): Likewise.
4337 (BUS_MCEERR_AR): Likewise.
4338 (BUS_MCEERR_AO): Likewise.
4339 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4340 (TRAP_TRACE): Likewise.
4341 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4342 __USE_XOPEN2K8].
4343 (CLD_KILLED): Likewise.
4344 (CLD_DUMPED): Likewise.
4345 (CLD_TRAPPED): Likewise.
4346 (CLD_STOPPED): Likewise.
4347 (CLD_CONTINUED): Likewise.
4348 (POLL_IN): Likewise.
4349 (POLL_OUT): Likewise.
4350 (POLL_MSG): Likewise.
4351 (POLL_ERR): Likewise.
4352 (POLL_PRI): Likewise.
4353 (POLL_HUP): Likewise.
4354 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4355 (ILL_ILLOPN): Likewise.
4356 (ILL_ILLADR): Likewise.
4357 (ILL_ILLTRP): Likewise.
4358 (ILL_PRVOPC): Likewise.
4359 (ILL_PRVREG): Likewise.
4360 (ILL_COPROC): Likewise.
4361 (ILL_BADSTK): Likewise.
4362 (FPE_INTDIV): Likewise.
4363 (FPE_INTOVF): Likewise.
4364 (FPE_FLTDIV): Likewise.
4365 (FPE_FLTOVF): Likewise.
4366 (FPE_FLTUND): Likewise.
4367 (FPE_FLTRES): Likewise.
4368 (FPE_FLTINV): Likewise.
4369 (FPE_FLTSUB): Likewise.
4370 (SEGV_MAPERR): Likewise.
4371 (SEGV_ACCERR): Likewise.
4372 (BUS_ADRALN): Likewise.
4373 (BUS_ADRERR): Likewise.
4374 (BUS_OBJERR): Likewise.
4375 (BUS_MCEERR_AR): Likewise.
4376 (BUS_MCEERR_AO): Likewise.
4377 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4378 (TRAP_TRACE): Likewise.
4379 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4380 __USE_XOPEN2K8].
4381 (CLD_KILLED): Likewise.
4382 (CLD_DUMPED): Likewise.
4383 (CLD_TRAPPED): Likewise.
4384 (CLD_STOPPED): Likewise.
4385 (CLD_CONTINUED): Likewise.
4386 (POLL_IN): Likewise.
4387 (POLL_OUT): Likewise.
4388 (POLL_MSG): Likewise.
4389 (POLL_ERR): Likewise.
4390 (POLL_PRI): Likewise.
4391 (POLL_HUP): Likewise.
4392 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4393 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4394
bc61d27c
JM
4395 [BZ #16670]
4396 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4397 before #include of <time.h>.
4398 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4399 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4400 (test-xfail-UNIX98/sched.h/conform): Likewise.
4401
302949e2
MS
44022014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4403
4404 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4405 error absence of trapping exception support.
4406 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4407
a00f522a
JM
44082014-03-07 Joseph Myers <joseph@codesourcery.com>
4409
6f99f280
JM
4410 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4411 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4412 * timezone/Makefile (testdata): Move definition above include of
4413 Rules.
4414 (test-zones): New variable.
4415 (tests-special): Add zone files.
4416 (build-testdata): Use $(evaluate-test).
4417
0b20a9e8
JM
4418 * elf/Makefile (tests-special): Rename tests to end with .out.
4419 ($(objpfx)noload-mem): Likewise.
4420 ($(objpfx)tst-leaks1-mem): Likewise.
4421 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4422 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4423 $(objpfx)test-iconvconfig.out.
4424 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4425 set -e inside subshell and redirect output to file.
4426 * iconvdata/Makefile (generated): Rename tests to end with .out.
4427 Correct type.
4428 (tests-special): Rename tests to end with .out.
4429 ($(objpfx)mtrace-tst-loading): Likewise.
4430 * intl/Makefile (generated): Likewise.
4431 (tests-special): Likewise.
4432 ($(objpfx)mtrace-tst-gettext): Likewise.
4433 * misc/Makefile (generated): Likewise.
4434 (tests-special): Likewise.
4435 ($(objpfx)tst-error1-mem): Likewise.
4436 * nptl/Makefile (tests-special): Likewise.
4437 ($(objpfx)tst-stack3-mem): Likewise.
4438 (generated): Likewise.
4439 * posix/Makefile (generated): Likewise.
4440 (tests-special): Likewise.
4441 (xtests-special): Likewise.
4442 ($(objpfx)tst-fnmatch-mem): Likewise.
4443 ($(objpfx)bug-regex2-mem): Likewise.
4444 ($(objpfx)bug-regex14-mem): Likewise.
4445 ($(objpfx)bug-regex21-mem): Likewise.
4446 ($(objpfx)bug-regex31-mem): Likewise.
4447 ($(objpfx)tst-vfork3-mem): Likewise.
4448 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4449 ($(objpfx)tst-pcre-mem): Likewise.
4450 ($(objpfx)tst-boost-mem): Likewise.
4451 ($(objpfx)bug-ga2-mem): Likewise.
4452 ($(objpfx)bug-glob2-mem): Likewise.
4453 * resolv/Makefile (generate): Likewise.
4454 (tests-special): Likewise.
4455 (xtests-special): Likewise.
4456 (generated): Likewise.
4457 ($(objpfx)mtrace-tst-leaks): Likewise.
4458 ($(objpfx)mtrace-tst-leaks2): Likewise.
4459
265d52ab
JM
4460 * scripts/merge-test-results.sh: New file.
4461 * Makefile (tests-special-notdir): New variable.
4462 (tests): Run merge-test-results.sh.
4463 (xtests): Likewise.
4464 * Rules (tests-special-notdir): New variable.
4465 (xtests-special-notdir): Likewise.
4466 (tests): Run merge-test-results.sh
4467 (xtests): Likewise.
4468
54ee292d
JM
4469 * Makeconfig (test-xfail-name): New variable.
4470 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4471 compute variable name for expected failures.
4472 * conform/Makefile (conformtest-headers-data): New variable.
4473 (conformtest-standards): Likewise.
4474 (conformtest-headers-ISO): Likewise.
4475 (conformtest-headers-ISO99): Likewise.
4476 (conformtest-headers-ISO11): Likewise.
4477 (conformtest-headers-POSIX): Likewise.
4478 (conformtest-headers-XPG3): Likewise.
4479 (conformtest-headers-XPG4): Likewise.
4480 (conformtest-headers-UNIX98): Likewise.
4481 (conformtest-headers-XOPEN2K): Likewise.
4482 (conformtest-headers-POSIX2008): Likewise.
4483 (conformtest-headers-XOPEN2K8): Likewise.
4484 (conformtest-header-list-base): Likewise.
4485 (conformtest-header-list-tests): Likewise.
4486 (conformtest-header-base): Likewise.
4487 (conformtest-header-tests): Likewise.
4488 (tests-special): Add $(conformtest-header-list-tests). If
4489 [$(fast-check) && !$(cross-compiling)], add
4490 $(conformtest-header-tests) instead of
4491 $(objpfx)run-conformtest.out.
4492 (generated): Add $(conformtest-header-list-base). If
4493 [$(fast-check) && !$(cross-compiling)], add
4494 $(conformtest-header-base). Remove previous setting.
4495 ($(conformtest-header-list-tests)): New target.
4496 (test-xfail-run-conformtest): Remove variable.
4497 ($(objpfx)run-conformtest.out): Remove target.
4498 (test-xfail-ISO11/complex.h/conform): New variable.
4499 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4500 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4501 (test-xfail-XPG3/varargs.h/conform): Likewise.
4502 (test-xfail-XPG4/varargs.h/conform): Likewise.
4503 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4504 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4505 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4506 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4507 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4508 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4509 (test-xfail-XPG3/ftw.h/conform): Likewise.
4510 (test-xfail-XPG3/grp.h/conform): Likewise.
4511 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4512 (test-xfail-XPG3/limits.h/conform): Likewise.
4513 (test-xfail-XPG3/pwd.h/conform): Likewise.
4514 (test-xfail-XPG3/search.h/conform): Likewise.
4515 (test-xfail-XPG3/signal.h/conform): Likewise.
4516 (test-xfail-XPG3/stdio.h/conform): Likewise.
4517 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4518 (test-xfail-XPG3/string.h/conform): Likewise.
4519 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4520 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4521 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4522 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4523 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4524 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4525 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4526 (test-xfail-XPG3/termios.h/conform): Likewise.
4527 (test-xfail-XPG3/time.h/conform): Likewise.
4528 (test-xfail-XPG3/unistd.h/conform): Likewise.
4529 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4530 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4531 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4532 (test-xfail-XPG4/netdb.h/conform): Likewise.
4533 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4534 (test-xfail-XPG4/signal.h/conform): Likewise.
4535 (test-xfail-XPG4/stdio.h/conform): Likewise.
4536 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4537 (test-xfail-XPG4/stropts.h/conform): Likewise.
4538 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4539 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4540 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4541 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4542 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4543 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4544 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4545 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4546 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4547 (test-xfail-XPG4/termios.h/conform): Likewise.
4548 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4549 (test-xfail-XPG4/unistd.h/conform): Likewise.
4550 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4551 (test-xfail-POSIX/sched.h/conform): Likewise.
4552 (test-xfail-POSIX/signal.h/conform): Likewise.
4553 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4554 (test-xfail-POSIX/tar.h/conform): Likewise.
4555 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4556 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4557 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4558 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4559 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4560 (test-xfail-UNIX98/sched.h/conform): Likewise.
4561 (test-xfail-UNIX98/signal.h/conform): Likewise.
4562 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4563 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4564 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4565 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4566 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4567 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4568 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4569 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4570 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4571 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4572 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4573 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4574 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4575 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4576 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4577 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4578 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4579 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4580 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4581 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4582 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4583 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4584 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4585 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4586 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4587 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4588 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4589 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4590 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4591 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4592 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4593 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4594 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4595 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4596 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4597 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4598 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4599 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4600 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4601 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4602 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4603 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4604 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4605 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4606 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4607 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4608 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4609 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4610 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4611 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4612 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4613 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4614 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4615 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4616 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4617 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4618 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4619 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4620 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4621 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4622 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4623 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4624 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4625 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4626 (conformtest-cc-flags): Likewise.
4627 ($(conformtest-header-tests): New target.
4628 * conform/check-header-lists.sh: New file.
4629 * conform/run-conformtest.sh: Remove.
4630
a00f522a
JM
4631 * conform/conformtest.pl: Allow ' and \ in values given for
4632 constants.
4633 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4634 inclusion.
4635 [POSIX] (sys/types.h): Likewise.
4636 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4637 inclusion.
4638 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4639 inclusion.
4640 * conform/data/signal.h-data (SIGIO): Remove expectation.
4641 [XPG3] (SIGBUS): Do not expect.
4642 [POSIX || XPG3] (SIGPOLL): Likewise.
4643 [POSIX || XPG3] (SIGPROF): Likewise.
4644 [POSIX || XPG3] (SIGSYS): Likewise.
4645 [XPG3] (SIGTRAP): Likewise.
4646 [POSIX || XPG3] (SIGURG): Likewise.
4647 [POSIX || XPG3] (SIGVTALRM): Likewise.
4648 [POSIX || XPG3] (SIGXCPU): Likewise.
4649 [POSIX || XPG3] (SIGXFSZ): Likewise.
4650 [POSIX] (SA_SIGINFO): Expect.
4651 [XPG3] (siginfo_t): Do not expect type or contents.
4652 [POSIX] (si_pid): Do not expect element.
4653 [POSIX] (si_uid): Likewise.
4654 [POSIX] (si_addr): Likewise.
4655 [POSIX] (si_status): Likewise.
4656 [POSIX] (si_band): Likewise.
4657 [XPG4] (si_value): Likewise.
4658 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4659 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4660 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4661 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4662 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4663 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4664 [POSIX || XPG3] (ILL_COPROC): Likewise.
4665 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4666 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4667 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4668 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4669 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4670 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4671 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4672 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4673 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4674 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4675 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4676 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4677 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4678 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4679 [POSIX || XPG3] (CLD_EXITED): Likewise.
4680 [POSIX || XPG3] (CLD_KILLED): Likewise.
4681 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4682 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4683 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4684 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4685 [POSIX || XPG3] (POLL_IN): Likewise.
4686 [POSIX || XPG3] (POLL_OUT): Likewise.
4687 [POSIX || XPG3] (POLL_MSG): Likewise.
4688 [POSIX || XPG3] (POLL_ERR): Likewise.
4689 [POSIX || XPG3] (POLL_PRI): Likewise.
4690 [POSIX || XPG3] (POLL_HUP): Likewise.
4691 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4692 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4693 (SIG*): Do not allow.
4694 [XPG3] (si_*): Likewise.
4695 [XPG3] (SI_*): Likewise.
4696 [XPG3 || XPG4] (sigev_*): Likewise.
4697 [XPG3 || XPG4] (SIGEV_*): Likewise.
4698 [XPG3 || XPG4] (sival_*): Likewise.
4699 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4700 [POSIX || XPG3] (BUS_*): Likewise.
4701 [POSIX || XPG3] (CLD_*): Likewise.
4702 [POSIX || XPG3] (FPE_*): Likewise.
4703 [POSIX || XPG3] (ILL_*): Likewise.
4704 [POSIX || XPG3] (POLL_*): Likewise.
4705 [POSIX || XPG3] (SEGV_*): Likewise.
4706 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4707 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4708 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4709 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4710 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4711 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4712 Specify type and value.
4713 (TVERSLEN): Likewise.
4714 (REGTYPE): Likewise.
4715 (AREGTYPE): Likewise.
4716 (LNKTYPE): Likewise.
4717 (SYMTYPE): Likewise.
4718 (CHRTYPE): Likewise.
4719 (BLKTYPE): Likewise.
4720 (DIRTYPE): Likewise.
4721 (FIFOTYPE): Likewise.
4722 (CONTTYPE): Likewise.
4723 (TSUID): Likewise.
4724 (TSGID): Likewise.
4725 (TSVTX): Likewise.
4726 (TUREAD): Likewise.
4727 (TUWRITE): Likewise.
4728 (TUEXEC): Likewise.
4729 (TGREAD): Likewise.
4730 (TGWRITE): Likewise.
4731 (TGEXEC): Likewise.
4732 (TOREAD): Likewise.
4733 (TOWRITE): Likewise.
4734 (TOEXEC): Likewise.
4735 [POSIX] (TSVTX): Expect constant.
4736
aa97dee1
JM
47372014-03-06 Joseph Myers <joseph@codesourcery.com>
4738
f214606a
JM
4739 * Makefile (tests): Change dependencies to ....
4740 (tests-special): ... additions to this variable.
4741 (tests): Depend on $(tests-special).
4742 * Makerules (check-abi-list): New variable.
4743 (check-abi): Depend on $(check-abi-list).
4744 [$(subdir) = elf] (tests-special): Add
4745 $(objpfx)check-abi-libc.out.
4746 [$(build-shared) = yes && subdir] (tests-special): Add
4747 $(check-abi-list).
4748 [$(build-shared) = yes && subdir] (tests): Do not depend on
4749 check-abi.
4750 * Rules (tests): Depend on $(tests-special).
4751 (xtests): Depend on $(xtests-special).
4752 * catgets/Makefile (tests): Change dependencies to ....
4753 (tests-special): ... additions to this variable.
4754 * conform/Makefile (tests): Change dependencies to ....
4755 (tests-special): ... additions to this variable.
4756 * elf/Makefile (tests): Change dependencies to ....
4757 (tests-special): ... additions to this variable.
4758 * grp/Makefile (tests): Change dependencies to ....
4759 (tests-special): ... additions to this variable.
4760 * iconv/Makefile (xtests): Change dependencies to ....
4761 (xtests-special): ... additions to this variable.
4762 * iconvdata/Makefile (tests): Change dependencies to ....
4763 (tests-special): ... additions to this variable.
4764 * intl/Makefile (tests): Change dependencies to ....
4765 (tests-special): ... additions to this variable. Also add
4766 $(objpfx)tst-gettext.out.
4767 * io/Makefile (tests): Change dependencies to ....
4768 (tests-special): ... additions to this variable.
4769 * libio/Makefile (tests): Change dependencies to ....
4770 (tests-special): ... additions to this variable.
4771 * malloc/Makefile (tests): Change dependencies to ....
4772 (tests-special): ... additions to this variable.
4773 * misc/Makefile (tests): Change dependencies to ....
4774 (tests-special): ... additions to this variable.
4775 * nptl/Makefile (tests): Change dependencies to ....
4776 (tests-special): ... additions to this variable.
4777 * nptl_db/Makefile (tests): Change dependencies to ....
4778 (tests-special): ... additions to this variable.
4779 * posix/Makefile (tests): Change dependencies to ....
4780 (tests-special): ... additions to this variable.
4781 (xtests): Change dependencies to ....
4782 (xtests-special): ... additions to this variable.
4783 * resolv/Makefile (tests): Change dependencies to ....
4784 (tests-special): ... additions to this variable.
4785 (xtests): Change dependencies to ....
4786 (xtests-special): ... additions to this variable.
4787 * stdio-common/Makefile (tests): Change dependencies to ....
4788 (tests-special): ... additions to this variable.
4789 (do-tst-unbputc): Remove target.
4790 (do-tst-printf): Likewise.
4791 * stdlib/Makefile (tests): Change dependencies to ....
4792 (tests-special): ... additions to this variable.
4793 * string/Makefile (tests): Change dependencies to ....
4794 (tests-special): ... additions to this variable.
4795 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4796 (tests-special): ... additions to this variable.
4797
81700b53
JM
4798 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4799 whole file.
4800 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4801 whole file.
4802 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4803 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4804
2ea18461
JM
4805 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4806 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4807 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4808 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4809 * conform/data/libgen.h-data [XPG3]: Likewise.
4810 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4811 * conform/data/ndbm.h-data [XPG3]: Likewise.
4812 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4813 * conform/data/netdb.h-data [XPG3]: Likewise.
4814 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4815 * conform/data/poll.h-data [XPG3]: Likewise.
4816 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4817 * conform/data/strings.h-data [XPG3]: Likewise.
4818 * conform/data/stropts.h-data [XPG3]: Likewise.
4819 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4820 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4821 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4822 Likewise.
4823 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4824 * conform/data/sys/time.h-data [XPG3]: Likewise.
4825 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4826 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4827 * conform/data/sys/un.h-data [XPG3]: Likewise.
4828 * conform/data/syslog.h-data [XPG3]: Likewise.
4829 * conform/data/ucontext.h-data [XPG3]: Likewise.
4830 * conform/data/utmpx.h-data [XPG3]: Likewise.
4831 * conform/data/varargs.h-data [UNIX98]: Enable file.
4832
355bc986
JM
4833 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4834
215db402
JM
4835 * math/libm-test.inc (struct test_f_f_data): Move expected results
4836 into structure for each rounding mode.
4837 (struct test_ff_f_data): Likewise.
4838 (struct test_ff_f_data_nexttoward): Likewise.
4839 (struct test_fi_f_data): Likewise.
4840 (struct test_fl_f_data): Likewise.
4841 (struct test_if_f_data): Likewise.
4842 (struct test_fff_f_data): Likewise.
4843 (struct test_c_f_data): Likewise.
4844 (struct test_f_f1_data): Likewise.
4845 (struct test_fF_f1_data): Likewise.
4846 (struct test_ffI_f1_data): Likewise.
4847 (struct test_c_c_data): Likewise.
4848 (struct test_cc_c_data): Likewise.
4849 (struct test_f_i_data): Likewise.
4850 (struct test_ff_i_data): Likewise.
4851 (struct test_f_l_data): Likewise.
4852 (struct test_f_L_data): Likewise.
4853 (struct test_fFF_11_data): Likewise.
4854 (RM_): New macro.
4855 (RM_FE_DOWNWARD): Likewise.
4856 (RM_FE_TONEAREST): Likewise.
4857 (RM_FE_TOWARDZERO): Likewise.
4858 (RM_FE_UPWARD): Likewise.
4859 (RUN_TEST_LOOP_f_f): Update references to expected results.
4860 (RUN_TEST_LOOP_2_f): Likewise.
4861 (RUN_TEST_LOOP_fff_f): Likewise.
4862 (RUN_TEST_LOOP_c_f): Likewise.
4863 (RUN_TEST_LOOP_f_f1): Likewise.
4864 (RUN_TEST_LOOP_fF_f1): Likewise.
4865 (RUN_TEST_LOOP_fI_f1): Likewise.
4866 (RUN_TEST_LOOP_ffI_f1): Likewise.
4867 (RUN_TEST_LOOP_c_c): Likewise.
4868 (RUN_TEST_LOOP_cc_c): Likewise.
4869 (RUN_TEST_LOOP_f_i): Likewise.
4870 (RUN_TEST_LOOP_f_i_tg): Likewise.
4871 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4872 (RUN_TEST_LOOP_f_b): Likewise.
4873 (RUN_TEST_LOOP_f_b_tg): Likewise.
4874 (RUN_TEST_LOOP_f_l): Likewise.
4875 (RUN_TEST_LOOP_f_L): Likewise.
4876 (RUN_TEST_LOOP_fFF_11): Likewise.
4877 * math/gen-libm-test.pl (parse_args): Output four copies of
4878 expected results for each test.
4879
67737b8f
JM
4880 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4881 (__ASSUME_UTIMES): Remove.
4882 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4883 (__ASSUME_UTIMES): Likewise.
4884
aa97dee1
JM
4885 * math/gen-auto-libm-tests.c: Update comment on output format.
4886 (output_for_one_input_case): Generate before-rounding and
4887 after-rounding information as conditions on output flags not
4888 floating-point format.
4889 * math/auto-libm-test-out: Regenerated.
4890 * math/gen-libm-test.pl (cond_value): New function.
4891 (or_cond_value): Use cond_value.
4892 (generate_testfile): Handle conditional exceptions.
4893
e6b6a857
JM
48942014-03-05 Joseph Myers <joseph@codesourcery.com>
4895
2f0a0f44
JM
4896 * math/libm-test.inc (max_valid_error): New variable.
4897 (init_max_error): Take new argument specifying whether function
4898 results are exactly determined. Set max_valid_error and bound
4899 other variables for errors based on this argument.
4900 (set_max_error): Do not record results above max_valid_error.
4901 (check_float_internal): Only accept errors of up to 0.5ulps if
4902 also at most max_valid_error.
4903 (START): Take new argument EXACT and pass it to init_max_error.
4904 (acos_test): Update call to START.
4905 (acos_test_tonearest): Likewise.
4906 (acos_test_towardzero): Likewise.
4907 (acos_test_downward): Likewise.
4908 (acos_test_upward): Likewise.
4909 (acosh_test): Likewise.
4910 (asin_test): Likewise.
4911 (asin_test_tonearest): Likewise.
4912 (asin_test_towardzero): Likewise.
4913 (asin_test_downward): Likewise.
4914 (asin_test_upward): Likewise.
4915 (asinh_test): Likewise.
4916 (atan_test): Likewise.
4917 (atanh_test): Likewise.
4918 (atan2_test): Likewise.
4919 (cabs_test): Likewise.
4920 (cacos_test): Likewise.
4921 (cacosh_test): Likewise.
4922 (carg_test): Likewise.
4923 (casin_test): Likewise.
4924 (casinh_test): Likewise.
4925 (catan_test): Likewise.
4926 (catanh_test): Likewise.
4927 (cbrt_test): Likewise.
4928 (ccos_test): Likewise.
4929 (ccosh_test): Likewise.
4930 (ceil_test): Likewise.
4931 (cexp_test): Likewise.
4932 (cimag_test): Likewise.
4933 (clog_test): Likewise.
4934 (clog10_test): Likewise.
4935 (conj_test): Likewise.
4936 (copysign_test): Likewise.
4937 (cos_test): Likewise.
4938 (cos_test_tonearest): Likewise.
4939 (cos_test_towardzero): Likewise.
4940 (cos_test_downward): Likewise.
4941 (cos_test_upward): Likewise.
4942 (cosh_test): Likewise.
4943 (cosh_test_tonearest): Likewise.
4944 (cosh_test_towardzero): Likewise.
4945 (cosh_test_downward): Likewise.
4946 (cosh_test_upward): Likewise.
4947 (cpow_test): Likewise.
4948 (cproj_test): Likewise.
4949 (creal_test): Likewise.
4950 (csin_test): Likewise.
4951 (csinh_test): Likewise.
4952 (csqrt_test): Likewise.
4953 (ctan_test): Likewise.
4954 (ctan_test_tonearest): Likewise.
4955 (ctan_test_towardzero): Likewise.
4956 (ctan_test_downward): Likewise.
4957 (ctan_test_upward): Likewise.
4958 (ctanh_test): Likewise.
4959 (ctanh_test_tonearest): Likewise.
4960 (ctanh_test_towardzero): Likewise.
4961 (ctanh_test_downward): Likewise.
4962 (ctanh_test_upward): Likewise.
4963 (erf_test): Likewise.
4964 (erfc_test): Likewise.
4965 (exp_test): Likewise.
4966 (exp_test_tonearest): Likewise.
4967 (exp_test_towardzero): Likewise.
4968 (exp_test_downward): Likewise.
4969 (exp_test_upward): Likewise.
4970 (exp10_test): Likewise.
4971 (exp10_test_tonearest): Likewise.
4972 (exp10_test_towardzero): Likewise.
4973 (exp10_test_downward): Likewise.
4974 (exp10_test_upward): Likewise.
4975 (pow10_test): Likewise.
4976 (exp2_test): Likewise.
4977 (expm1_test): Likewise.
4978 (expm1_test_tonearest): Likewise.
4979 (expm1_test_towardzero): Likewise.
4980 (expm1_test_downward): Likewise.
4981 (expm1_test_upward): Likewise.
4982 (fabs_test): Likewise.
4983 (fdim_test): Likewise.
4984 (floor_test): Likewise.
4985 (fma_test): Likewise.
4986 (fma_test_towardzero): Likewise.
4987 (fma_test_downward): Likewise.
4988 (fma_test_upward): Likewise.
4989 (fmax_test): Likewise.
4990 (fmin_test): Likewise.
4991 (fmod_test): Likewise.
4992 (fpclassify_test): Likewise.
4993 (frexp_test): Likewise.
4994 (hypot_test): Likewise.
4995 (ilogb_test): Likewise.
4996 (isfinite_test): Likewise.
4997 (finite_test): Likewise.
4998 (isgreater_test): Likewise.
4999 (isgreaterequal_test): Likewise.
5000 (isinf_test): Likewise.
5001 (isless_test): Likewise.
5002 (islessequal_test): Likewise.
5003 (islessgreater_test): Likewise.
5004 (isnan_test): Likewise.
5005 (isnormal_test): Likewise.
5006 (issignaling_test): Likewise.
5007 (isunordered_test): Likewise.
5008 (j0_test): Likewise.
5009 (j1_test): Likewise.
5010 (jn_test): Likewise.
5011 (ldexp_test): Likewise.
5012 (lgamma_test): Likewise.
5013 (gamma_test): Likewise.
5014 (lrint_test): Likewise.
5015 (lrint_test_tonearest): Likewise.
5016 (lrint_test_towardzero): Likewise.
5017 (lrint_test_downward): Likewise.
5018 (lrint_test_upward): Likewise.
5019 (llrint_test): Likewise.
5020 (llrint_test_tonearest): Likewise.
5021 (llrint_test_towardzero): Likewise.
5022 (llrint_test_downward): Likewise.
5023 (llrint_test_upward): Likewise.
5024 (log_test): Likewise.
5025 (log10_test): Likewise.
5026 (log1p_test): Likewise.
5027 (log2_test): Likewise.
5028 (logb_test): Likewise.
5029 (logb_test_downward): Likewise.
5030 (lround_test): Likewise.
5031 (llround_test): Likewise.
5032 (modf_test): Likewise.
5033 (nearbyint_test): Likewise.
5034 (nextafter_test): Likewise.
5035 (nexttoward_test): Likewise.
5036 (pow_test): Likewise.
5037 (pow_test_tonearest): Likewise.
5038 (pow_test_towardzero): Likewise.
5039 (pow_test_downward): Likewise.
5040 (pow_test_upward): Likewise.
5041 (remainder_test): Likewise.
5042 (drem_test): Likewise.
5043 (remainder_test_tonearest): Likewise.
5044 (drem_test_tonearest): Likewise.
5045 (remainder_test_towardzero): Likewise.
5046 (drem_test_towardzero): Likewise.
5047 (remainder_test_downward): Likewise.
5048 (drem_test_downward): Likewise.
5049 (remainder_test_upward): Likewise.
5050 (drem_test_upward): Likewise.
5051 (remquo_test): Likewise.
5052 (rint_test): Likewise.
5053 (rint_test_tonearest): Likewise.
5054 (rint_test_towardzero): Likewise.
5055 (rint_test_downward): Likewise.
5056 (rint_test_upward): Likewise.
5057 (round_test): Likewise.
5058 (scalb_test): Likewise.
5059 (scalbn_test): Likewise.
5060 (scalbln_test): Likewise.
5061 (signbit_test): Likewise.
5062 (sin_test): Likewise.
5063 (sin_test_tonearest): Likewise.
5064 (sin_test_towardzero): Likewise.
5065 (sin_test_downward): Likewise.
5066 (sin_test_upward): Likewise.
5067 (sincos_test): Likewise.
5068 (sinh_test): Likewise.
5069 (sinh_test_tonearest): Likewise.
5070 (sinh_test_towardzero): Likewise.
5071 (sinh_test_downward): Likewise.
5072 (sinh_test_upward): Likewise.
5073 (sqrt_test): Likewise.
5074 (sqrt_test_tonearest): Likewise.
5075 (sqrt_test_towardzero): Likewise.
5076 (sqrt_test_downward): Likewise.
5077 (sqrt_test_upward): Likewise.
5078 (tan_test): Likewise.
5079 (tan_test_tonearest): Likewise.
5080 (tan_test_towardzero): Likewise.
5081 (tan_test_downward): Likewise.
5082 (tan_test_upward): Likewise.
5083 (tanh_test): Likewise.
5084 (tgamma_test): Likewise.
5085 (trunc_test): Likewise.
5086 (y0_test): Likewise.
5087 (y1_test): Likewise.
5088 (yn_test): Likewise.
5089 (significand_test): Likewise.
5090
e6b6a857
JM
5091 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5092 individual tests in comment.
5093 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5094 (prev_max_error): New variable.
5095 (prev_real_max_error): Likewise.
5096 (prev_imag_max_error): Likewise.
5097 (compare_ulp_data): Don't refer to test names in comment.
5098 (find_test_ulps): Remove function.
5099 (find_function_ulps): Likewise.
5100 (find_complex_function_ulps): Likewise.
5101 (init_max_error): Take function name as argument. Look up ulps
5102 for that function.
5103 (print_ulps): Remove function.
5104 (print_max_error): Use prev_max_error instead of calling
5105 find_function_ulps.
5106 (print_complex_max_error): Use prev_real_max_error and
5107 prev_imag_max_error instead of calling find_complex_function_ulps.
5108 (check_float_internal): Take max_ulp parameter instead of calling
5109 find_test_ulps. Don't call print_ulps.
5110 (check_float): Update call to check_float_internal.
5111 (check_complex): Update calls to check_float_internal.
5112 (START): Pass argument to init_max_error.
5113 * math/gen-libm-test.pl (%results): Don't include "kind"
5114 information.
5115 (parse_ulps): Don't handle ulps of individual tests.
5116 (print_ulps_file): Likewise.
5117 (output_ulps): Likewise.
5118 * math/README.libm-test: Update.
5119 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5120 individual tests.
5121 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5122 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5123 * sysdeps/arm/libm-test-ulps: Likewise.
5124 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5125 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5126 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5127 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5128 * sysdeps/microblaze/libm-test-ulps: Likewise.
5129 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5130 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5131 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5132 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5133 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5134 * sysdeps/sh/libm-test-ulps: Likewise.
5135 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5136 * sysdeps/tile/libm-test-ulps: Likewise.
5137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5138
45adef3c
JM
51392014-03-04 Joseph Myers <joseph@codesourcery.com>
5140
5141 * math/libm-test.inc (print_complex_max_error): Check separately
5142 whether real and imaginary errors are within allowed range and
5143 pass 0 to print_complex_function_ulps instead of value within
5144 allowed range.
5145
000232b9
SP
51462014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5147
d4b17258
SP
5148 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5149 formatting.
5150 (get_handles_fopen): Likewise.
5151 (do_write_test): Likewise.
5152
091eff71
SP
5153 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5154
fa3cd248
SP
5155 * libio/fileops.c (do_ftell): Use cached offset when
5156 available.
5157 * libio/iofwide.c (do_ftell_wide): Likewise.
5158 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5159 _IO_file_attach.
5160 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5161
000232b9
SP
5162 [BZ #16532]
5163 * libio/libioP.h (get_file_offset): New function.
5164 * libio/fileops.c (get_file_offset): Likewise.
5165 (do_ftell): Likewise.
5166 (_IO_new_file_seekoff): Split out ftell logic.
5167 * libio/wfileops.c (do_ftell_wide): Likewise.
5168 (_IO_wfile_seekoff): Split out ftell logic.
5169 * libio/tst-ftell-active-handler.c: New test case.
5170 * libio/Makefile (tests): Add it.
5171
116f4d1a
RM
51722014-03-03 Roland McGrath <roland@hack.frob.com>
5173
5174 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5175 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5176
532a6035
SP
51772014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5178
5179 [BZ #16639]
5180 * nscd/connections.c (nscd_init): Call do_exit.
5181 (start_threads): Call do_exit and notify_parent.
5182 (begin_drop_privileges): Call do_exit.
5183 (finish_drop_privileges): Likewise.
5184 * nscd/selinux.c (preserve_capabilities): Likewise.
5185 (install_real_capabilities): Likewise.
5186 (nscd_selinux_enabled): Likewise.
5187 (avc_create_thread): Likewise.
5188 (avc_alloc_lock): Likewise.
5189 (nscd_avc_init): Likewise.
5190 * nscd/nscd.c (parent_fd): New static variable.
5191 (main): Create a pipe between parent and child processes.
5192 Skip closing parent_fd.
5193 (monitor_child): New function.
5194 (do_exit): Likewise.
5195 (notify_parent): Likewise.
5196 * nscd/nscd.h (notify_parent): Likewise.
5197 (do_exit): Likewise.
5198
d6285c9f
CD
51992014-03-03 Carlos O'Donell <carlos@redhat.com>
5200
5201 * malloc/malloc.c (__libc_calloc): Revert last change.
5202
2b85d2a0
AZ
52032014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5204
5205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5206
c7debbdf
RS
52072014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5208
5209 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5211 implementation.
5212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5213 (__libc_ifunc_impl_list): Likewise.
5214 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5215 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5216 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5217 * string/strrchr.c: Define STRRCHR.
5218
235eed86
OB
52192014-02-28 Ondřej Bílka <neleai@seznam.cz>
5220
5221 * benchtest/bench-strtok.c (simple_strtok): Delete.
5222 (strtok_string): Use as benchmark.
5223 * string/strtok (STRTOK): New macro.
5224
8e25d1e7
CD
52252014-02-28 Carlos O'Donell <carlos@redhat.com>
5226
ef563f92
CD
5227 * manual/threads.texi: Add header and standard comments to all
5228 functions.
5229
8e25d1e7
CD
5230 * elf/dl-lookup.c (check_match): New function.
5231 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5232 (do_lookup_x): Remove nested function check_match. Use non-nested
5233 function check_match.
5234
ff71cc37
RM
52352014-02-28 Roland McGrath <roland@hack.frob.com>
5236
f08e9a26
RM
5237 * csu/Makefile (generated, before-compile): Use += rather than =.
5238 * catgets/Makefile (generated, generated-dirs): Likewise.
5239 * debug/Makefile (generated): Likewise.
5240 * dlfcn/Makefile (generated): Likewise.
5241 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5242 * iconvdata/Makefile (before-compile, generated): Likewise.
5243 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5244 * libio/Makefile (generated): Likewise.
5245 * malloc/Makefile (generated): Likewise.
5246 * manual/Makefile (generated, generated-dirs): Likewise.
5247 * misc/Makefile (generated): Likewise.
5248 * posix/Makefile (generated): Likewise.
5249 * resolv/Makefile (generated): Likewise.
5250 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5251 * timezone/Makefile (generated, generated-dirs): Likewise.
5252
ff71cc37
RM
5253 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5254
fe13a20c
AZ
52552014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5256
57f41c40
AS
5257 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5258 power8 implementation.
5259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5260 file: POWER8 llround ifunc implementation.
5261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5262 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5263 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5264 POWER8 llround implementation.
5265
57f41c40
AS
5266 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5267 power8 implementation.
5268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5269 file: POWER8 llrint ifunc implementation.
5270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5271 Add POWER8 implementation.
1ad8950a
AZ
5272 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5273 POWER8 llrint implementation.
5274
57f41c40
AS
5275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5276 power8 implementation.
5277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5278 file: POWER8 finite ifunc implementation.
5279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5280 Add POWER8 implementation.
cac626d6
AZ
5281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5282 Likewise.
5283 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5284 POWER8 finite implementation.
5285 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5286
57f41c40
AS
5287 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5288 power8 implementation.
5289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5290 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5292 POWER8 implementation.
5293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5294 Likewise.
57f41c40
AS
5295 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5296 isinf implementation.
4393fc11
AZ
5297 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5298
57f41c40
AS
5299 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5300 (INIT_ARCH): Add hwcap2 initialization.
5301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5302 power8 implementation.
5303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5304 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5306 POWER8 implementation.
5307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5308 Likewise.
57f41c40
AS
5309 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5310 isnan implementation.
487972ae
AZ
5311 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5312
7d92b787
JY
53132014-02-27 Joey Ye <joey.ye@arm.com>
5314
5315 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5316 (_FP_NANFRAC_Q): Set to zero.
5317
1cadc858
SP
53182014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5319
5320 [BZ #16623]
5321 * math/auto-libm-test-in: New test inputs.
5322 * math/auto-libm-test-out: Regenerate.
5323 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5324 and DA.
5325 (__cos): Likewise.
5326 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5327
f8c17e79
JM
53282014-02-27 Joseph Myers <joseph@codesourcery.com>
5329
5330 * scripts/evaluate-test.sh: Take new argument indicating whether
5331 failure is expected.
5332 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5333 indicating whether failure is expected.
5334 * conform/Makefile (test-xfail-run-conformtest): New variable.
5335 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5336 level.
5337 * posix/Makefile (test-xfail-annexc): New variable.
5338 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5339
a5f891ac
JM
53402014-02-26 Joseph Myers <joseph@codesourcery.com>
5341
5342 * argp/Makefile: Include Makeconfig immediately after defining
5343 subdir.
5344 * assert/Makefile: Likewise.
5345 * benchtests/Makefile: Likewise.
5346 * catgets/Makefile: Likewise.
5347 * conform/Makefile: Likewise.
5348 * crypt/Makefile: Likewise.
5349 * csu/Makefile: Likewise.
5350 (all): Remove target.
5351 * ctype/Makefile: Include Makeconfig immediately after defining
5352 subdir.
5353 * debug/Makefile: Likewise.
5354 * dirent/Makefile: Likewise.
5355 * dlfcn/Makefile: Likewise.
5356 * gmon/Makefile: Likewise.
5357 * gnulib/Makefile: Likewise.
5358 * grp/Makefile: Likewise.
5359 * gshadow/Makefile: Likewise.
5360 * hesiod/Makefile: Likewise.
5361 * hurd/Makefile: Likewise.
5362 (all): Remove target.
5363 * iconvdata/Makefile: Include Makeconfig immediately after
5364 defining subdir.
5365 * inet/Makefile: Likewise.
5366 * intl/Makefile: Likewise.
5367 * io/Makefile: Likewise.
5368 * libio/Makefile: Likewise.
5369 (all): Remove target.
5370 * locale/Makefile: Include Makeconfig immediately after defining
5371 subdir.
5372 * login/Makefile: Likewise.
5373 * mach/Makefile: Likewise.
5374 (all): Remove target.
5375 * malloc/Makefile: Include Makeconfig immediately after defining
5376 subdir.
5377 (all): Remove target.
5378 * manual/Makefile: Include Makeconfig immediately after defining
5379 subdir.
5380 * math/Makefile: Likewise.
5381 * misc/Makefile: Likewise.
5382 * nis/Makefile: Likewise.
5383 * nss/Makefile: Likewise.
5384 * po/Makefile: Likewise.
5385 (all): Remove target.
5386 * posix/Makefile: Include Makeconfig immediately after defining
5387 subdir.
5388 * pwd/Makefile: Likewise.
5389 * resolv/Makefile: Likewise.
5390 * resource/Makefile: Likewise.
5391 * rt/Makefile: Likewise.
5392 * setjmp/Makefile: Likewise.
5393 * shadow/Makefile: Likewise.
5394 * signal/Makefile: Likewise.
5395 * socket/Makefile: Likewise.
5396 * soft-fp/Makefile: Likewise.
5397 * stdio-common/Makefile: Likewise.
5398 * stdlib/Makefile: Likewise.
5399 * streams/Makefile: Likewise.
5400 * string/Makefile: Likewise.
5401 * sunrpc/Makefile: Likewise.
5402 (all): Remove target.
5403 * sysvipc/Makefile: Include Makeconfig immediately after defining
5404 subdir.
5405 * termios/Makefile: Likewise.
5406 * time/Makefile: Likewise.
5407 * timezone/Makefile: Likewise.
5408 (all): Remove target.
5409 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5410 subdir.
5411 * wctype/Makefile: Likewise.
5412
5b456e9d
SE
54132014-02-26 Steve Ellcey <sellcey@mips.com>
5414
5415 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5416 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5417 (libc_feholdexcept_setround_mips): Ditto.
5418 (libc_feholdsetround): New.
5419 (libc_feholdsetroundf): New.
5420 (libc_feholdsetroundl): New.
5421 (libc_feupdateenv_test_mips): New.
5422 (libc_feupdateenv_test): New.
5423 (libc_feupdateenv_testf): New.
5424 (libc_feupdateenv_testl): New.
5425 (libc_feresetround): New.
5426 (libc_feresetroundf): New.
5427 (libc_feresetroundl): New.
5428 (libc_fetestexcept_mips): New.
5429 (libc_fetestexcept): New.
5430 (libc_fetestexceptf): New.
5431 (libc_fetestexceptl): New.
5432 (HAVE_RM_CTX): New.
5433 (libc_feholdexcept_setround_mips_ctx): New.
5434 (libc_feholdexcept_setround_ctx): New.
5435 (libc_feholdexcept_setroundf_ctx): New.
5436 (libc_feholdexcept_setroundl_ctx): New.
5437 (libc_fesetenv_mips_ctx): New.
5438 (libc_fesetenv_ctx): New.
5439 (libc_fesetenv_ctxf): New.
5440 (libc_fesetenv_ctxl): New.
5441 (libc_feupdateenv_mips_ctx): New.
5442 (libc_feupdateenv_ctx): New.
5443 (libc_feupdateenvf_ctx): New.
5444 (libc_feupdateenvl_ctx): New.
5445 (libc_feholdsetround_mips_ctx): New.
5446 (libc_feholdsetround_ctx): New.
5447 (libc_feholdsetroundf_ctx): New.
5448 (libc_feholdsetroundl_ctx): New.
5449 (libc_feresetround_mips_ctx): New.
5450 (libc_feresetround_ctx): New.
5451 (libc_feresetroundf_ctx): New.
5452 (libc_feresetroundl_ctx): New.
5453
085d0e35
CD
54542014-02-26 Carlos O'Donell <carlos@redhat.com>
5455
f067bf1f
CD
5456 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5457
085d0e35
CD
5458 * manual/ipc.texi: New file.
5459 * manual/Makefile (chapters): Add ipc.
5460 * manual/job.texi: Add "Inter-Process Communication" to next.
5461 * manual/process.texi: Add "Inter-Process Communication" to prev.
5462
86e58c08
AZ
54632014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5464
5465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5466
4248f0da
OB
54672014-02-26 Ondřej Bílka <neleai@seznam.cz>
5468
5469 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5470
cf822e3c
OB
5471 * manual/arith.texi: Fix spaces after sentences.
5472 * manual/charset.texi: Likewise.
5473 * manual/errno.texi: Likewise.
5474 * manual/install.texi: Likewise.
5475 * manual/llio.texi: Likewise.
5476 * manual/locale.texi: Likewise.
5477 * manual/maint.texi: Likewise.
5478 * manual/math.texi: Likewise.
5479 * manual/memory.texi: Likewise.
5480 * manual/message.texi: Likewise.
5481 * manual/probes.texi: Likewise.
5482 * manual/resource.texi: Likewise.
5483 * manual/signal.texi: Likewise.
5484 * manual/socket.texi: Likewise.
5485 * manual/stdio.texi: Likewise.
5486 * manual/string.texi: Likewise.
5487 * manual/time.texi: Likewise.
5488 * manual/users.texi: Likewise.
5489
ade40b10
CD
54902014-02-25 Carlos O'Donell <carlos@redhat.com>
5491
5492 [BZ #16632]
5493 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5494 _DEFAULT_SOURCE is defined.
5495
d0503676
CD
54962014-02-25 Ulrich Drepper <drepper@gmail.com>
5497 Carlos O'Donell <carlos@redhat.com>
5498
5499 [BZ #16613]
5500 * elf/dl-tls.c (_dl_count_modids): New function.
5501 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5502 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5503 audit library and increment generation counter.
5504 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5505 * elf/tst-audit9.c: New file.
5506 * elf/tst-auditmod9a.c: New file.
5507 * elf/tst-auditmod9b.c: New file.
5508 * elf/Makefile: Add rules to build and run tst-audit9.
5509
4cbf380c
FW
55102014-02-25 Florian Weimer <fweimer@redhat.com>
5511
5512 [BZ #15347]
5513 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5514
80a56cc3
WN
55152014-02-25 Will Newton <will.newton@linaro.org>
5516
5517 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5518 (__longjmp): Restore sp and lr before restoring callee
5519 saved registers. Add longjmp and longjmp_target
5520 SystemTap probe point.
5521 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5522 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5523 Define to zero to match jmpbuf layout.
5524 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5525 (__sigsetjmp): Save sp and lr before saving callee
5526 saved registers. Add setjmp SystemTap probe point.
5527
3ea0f74e
SL
55282014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5529
5530 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5531
b04acb26
AS
55322014-02-24 Andreas Schwab <schwab@suse.de>
5533
5534 [BZ #15804]
5535 * elf/pldd.c (wait_for_ptrace_stop): New function.
5536 (main): Call it after attaching.
5537
098ad55c
RM
55382014-02-22 Roland McGrath <roland@hack.frob.com>
5539
d4ec6ae1
RM
5540 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5541 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5542 Versions files is now verboten.
5543 * hurd/Versions (libc: GLIBC_2.0):
5544 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5545 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5546 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5547 * mach/Versions: Likewise.
5548
098ad55c
RM
5549 * csu/Versions: Remove unused %include.
5550 * resolv/Versions: Likewise.
5551
acd7f096
JM
55522014-02-21 Joseph Myers <joseph@codesourcery.com>
5553
f0881698
JM
5554 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5555 ($(objpfx)check-local-headers.out): Likewise.
5556 ($(objpfx)begin-end-check.out): Likewise.
5557 * Makerules (check-abi-%.out): Likewise.
5558 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5559 ($(objpfx)test2.cat): Likewise.
5560 ($(objpfx)de/libc.cat): Likewise.
5561 ($(objpfx)test-gencat.out): Likewise.
5562 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5563 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5564 ($(objpfx)noload-mem): Likewise.
5565 ($(objpfx)tst-pathopt.out): Likewise.
5566 ($(objpfx)tst-rtld-load-self.out): Likewise.
5567 ($(objpfx)tst-array1-cmp.out): Likewise.
5568 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5569 ($(objpfx)tst-array2-cmp.out): Likewise.
5570 ($(objpfx)tst-array3-cmp.out): Likewise.
5571 ($(objpfx)tst-array4-cmp.out): Likewise.
5572 ($(objpfx)tst-array5-cmp.out): Likewise.
5573 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5574 ($(objpfx)check-textrel.out): Likewise.
5575 ($(objpfx)check-execstack.out): Likewise.
5576 ($(objpfx)check-localplt.out): Likewise.
5577 ($(objpfx)order2-cmp.out): Likewise.
5578 ($(objpfx)tst-leaks1-mem): Likewise.
5579 ($(objpfx)tst-leaks1-static-mem): Likewise.
5580 ($(objpfx)tst-initorder-cmp.out): Likewise.
5581 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5582 ($(objpfx)tst-unused-dep.out): Likewise.
5583 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5584 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5585 * iconv/Makefile (test-iconvconfig): Likewise.
5586 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5587 ($(objpfx)iconv-test.out): Likewise.
5588 ($(objpfx)tst-tables.out): Likewise.
5589 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5590 ($(objpfx)tst-gettext.out): Likewise.
5591 ($(objpfx)tst-translit.out): Likewise.
5592 ($(objpfx)tst-gettext2.out): Likewise.
5593 ($(objpfx)tst-gettext4.out): Likewise.
5594 ($(objpfx)tst-gettext6.out): Likewise.
5595 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5596 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5597 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5598 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5599 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5600 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5601 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5602 ($(objpfx)wordexp-tst.out): Likewise.
5603 ($(objpfx)annexc.out): Likewise.
5604 ($(objpfx)tst-fnmatch-mem): Likewise.
5605 ($(objpfx)bug-regex2-mem): Likewise.
5606 ($(objpfx)bug-regex14-mem): Likewise.
5607 ($(objpfx)bug-regex21-mem): Likewise.
5608 ($(objpfx)bug-regex31-mem): Likewise.
5609 ($(objpfx)tst-vfork3-mem): Likewise.
5610 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5611 ($(objpfx)tst-pcre-mem): Likewise.
5612 ($(objpfx)tst-boost-mem): Likewise.
5613 ($(objpfx)tst-getconf.out): Likewise.
5614 ($(objpfx)bug-ga2-mem): Likewise.
5615 ($(objpfx)bug-glob2-mem): Likewise.
5616 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5617 ($(objpfx)mtrace-tst-leaks2): Likewise.
5618 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5619 ($(objpfx)tst-printf.out): Likewise.
5620 ($(objpfx)tst-setvbuf1.out): Likewise.
5621 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5622 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5623 ($(objpfx)tst-fmtmsg.out): Likewise.
5624 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5625 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5626
acd7f096
JM
5627 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5628 * bits/sigaction.h [__USE_MISC]: Likewise.
5629 * bits/waitstatus.h: Update #endif comments.
5630 * ctype/ctype.h: Likewise.
5631 * dirent/dirent.h: Likewise.
5632 [__USE_MISC]: Remove redundant conditionals.
5633 * grp/grp.h: Update #endif comments.
5634 [__USE_GNU]: Remove redundant conditionals.
5635 [__USE_MISC]: Likewise.
5636 * inet/netinet/in.h [__USE_GNU]: Likewise.
5637 * io/sys/stat.h [__USE_MISC]: Likewise.
5638 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5639 * libio/bits/stdio.h: Update #endif comments.
5640 [__USE_MISC]: Remove redundant conditionals.
5641 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5642 * libio/stdio.h: Update #endif comments.
5643 [__USE_MISC]: Remove redundant conditionals.
5644 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5645 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5646 * math/math.h: Update #else and #endif comments.
5647 [__USE_MISC]: Remove redundant conditionals.
5648 * misc/sys/uio.h: Update #endif comments.
5649 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5650 * posix/glob.h [__USE_MISC]: Likewise.
5651 * posix/sys/types.h: Update #endif comments.
5652 [__USE_MISC]: Remove redundant conditionals.
5653 * posix/sys/wait.h: Update #endif comments.
5654 [__USE_MISC]: Remove redundant conditionals.
5655 * posix/unistd.h: Update #endif comments.
5656 [__USE_MISC]: Remove redundant conditionals.
5657 * pwd/pwd.h [__USE_GNU]: Likewise.
5658 [__USE_MISC]: Likewise.
5659 * resolv/netdb.h [__USE_GNU]: Likewise.
5660 * signal/signal.h: Update #endif comments.
5661 [__USE_MISC]: Remove redundant conditionals.
5662 * stdlib/stdlib.h: Update #else and #endif comments.
5663 [__USE_MISC]: Remove redundant conditionals.
5664 [__USE_GNU]: Likewise.
5665 * string/bits/string2.h [__USE_MISC]: Likewise.
5666 * string/string.h: Update #endif comments.
5667 [__USE_MISC]: Remove redundant conditionals.
5668 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5669 Likewise.
5670 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5671 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5672 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5673 Likewise.
5674 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5675 Likewise.
5676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5677 comments.
5678 [__USE_MISC]: Remove redundant conditionals.
5679 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5680 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5681 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5682 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5683 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5684 Likewise.
5685 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5686 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5687 Likewise.
5688 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5689 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5690 Likewise.
5691 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5692 Likewise.
5693 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5694 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5695 Likewise.
5696 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5697 Likewise.
5698 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5699 * sysdeps/x86/bits/string.h: Update #endif comments.
5700 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5701 conditionals.
5702 * time/sys/time.h: Update #endif comments.
5703 * time/time.h: Likewise.
5704 [__USE_MISC]: Remove redundant conditionals.
5705
a5d82e4e
YG
57062014-02-21 Yury Gribov <y.gribov@samsung.com>
5707
5708 [BZ #16600]
5709 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5710
9a80491d
AS
57112014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5712
5713 * Versions.def (librt): Add GLIBC_2.17.
5714
105fa381
AC
57152014-02-21 Adam Conrad <adconrad@0c3.net>
5716
5717 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5718 synonym for _SYS_AUXV_H to allow direct inclusion.
5719 * sysdeps/sparc/bits/hwcap.h: Likewise.
5720 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5721 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5722 * sysdeps/sparc/sysdep.h: Likewise.
5723
b8cd1c4e
SP
57242014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5725
5726 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5727
bd939d23
RS
57282014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5729
5730 * benchtests/bench-strrchr.c: Print length instead of position.
5731
5d7b57ca
JM
57322014-02-20 Joseph Myers <joseph@codesourcery.com>
5733
bc688c10
JM
5734 [BZ #16611]
5735 * sysdeps/unix/sysv/linux/kernel-features.h
5736 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5737 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5738 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5739 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5740 Likewise.
5741 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5742 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5743 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5744 (__ASSUME_SENDMMSG): Define instead of using previous
5745 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5746 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5747 (__ASSUME_SENDMMSG_SYSCALL): Define.
5748 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5749 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5750 Likewise.
5751 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5752 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5753 Likewise.
5754 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5755 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5756 Likewise.
5757 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5758 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5759 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5760 [__ASSUME_SENDMMSG]: Change conditionals to
5761 [__ASSUME_SENDMMSG_SOCKETCALL].
5762 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5763 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5764 Define.
5765 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5766 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5767 Likewise.
5768 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5769 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5770 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5771 [!__ASSUME_SENDMMSG]: Change conditional to
5772 [!__ASSUME_SENDMMSG_SOCKETCALL].
5773 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5774 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5775 Define.
5776
0e31b18c
JM
5777 [BZ #16610]
5778 * sysdeps/unix/sysv/linux/kernel-features.h
5779 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5780 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5781 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5782 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5783 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5784 [__i386__ || __sparc__]
5785 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5786 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5787 (__ASSUME_RECVMMSG): Define instead of using previous
5788 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5789 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5790 (__ASSUME_RECVMMSG_SYSCALL): Define.
5791 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5792 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5793 Likewise.
5794 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5795 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5796 Likewise.
5797 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5798 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5799 Likewise.
5800 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5801 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5802 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5803 [__ASSUME_RECVMMSG]: Change condition to
5804 [__ASSUME_RECVMMSG_SOCKETCALL].
5805 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5806 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5807 Define.
5808 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5809 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5810 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5811 Likewise.
5812 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5813 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5814 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5815 [!__ASSUME_RECVMMSG]: Change condition to
5816 [!__ASSUME_RECVMMSG_SOCKETCALL].
5817 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5818 (__ASSUME_RECVMMSG_SYSCALL): Define.
5819
dd481ccf
JM
5820 [BZ #16609]
5821 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5822 __powerpc__ || __s390__ || __sh__ || __sparc__]
5823 (__ASSUME_SOCKETCALL): Define.
5824 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5825 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5826 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5827 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5828 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5829 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5830 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5831 (__ASSUME_ACCEPT4): Define instead of using previous
5832 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5833 __powerpc__ || __sparc__ || __s390__)] condition.
5834 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5835 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5836 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5837 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5838 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5839 [!__ASSUME_ACCEPT4]: Change condition to
5840 [!__ASSUME_ACCEPT4_SOCKETCALL].
5841 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5842 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5843 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5844 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5845 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5846 __ASSUME_ACCEPT4_SYSCALL.
5847 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5848 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5849 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5850 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5851 __ASSUME_ACCEPT4_SYSCALL.
5852 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5853 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5854 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5855 [__ASSUME_ACCEPT4]: Change condition to
5856 [__ASSUME_ACCEPT4_SOCKETCALL].
5857 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5858 (__ASSUME_SOCKETCALL): Define.
5859 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5860 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5861 (__ASSUME_SOCKETCALL): Define.
5862 (__ASSUME_ACCEPT4): Remove.
5863 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5864 Define.
5865 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5866 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5867 Likewise.
5868 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5869 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5870
5d7b57ca
JM
5871 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5872 macro.
5873 (HWCAP_ARM_LPAE): Likewise.
5874 (HWCAP_ARM_EVTSTRM): Likewise.
5875 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5876 Add vpfd32, lpae and evtstrm.
5877 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5878 Increase to 22.
5879
63689d61
JM
58802014-02-19 Joseph Myers <joseph@codesourcery.com>
5881
5882 * math/auto-libm-test-in: Add tests of clog10.
5883 * math/auto-libm-test-out: Regenerated.
5884 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5885 * sysdeps/i386/fpu/libm-test-ulps: Update.
5886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5887
ab09bf61
AS
58882014-02-18 Andreas Schwab <schwab@suse.de>
5889
5890 [BZ #16574]
5891 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5892 Store non-zero if the second buffer was newly allocated.
5893 (send_dg): Likewise.
5894 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5895 to send_vc and send_dg.
5896 (res_nsend): Pass NULL for ansp2_malloced.
5897 * resolv/res_query.c (__libc_res_nquery): Add parameter
5898 answerp2_malloced and pass it down to __libc_res_nsend.
5899 (res_nquery): Pass additional NULL to __libc_res_nquery.
5900 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5901 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5902 second answer buffer if answerp2_malloced was set.
5903 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5904 (__libc_res_nquerydomain): Add parameter
5905 answerp2_malloced and pass it down to __libc_res_nquery.
5906 (res_nquerydomain): Pass additional NULL to
5907 __libc_res_nquerydomain.
5908 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5909 additional NULL to __libc_res_nsend and __libc_res_nquery.
5910 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5911 additional NULL to __libc_res_nsearch.
5912 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5913 parameter of __libc_res_nsearch to check for separately allocated
5914 second buffer.
5915 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5916 __libc_res_nquery.
5917 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5918 additional NULL to __libc_res_nquery.
5919 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5920 __libc_res_nsearch.
5921 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5922 * include/resolv.h: Update prototypes of __libc_res_nquery,
5923 __libc_res_nsearch, __libc_res_nsend.
5924
a4fb7861
JM
59252014-02-18 Joseph Myers <joseph@codesourcery.com>
5926
c6af2d89
JM
5927 * math/auto-libm-test-in: Add tests of fma.
5928 * math/auto-libm-test-out: Regenerated.
5929 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5930 (fma_towardzero_test_data): Likewise.
5931 (fma_downward_test_data): Likewise.
5932 (fma_upward_test_data): Likewise.
5933 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5934 mpc_mode.
5935 (rounding_modes): Add values for new field.
5936 (func_calc_method): Add value mpfr_fff_f.
5937 (func_calc_desc): Add mpfr_fff_f union field.
5938 (test_function): Add field exact_args.
5939 (FUNC): Add macro argument EXACT_ARGS.
5940 (FUNC_mpfr_f_f): Update call to FUNC.
5941 (FUNC_mpfr_f_f): Likewise.
5942 (FUNC_mpfr_ff_f): Likewise.
5943 (FUNC_mpfr_if_f): Likewise.
5944 (FUNC_mpc_c_f): Likewise.
5945 (FUNC_mpc_c_c): Likewise.
5946 (test_functions): Add fma. Update calls to FUNC.
5947 (handle_input_arg): Add argument exact_args.
5948 (add_test): Update call to handle_input_arg.
5949 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5950 (output_for_one_input_case): Update call to calc_generic_results.
5951 Recalculate exact zero results in each rounding mode.
5952
a4fb7861
JM
5953 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5954 non-negative before setting low bit.
5955 * math/auto-libm-test-in: Mark one asin test possibly having
5956 spurious underflow.
5957 * math/auto-libm-test-out: Regenerated.
5958 * sysdeps/i386/fpu/libm-test-ulps: Update.
5959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5960
ef114eaf
DH
59612014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5962
2b7f4f2c
SP
5963 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5964 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5965 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5966 * README: Add missing listing for microblaze*-*-linux-gnu.
5967
c70a4b1d
MF
59682014-02-16 Mike Frysinger <vapier@gentoo.org>
5969
5970 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5971 * sysdeps/unix/sysv/linux/ia64: Move directory from
5972 ports/sysdeps/unix/sysv/linux/ia64.
5973 * README: Update listing for ia64-*-linux-gnu.
5974
591aeaf7
TD
59752014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5976 Joseph Myers <joseph@codesourcery.com>
5977
5978 * Makeconfig (test-name): New variable.
5979 (evaluate-test): Likewise.
5980 * Makerules (do-test-clean): Remove .test-result files.
5981 (common-mostlyclean): Likewise.
5982 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5983 * scripts/evaluate-test.sh: New file.
5984
6e89caf1
JM
59852014-02-14 Joseph Myers <joseph@codesourcery.com>
5986
7f98f180
JM
5987 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5988 separate $(objpfx)tst-fopenloc-cmp.out and
5989 $(objpfx)tst-fopenloc-mem.out targets.
5990 (tests): Update dependencies.
5991 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5992 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5993 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5994 (tst-rxspencer-no-utf8-ARGS): New variable.
5995 (tst-rxspencer-no-utf8-ENV): Likewise.
5996 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5997 instead of $(objpfx)tst-rxspencer-mem.
5998 ($(objpfx)tst-rxspencer-mem): Change target to
5999 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6000 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6001 * posix/tst-rxspencer-no-utf8.c: New file.
6002
6e89caf1
JM
6003 * elf/Makefile ($(objpfx)order.out): Remove rule.
6004 [$(run-built-tests) = yes] (tests): Depend on
6005 $(objpfx)order-cmp.out.
6006 ($(objpfx)order-cmp.out): New rule.
6007 [$(run-built-tests) = yes] (tests): Depend on
6008 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6009 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6010 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6011 $(objpfx)tst-array5-static-cmp.out.
6012 ($(objpfx)tst-array1.out): Remove rule.
6013 ($(objpfx)tst-array1-cmp.out): New rule.
6014 ($(objpfx)tst-array1-static.out): Remove rule.
6015 ($(objpfx)tst-array1-static-cmp.out): New rule.
6016 ($(objpfx)tst-array2.out): Remove rule.
6017 ($(objpfx)tst-array2-cmp.out): New rule.
6018 ($(objpfx)tst-array3.out): Remove rule.
6019 ($(objpfx)tst-array3-cmp.out): New rule.
6020 ($(objpfx)tst-array4.out): Remove rule.
6021 ($(objpfx)tst-array4-cmp.out): New rule.
6022 ($(objpfx)tst-array5.out): Remove rule.
6023 ($(objpfx)tst-array5-cmp.out): New rule.
6024 ($(objpfx)tst-array5-static.out): Remove rule.
6025 ($(objpfx)tst-array5-static-cmp.out): New rule.
6026 [$(run-built-tests) = yes] (tests): Depend on
6027 $(objpfx)order2-cmp.out.
6028 ($(objpfx)order2.out): Remove rule.
6029 ($(objpfx)order2-cmp.out): New rule.
6030 ($(objpfx)tst-initorder.out): Remove rule.
6031 [$(run-built-tests) = yes] (tests): Depend on
6032 $(objpfx)tst-initorder-cmp.out.
6033 ($(objpfx)tst-initorder-cmp.out): New rule.
6034 ($(objpfx)tst-initorder2.out): Remove rule.
6035 [$(run-built-tests) = yes] (tests): Depend on
6036 $(objpfx)tst-initorder2-cmp.out.
6037 ($(objpfx)tst-initorder2-cmp.out): New rule.
6038 [$(run-built-tests) = yes] (tests): Depend on
6039 $(objpfx)tst-unused-dep-cmp.out.
6040 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6041 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6042 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6043 on $(objpfx)tst-setvbuf1-cmp.out.
6044 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6045 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6046 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6047 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6048 ($(objpfx)tst-svc.out): Remove rule.
6049 ($(objpfx)tst-svc-cmp.out): New rule.
6050
ed9a38e2
JM
60512014-02-13 Joseph Myers <joseph@codesourcery.com>
6052
6053 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6054 * ctype/ctype.h [__USE_MISC]: Likewise.
6055 * dirent/dirent.h [__USE_MISC]: Likewise.
6056 * grp/grp.h [__USE_MISC]: Likewise.
6057 * io/fcntl.h [__USE_MISC]: Likewise.
6058 * io/sys/stat.h [__USE_MISC]: Likewise.
6059 * libio/stdio.h [__USE_MISC]: Likewise.
6060 * posix/unistd.h [__USE_MISC]: Likewise.
6061 * pwd/pwd.h [__USE_MISC]: Likewise.
6062 * stdlib.h [__USE_MISC]: Likewise.
6063 * string/bits/string2.h [__USE_MISC]: Likewise.
6064 * string/string.h [__USE_MISC]: Likewise.
6065 * time/time.h [__USE_MISC]: Likewise.
6066
d6680619
AS
60672014-02-13 Andreas Schwab <schwab@suse.de>
6068
6069 [BZ #16574]
6070 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6071 second answer buffer if it was separately allocated.
6072
ace614b8
JM
60732014-02-12 Joseph Myers <joseph@codesourcery.com>
6074
743151ae
JM
6075 * sysdeps/mips/math-tests.h: Include <features.h>.
6076 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6077 (ROUNDING_TESTS_long_double): Do not define.
6078 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6079 (EXCEPTION_TESTS_long_double): Likewise.
6080 * sysdeps/mips/mips64/libm-test-ulps: Update.
6081
498afc54
JM
6082 * include/features.h (__USE_BSD): Remove macro definitions.
6083 (__USE_SVID): Likewise.
6084 (_BSD_SOURCE): Likewise.
6085 (_SVID_SOURCE): Likewise.
6086 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6087 from definition of _DEFAULT_SOURCE.
6088 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6089 [_DEFAULT_SOURCE].
6090 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6091 * bits/mman.h [__USE_BSD]: Likewise.
6092 * bits/termios.h [__USE_BSD]: Likewise.
6093 * bits/waitstatus.h [__USE_BSD]: Likewise.
6094 * ctype/ctype.h [__USE_SVID]: Likewise.
6095 * dirent/dirent.h [__USE_BSD]: Likewise.
6096 * grp/grp.h [__USE_SVID]: Likewise.
6097 [__USE_BSD]: Likewise.
6098 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6099 * io/fcntl.h [__USE_BSD]: Likewise.
6100 * io/ftw.h [__USE_BSD]: Likewise.
6101 * io/sys/stat.h [__USE_BSD]: Likewise.
6102 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6103 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6104 * libio/stdio.h [__USE_SVID]: Likewise.
6105 [__USE_BSD]: Likewise.
6106 * math/math.h [__USE_SVID]: Likewise.
6107 [__USE_BSD]: Likewise.
6108 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6109 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6110 * misc/search.h [__USE_SVID]: Likewise.
6111 * misc/sys/mman.h [__USE_BSD]: Likewise.
6112 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6113 * misc/sys/uio.h [__USE_BSD]: Likewise.
6114 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6115 * posix/glob.h [__USE_BSD]: Likewise.
6116 * posix/regex.h [__USE_BSD]: Likewise.
6117 * posix/sys/types.h [__USE_BSD]: Likewise.
6118 [__USE_SVID]: Likewise.
6119 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6120 * posix/sys/wait.h [__USE_BSD]: Likewise.
6121 [__USE_SVID]: Likewise.
6122 * posix/unistd.h [__USE_BSD]: Likewise.
6123 [__USE_SVID]: Likewise.
6124 * pwd/pwd.h [__USE_SVID]: Likewise.
6125 * resolv/netdb.h [__USE_BSD]: Likewise.
6126 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6127 * signal/signal.h [__USE_BSD]: Likewise.
6128 [__USE_SVID]: Likewise.
6129 * socket/sys/socket.h [__USE_BSD]: Likewise.
6130 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6131 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6132 [__USE_SVID]: Likewise.
6133 * string/bits/string2.h [__USE_BSD]: Likewise.
6134 [__USE_SVID]: Likewise.
6135 * string/bits/string3.h [__USE_BSD]: Likewise.
6136 * string/endian.h [__USE_BSD]: Likewise.
6137 * string/string.h [__USE_SVID]: Likewise.
6138 [__USE_BSD]: Likewise.
6139 * string/strings.h [__USE_BSD]: Likewise.
6140 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6141 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6142 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6143 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6144 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6145 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6146 Likewise.
6147 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6148 Likewise.
6149 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6150 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6151 Likewise.
6152 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6153 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6154 Likewise.
6155 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6156 Likewise.
6157 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6158 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6159 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6160 Likewise.
6161 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6162 Likewise.
6163 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6164 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6165 * termios/termios.h [__USE_BSD]: Likewise.
6166 * time/sys/time.h [__USE_BSD]: Likewise.
6167 * time/time.h [__USE_BSD]: Likewise.
6168 [__USE_SVID]: Likewise.
6169
dd7b064c
JM
6170 * Makefile (subdir_targets): Remove subdir_lint.out.
6171
a2c4c199
JM
6172 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6173 (do-tst-printf): Likewise.
6174 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6175 $(objpfx)tst-printf.out.
6176
8756f740
JM
6177 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6178
1b6dd3f1
JM
6179 * Makerules (check-abi-%): Change target to
6180 $(objpfx)check-abi-%.out.
6181 (check-abi target): Update dependencies.
6182 (check-abi-pattern variable): Redirect output of diff to $@.
6183 (check-abi variable): Likewise.
6184 * elf/Makefile (check-abi): Update dependencies.
6185
ace614b8
JM
6186 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6187 unused.
6188 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6189 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6190 subnormal range.
6191 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6192 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6193 value has largest subnormal exponent.
6194 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6195 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6196 * sysdeps/aarch64/soft-fp/sfp-machine.h
6197 (_FP_TININESS_AFTER_ROUNDING): New macro.
6198 * sysdeps/alpha/soft-fp/sfp-machine.h
6199 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6200 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6201 Likewise.
6202 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6203 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6204 * sysdeps/mips/soft-fp/sfp-machine.h
6205 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6206 * sysdeps/powerpc/soft-fp/sfp-machine.h
6207 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6208 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6209 Likewise.
6210 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6211 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6212 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6213 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6214 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6215 Likewise.
6216
fbfdf9cb
DAS
62172014-02-12 Dylan Alex Simon <dylan@dylex.net>
6218
6219 [BZ #16545]
6220 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6221 model 1.
6222
68b7efaa
RH
62232014-02-12 Richard Henderson <rth@redhat.com>
6224
c70a4b1d 6225 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6226 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6227 * sysdeps/unix/sysv/linux/alpha: Move directory from
6228 ports/sysdeps/unix/sysv/linux/alpha.
6229 * README: Update listing for alpha-*-linux-gnu.
6230
cb4a2928
JM
62312014-02-11 Joseph Myers <joseph@codesourcery.com>
6232
c941736c
JM
6233 * include/features.h: Update comment documenting feature test
6234 macros.
6235 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6236 _DEFAULT_SOURCE.
6237 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6238 (_SVID_SOURCE): Likewise.
6239 (_DEFAULT_SOURCE): Update description of default features.
6240 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6241 with _GNU_SOURCE.
6242 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6243 (S_ISVTX): Likewise.
6244 * manual/math.texi (Mathematical Constants): Likewise.
6245 * manual/signal.texi (Interrupted Primitives): Likewise.
6246 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6247 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6248 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6249 Don't refer to _SVID_SOURCE in warning text.
6250
e8d8d7ec
JM
6251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6252
cb4a2928
JM
6253 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6254 already defined.
6255 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6256 * sysdeps/mips/dl-lookup.c: Remove.
6257 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6258
7e6424e3
AK
62592014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6260
6261 [BZ #16447]
6262 * math/auto-libm-test-in: Add testcase for expl.
6263 * math/auto-libm-test-out: Regenerate.
6264 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6265 calculation of unsafe.
6266 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6267
75eff3fe
MS
62682014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6269
6270 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6271 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6272 ports/sysdeps/unix/sysv/linux/aarch64.
6273 * README: Update listing for aarch64*-*-linux-gnu.
6274
d35f1e80
WN
62752014-02-11 Will Newton <will.newton@linaro.org>
6276
6277 * manual/probes.texi (Mathematical Function Probes): Use
6278 "triggered" instead of "hit".
6279
7b3436d4
WN
6280 * manual/probes.texi (Internal Probes): Add documentation
6281 of setjmp, longjmp and longjmp_target probes.
6282
b4f12ca3
WN
6283 * include/stap-probe.h: Add comment about probe argument
6284 format.
6285
c13a72b7
WN
6286 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6287 definition. (tr_where, tr_freehook, tr_mallochook,
6288 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6289
195b8165
DM
62902014-02-11 David S. Miller <davem@davemloft.net>
6291
6292 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6293 processing int_tests.
6294
2ad7600b
JM
62952014-02-10 Joseph Myers <joseph@codesourcery.com>
6296
6297 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6298 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6299 * sysdeps/unix/sysv/linux/mips: Move directory from
6300 ports/sysdeps/unix/sysv/linux/mips.
6301 * README: Update listing for mips-*-linux-gnu and
6302 mips64-*-linux-gnu.
6303
73588a72
AS
63042014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6305
6306 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6307 * sysdeps/unix/sysv/linux/m68k: Move directory from
6308 ports/sysdeps/unix/sysv/linux/m68k.
6309 * README: Update listing for m68k-*-linux-gnu.
6310
4372980f
CM
63112014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6312
6313 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6314 * sysdeps/unix/sysv/linux/generic: Move directory from
6315 ports/sysdeps/unix/sysv/linux/generic.
6316 * sysdeps/unix/sysv/linux/tile: Move directory from
6317 ports/sysdeps/unix/sysv/linux/tile.
6318 * README: Update listing for tile*-*-linux-gnu.
6319
a1ffb40e
OB
63202014-02-10 Ondřej Bílka <neleai@seznam.cz>
6321
57f41c40
AS
6322 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6323 __builtin_expect.
a1ffb40e
OB
6324 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6325 * catgets/open_catalog.c (__open_catalog): Likewise.
6326 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6327 * debug/confstr_chk.c: Likewise.
6328 * debug/fread_chk.c (__fread_chk): Likewise.
6329 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6330 * debug/getgroups_chk.c: Likewise.
6331 * debug/mbsnrtowcs_chk.c: Likewise.
6332 * debug/mbsrtowcs_chk.c: Likewise.
6333 * debug/mbstowcs_chk.c: Likewise.
6334 * debug/memcpy_chk.c: Likewise.
6335 * debug/memmove_chk.c: Likewise.
6336 * debug/mempcpy_chk.c: Likewise.
6337 * debug/memset_chk.c: Likewise.
6338 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6339 * debug/strcat_chk.c (__strcat_chk): Likewise.
6340 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6341 * debug/strncat_chk.c (__strncat_chk): Likewise.
6342 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6343 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6344 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6345 * debug/wcpncpy_chk.c: Likewise.
6346 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6347 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6348 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6349 * debug/wcsncpy_chk.c: Likewise.
6350 * debug/wcsnrtombs_chk.c: Likewise.
6351 * debug/wcsrtombs_chk.c: Likewise.
6352 * debug/wcstombs_chk.c: Likewise.
6353 * debug/wmemcpy_chk.c: Likewise.
6354 * debug/wmemmove_chk.c: Likewise.
6355 * debug/wmempcpy_chk.c: Likewise.
6356 * debug/wmemset_chk.c: Likewise.
6357 * dirent/scandirat.c (SCANDIRAT): Likewise.
6358 * dlfcn/dladdr1.c (dladdr1): Likewise.
6359 * dlfcn/dladdr.c (dladdr): Likewise.
6360 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6361 * dlfcn/dlerror.c (__dlerror): Likewise.
6362 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6363 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6364 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6365 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6366 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6367 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6368 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6369 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6370 Likewise.
6371 * elf/dl-conflict.c: Likewise.
6372 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6373 * elf/dl-dst.h: Likewise.
6374 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6375 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6376 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6377 * elf/dl-init.c (call_init, _dl_init): Likewise.
6378 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6379 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6380 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6381 Likewise.
a1ffb40e
OB
6382 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6383 Likewise.
6384 * elf/dl-minimal.c (__libc_memalign): Likewise.
6385 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6386 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6387 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6388 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
6389 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6390 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
6391 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6392 * elf/dl-writev.h (_dl_writev): Likewise.
6393 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
6394 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6395 (dl_main): Likewise.
a1ffb40e
OB
6396 * elf/setup-vdso.h (setup_vdso): Likewise.
6397 * grp/compat-initgroups.c (compat_call): Likewise.
6398 * grp/fgetgrent.c (fgetgrent): Likewise.
6399 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6400 * grp/putgrent.c (putgrent): Likewise.
6401 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6402 Likewise.
6403 * hurd/hurdinit.c: Likewise.
6404 * iconvdata/8bit-gap.c (struct): Likewise.
6405 * iconvdata/ansi_x3.110.c : Likewise.
6406 * iconvdata/big5.c : Likewise.
6407 * iconvdata/big5hkscs.c : Likewise.
6408 * iconvdata/cp1255.c: Likewise.
6409 * iconvdata/cp1258.c : Likewise.
6410 * iconvdata/cp932.c : Likewise.
6411 * iconvdata/euc-cn.c: Likewise.
6412 * iconvdata/euc-jisx0213.c : Likewise.
6413 * iconvdata/euc-jp.c: Likewise.
6414 * iconvdata/euc-jp-ms.c : Likewise.
6415 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6416 * iconvdata/gb18030.c : Likewise.
6417 * iconvdata/gbbig5.c (const): Likewise.
6418 * iconvdata/gbgbk.c: Likewise.
6419 * iconvdata/gbk.c : Likewise.
6420 * iconvdata/ibm1364.c : Likewise.
6421 * iconvdata/ibm930.c : Likewise.
6422 * iconvdata/ibm932.c: Likewise.
6423 * iconvdata/ibm933.c : Likewise.
6424 * iconvdata/ibm935.c : Likewise.
6425 * iconvdata/ibm937.c : Likewise.
6426 * iconvdata/ibm939.c : Likewise.
6427 * iconvdata/ibm943.c: Likewise.
6428 * iconvdata/iso_11548-1.c: Likewise.
6429 * iconvdata/iso-2022-cn.c : Likewise.
6430 * iconvdata/iso-2022-cn-ext.c : Likewise.
6431 * iconvdata/iso-2022-jp-3.c: Likewise.
6432 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6433 * iconvdata/iso-2022-kr.c : Likewise.
6434 * iconvdata/iso646.c (gconv_end): Likewise.
6435 * iconvdata/iso_6937-2.c : Likewise.
6436 * iconvdata/iso_6937.c : Likewise.
6437 * iconvdata/iso8859-1.c: Likewise.
6438 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6439 * iconvdata/shift_jisx0213.c : Likewise.
6440 * iconvdata/sjis.c : Likewise.
6441 * iconvdata/t.61.c : Likewise.
6442 * iconvdata/tcvn5712-1.c : Likewise.
6443 * iconvdata/tscii.c: Likewise.
6444 * iconvdata/uhc.c : Likewise.
6445 * iconvdata/unicode.c (gconv_end): Likewise.
6446 * iconvdata/utf-16.c (gconv_end): Likewise.
6447 * iconvdata/utf-32.c (gconv_end): Likewise.
6448 * iconvdata/utf-7.c (base64): Likewise.
6449 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6450 * iconv/gconv_close.c (__gconv_close): Likewise.
6451 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
6452 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6453 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6454 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6455 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6456 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
6457 * iconv/iconv.c (iconv): Likewise.
6458 * iconv/iconv_close.c: Likewise.
6459 * iconv/loop.c (SINGLE): Likewise.
6460 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6461 * include/atomic.h: Likewise.
6462 * inet/inet6_option.c (option_alloc): Likewise.
6463 * intl/bindtextdom.c (set_binding_values): Likewise.
6464 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6465 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6466 * intl/localealias.c (read_alias_file): Likewise.
6467 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
6468 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6469 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
6470 * libio/fmemopen.c (fmemopen): Likewise.
6471 * libio/iofgets.c (_IO_fgets): Likewise.
6472 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6473 * libio/iofgetws.c (fgetws): Likewise.
6474 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6475 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6476 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6477 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6478 * locale/findlocale.c (_nl_find_locale): Likewise.
6479 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6480 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6481 Likewise.
6482 * locale/setlocale.c (setlocale): Likewise.
6483 * login/programs/pt_chown.c (main): Likewise.
6484 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6485 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
6486 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6487 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
6488 * math/e_exp2l.c: Likewise.
6489 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6490 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6491 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6492 * math/s_catan.c (__catan): Likewise.
6493 * math/s_catanf.c (__catanf): Likewise.
6494 * math/s_catanh.c (__catanh): Likewise.
6495 * math/s_catanhf.c (__catanhf): Likewise.
6496 * math/s_catanhl.c (__catanhl): Likewise.
6497 * math/s_catanl.c (__catanl): Likewise.
6498 * math/s_ccosh.c (__ccosh): Likewise.
6499 * math/s_ccoshf.c (__ccoshf): Likewise.
6500 * math/s_ccoshl.c (__ccoshl): Likewise.
6501 * math/s_cexp.c (__cexp): Likewise.
6502 * math/s_cexpf.c (__cexpf): Likewise.
6503 * math/s_cexpl.c (__cexpl): Likewise.
6504 * math/s_clog10.c (__clog10): Likewise.
6505 * math/s_clog10f.c (__clog10f): Likewise.
6506 * math/s_clog10l.c (__clog10l): Likewise.
6507 * math/s_clog.c (__clog): Likewise.
6508 * math/s_clogf.c (__clogf): Likewise.
6509 * math/s_clogl.c (__clogl): Likewise.
6510 * math/s_csin.c (__csin): Likewise.
6511 * math/s_csinf.c (__csinf): Likewise.
6512 * math/s_csinh.c (__csinh): Likewise.
6513 * math/s_csinhf.c (__csinhf): Likewise.
6514 * math/s_csinhl.c (__csinhl): Likewise.
6515 * math/s_csinl.c (__csinl): Likewise.
6516 * math/s_csqrt.c (__csqrt): Likewise.
6517 * math/s_csqrtf.c (__csqrtf): Likewise.
6518 * math/s_csqrtl.c (__csqrtl): Likewise.
6519 * math/s_ctan.c (__ctan): Likewise.
6520 * math/s_ctanf.c (__ctanf): Likewise.
6521 * math/s_ctanh.c (__ctanh): Likewise.
6522 * math/s_ctanhf.c (__ctanhf): Likewise.
6523 * math/s_ctanhl.c (__ctanhl): Likewise.
6524 * math/s_ctanl.c (__ctanl): Likewise.
6525 * math/w_pow.c: Likewise.
6526 * math/w_powf.c: Likewise.
6527 * math/w_powl.c: Likewise.
6528 * math/w_scalb.c (sysv_scalb): Likewise.
6529 * math/w_scalbf.c (sysv_scalbf): Likewise.
6530 * math/w_scalbl.c (sysv_scalbl): Likewise.
6531 * misc/error.c (error_tail): Likewise.
6532 * misc/pselect.c (__pselect): Likewise.
6533 * nis/nis_callback.c (__nis_create_callback): Likewise.
6534 * nis/nis_call.c (__nisfind_server): Likewise.
6535 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6536 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6537 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6538 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6539 * nis/nis_lookup.c (nis_lookup): Likewise.
6540 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
6541 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6542 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 6543 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
6544 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6545 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6546 * nis/nss_compat/compat-initgroups.c (add_group)
6547 (internal_getgrent_r): Likewise.
6548 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6549 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6550 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6551 (internal_getspnam_r): Likewise.
6552 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6553 (_nss_nis_getaliasbyname_r): Likewise.
6554 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6555 (_nss_nis_getntohost_r): Likewise.
6556 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6557 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6558 (_nss_nis_getgrgid_r): Likewise.
6559 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6560 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6561 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6562 (_nss_nis_gethostbyname4_r): Likewise.
6563 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6564 (initgroups_netid): Likewise.
a1ffb40e 6565 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6566 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6567 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6568 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6569 (_nss_nis_getprotobynumber_r): Likewise.
6570 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6571 (_nss_nis_getsecretkey): Likewise.
6572 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6573 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6574 (_nss_nis_getpwuid_r): Likewise.
6575 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6576 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6577 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6578 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6579 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6580 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6581 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6582 Likewise.
57f41c40
AS
6583 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6584 (_nss_nisplus_getntohost_r): Likewise.
6585 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6586 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6587 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6588 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6589 Likewise.
57f41c40
AS
6590 * nis/nss_nisplus/nisplus-initgroups.c
6591 (_nss_nisplus_initgroups_dyn): Likewise.
6592 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6593 (_nss_nisplus_getnetbyaddr_r): Likewise.
6594 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6595 (_nss_nisplus_getprotobynumber_r): Likewise.
6596 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6597 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6598 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6599 Likewise.
57f41c40
AS
6600 * nis/nss_nisplus/nisplus-service.c
6601 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6602 (_nss_nisplus_getservbyport_r): Likewise.
6603 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6604 (_nss_nisplus_getspnam_r): Likewise.
6605 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6606 Likewise.
a1ffb40e
OB
6607 * nscd/aicache.c (addhstaiX): Likewise.
6608 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6609 * nscd/connections.c (register_traced_file, send_ro_fd)
6610 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6611 (main_loop_epoll): Likewise.
a1ffb40e
OB
6612 * nscd/grpcache.c (addgrbyX): Likewise.
6613 * nscd/hstcache.c (addhstbyX): Likewise.
6614 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6615 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6616 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6617 (addinnetgrX): Likewise.
6618 * nscd/nscd-client.h (__nscd_acquire_maplock)
6619 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6620 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6621 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6622 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6623 Likewise.
6624 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6625 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6626 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6627 (__nscd_get_map_ref): Likewise.
a1ffb40e 6628 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6629 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6630 Likewise.
a1ffb40e
OB
6631 * nscd/pwdcache.c (addpwbyX): Likewise.
6632 * nscd/selinux.c (preserve_capabilities): Likewise.
6633 * nscd/servicescache.c (addservbyX): Likewise.
6634 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6635 * posix/fnmatch.c (fnmatch): Likewise.
6636 * posix/getopt.c (_getopt_internal_r): Likewise.
6637 * posix/glob.c (glob, glob_in_dir): Likewise.
6638 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6639 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6640 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6641 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6642 * resolv/res_init.c: Likewise.
6643 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6644 * resolv/res_query.c (__libc_res_nquery): Likewise.
6645 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6646 Likewise.
6647 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6648 * stdio-common/perror.c (perror): Likewise.
6649 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6650 * stdio-common/tmpnam.c (tmpnam): Likewise.
6651 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6652 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6653 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6654 Likewise.
a1ffb40e
OB
6655 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6656 * stdlib/putenv.c (putenv): Likewise.
6657 * stdlib/setenv.c (__add_to_environ): Likewise.
6658 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6659 * stdlib/strtol_l.c (INTERNAL): Likewise.
6660 * string/memmem.c (memmem): Likewise.
6661 * string/strerror.c (strerror): Likewise.
6662 * string/strnlen.c (__strnlen): Likewise.
6663 * string/test-memmem.c (simple_memmem): Likewise.
6664 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6665 * sunrpc/pm_getport.c (__get_socket): Likewise.
6666 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6667 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6668 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6669 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6670 Likewise.
6671 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6672 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6673 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6674 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6675 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6676 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6677 Likewise.
6678 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6679 Likewise.
a1ffb40e
OB
6680 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6681 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6682 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6683 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6684 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6686 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6687 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6688 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6689 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6690 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6691 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6692 Likewise.
6693 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6694 Likewise.
6695 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6696 Likewise.
6697 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6698 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6699 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6700 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6701 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6702 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6703 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6705 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6706 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6707 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6708 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6710 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6712 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6713 Likewise.
a1ffb40e
OB
6714 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6715 Likewise.
6716 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6717 Likewise.
6718 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6719 Likewise.
6720 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6721 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6722 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6723 Likewise.
6724 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6725 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6726 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6727 * sysdeps/posix/sleep.c: Likewise.
6728 * sysdeps/posix/tempname.c: Likewise.
6729 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6730 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6731 Likewise.
57f41c40
AS
6732 * sysdeps/powerpc/powerpc32/dl-machine.h
6733 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6734 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6735 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6736 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6737 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6738 Likewise.
6739 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6740 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6741 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6742 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6743 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6744 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6745 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6746 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6747 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6748 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6749 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6750 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6751 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6752 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6753 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6754 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6755 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6756 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6757 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6758 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6759 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6760 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6762 Likewise.
6763 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6764 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6765 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6766 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6767 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6768 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6769 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6770 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6771 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6772 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6773 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6774 Likewise.
6775 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6776 (__posix_fallocate64_l64): Likewise.
6777 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6778 (posix_fallocate): Likewise.
57f41c40
AS
6779 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6780 Likewise.
a1ffb40e 6781 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6782 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6783 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6784 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6785 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6786 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6787 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6788 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6789 (__posix_fallocate64_l64): Likewise.
6790 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6791 Likewise.
6792 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6793 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6794 (__get_clockfreq): Likewise.
a1ffb40e
OB
6795 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6796 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6797 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6798 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6800 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6801 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6802 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6803 Likewise.
6804 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6805 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6806 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6807 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6808 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6809 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6810 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6811 Likewise.
6812 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6813 (posix_fallocate): Likewise.
6814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6815 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6816 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6817 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6818 (elf_machine_rela, elf_machine_rela_relative)
6819 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6820 * time/asctime.c (asctime_internal): Likewise.
6821 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6822 * time/tzset.c (__tzset_parse_tz): Likewise.
6823 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6824 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6825 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6826 * wcsmbs/wcsmbsload.h: Likewise.
6827
f3d338c9
OB
6828 [BZ #15894]
6829 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6830
57f41c40
AS
6831 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6832 (arena_get2): Remove THREAD_STATS conditionals.
6833 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6834 (__malloc_stats, int): Likewise.
bdfe308a 6835
d674667c
MF
68362014-02-08 Mike Frysinger <vapier@gentoo.org>
6837
6838 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6839 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6840
6349768c
MF
6841 * manual/setjmp.texi: Fix typos/grammar errors.
6842
0b7c7473
MF
6843 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6844 Only return early when n is <= 0. Delete unused return statement.
6845
ac8cc9e3
MF
6846 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6847 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6848 * debug/tst-longjmp_chk3.c: New file.
6849
c5bb8e23
MF
6850 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6851 (test_main): Replace code with set_fortify_handler call.
6852 * debug/test-strcpy_chk.c: Likewise.
6853 * debug/tst-chk1.c: Likewise.
6854 * debug/tst-longjmp_chk.c: Likewise.
6855 * test-skeleton.c: Include fcntl.h & paths.h
6856 (set_fortify_handler): Define.
6857
10444e42
MF
6858 * debug/tst-longjmp_chk.c: Add header comment and include
6859 ../test-skeleton.c.
6860 (do_test): Mark static.
6861 (TEST_FUNCTION): Define.
6862
1e805e8d
MF
6863 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6864 (IP_PMTUDISC_INTERFACE): Likewise.
6865 (IP_MULTICAST_IF): Likewise.
6866 (IP_MULTICAST_TTL): Likewise.
6867 (IP_MULTICAST_LOOP): Likewise.
6868 (IP_ADD_MEMBERSHIP): Likewise.
6869 (IP_DROP_MEMBERSHIP): Likewise.
6870 (IP_UNBLOCK_SOURCE): Likewise.
6871 (IP_BLOCK_SOURCE): Likewise.
6872 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6873 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6874 (IP_MSFILTER): Likewise.
6875 (MCAST_JOIN_GROUP): Likewise.
6876 (MCAST_BLOCK_SOURCE): Likewise.
6877 (MCAST_UNBLOCK_SOURCE): Likewise.
6878 (MCAST_LEAVE_GROUP): Likewise.
6879 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6880 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6881 (MCAST_MSFILTER): Likewise.
6882 (IP_MULTICAST_ALL): Likewise.
6883 (IP_UNICAST_IF): Likewise.
6884
73f79bb7
MF
6885 * timezone/Makefile: Delete $(have-ksh) check.
6886 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6887 * timezone/tzselect.ksh: Add +x mode bits.
6888
8da79b60
MF
6889 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6890 (ANON_INODE_FS_MAGIC): Likewise.
6891 (BDEVFS_MAGIC): Likewise.
6892 (BINFMTFS_MAGIC): Likewise.
6893 (BTRFS_TEST_MAGIC): Likewise.
6894 (CRAMFS_MAGIC_WEND): Likewise.
6895 (DEBUGFS_MAGIC): Likewise.
6896 (ECRYPTFS_SUPER_MAGIC): Likewise.
6897 (EXT3_SUPER_MAGIC): Likewise.
6898 (EXT4_SUPER_MAGIC): Likewise.
6899 (FUTEXFS_SUPER_MAGIC): Likewise.
6900 (HOSTFS_SUPER_MAGIC): Likewise.
6901 (HUGETLBFS_MAGIC): Likewise.
6902 (MINIX3_SUPER_MAGIC): Likewise.
6903 (MTD_INODE_FS_MAGIC): Likewise.
6904 (NILFS_SUPER_MAGIC): Likewise.
6905 (OPENPROM_SUPER_MAGIC): Likewise.
6906 (PIPEFS_MAGIC): Likewise.
6907 (PSTOREFS_MAGIC): Likewise.
6908 (QNX6_SUPER_MAGIC): Likewise.
6909 (RAMFS_MAGIC): Likewise.
6910 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6911 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6912 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6913 (SECURITYFS_MAGIC): Likewise.
6914 (SELINUX_MAGIC): Likewise.
6915 (SMACK_MAGIC): Likewise.
6916 (SOCKFS_MAGIC): Likewise.
6917 (SQUASHFS_MAGIC): Likewise.
6918 (STACK_END_MAGIC): Likewise.
6919 (TMPFS_MAGIC): Likewise.
6920 (USBDEVICE_SUPER_MAGIC): Likewise.
6921 (V9FS_MAGIC): Likewise.
6922 (XENFS_SUPER_MAGIC): Likewise.
6923 (CRAMFS_MAGIC): Fix typo in comment.
6924 (EXT2_SUPER_MAGIC): Update comment.
6925 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6926
464263cc
JM
69272014-02-08 Joseph Myers <joseph@codesourcery.com>
6928
c6bfe5c4
JM
6929 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6930 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6931 * sysdeps/unix/sysv/linux/arm: Move directory from
6932 ports/sysdeps/unix/sysv/linux/arm.
6933 * README: Update listing for arm-*-linux-gnueabi.
6934
464263cc
JM
6935 * README: Remove mention of am33.
6936
32749f6c
RM
69372014-02-07 Roland McGrath <roland@hack.frob.com>
6938
6939 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6940 than the comma operator, to avoid "rhs of comma has no effect"
6941 compiler warnings.
6942 (__sigfillset, __sigandset, __sigorset): Likewise.
6943 * include/signal.h (__sigemptyset): Likewise.
6944 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6945
d5b396c1
AM
69462014-02-07 Allan McRae <allan@archlinux.org>
6947
6948 * version.h (RELEASE): Set to "development".
6949 (VERSION): Set to "2.19.90"
6950 * NEWS: Add 2.20 section.
6951
3bfff2ed
CD
69522014-02-06 Carlos O'Donell <carlos@redhat.com>
6953
6954 [BZ #16529]
6955 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6956
ee7cc385
SP
69572014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6958
6959 * manual/contrib.texi: Update entry for Carlos O'Donell,
6960 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6961
f877c4f2
CD
69622014-02-05 Carlos O'Donell <carlos@rehdat.com>
6963
27e839f6
CD
6964 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6965
f877c4f2
CD
6966 * sysdeps/unix/sysv/linux/kernel-features.h
6967 [__LINUX_KERNEL_VERSION >= 0x020621]
6968 (__ASSUME_PROC_PID_TASK_COMM): Define.
6969
68159946
SP
69702014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6971
ba17cdbd
SP
6972 [BZ #16398]
6973 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6974 conversion when destination buffer does not have enough space.
6975 * libio/tst-ftell-partial-wide.c: New test case.
6976 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6977
68159946
SP
6978 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6979 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6980 Leonard and Allan McRae.
6981
2b528732
DM
69822014-02-04 David S. Miller <davem@davemloft.net>
6983
6984 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6985 32-bit.
6986
0ff82463
AZ
69872014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6988
57f41c40
AS
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6990 New file
c01603f7
AZ
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6992 New file
57f41c40
AS
6993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6994 New file.
6995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6996 New file.
c01603f7
AZ
6997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6998 New file.
57f41c40
AS
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7000 New file.
7001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7002 New file.
c01603f7
AZ
7003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7004 New file.
7005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7006 New file.
7007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7008 New file.
7009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7010 New file.
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7012 New file.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7014 New file.
7015
70162014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7017
0ff82463
AZ
7018 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7019 * shlib-versions: Likewise.
7020
1695c773
AZ
70212014-02-04 Roland McGrath <roland@hack.frob.com>
7022 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7023
7024 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7025 (abilist-pattern): New variable, set to %-le.abilist.
7026
7027 * Makerules (abilist-pattern): New variable.
7028 (vpath): Use $(abilist-pattern) in place of %.abilist.
7029 (check-abi-% pattern rule): Likewise.
7030 (check-abi, update-abi): Likewise.
7031
6c0ce4b4
EW
70322014-02-04 Eric Wong <normalperson@yhbt.net>
7033
7034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7035
481e3524
CD
70362014-02-03 Carlos O'Donell <carlos@redhat.com>
7037
7038 * manual/startup.texi: Add next, previous, and top entries for
7039 the `Program Arguments' and `Environment Variables' nodes.
7040
375592d3
AO
70412014-02-03 Alexandre Oliva <aoliva@redhat.com>
7042
7043 * manual/macros.texi: Add comments before MTASC-safety macros.
7044
f54838ba
AO
7045 * manual/users.texi: Document MTASC-safety properties.
7046
57f41c40
AS
7047 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7048 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7049 @deftypefun, and add @safety note.
7050 * manual/signal.texi: Move comments that analyze the above
7051 functions to their home place.
7052
fd3daba4
AM
70532014-02-03 Allan McRae <allan@archlinux.org>
7054
7055 * po/sl.po: Update Slovenian translation from translation project.
7056
597636d7
AO
70572014-02-02 Alexandre Oliva <aoliva@redhat.com>
7058
7059 * manual/time.texi (timegm): Add missing blank after @c.
7060 Reported by Joseph Myers <joseph@codesourcery.com>.
7061
ee196e3c
AO
70622014-02-01 Alexandre Oliva <aoliva@redhat.com>
7063
7064 * manual/check-safety.sh: New.
7065 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7066
f8d529d5
AO
7067 * manual/terminal.texi: Document MTASC-safety properties.
7068
de55fdf4
AO
7069 * manual/filesys.texi: Document MTASC-safety properties.
7070
c3299c08
AO
7071 * manual/errno.texi: Document MTASC-safety properties.
7072
06e90b14
AO
7073 * manual/intro.texi: Document safety identifiers and
7074 conditionals.
7075
1acd4371
AO
7076 * manual/string.texi (wcstok): Fix prototype.
7077 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7078
23e5b8cb
AO
7079 * manual/time.texi: Document MTASC-safety properties.
7080
11087373
AO
7081 * manual/string.texi: Document MTASC-safety properties.
7082
5da2c93d
AO
7083 * manual/threads.texi: Document MTASC-safety properties.
7084
171e9210
AO
7085 * manual/stdio.texi: Document MTASC-safety properties.
7086
d9e02532
AO
7087 * manual/syslog.texi: Document MTASC-safety properties.
7088
6af8bab7
AO
7089 * manual/sysinfo.texi: Document MTASC-safety properties.
7090
663b02d7
AO
7091 * manual/startup.texi: Document MTASC-safety properties.
7092
973f180b
AO
7093 * manual/socket.texi: Document MTASC-safety properties.
7094
8f3c25c8
AO
7095 * manual/signal.texi: Document MTASC-safety properties.
7096
542210fb
AO
70972014-01-31 Alexandre Oliva <aoliva@redhat.com>
7098
7099 * manual/setjmp.texi: Document MTASC-safety properties.
7100
433c45a2
AO
7101 * manual/search.texi: Document MTASC-safety properties.
7102
c8ce789c
AO
7103 * manual/resource.texi: Document MTASC-safety properties.
7104
19f5d29c
AO
7105 * manual/process.texi: Document MTASC-safety properties.
7106
e2dfb7f4
AO
7107 * manual/platform.texi: Document MTASC-safety properties.
7108
8c1413f5
AO
7109 * manual/pipe.texi: Document MTASC-safety properties.
7110
03483ada
AO
7111 * manual/pattern.texi: Document MTASC-safety properties.
7112
29e7e2df
AO
7113 * manual/message.texi: Document MTASC-safety properties.
7114
9f529d7c
AO
7115 [BZ #12751]
7116 * manual/memory.texi: Document MTASC-safety properties.
7117
27aaa791
AO
7118 * manual/math.texi: Document MTASC-safety properties.
7119
f2d58726
AO
7120 * manual/locale.texi: Document MTASC-safety properties.
7121
2cc3615c
AO
7122 * manual/llio.texi: Document MTASC-safety properties.
7123
d9f0ec97
AO
7124 * manual/libdl.texi: New.
7125
e7c4409a
AO
7126 * manual/lang.texi: Document MTASC-safety properties.
7127
27bdc63c
AO
7128 * manual/job.texi: Document MTASC-safety properties.
7129
a7b90ea9
AO
7130 * manual/getopt.texi: Document MTASC-safety properties.
7131
c49130e3
AO
7132 * manual/ctype.texi: Document MTASC-safety properties.
7133
0d23a5c1
MR
71342014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7135
7136 [BZ #16046]
7137 * csu/libc-tls.c (static_map): Remove variable.
7138 (__libc_setup_tls): Use main executable's link map for TLS data.
7139 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7140 casing for LM_ID_BASE and GL(dl_nns).
7141 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7142 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7143 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7144 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7145 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7146 member.
7147 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7148 l_phnum members.
7149
0037bb60
AO
71502014-01-30 Alexandre Oliva <aoliva@redhat.com>
7151
7152 * manual/debug.texi: Document MTASC-safety properties.
7153
409e00bd
L
71542014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7155
7156 [BZ #16510]
7157 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7158 of __x86_64__ when disabling x87 inline functions.
7159
86e60666
AO
71602014-01-29 Alexandre Oliva <aoliva@redhat.com>
7161
7162 * manual/charset.texi: Document MTASC-safety properties.
7163
76167637
AO
7164 * manual/crypt.texi: Document MTASC-safety properties.
7165
e567f2a0
AO
7166 * manual/conf.texi: Document MTASC-safety properties.
7167
b719dafd
AO
7168 * manual/arith.texi: Document MTASC-safety properties.
7169
4a16c662
AO
7170 * manual/argp.texi: Document MTASC-safety properties.
7171
0a57b83e
AO
7172 * manual/macros.texi: Introduce macros to document multi
7173 thread, asynchronous signal and asynchronous cancellation
7174 safety properties.
7175 * manual/intro.texi: Introduce the properties themselves.
7176
feab2397
KK
71772014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7178
7179 * sysdeps/sh/sh4/Makefile: New file.
7180
1c0d11bc
AS
71812014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7182
7183 * math/gen-libm-test.pl ($srcdir): New variable.
7184 ($auto_input): Use it.
7185
af37a8a3
SP
71862014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7187
d7b00f98
SP
7188 [BZ #16506]
7189 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7190 access beyond array bounds when parsing netgroups file.
7191
af37a8a3
SP
7192 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7193 the old buffer before realloc.
7194
0c00f062
AM
71952014-01-27 Allan McRae <allan@archlinux.org>
7196
7197 * po/fr.po: Update French translation from translation project.
7198
7d69a1b0
KK
71992014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7200
7201 * sysdeps/sh/libm-test-ulps: Regenerate.
7202
6e697ff7
DM
72032014-01-24 David S. Miller <davem@davemloft.net>
7204
7205 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7206
9cadb35c
KK
72072014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7208
7209 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7210 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7211
5d41dadf
SP
72122013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7213
7214 [BZ #16474]
7215 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7216 string pointers after reallocation.
7217
0bad441c
KK
72182014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7219
7220 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7221 __SH4A__ instead of __SH_FPU_ANY__.
7222
7007c661
KK
72232014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7224
7225 * sysdeps/sh/fpu_control.h: New file.
7226 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7227 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7228 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7229 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7230 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7231 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7232 * sysdeps/sh/sys/ucontext.h: Remove.
7233 * sysdeps/sh/sys: Remove directory.
7234
0f0c35e4
AK
72352014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7236
7237 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7238 s390/sys/ucontext.h.
7239 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7240 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7241
4959e284
L
72422014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7243
7244 [BZ #15605]
7245 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7246
d98720e0
AZ
72472014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7248
7249 [BZ#16431]
7250 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7251 Adjust the vDSO correctly for internal calls.
7252 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7253
91cbd0bc
AM
72542014-01-20 Allan McRae <allan@archlinux.org>
7255
7256 * po/ca.po: Update Catalan translation from translation project.
7257
7a02cfad
MF
72582014-01-16 Mike Frysinger <vapier@gentoo.org>
7259
7260 * sysdeps/s390/sotruss-lib.c: New file.
7261
736c304a
AZ
72622014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7263
7264 [BZ#16430]
6e077ee5 7265 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7266 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7267 local calls issues by not having a PLT stub required for IFUNC calls.
7268 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7269
94d0cea0
JM
72702014-01-16 Joseph Myers <joseph@codesourcery.com>
7271
7272 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7273 * math/test-fpucw-static.c: Likewise.
7274
980cb518
SP
72752013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7276
7277 [BZ #16453]
7278 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7279
2393fc01
AZ
72802014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7281
7282 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7283 implementation for powerpc.
7284
d359bcc2
OB
72852014-01-15 Ondřej Bílka <neleai@seznam.cz>
7286
7287 [BZ #14782]
7288 * sysdeps/posix/system.c (__libc_system): Do not enable
7289 asynchronous cancellation.
7290
7beb48cb
AK
72912014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7292
7293 [BZ #16427]
7294 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7295 handling only for numbers special also in the IEEE case.
7296
c20d5bf5
AK
72972014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7298
7299 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7300
e83bd4ee
AM
73012014-01-11 Allan McRae <allan@archlinux.org>
7302
76d0ea69
AM
7303 * po/bg.po: Update Bulgarian translation from translation project.
7304
e83bd4ee
AM
7305 * po/de.po: Update German translation from translation project.
7306
bc2ba20a
RM
73072014-01-10 Roland McGrath <roland@hack.frob.com>
7308
7309 * sysdeps/generic/gcc-compat.h: New file.
7310
649ecea2
SP
73112014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7312
7313 * benchtests/asin-inputs: Correct slow inputs.
7314 * benchtests/acos-inputs: Likewise.
7315
1b19c006
AM
73162014-01-10 Allan McRae <allan@archlinux.org>
7317
a46dab08
AM
7318 * po:sv.po: Update Swedish translation from translation project.
7319
421df74a
AM
7320 * po/vi.po: Update Vietnamese translation from translation project.
7321
d61c51a7
AM
7322 * po/eo.po: Update Esperanto translation from translation project.
7323
0339a319
AM
7324 * po/cs.po: Update Czech translation from translation project.
7325
94ad3e99
AM
7326 * po/nl.po: Update Dutch translation from translation project.
7327
e349ca71
AM
7328 * po/pl.po: Update Polish translation from translation project.
7329
ddf930c1
AM
7330 * po/ru.po: Update Russian translation from translation project.
7331
1b19c006
AM
7332 * po/uk.po: Update Ukrainian translation from translation project.
7333
9f236c49
BM
73342014-01-08 Brooks Moses <bmoses@google.com>
7335
7336 * elf/dl-load.c: Fix comment typo.
7337
cd6701cf
CD
73382014-01-08 Carlos O'Donell <carlos@redhat.com>
7339
7340 * po/header.pot: Rename to...
7341 * po/pot.header: ... this.
7342 * po/Makefile: Use pot.header.
7343
66671c84
YK
73442014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7345 Maxim Kuvyrkov <maxim@kugelworks.com>
7346
7347 [BZ #16394]
cd6701cf
CD
7348 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7349 SRC and DEST against LEN.
66671c84 7350
38f34581
AZ
73512014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7352
7353 [BZ #16414]
7354 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7355 implementation.
7356 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7357
73582014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7359
7360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7361
4c327f2a
JM
73622014-01-08 Joseph Myers <joseph@codesourcery.com>
7363
7364 [BZ #16408]
7365 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7366 for large positive arguments.
7367
b821f414
JM
73682014-01-07 Joseph Myers <joseph@codesourcery.com>
7369
1f0f2067
JM
7370 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7371
a5a326f6
JM
7372 * math/auto-libm-test-in: Mark various tests with
7373 xfail-rounding:ldbl-128ibm.
7374 * math/auto-libm-test-out: Regenerated.
7375
b821f414
JM
7376 [BZ #16407]
7377 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7378 Increase overflow threshold.
7379
94c8a4bc
OB
73802014-01-07 Ondřej Bílka <neleai@seznam.cz>
7381
7382 [BZ #14286]
7383 * stdio-common/vfprintf.c: Check for integer overflow.
7384
87ded0c3
AK
73852014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7386
7387 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7388 the first argument and return value of __tls_get_addr_internal.
7389
c5eebdd0
AK
73902014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7391
7392 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7393 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7394
05d138ef
AK
73952014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7396
7397 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7398 * sysdeps/s390/rtld-global-offsets.sym: New file.
7399 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7400 GLIBC_2.19 symbol.
7401 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7402 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7403 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7404 ... this.
7405 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7406 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7407 ... this.
7408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7409 Regenerate.
7410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7411 Regenerate.
7412 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7413 halfs of GPRs for high_gprs contexts.
7414 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7415 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7416 field.
7417 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7418 uc_flags field.
7419 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7420 64 bit versions:
7421 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7422 for high GPRs (uc_high_gprs) and for future extensions
7423 (__reserved).
7424 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7425 for future extensions (__reserved).
7426 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7427 64 bit versions:
7428 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7429 SC_HIGHGPRS offset definition.
7430 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7431 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7432
93a45ff1
AK
7433 * Versions.def: Add GLIBC_2.19 for libpthread.
7434 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7435 siglongjmp for libpthread with GLIBC_2.19 symver.
7436 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7437 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7438 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7439 * sysdeps/s390/__longjmp.c: New file.
7440 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7441 * sysdeps/s390/longjmp.c: New file.
7442 * sysdeps/s390/setjmp.S: New file.
7443 * sysdeps/s390/sigjmp.S: New file.
7444 * sysdeps/s390/v1-longjmp.c: New file.
7445 * sysdeps/s390/v1-setjmp.h: New file.
7446 * sysdeps/s390/v1-sigjmp.c: New file.
7447 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7448 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7449 GLIBC_2.19 version.
7450 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7451 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7452 versioned symbols for ____longjmp_chk.
7453 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7454 Likewise.
7455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7456 Regenerate.
7457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7458 Regenerate.
7459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7460 Regenerate.
7461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7462 Regenerate.
7463 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7464 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7465 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7466 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7467 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7468 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7469 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7470 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7471 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7472 * sysdeps/s390/rtld-__longjmp.c: New file.
7473 * sysdeps/s390/rtld-setjmp.S: New file.
7474
eb3fc44b
JM
74752014-01-06 Joseph Myers <joseph@codesourcery.com>
7476
7477 [BZ #16400]
7478 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7479 Return -__logl (x) for small positive arguments without evaluating
7480 a polynomial.
7481
9341dde4
MF
74822014-01-06 Mike Frysinger <vapier@gentoo.org>
7483
7484 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7485 Rename to ...
7486 (__ptrace_peeksiginfo_args): ... this.
7487 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7488 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7489 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7490
4cff0293
AM
74912014-01-06 Allan McRae <allan@archlinux.org>
7492
7493 * inet/netinet/in.h: Fix typo in comment.
7494
75595dcf
AJ
74952014-01-05 Andreas Jaeger <aj@suse.de>
7496
7497 * sysdeps/i386/fpu/libm-test-ulps: Update.
7498
79c1e109
AM
74992014-01-05 Allan McRae <allan@archlinux.org>
7500
dd804818
AM
7501 * po/libc.pot: Regenerated.
7502
79c1e109
AM
7503 * malloc/memusagestat.c: Fix gettext call formatting.
7504
0c813d1f
SK
75052014-01-04 Sami Kerola <kerolasa@iki.fi>
7506
7507 * nscd/nscd.c: Improve usage() output.
7508
20f4a8d9
MF
75092014-01-04 Mike Frysinger <vapier@gentoo.org>
7510
7511 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7512 * sysdeps/unix/sysv/linux/configure: Regenerated.
7513 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7514 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7515
22562bb2
JM
75162014-01-03 Joseph Myers <joseph@codesourcery.com>
7517
7518 [BZ #16390]
7519 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7520 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7521
d7ad2d9b
AZ
75222014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7523
7524 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7525 extra tokens at end of #undef directive.
7526 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7527 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7528 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7529
7dd009d8
JM
75302014-01-03 Joseph Myers <joseph@codesourcery.com>
7531
24db925a
JM
7532 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7533
7dd009d8
JM
7534 * math/auto-libm-test-in: Mark various tests with
7535 xfail-rounding:ldbl-128ibm.
7536 * math/auto-libm-test-out: Regenerated.
7537
396e3ecf
JM
75382014-01-02 Joseph Myers <joseph@codesourcery.com>
7539
819e5d50
JM
7540 [BZ #16386]
7541 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7542 numbers with subnormal high part when calculating exponent.
7543
90b6a1e5
JM
7544 [BZ #16385]
7545 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7546 fabs.
7547
396e3ecf
JM
7548 [BZ #16384]
7549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7550 M_LN2l.
7551 (__ieee754_acoshl): Use __log1pl not __log1p.
7552
6c8dbf00
OB
75532013-01-02 Ondřej Bílka <neleai@seznam.cz>
7554
57f41c40
AS
7555 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7556 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7557 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7558 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7559 (reused_arena, arena_get2): Convert to GNU style.
7560 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7561 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7562 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7563 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7564 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7565 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7566 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7567 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7568 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7569 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7570 * malloc/malloc.h: Likewise.
57f41c40
AS
7571 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7572 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7573 * malloc/mcheck.h: Likewise.
57f41c40
AS
7574 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7575 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7576 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7577 * malloc/morecore.c (__default_morecore): Likewise.
7578 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7579 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7580 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7581 (print_and_abort): Likewise.
6c8dbf00
OB
7582 * malloc/obstack.h: Likewise.
7583 * malloc/set-freeres.c (__libc_freeres): Likewise.
7584 * malloc/tst-mallocstate.c (main): Likewise.
7585 * malloc/tst-mtrace.c (main): Likewise.
7586 * malloc/tst-realloc.c (do_test): Likewise.
7587
d4124212
SP
75882013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7589
9a3c6a6f
SP
7590 [BZ #16366]
7591 * nscd/netgroupcache.c (do_notfound): New function.
7592 (addgetnetgrentX): Use it.
7593
d4124212
SP
7594 [BZ # 16365]
7595 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7596 NSS_STATUS_NOTFOUND.
7597
97b9a009
JM
75982014-01-01 Joseph Myers <joseph@codesourcery.com>
7599
7600 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7602
d4697bc9
AM
76032014-01-01 Allan McRae <allan@archlinux.org>
7604
ddb3687f
AM
7605 * scripts/update-copyrights: Update configure input file suffix.
7606
88726d48
AM
7607 * NEWS: Update copyright year.
7608 * catgets/gencat.c: Likewise.
7609 * csu/version.c: Likewise.
7610 * debug/catchsegv.sh: Likewise.
7611 * debug/pcprofiledump.c: Likewise.
7612 * debug/xtrace.sh: Likewise.
7613 * elf/ldconfig.c: Likewise.
7614 * elf/ldd.bash.in: Likewise.
7615 * elf/pldd.c: Likewise.
7616 * elf/sotruss.ksh: Likewise.
7617 * elf/sprof.c: Likewise.
7618 * iconv/iconv_prog.c: Likewise.
7619 * iconv/iconvconfig.c: Likewise.
7620 * locale/programs/locale.c: Likewise.
7621 * locale/programs/localedef.c: Likewise.
7622 * login/programs/pt_chown.c: Likewise.
7623 * malloc/memusage.sh: Likewise.
7624 * malloc/memusagestat.c: Likewise.
7625 * malloc/mtrace.pl: Likewise.
7626 * manual/libc.texinfo: Likewise.
7627 * nscd/nscd.c: Likewise.
7628 * nss/getent.c: Likewise.
7629 * nss/makedb.c: Likewise.
7630 * posix/getconf.c: Likewise.
7631 * scripts/test-installation.pl: Likewise.
7632
d4697bc9
AM
7633 * All files with FSF copyright notices: Update copyright dates
7634 using scripts/update-copyrights.
7635 * intl/plural.c: Regenerated.
7636 * locale/programs/charmap-kw.h: Likewise.
7637 * locale/programs/locfile-kw.h: Likewise.
7638
c8590f9d
MF
76392013-12-31 Mike Frysinger <vapier@gentoo.org>
7640
7641 * sysdeps/unix/sysv/linux/configure: Regenerated.
7642 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7643 the linux/fanotify.h header.
7644 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7645 HAVE_LINUX_FANOTIFY_H is defined.
7646
b19221b9
SP
76472013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7648
dd1d85e5
SP
7649 * benchtests/cos-inputs: New inputs.
7650 * benchtests/sin-inputs: Likewise.
7651
1acbb90f
SP
7652 * benchtests/atan-inputs: New inputs. Fix name of multiple
7653 precision fallback inputs.
7654
4c012ed3
SP
7655 * benchtests/atanh-inputs: New inputs.
7656 * benchtests/tanh-inputs: Likewise.
7657
eff98324
SP
7658 * benchtests/acosh-inputs: New inputs.
7659 * benchtests/asinh-inputs: Likewise.
7660
ce641152
SP
7661 * benchtests/cosh-inputs: New inputs.
7662 * benchtests/sinh-inputs: Likewise.
7663
b19221b9
SP
7664 * benchtests/acos-inputs: Add more inputs.
7665 * benchtests/asin-inputs: Likewise.
7666
030a4976 76672013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7668
030a4976 7669 [BZ #16375]
9dcc8f11
VS
7670 * manual/arith.texi: Fix spelling.
7671 * manual/charset.texi: Likewise.
7672 * manual/errno.texi: Likewise.
7673 * manual/filesys.texi: Likewise.
7674 * manual/lang.texi: Likewise.
7675 * manual/llio.texi: Likewise.
7676 * manual/locale.texi: Likewise.
7677 * manual/message.texi: Likewise.
7678 * manual/resource.texi: Likewise.
7679 * manual/search.texi: Likewise.
7680 * manual/setjmp.texi: Likewise.
7681 * manual/stdio.texi: Likewise.
7682 * manual/string.texi: Likewise.
7683 * manual/sysinfo.texi: Likewise.
7684 * manual/time.texi: Likewise.
7685
11520a57
CD
76862013-12-27 Carlos O'Donell <carlos@redhat.com>
7687
7688 * po/sl.po: New file.
7689
471103ae
MF
76902013-12-27 Mike Frysinger <vapier@gentoo.org>
7691
7692 * .gitignore: Add core/.gdbinit/.gdb_history.
7693
6c9642ed
AM
76942013-12-27 Allan McRae <allan@archlinux.org>
7695
7696 [BZ #16369]
7697 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7698 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7699
3f637079
BM
77002013-12-24 Brooks Moses <bmoses@google.com>
7701
7702 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7703 all compilers that claim C++98 compliance, not just GCC.
7704 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7705 Likewise.
7706
abc26e99
MK
77072013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7708
7709 * NEWS: Restore accidentally deleted bug-fix entries.
7710
362b47fe
MK
77112013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7712 Ondřej Bílka <neleai@seznam.cz>
7713
7714 [BZ #15073]
7715 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7716 have_lock.
362b47fe 7717
b9bcbbcb
OB
77182013-12-23 Ondřej Bílka <neleai@seznam.cz>
7719
7720 [BZ #12986]
7721 * manual/stdio.texi (String Input Conversions): Clarify that character
7722 classes are not supported.
7723
fb55fcd2
AZ
77242013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7725
7726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7727
ef7344f0
JM
77282013-12-22 Joseph Myers <joseph@codesourcery.com>
7729
4f40e4b3
JM
7730 [BZ #16337]
7731 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7732 Calculate results for small negative arguments directly rather
7733 than using reflection formula with special underflow handling.
7734
ef7344f0
JM
7735 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7736 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7737 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7738 (fchflags): Likewise.
7739 (revoke): Likewise.
7740 (setlogin): Likewise.
7741 (sigaltstack): Likewise.
7742 (wait4): Likewise.
7743 (sigblock): Remove.
7744 (sigsetmask): Likewise.
7745 (wait3): Likewise.
7746 (waitpid): Likewise.
7747 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7748 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7749 file.
7750 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7751 * sysdeps/unix/bsd/Makefile: ... here.
7752 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7753 * sysdeps/unix/bsd/Versions: ... here.
7754 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7755 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7756 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7757 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7758 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7759 * sysdeps/unix/bsd/sigblock.c: ... here.
7760 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7761 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7762 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7763 * sysdeps/unix/bsd/sigvec.c: ... here.
7764 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7765 * sysdeps/unix/bsd/tcdrain.c: ... here.
7766 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7767 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7768 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7769 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7770 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7771 * sysdeps/unix/bsd/wait.c: ... here.
7772 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7773 * sysdeps/unix/bsd/wait3.c: ... here.
7774 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7775 * sysdeps/unix/bsd/waitpid.c: ... here.
7776
5b0626b9
JM
77772013-12-21 Joseph Myers <joseph@codesourcery.com>
7778
7779 [BZ #16356]
7780 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7781 round-to-nearest for [!USE_AS_EXPM1L].
7782 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7783 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7784 more tests of exp and exp10. Expect some exp10 tests to miss
7785 exceptions or fail in directed rounding modes.
7786 * math/auto-libm-test-out: Regenerated.
7787 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7788 (exp10_test_tonearest): New function.
7789 (exp10_towardzero_test_data): New array.
7790 (exp10_test_towardzero): New function.
7791 (exp10_downward_test_data): New array.
7792 (exp10_test_downward): New function.
7793 (exp10_upward_test_data): New array.
7794 (exp10_test_upward): New function.
7795 (main): Call the new functions.
7796 * sysdeps/i386/fpu/libm-test-ulps: Update.
7797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7798
7fda5682
JM
77992013-12-20 Joseph Myers <joseph@codesourcery.com>
7800
31e3a405
JM
7801 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7802 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7803 * math/auto-libm-test-out: Regenerated.
7804 * math/libm-test.inc (acosh_test_data): Add more tests.
7805 (atanh_test_data): Likewise.
7806 (ceil_test_data): Likewise.
7807 (copysign_test_data): Likewise.
7808 * sysdeps/i386/fpu/libm-test-ulps: Update.
7809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7810
85bff96a
JM
7811 * timezone/checktab.awk: Update from tzcode 2013i.
7812 * timezone/private.h: Likewise.
7813 * timezone/scheck.c: Likewise.
7814 * timezone/tzfile.h: Likewise.
7815 * timezone/tzselect.ksh: Likewise.
7816 * timezone/zdump.c: Likewise.
7817 * timezone/zic.c: Likewise.
7818
b7867a3b
JM
7819 * math/auto-libm-test-in: Add tests of cpow.
7820 * math/auto-libm-test-out: Regenerated.
7821 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7822 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7823 mpc_cc_c.
7824 (func_calc_desc): Add mpc_cc_c union field.
7825 (test_functions): Add cpow.
7826 (special_fill_2pi): New function.
7827 (special_real_inputs): Add 2pi.
7828 (calc_generic_results): Handle mpc_cc_c.
7829 * sysdeps/i386/fpu/libm-test-ulps: Update.
7830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7831
7fda5682
JM
7832 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7833 csqrt, ctan and ctanh.
7834 * math/auto-libm-test-out: Regenerated.
7835 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7836 (TEST_COND_x86): Likewise.
7837 (ccos_test_data): Use AUTO_TESTS_c_c.
7838 (ccosh_test_data): Likewise.
7839 (cexp_test_data): Likewise.
7840 (clog_test_data): Likewise.
7841 (csqrt_test_data): Likewise.
7842 (ctan_test_data): Likewise.
7843 (ctan_tonearest_test_data): Likewise.
7844 (ctan_towardzero_test_data): Likewise.
7845 (ctan_downward_test_data): Likewise.
7846 (ctan_upward_test_data): Likewise.
7847 (ctanh_test_data): Likewise.
7848 (ctanh_tonearest_test_data): Likewise.
7849 (ctanh_towardzero_test_data): Likewise.
7850 (ctanh_downward_test_data): Likewise.
7851 (ctanh_upward_test_data): Likewise.
7852 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7853 mpc_c_c.
7854 (func_calc_desc): Add mpc_c_c union field.
7855 (FUNC_mpc_c_c): New macro.
7856 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7857 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7858 ctanh.
7859 (special_fill_min_subnorm_p120): New function.
7860 (special_real_inputs): Add min_subnorm_p120.
7861 (calc_generic_results): Handle mpc_c_c.
7862 * sysdeps/i386/fpu/libm-test-ulps: Update.
7863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7864
5ff8d60e
SP
78652013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7866
57f41c40
AS
7867 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7868 (do_sin_slow): New functions.
7869 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7870 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7871
84ba214c
SP
7872 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7873 Use M to change sign of result instead of X. Assume X is
7874 positive.
7875 (csloww1): Likewise.
7876 (__sin): Adjust.
7877 (__cos): Adjust.
7878
975195e4
SP
7879 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7880 arguments A and DA.
7881 (__sin): Adjust.
7882 (__cos): Likewise.
7883
5ff8d60e
SP
7884 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7885 (__cos): Likewise.
7886 (sloww1): Don't adjust sign of DX.
7887 (csloww1): Likewise.
7888 (sloww2): Use X directly and don't adjust sign of DX.
7889 (csloww2): Likewise.
7890
eb983568
JM
78912013-12-19 Joseph Myers <joseph@codesourcery.com>
7892
64a17f1a
JM
7893 * math/auto-libm-test-in: Add tests of cabs and carg.
7894 * math/auto-libm-test-out: Regenerated.
7895 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7896 (carg_test_data): Likewise.
7897 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7898 mpc_c_f.
7899 (func_calc_desc): Add mpc_c_f union field.
7900 (test_functions): Add cabs and carg.
7901 (calc_generic_results): Handle mpc_c_f.
7902
eb983568
JM
7903 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7904 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7905 as a macro and a compat symbol.
7906 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7907 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7908 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7909 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7910 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7911 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7912 not use .hidden.
7913 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7914 Likewise.
7915 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7916 Likewise.
7917 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7918 Likewise.
7919 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7920 Likewise.
7921 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7922 Likewise.
7923 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7924 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7925 from GLIBC_2.3.2.
7926
6eeb678a
AZ
79272013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928
7929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7930
6f6fc482
JM
79312013-12-19 Joseph Myers <joseph@codesourcery.com>
7932
21fea2e2
JM
7933 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7934 trailing whitespace removed.
7935 * scripts/config.guess: Update to version 2013-11-29.
7936 * scripts/config.sub: Update to version 2013-10-01.
7937
6f6fc482
JM
7938 * math/auto-libm-test-in: Add tests of sincos.
7939 * math/auto-libm-test-out: Regenerated.
7940 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7941 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7942 mpfr_f_11.
7943 (func_calc_desc): Add mpfr_f_11 union field.
7944 (test_functions): Add sincos.
7945 (calc_generic_results): Handle mpfr_f_11.
7946 * sysdeps/i386/fpu/libm-test-ulps: Update.
7947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7948
83f5c32d
AS
79492013-12-19 Andreas Schwab <schwab@suse.de>
7950
7951 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7952 CALL_MCOUNT.
7953 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7954 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7955 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7956
c688b419
JM
79572013-12-19 Joseph Myers <joseph@codesourcery.com>
7958
335ee092
JM
7959 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7960 * sysdeps/i386/fpu/libm-test-ulps: Update.
7961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7962
f88acd39
JM
7963 [BZ #16293]
7964 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7965 round-to-nearest mode when using frndint.
7966 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7967 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7968 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7969 Likewise.
7970 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7971 sinh test to fail.
7972 * math/auto-libm-test-out: Regenerated.
7973 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7974 (TEST_COND_x86): Likewise.
7975 (expm1_tonearest_test_data): New array.
7976 (expm1_test_tonearest): New function.
7977 (expm1_towardzero_test_data): New array.
7978 (expm1_test_towardzero): New function.
7979 (expm1_downward_test_data): New array.
7980 (expm1_test_downward): New function.
7981 (expm1_upward_test_data): New array.
7982 (expm1_test_upward): New function.
7983 (main): Run the new test functions.
7984 * sysdeps/i386/fpu/libm-test-ulps: Update.
7985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7986
c688b419
JM
7987 * include/features.h: Update comment documenting feature test
7988 macros. Mention _DEFAULT_SOURCE in comment.
7989 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7990 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7991 _BSD_SOURCE and _SVID_SOURCE.
7992 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7993 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7994 !_SVID_SOURCE]: Likewise.
7995 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7996 (__USE_POSIX_IMPLICITLY): Define.
7997 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7998 (_POSIX_SOURCE): Undefine and redefine.
7999 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8000 (_POSIX_C_SOURCE): Likewise.
8001 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8002 (Feature Test Macros): Update documentation of default features.
8003
9f6e964c
RS
80042013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8005
8006 * benchtests/Makefile: Add bench-strtok.
8007 * benchtests/bench-strtok.c: New file: strtok benchtest.
8008
ee0a148a
AM
80092013-12-19 Allan McRae <allan@archlinux.org>
8010
8011 * manual/install.texi: Suppress menu for plain text output.
8012 * INSTALL: Regenerated.
8013
b9ab448f
BM
80142013-12-18 Brooks Moses <bmoses@google.com>
8015
8016 [BZ #15846]
8017 * misc/getauxval.c: Include errno.h.
8018 (__getauxval): Set errno to ENOENT if the requested type is not
8019 found.
8020 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8021 don't declare with __attribute_const__.
8022 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8023 * manual/startup.texi: Document that getauxval sets errno.
8024
23776487
JM
80252013-12-18 Joseph Myers <joseph@codesourcery.com>
8026
f889953b
JM
8027 * math/auto-libm-test-in: Add tests of jn and yn.
8028 * math/auto-libm-test-out: Regenerated.
8029 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8030 (yn_test_data): Likewise.
8031 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8032 mpfr_if_f.
8033 (func_calc_desc): Add mpfr_if_f union field.
8034 (FUNC_mpfr_if_f): New macro.
8035 (test_functions): Add jn and yn.
8036 (calc_generic_results): Assert type of second input for
8037 mpfr_ff_f. Handle mpfr_if_f.
8038 (output_for_one_input_case): Disable all checking for arguments
8039 fitting floating-point types in case of an integer argument.
8040 * sysdeps/i386/fpu/libm-test-ulps: Update.
8041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8042
23776487
JM
8043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8044 Don't expect fegetround reference in libm.so.
8045
cb756c6d
MS
80462013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8047
8048 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8049 $(config-cflags-nofma).
8050
2dec468f
JM
80512013-12-18 Joseph Myers <joseph@codesourcery.com>
8052
5953eb3a
JM
8053 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8054 * math/auto-libm-test-out: Regenerated.
8055
2dec468f
JM
8056 [BZ #16338]
8057 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8058 to determine exponent and adjust argument to have exponent of -1.
8059 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8060 log2.
8061 * math/auto-libm-test-out: Regenerated.
8062 * sysdeps/i386/fpu/libm-test-ulps: Update.
8063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8064
4d84e6ad
OB
80652013-12-18 Ondřej Bílka <neleai@seznam.cz>
8066
8067 * manual/probes.texi: Remove cases when per-thread arenas are
8068 disabled.
8069
1818483b
AS
80702013-12-18 Andreas Schwab <schwab@suse.de>
8071
8072 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8073 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8074 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8075 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8076 * sysdeps/i386/i686/multiarch/Makefile: Update.
8077 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8078
25de95bf
JM
80792013-12-17 Joseph Myers <joseph@codesourcery.com>
8080
8081 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8082 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8083
674762d9
PE
80842013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8085
ed27ed83 8086 [BZ #15968]
0748546f
PE
8087 Support TZ transition times < 00:00:00.
8088 This is needed for version-3 tz-format files; it supports time
8089 stamps past 2037 for America/Godthab (the only entry in the tz
8090 database for which this change is relevant).
8091 * manual/time.texi (TZ Variable): Document transition times
8092 from -167:59:59 through -00:00:01.
8093 * time/tzset.c (tz_rule): Time of day is now signed.
8094 (__tzset_parse_tz): Parse negative time of day.
8095
4480e934
PE
8096 Document TZ transition times >= 25:00:00.
8097 * manual/time.texi (TZ Variable): Document transition times from
8098 25:00:00 through 167:59:59. These are already supported, and this
8099 support will help with version-3 tz-format files.
8100
69947401
PE
8101 * manual/time.texi (TZ Variable): Modernize North America example
8102 to reflect current (i.e., 2007-and-later) daylight saving rules.
8103
674762d9
PE
8104 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8105
7011c262
JM
81062013-12-17 Joseph Myers <joseph@codesourcery.com>
8107
2fc6557e
JM
8108 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8109 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8112 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8113 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8114 * sysdeps/unix/bsd/clock.c: Likewise.
8115 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8116 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8117 * sysdeps/unix/bsd/init-posix.c: Likewise.
8118 * sysdeps/unix/bsd/poll.c: Likewise.
8119 * sysdeps/unix/bsd/ptsname.c: Likewise.
8120 * sysdeps/unix/bsd/seekdir.c: Likewise.
8121 * sysdeps/unix/bsd/setegid.c: Likewise.
8122 * sysdeps/unix/bsd/seteuid.c: Likewise.
8123 * sysdeps/unix/bsd/setgid.c: Likewise.
8124 * sysdeps/unix/bsd/setrgid.c: Likewise.
8125 * sysdeps/unix/bsd/setruid.c: Likewise.
8126 * sysdeps/unix/bsd/setsid.c: Likewise.
8127 * sysdeps/unix/bsd/setuid.c: Likewise.
8128 * sysdeps/unix/bsd/sigaction.c: Likewise.
8129 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8130 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8131 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8132 * sysdeps/unix/bsd/telldir.c: Likewise.
8133 * sysdeps/unix/bsd/times.c: Likewise.
8134 * sysdeps/unix/bsd/usleep.c: Likewise.
8135
029c7b25
JM
8136 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8137 ($(objpfx)libbsd-compat.a): Remove rule.
8138
7011c262
JM
8139 * include/features.h (__FAVOR_BSD): Do not define.
8140 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8141 features conflicting with POSIX.
8142 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8143 (_BSD_SOURCE): Remove description of not being a subset of other
8144 feature test macros.
8145 * manual/job.texi (getpgrp): Do not document BSD version.
8146 (getpgid): Do not document by reference to BSD getpgrp.
8147 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8148 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8149 * signal/signal.h [__FAVOR_BSD]: Likewise.
8150 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8151 instead of making contents conditional on [__FAVOR_BSD].
8152 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8153
affb6f78
AZ
81542013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8155
8156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8157
c88769dd
JM
81582013-12-17 Joseph Myers <joseph@codesourcery.com>
8159
6432a540
JM
8160 [BZ #16314]
8161 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8162 values below 2**-450, not 2**-500.
8163 * math/auto-libm-test-in: Don't allow spurious underflow from
8164 hypot.
8165 * math/auto-libm-test-out: Regenerated.
8166
c88769dd
JM
8167 [BZ #16316]
8168 [BZ #16330]
8169 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8170 values of ha and hb and sort them after adjusting subnormal
8171 arguments.
8172 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8173 Likewise.
8174 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8175 values of ea and eb and sort them after adjusting subnormal
8176 arguments.
8177 * math/auto-libm-test-in: Do not expect some hypot tests of
8178 subnormals to fail. Add more hypot tests.
8179 * math/auto-libm-test-out: Regenerated.
8180
29618f6b
KK
81812013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8182
8183 [BZ #13304]
8184 * sysdeps/sh/s_fma.c: New file.
8185 * sysdeps/sh/s_fmaf.c: New file.
8186 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8187 version.
8188 * sysdeps/sh/Implies: Add sh/soft-fp.
8189
eacfdfbf
RM
81902013-12-16 Roland McGrath <roland@hack.frob.com>
8191
8192 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8193 level of indirection to members `objname', `errstring', `malloced'.
8194 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8195 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8196 it as the __longjmp argument (just pass 1 instead).
8197 (_dl_catch_error): Initialize C with argument pointers and address of
8198 volatile local ERRCODE rather than copying values out of C at return.
8199
ff362e5b
JM
82002013-12-16 Joseph Myers <joseph@codesourcery.com>
8201
8202 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8203 * math/auto-libm-test-out: Regenerated.
8204 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8205 (hypot_test_data): Likewise.
8206 (pow_test_data): Likewise.
8207 (pow_tonearest_test_data): Likewise.
8208 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8209 mpfr_ff_f.
8210 (func_calc_desc): Add mpfr_ff_f union field.
8211 (FUNC_mpfr_ff_f): New macro.
8212 (test_functions): Add atan2, hypot and pow.
8213 (special_fill_min): New function.
8214 (special_fill_minus_min): Likewise.
8215 (special_fill_min_subnorm): Likewise.
8216 (special_fill_minus_min_subnorm): Likewise.
8217 (special_real_inputs): Add min, -min, min_subnorm and
8218 -min_subnorm.
8219 (calc_generic_results): Handle mpfr_ff_f.
8220 * sysdeps/i386/fpu/libm-test-ulps: Update.
8221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8222
5764c27f
WN
82232013-12-16 Will Newton <will.newton@linaro.org>
8224
8225 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8226 (Aligned Memory Blocks): Add documentation for aligned_alloc
8227 and suggest it as an alternative to posix_memalign.
8228 (Hooks for Malloc): Document __memalign_hook is also called
8229 for aligned_alloc. (Summary of Malloc): Add summary for
8230 aligned alloc. Document __memalign_hook is also called
8231 for aligned_alloc.
8232
0a096e44
WN
82332013-12-16 Will Newton <will.newton@linaro.org>
8234
8235 * manual/memory.texi (Malloc Examples): Clarify default
8236 alignment documentation. Suggest posix_memalign rather
8237 than memalign or valloc.
8238 (Aligned Memory Blocks): Remove suggestion to use memalign
8239 or valloc. Remove obsolete comment about BSD.
8240 Document memalign errno values and mark the function obsolete.
8241 Document posix_memalign returned error codes. Mark valloc
8242 as obsolete. (Hooks for Malloc): __memalign_hook is also
8243 called for posix_memalign and valloc.
8244 (Summary of Malloc): Add posix_memalign to function summary.
8245 __memalign_hook is also called for posix_memalign and valloc.
8246
8d561986
SP
82472013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8248
8249 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8250 TAYLOR_SIN.
8251 (__sin): Adjust.
8252 (__cos): Likewise.
8253 (sloww): Use mynumber union. Expand ternary operator into
8254 if-else statements.
8255 (cslow): use mynumber union.
8256
73616a74
AM
82572013-12-16 Allan McRae <allan@archlinux.org>
8258
9e8ac24b
AM
8259 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8260 * configure: Regenerated.
8261
6f8e37eb
AM
8262 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8263
8894bad3
AM
8264 [BZ #14120]
8265 * configure.ac: Added --enable-maintainer-mode. Check for
8266 autoconf when enabled.
8267 * configure: Regenerated.
8268
73616a74
AM
8269 * nscd/nscd.service: New file.
8270 * nscd/nscd.tmpfiles: New file.
8271
584b18eb
OB
82722013-12-14 Ondřej Bílka <neleai@seznam.cz>
8273
8274 [BZ #12100]
8275 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8276 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8277 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8278 (strstr): Add __strstr_sse2_unaligned ifunc.
8279 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8280 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8281 (strcasestr): Remove __strcasestr_sse42 ifunc.
8282 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8283 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8285
8a5c7897
KK
82862013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8287
8288 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8289 * sysdeps/sh/bits/fenv.h: ... here.
8290 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8291
fd712ef3
AZ
82922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8293
8294 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8295
42fcb46c
AZ
8296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8297 hypotf multiarch implementations.
8298 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8299 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8300 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8301 multiarch hypot for PPC64.
8302 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8303 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8304 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8305 multiarch hypotf for PPC64.
8306
83efded4
AZ
8307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8308 modff multiarch implementations.
8309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8312 multiarch modf for PPC64.
8313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8316 multiarch modff for PPC64.
8317
43e246d2
AZ
8318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8319 and logl multiarch implementations.
8320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8323 multiarch logb for PPC64.
8324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8327 multiarch logb for PPC64.
8328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8331 multiarch logb for PPC64.
8332
8fdad123
AZ
8333 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8334 isinff multiarch implementation.
8335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8336 file.
8337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8339 multiarch isinf for PPC64.
8340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8341 file.
8342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8343 multiarch isinff for PPC64.
8344
1481d706
AZ
8345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8346 finitef multiarch implementation.
8347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8348 file.
8349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8351 multiarch finite for PPC64.
8352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8353 file.
8354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8355 multiarch finitef for PPC64.
8356
5ccd5fc8
AZ
8357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8358 lrint multiarch implementation.
8359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8360 file.
8361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8363 multiarch llrint for PPC64.
8364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8365 multiarch lrint for PPC64.
8366
2568f3fa
AZ
8367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8368 copysignf multiarch implementation.
8369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8370 file.
8371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8372 file.
8373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8374 multiarch copysign for PPC64.
8375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8376 multiarch copysignf for PPC64.
8377
1cb341fd
AZ
8378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8379 multiarch implementation.
8380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8381 file.
8382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8383 file.
8384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8385 file.
8386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8387 file.
8388 multiarch llround for PPC64.
8389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8390 multiarch trunc for PPC64.
8391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8392 multiarch truncf for PPC64.
8393
59a3e194
AZ
8394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8395 multiarch implementation.
8396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8397 file.
8398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8399 file.
8400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8401 file.
8402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8403 file.
8404 multiarch llround for PPC64.
8405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8406 multiarch round for PPC64.
8407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8408 multiarch roundf for PPC64.
8409
357fd3b4
AZ
8410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8411 multiarch implementation.
8412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8413 file.
8414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8415 file.
8416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8417 file.
8418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8419 file.
8420 multiarch llround for PPC64.
8421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8422 multiarch floor for PPC64.
8423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8424 multiarch floorf for PPC64.
8425
96770f12
AZ
8426 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8427 multiarch implementation.
8428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8429 file.
8430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8431 file.
8432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8433 file.
8434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8435 file.
8436 multiarch llround for PPC64.
8437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8438 multiarch ceil for PPC64.
8439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8440 multiarch ceilf for PPC64.
8441
c3627f6e
AZ
8442 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8443 multiarch implementation.
8444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8445 file.
8446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8447 file.
8448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8449 file.
8450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8451 multiarch llround for PPC64.
8452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8453 multiarch lround for PPC64.
8454
b2284ad7
AZ
8455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8456 multiarch implementation.
8457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8460 file.
8461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8464 multiarch isnan for PPC64.
8465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8466 multiarch isnanf for PPC64.
8467
69bbc63d
AZ
8468 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8469 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8470 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8471 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8472 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8474
c24517c9
AZ
8475 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8476 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8477 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8478 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8479
a52374e8
AZ
8480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8481 multiarch implementations.
8482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8483 (__libc_ifunc_impl_list): Likewise.
8484 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8485 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8486 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8487 multiarch stpcpy for PPC64.
8488
7f5ec113
AZ
8489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8490 multiarch implementations.
8491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8492 (__libc_ifunc_impl_list): Likewise.
8493 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8494 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8495 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8496 multiarch strcpy for PPC64.
8497
e28bcd42
AZ
8498 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8499 redefine function name.
8500 (_wordcopy_fwd_dest_aligned): Likewise.
8501 (_wordcopy_bwd_aligned): Likewise.
8502 (_wordcopy_bwd_dest_aligned): Likewise.
8503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8504 multiarch implementations.
8505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8506 (__libc_ifunc_impl_list): Likewise.
8507 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8508 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8509 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8510 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8511 multiarch wcscpy for PPC64.
8512
92cacfce
AZ
8513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8514 multiarch implementations.
8515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8516 (__libc_ifunc_impl_list): Likewise.
8517 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8518 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8519 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8520 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8521 multiarch wcscpy for PPC64.
8522
7b714620
AZ
8523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8524 multiarch implementations.
8525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8526 (__libc_ifunc_impl_list): Likewise.
8527 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8528 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8529 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8530 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8531 multiarch wcsrchr for PPC64.
8532
16fd2ae3
AZ
8533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8534 multiarch implementations.
8535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8536 (__libc_ifunc_impl_list): Likewise.
8537 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8538 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8539 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8540 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8541 multiarch wcschr for PPC64.
8542
9ee2969b
AZ
8543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8544 multiarch implementations.
8545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8546 (__libc_ifunc_impl_list): Likewise.
8547 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8548 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8549 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8550 multiarch strchrnul for PPC64.
8551
372dc060
AZ
8552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8553 implementations.
8554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8555 (__libc_ifunc_impl_list): Likewise.
8556 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8557 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8558 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8559 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8560 strchr for PPC64.
8561
24c2c3b9
AZ
8562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8563 implementations.
8564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8565 (__libc_ifunc_impl_list): Likewise.
8566 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8567 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8568 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8569 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8570 strncmp for PPC64.
8571
1c92d9a0
AZ
8572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8573 multiarch implementations.
8574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8575 (__libc_ifunc_impl_list): Likewise.
8576 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8577 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8578 strncasecmp for PPC64.
8579 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8580 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8581 multiarch strncasecmp_l for PPC64.
8582
17de3ee3
AZ
8583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8584 multiarch implementations.
8585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8586 (__libc_ifunc_impl_list): Likewise.
8587 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8588 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8589 multiarch strcasecmp for PPC64.
8590 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8591 file.
8592 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8593 multiarch strcasecmp_l for PPC64.
8594
62982bf9
AZ
8595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8596 implementations.
8597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8598 (__libc_ifunc_impl_list): Likewise.
8599 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8600 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8601 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8602 strnlen for PPC64.
8603
a65f4904
AZ
8604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8605 implementations.
8606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8607 (__libc_ifunc_impl_list): Likewise.
8608 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8609 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8610 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8611 strlen for PPC64.
8612
1fd005ad
AZ
8613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8614 implementations.
8615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8616 (__libc_ifunc_impl_list): Likewise.
8617 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8618 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8619 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8620 rawmemrchr for PPC64.
8621
cd05ba91
AZ
8622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8623 implementation.
8624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8625 (__libc_ifunc_impl_list): Likewise.
8626 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8627 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8628 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8629 memrchr for PPC64.
8630
870f8676
AZ
8631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8632 implementation.
8633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8634 (__libc_ifunc_impl_list): Likewise.
8635 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8636 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8637 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8638 memchr for PPC64.
8639
f00be62b
AZ
8640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8641 implementation.
8642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8643 (__libc_ifunc_impl_list): Likewise.
8644 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8645 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8646 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8647 mempcpy for PPC64.
8648
8a29a3d0
AZ
8649 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8650 avoid cretion of __bzero symbol.
8651 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8652 Likewise.
8653 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8654 Likewise.
8655 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8656 Likewise.
8657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8658 multiarch implementations.
8659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8660 (__libc_ifunc_impl_list): Likewise.
8661 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8662 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8663 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8664 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8665 bzero for PPC32.
8666 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8667 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8668 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8669 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8670 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8671 memset for PPC64.
8672 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8673
07253fcf
AZ
8674 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8676 implementations.
8677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8678 (__libc_ifunc_impl_list): Likewise.
8679 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8680 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8681 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8682 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8683 memcmp for PPC64.
8684
b5beafbc
AZ
8685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8686 multiarch for POWER/PPC64.
8687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8688 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8689 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8690 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8691 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8693 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8694 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8695 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8696 memcpy for PPC64.
8697
5e6a4d4b
AZ
8698 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8699 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8700 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8701 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8702 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8703 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8704 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8705 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8706 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8707 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8708 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8709 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8710 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8711 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8712 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8720
ddfab6dc
KK
87212013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8722
8723 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8724
19b5525e
SP
87252013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8726
8727 * benchtests/Makefile (bench): Add exp2 and log2.
8728 (LDLIBS-bench-exp2): Add -lm.
8729 (LDLIBS-bench-log2): Likewise.
8730 * benchtests/exp2-inputs: New inputs file.
8731 * benchtests/log2-inputs: New inputs file.
8732 * benchtests/log-inputs: Add new inputs.
8733 * benchtests/tan-inputs: Likewise.
8734
196f7f5d
SP
87352013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8736
7a74607f
SP
8737 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8738 definition...
57f41c40
AS
8739 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8740 (csloww2): ... from here.
7a74607f 8741
196f7f5d
SP
8742 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8743 instead of structures.
8744 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8745 (POLYNOMIAL): Likewise.
8746 (TAYLOR_SLOW): Likewise.
8747 (__sin): Likewise.
8748 (__cos): Likewise.
8749 (slow1): Likewise.
8750 (slow2): Likewise.
8751 (sloww): Likewise.
8752 (sloww1); Likewise.
8753 (sloww2): Likewise.
8754 (bsloww1): Likewise.
8755 (bsloww2): Likewise.
8756 (cslow2): Likewise.
8757 (csloww): Likewise.
8758 (csloww1): Likewise.
8759 (csloww2): Likewise.
8760
0dfa665c
OB
87612013-12-10 Ondřej Bílka <neleai@seznam.cz>
8762
8763 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8764 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8765 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8766 * malloc/hooks.c (realloc_check): Likewise.
8767
5782a80f
OB
8768 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8769 * malloc/arena.c: Remove PER_THREAD conditional.
8770 [!PER_THREAD]: Remove code.
8771 (ptmalloc_unlock_all2): Likewise.
8772 (ptmalloc_init): Likewise.
8773 (_int_new_arena): Likewise.
8774 (arena_get2): Likewise.
8775 * malloc/hooks.c (__malloc_get_state): Likewise.
8776 (__malloc_set_state): Likewise.
8777 * malloc/malloc.c: Likewise.
8778 (struct malloc_state): Likewise.
8779 (struct malloc_par): Likewise.
8780 (__libc_realloc): Likewise.
8781 (__libc_mallopt): Likewise.
8782
aeb95445
AZ
87832013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8784
8785 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8786
e8349efd
OB
87872013-12-09 Ondřej Bílka <neleai@seznam.cz>
8788
8789 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8790 macro to a function. Check for zero perturb_byte.
8791 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8792
f3eeb3fc 8793 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8794 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8795 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8796 force_reg by atomic_forced_read.
8797 * malloc/arena.c (ptmalloc_init): Likewise.
8798 * malloc/hooks.c (top_check): Likewise.
8799
be2f9009
AZ
88002013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8801
8802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8803
e7b914bd
MT
88042013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8805
8806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8807
9f0be4f8
JM
88082013-12-08 Joseph Myers <joseph@codesourcery.com>
8809
8810 * math/auto-libm-test-in: Add tests of lgamma.
8811 * math/auto-libm-test-out: Regenerated.
8812 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8813 (M_LOG_2_SQRT_PIl): Likewise.
8814 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8815 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8816 mpfr_f_f1.
8817 (func_calc_desc): Add mpfr_f_f1 union field.
8818 (ARGS1): New macro.
8819 (ARGS2): Likewise.
8820 (ARGS3): Likewise.
8821 (ARGS4): Likewise.
8822 (RET1): Likewise.
8823 (RET2): Likewise.
8824 (CALC): Likewise.
8825 (FUNC): Likewise.
8826 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8827 (test_functions): Add lgamma.
8828 (calc_generic_results): Handle mpfr_f_f1.
8829 * sysdeps/i386/fpu/libm-test-ulps: Update.
8830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8831
24eeafdb
AZ
88322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8833
8834 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8835 __mpn_add_n for PowerPC64/POWER7.
8836 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8837 __mpn_sub_n for PowerPC64/POWER7.
8838
4a2c0fd4
AZ
8839 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8840 __mpn_addmul_1 for PowerPC64.
8841 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8842 __mpn_submul_1 for PowerPC64.
8843 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8844 for PowerPC64.
8845 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8846 for PowerPC64.
8847
4b5b548c
FS
88482013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8849
8850 [BZ #15089]
8851 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8852
0a3ac0aa
AZ
88532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8854
8855 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8856
ccdc8438
AZ
8857 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8858 add multiarch folders.
8859 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8860 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8861 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8862 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8863 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8864 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8865 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8866 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8867 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8868 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8869 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8876
2e973d99
AZ
8877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8878 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8880 New file.
8881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8882 New file.
8883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8884 multiarch __ieee754_hypot for PowerPC32.
8885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8886 New file.
8887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8888 New file.
8889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8890 multiarch __ieee754_hypotf for PowerPC32.
8891
2d9470b2
AZ
8892 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8893 long_double_symbol only if __logbl is defined.
8894 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8895 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8897 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8899 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8900 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8901 path for implementation.
8902 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8903 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8905 logb, and logbl multiarch implementations for PowerPC32.
8906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8907 file.
8908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8909 file.
8910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8911 multiarch logb for PowerPC32.
8912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8913 file.
8914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8915 file.
8916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8917 multiarch logbf for PowerPC32.
8918 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8920 file.
8921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8922 multiarch logbl implementation for PowerPC32.
8923
5212ffce
AZ
8924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8925 and modff multiarch implementations.
8926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8927 New file.
8928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8929 New file.
8930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8931 multiarch modf for PowerPC32.
8932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8933 New file.
8934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8935 New file.
8936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8937 multiarch modff for PowerPC32.
8938
79dccf31
AZ
8939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8940 and lrintf multiarch implementations.
8941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8942 New file.
8943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8944 New file.
8945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8946 multiarch lrint for PowerPC32.
8947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8948 file: multiarch lrintf for PowerPC32.
8949
deb66480
AZ
8950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8951 and lroundf multiarch implementations.
8952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8953 New file.
8954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8955 New file.
8956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8957 New file.
8958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8959 multiarch lround for PowerPC32.
8960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8961 file: multiarch lroundf for PowerPC32.
8962
264b036b
AZ
8963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8964 copysign and copysignf multiarch implementations.
8965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8966 New file.
8967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8968 New file.
8969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8970 file: multiarch copysign for PowerPC32.
8971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8972 file: multiarch copysignf for PowerPC32.
8973
d47db6c9
AZ
8974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8975 and truncf multiarch implementations.
8976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8977 New file.
8978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8979 file.
8980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8981 multiarch trunc for PowerPC32.
8982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8983 New file.
8984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8985 New file.
8986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8987 multiarch truncf for PowerPC32.
8988
ddb60b5a
AZ
8989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8990 and roundf multiarch implementations.
8991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8992 New file.
8993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8994 file.
8995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8996 multiarch round for PowerPC32.
8997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8998 New file.
8999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9000 New file.
9001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9002 multiarch roundf for PowerPC32.
9003
bedcf49b
AZ
9004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9005 and floorf multiarch implementations.
9006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9007 New file.
9008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9009 file.
9010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9011 multiarch floor for PowerPC32.
9012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9013 New file.
9014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9015 New file.
9016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9017 multiarch floorf for PowerPC32.
9018
35ae5b40
AZ
9019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9020 and ceilf multiarch implementations.
9021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9022 New file.
9023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9024 file.
9025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9026 multiarch ceil for PowerPC32.
9027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9028 New file.
9029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9030 file.
9031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9032 multiarch ceilf for PowerPC32.
9033
ae1a4cd9
AZ
9034 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9035 is defined.
9036 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9037 FINITEF is defined.
9038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9039 and finitef multiarch implementations.
9040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9041 New file.
9042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9043 file.
9044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9045 multiarch finite for PowerPC32.
9046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9047 New file.
9048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9049 file: multiarch finitef for PowerPC32.
9050
64fffd65
AZ
9051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9052 and isinff multiarch implementations.
9053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9054 file.
9055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9056 file.
9057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9058 multiarch isinf for PowerPC32.
9059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9060 New file.
9061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9062 multiarch isinff for PowerPC32.
9063
8e4e7ba2
AZ
9064 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9065 alias when __isnan is defined.
9066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9067 and isnanf multiarch implementations.
9068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9069 file.
9070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9071 file.
9072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9073 file.
9074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9075 file.
9076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9077 multiarch isnan for PowerPC32.
9078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9079 New file.
9080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9081 New file.
9082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9083 multiarch isnanf for PowerPC32.
9084
ddba588e
AZ
9085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9086 and sqrtf multiarch implementations.
9087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9088 file.
9089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9090 file.
9091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9092 multiarch sqrt for PowerPC32.
9093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9094 file.
9095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9096 file.
9097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9098 multiarch sqrtf for PowerPC32.
9099
0f96a2f0
AZ
9100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9101 and llroundf multiarch implementations.
9102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9103 New file.
9104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9105 New file.
9106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9107 New file.
9108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9109 file: multiarch llround for PowerPC32.
9110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9111 file: multiarch llroundf for PowerPC32.
9112
c9b5d79e
AZ
9113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9114 multiarch PowerPC32 fpu implementations.
9115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9116 New file.
9117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9118 New file.
9119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9120 multiarch llrint for PowerPC32.
9121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9122 New file.
9123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9124 New file.
9125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9126 file.
9127
9cbb3aab
AZ
9128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9129
ea5a72f8
AZ
9130 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9131 file.
9132 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9133 file.
9134 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9135 file.
9136 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9137 multiarch wordcopy for PPC32.
9138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9139 wordcopy objects.
9140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9141 (__libc_ifunc_impl_list): Likewise.
9142 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9143 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9144 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9145 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9146 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9147 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9148
93be09e7
AZ
9149 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9151 file.
9152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9153 file.
9154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9155 file.
9156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9157 multiarch wcscpy for PPC32.
9158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9159 multiarch objects.
9160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9161 (__libc_ifunc_impl_list): Likewise.
9162 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9163 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9164 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9165 sysdeps/powerpc/power6/wcscpy.c.
9166
bb04e529
AZ
9167 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9169 file.
9170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9171 file.
9172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9173 file.
9174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9175 multiarch wcsrchr for PPC32.
9176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9177 multiarch objects.
9178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9179 (__libc_ifunc_impl_list): Likewise.
9180 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9181 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9182 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9183 sysdeps/powerpc/power6/wcsrchr.c.
9184
05b5cd1c
AZ
9185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9186 file.
9187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9188 file.
9189 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9190 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9191 multiarch wcschr for PPc32.
9192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9193 multiarch objects.
9194 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9195 (__libc_ifunc_impl_list): Likewise.
9196 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9197 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9198 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9199 sysdeps/powerpc/power6/wcschr.c.
9200
ba964147
AZ
9201 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9203 file.
9204 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9205 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9206 file: multiarch strchr for PPC32.
9207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9208 multiarch objects.
9209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9210 (__libc_ifunc_impl_list): Likewise.
9211
31c81aaa
AZ
9212 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9213 name.
9214 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9215 file.
9216 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9217 file.
9218 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9219 multiarch strchrnul for PPC32.
9220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9221 multiarch objects.
9222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9223 (__libc_ifunc_impl_list): Likewise.
9224
0d0607d9
AZ
9225 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9226 file.
9227 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9228 multiarch strncasecmp for PPC32.
9229 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9230 file.
9231 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9232 multiarch strncasecmp_l for PPC32.
9233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9234 strncasecmp multiarch objects.
9235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9236 (__libc_ifunc_impl_list): Likewise.
9237
4dfd5c86
AZ
9238 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9239 file.
9240 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9241 multiarch strncasecmp for PPC32.
9242 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9243 New file.
9244 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9245 multiarch strcasecmp_l for PPC32.
9246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9247 multiarch objects.
9248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9249 (__libc_ifunc_impl_list): Likewise.
9250
a19e01a3
AZ
9251 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9252 file.
9253 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9254 file.
9255 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9256 multiarch strncmp for PPC32.
9257 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9258 multiarch objects.
9259 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9260 (__libc_ifunc_impl_list): Likewise.
9261
ae9cf7a2
AZ
9262 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9263 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9264 file.
9265 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9266 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9268 multiarch objects.
9269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9270 (__libc_ifunc_impl_list): Likewise.
9271
3148bb7d
AZ
9272 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9273 file.
9274 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9275 file.
9276 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9278 multiarch objects.
9279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9280 (__libc_ifunc_impl_list): Likewise.
9281
7af8b946
AZ
9282 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9283 file.
9284 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9285 file.
9286 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9287 multiarch rawmemchr for PPC32.
9288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9289 multiarch objects.
9290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9291 (__libc_ifunc_impl_list): Likewise.
9292
03a6aa6a
AZ
9293 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9294 file.
9295 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9296 file.
9297 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9298 file: memrchr multiarch for PPC32.
9299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9300 multiarch objects.
9301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9302 (__libc_ifunc_impl_list): Likewise.
9303
1c62e6d9
AZ
9304 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9305 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9306 file.
9307 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9308 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9309 multiarch memchr for PPC32.
9310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9311 multiarch objects.
9312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9313 (__libc_ifunc_impl_list): Likewise.
9314
87da8bdb
AZ
9315 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9316 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9317 file.
9318 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9319 file.
9320 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9321 file: multiarch mempcpy for PPC32.
9322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9323 multiarch objects.
9324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9325 (__libc_ifunc_impl_list): Likewise.
9326
20ed4714
AZ
9327 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9328 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9329 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9330 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9331 multiarch bzero for PPC32.
9332 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9333 file.
9334 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9335 file.
9336 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9337 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9338 file: multiarch memset for PPC32.
9339 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9341 memset multiarch objects.
9342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9343 (__libc_ifunc_impl_list): Likewise.
9344
ab3e3a46
AZ
9345 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9346 file.
9347 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9349 memcmp for PPC32.
9350 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9352 multiarch objects.
9353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9354 (__libc_ifunc_impl_list): Likewise.
9355
930de6f0
AZ
9356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9357 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9359 file.
9360 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9361 file.
9362 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9363 file.
9364 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9365 multiarch memcpy for PPC32.
9366 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9367 multiarch objects.
9368 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9369 (__libc_ifunc_impl_list): Likewise.
9370
4c628e00
AZ
9371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9372 support multiarch for POWER/PPC32.
9373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9374 Likewise.
9375 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9377 Implies file to make multiarch folder appers before the fpu and
9378 default folder for power4 configuration.
9379
f4479220
SP
93802013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9381
9382 * scripts/bench.pl: Append volatile keyword to type.
9383
8517800f
KK
93842013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9385
9386 * sysdeps/sh/sotruss-lib.c: New file.
9387 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9388
180138f1
AZ
93892013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9390
9391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9392
bbf37bdc
JM
93932013-12-05 Joseph Myers <joseph@codesourcery.com>
9394
e47cc4e0
JM
9395 [BZ #6810]
9396 * math/w_tgamma.c: Include <errno.h>.
9397 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9398 * math/w_tgammaf.c: Include <errno.h>.
9399 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9400 * math/w_tgammal.c: Include <errno.h>.
9401 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9402 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9403 underflow. Add more tgamma tests.
9404 * math/auto-libm-test-out: Regenerated.
9405 * sysdeps/i386/fpu/libm-test-ulps: Update.
9406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9407
bbf37bdc
JM
9408 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9409 sin, sinh, tan, tanh, tgamma, y0 and y1.
9410 * math/auto-libm-test-out: Regenerated.
9411 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9412 (TEST_COND_x86): Likewise.
9413 (M_E2l): Remove macro.
9414 (M_E3l): Likewise.
9415 (M_2_SQRT_PIl): Likewise.
9416 (M_SQRT_PIl): Likewise.
9417 (M_1_DIV_El): Likewise.
9418 (log_test_data): Use AUTO_TESTS_f_f.
9419 (log10_test_data): Likewise.
9420 (log1p_test_data): Likewise.
9421 (log2_test_data): Likewise.
9422 (sin_test_data): Likewise.
9423 (sin_tonearest_test_data): Likewise.
9424 (sin_towardzero_test_data): Likewise.
9425 (sin_downward_test_data): Likewise.
9426 (sin_upward_test_data): Likewise.
9427 (sinh_test_data): Likewise.
9428 (sinh_tonearest_test_data): Likewise.
9429 (sinh_towardzero_test_data): Likewise.
9430 (sinh_downward_test_data): Likewise.
9431 (sinh_upward_test_data): Likewise.
9432 (tan_test_data): Likewise.
9433 (tan_tonearest_test_data): Likewise.
9434 (tan_towardzero_test_data): Likewise.
9435 (tan_downward_test_data): Likewise.
9436 (tan_upward_test_data): Likewise.
9437 (tanh_test_data): Likewise.
9438 (tgamma_test_data): Likewise.
9439 (y0_test_data): Likewise.
9440 (y1_test_data): Likewise.
9441 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9442 (special_real_inputs): Add pi/4.
9443 * sysdeps/i386/fpu/libm-test-ulps: Update.
9444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9445
eb5ad6b9
AZ
94462013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9447
9448 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9449 "longjmp_target" static probes.
9450 (__longjmp): Rename to __longjmp_symbol.
9451 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9452 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9453 on which longjmp to generate.
9454 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9455 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9456 probe.
9457 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9458 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9459 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9460 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9461 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9462 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9464 __longjmp_symbol based on which __longjmp to generate.
9465 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9466 probe.
9467 (setjmp): Rename to setjmp_symbol.
9468 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9469 (_setjmp): Rename to _setjmp_symbol.
9470 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9471 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9472 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9473 which setjmp to generate.
9474 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9475 "longjmp_target" static probes.
9476
d136c6dc
SP
94772013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9478
9298ecba
SP
9479 * benchtests/README: Add note about output arguments.
9480 * benchtests/bench-sincos.c: Remove file.
9481 * benchtests/sincos-inputs: New file.
9482 * scripts/bench.pl: Identify output arguments and define
9483 static variables for them.
9484
232983e9
SP
9485 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9486
d136c6dc
SP
9487 [BZ #15941]
9488 * Makefile (INSTALL): Add install-plain.texi as the primary
9489 dependency.
9490 * manual/install-plain.texi: New file.
9491 * manual/install.texi: Include node directive only for
9492 non-plaintext output.
9493
699ff837
JM
94942013-12-04 Joseph Myers <joseph@codesourcery.com>
9495
ab07cea8
JM
9496 * stdlib/longlong.h: Update from GCC.
9497
699ff837
JM
9498 [BZ #6807]
9499 [BZ #15901]
9500 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9501 * math/w_j0f.c (y0f): Likewise.
9502 * math/w_j0l.c (__y0l): Likewise.
9503 * math/w_j1.c (y1): Likewise.
9504 * math/w_j1f.c (y1f): Likewise.
9505 * math/w_j1l.c (__y1l): Likewise
9506 * math/w_jn.c (yn): Likewise.
9507 * math/w_jnf.c (ynf): Likewise.
9508 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9509 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9510 value for Bessel function domain errors outside _SVID_ mode.
9511 Adjust sign of return value for yn (negative integer, 0).
9512 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9513 by zero in return for negative x and set sign appropriately for
9514 negative n.
9515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9516 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9517 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9518 expectations in error cases.
9519 (y1_test_data): Likewise.
9520 (yn_test_data): Likewise.
9521 * sysdeps/i386/fpu/libm-test-ulps: Update.
9522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9523
5b118558
UW
95242013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9525
9526 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9527 "64" to "64-v1". Add "64-v2".
9528 (abi-64-options): Rename to ...
9529 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9530 (abi-64-condition): Rename to ...
9531 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9532 (abi-64-ld-soname): Rename to ...
9533 (abi-64-v1-ld-soname): ... this.
9534 (abi-64-v2-options): Define.
9535 (abi-64-v2-condition): Likewise.
9536 (abi-64-v2-ld-soname): Likewise.
9537 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9538 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9542
61cd8fe4
UW
95432013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9544 Alan Modra <amodra@gmail.com>
9545
9546 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9547 New versions for use with the ELFv2 ABI.
9548 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9549 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9550 declaration.
9551 (struct La_ppc64v2_retval): Likewise.
9552 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9553 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9554 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9555 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9556 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9557 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9558 Do not save or restore CR.
9559 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9560 (_dl_profile_resolve): Do no save or restore CR. Support extended
9561 return values for ELFv2 ABI. Fix location of FPR return registers.
9562 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9563 updated values for _CALL_ELF == 2.
9564 (La_regs, La_retval, int_retval): Likewise.
9565
8b8a692c
UW
95662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9567
9568 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9569 (FRAME_MIN_SIZE_PARM): Likewise.
9570 (FRAME_BACKCHAIN): Likewise.
9571 (FRAME_CR_SAVE): Likewise.
9572 (FRAME_LR_SAVE): Likewise.
9573 (FRAME_TOC_SAVE): Likewise.
9574 (FRAME_PARM_SAVE): Likewise.
9575 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9576 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9577 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9578 (call_mcount_parm_offset): New macro.
9579 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9580 (PROF): Use symbolic stack frame offsets.
9581 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9582 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9583 Redefine in terms of FRAME_MIN_SIZE.
9584 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9585 (_dl_profile_resolve): Likewise. Update comment.
9586 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9587 symbols stack frame offsets.
9588 (__sigsetjmp): Likewise.
9589 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9590 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9591 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9592 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9593
9594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9595 (FRAME_BACKCHAIN): Remove.
9596 (FRAME_CR_SAVE): Likewise.
9597 (FRAME_LR_SAVE): Likewise.
9598 (FRAME_COMPILER_DW): Likewise.
9599 (FRAME_LINKER_DW): Likewise.
9600 (FRAME_TOC_SAVE): Likewise.
9601 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9602 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9603 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9604 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9606 (CHECK_SP): Use symbolic stack frame offsets.
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9608 zone" instead of caller's parameter save area for temp storage.
9609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9610 Likewise. Also, use symbolic stack frame offsets.
9611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9612 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9613 our own stack frame instead of the caller's.
9614 (__socket): Use symbolic stack frame offsets.
9615
122b66de
UW
96162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9617 Alan Modra <amodra@gmail.com>
9618
9619 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9620 Define.
57f41c40
AS
9621 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9622 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9623 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9624 New function.
9625 (elf_machine_fixup_plt): Call it.
9626 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9627 reloc arguments.
9628 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9629 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9630 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9631 r2 before calling target.
9632
696caf1d
UW
96332013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9634 Alan Modra <amodra@gmail.com>
9635
9636 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9637 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9638 versions of macros to support ELFv2 ABI.
9639 (LOCALENTRY): New macro.
9640 (ENTRY, EALIGN): Use it.
9641 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9642 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9643 fall through into ENTRY entry point.
9644 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9645 Only define if _CALL_ELF != 2.
9646
9647 (elf_machine_matches_host): Verify ABI version matches.
9648 (RTLD_START): Use LOCALENTRY.
9649 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9650 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9651 (PLT_ENTRY_WORDS): New macro.
9652 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9653 (elf_machine_runtime_setup): Support ELFv2 ABI.
9654 (elf_machine_fixup_plt): Likewise.
9655 (elf_machine_plt_conflict): Likewise.
9656 (resolve_ifunc): Likewise.
9657 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9658 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9659 Likewise.
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9661 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9663 (makecontext): Support ELFv2 ABI.
9664 * elf/elf.h (EF_PPC64_ABI): Define.
9665
d31beafa
UW
96662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9667
57f41c40
AS
9668 * sysdeps/powerpc/powerpc64/sysdep.h
9669 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9670 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9671 (ENTRY) [ASSEMBLER]: ... but instead here ...
9672 (EALIGN) [ASSEMBLER]: ... and here.
9673 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9674 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9675 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9676 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9677 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9678 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9679 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9680 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9682 Use PPC64_LOAD_FUNCPTR.
9683
b525166b
UW
9684 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9685
7ec07d9a
AM
96862013-12-04 Alan Modra <amodra@gmail.com>
9687
9688 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9689 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9690 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9691 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9692
9693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9694 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9695 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9696 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9697 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9698 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9699
5162e7dd
UW
97002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9701
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9703 (__makecontext): Fix incorrect CFI when backtracing out of
9704 context created via makecontext.
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9706 (__setcontext): Fix incorrect CFI during switch to new context.
9707 (__novec_setcontext): Likewise.
9708
19e3372b
OB
97092013-12-04 Ondřej Bílka <neleai@seznam.cz>
9710
9711 [BZ #4772]
9712 * time/strptime_l.c (__strptime_internal): Allow modifiers
9713 in strptime.
9714 * time/tst-strptime.c (day_tests): Add testcase.
9715
ecaf142d
SP
97162013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9717
9718 * scripts/bench.pl: Skip over blank lines.
9719
fbf964ae
PE
97202013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9721
9722 [BZ #926]
9723 * manual/time.texi (Calendar Time): Clarify what timezone functions
9724 use.
9725
fa60a674
AZ
97262013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9727
9728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9729
d674f0ef
OB
97302013-12-04 Ondřej Bílka <neleai@seznam.cz>
9731
9732 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9733 implementation.
9734 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9735 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9736 * debug/memset_chk.c (__memset_chk): Likewise.
9737 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9738 * debug/strncpy_chk.c: Likewise.
9739
17dea188
JM
97402013-12-03 Joseph Myers <joseph@codesourcery.com>
9741
749008ff
JM
9742 [BZ #15268]
9743 [BZ #15425]
9744 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9745 (__ieee754_exp): For possibly underflowing results, check size of
9746 result and force underflow exception if required.
9747 * math/auto-libm-test-in: Add more tests of exp.
9748 * math/auto-libm-test-out: Regenerated.
9749 * sysdeps/i386/fpu/libm-test-ulps: Update.
9750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9751
17dea188
JM
9752 [BZ #16283]
9753 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9754 * math/w_exp2f.c (__exp2f): Likewise.
9755 * math/w_exp2l.c (__exp2l): Likewise.
9756 * math/auto-libm-test-in: Do not allow missing errno on exp2
9757 underflow.
9758 * math/auto-libm-test-out: Regenerated.
9759
b20de2c3
OB
97602013-12-03 Ondřej Bílka <neleai@seznam.cz>
9761
9762 [BZ #16274]
9763 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9764 handle filename validation.
9765 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9766 (do_open): Delete.
9767
d8e2dbe3
JM
97682013-12-03 Joseph Myers <joseph@codesourcery.com>
9769
34e16df5
JM
9770 [BZ #6786]
9771 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9772 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9773 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9774 <float.h>.
9775 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9776 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9777 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9779 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9780 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9781 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9782 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9783 Add more erfc tests.
9784 * math/auto-libm-test-out: Regenerated.
9785 * sysdeps/i386/fpu/libm-test-ulps: Update.
9786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9787
d8e2dbe3
JM
9788 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9789 exp2, expm1, j0 and j1.
9790 * math/auto-libm-test-out: Regenerated.
9791 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9792 (erfc_test_data): Likewise.
9793 (exp_test_data): Likewise.
9794 (exp_tonearest_test_data): Likewise.
9795 (exp_towardzero_test_data): Likewise.
9796 (exp_downward_test_data): Likewise.
9797 (exp_upward_test_data): Likewise.
9798 (exp10_test_data): Likewise.
9799 (exp2_test_data): Likewise.
9800 (expm1_test_data): Likewise.
9801 (j0_test_data): Likewise.
9802 (j1_test_data): Likewise.
9803 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9804 (input_flag_type): Add flag_xfail_rounding.
9805 (input_flags): Add xfail-rounding.
9806 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9807 (output_for_one_input_case): Handle flag_xfail_rounding.
9808 * sysdeps/i386/fpu/libm-test-ulps: Update.
9809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9810
18d14251
AJ
98112013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9812
3d2e6075 9813 [BZ #16289]
18d14251
AJ
9814 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9815 division by 0.
9816
520d437b
SP
98172013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9818
9819 [BZ #16195]
9820 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9821 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9822 (STAP_PROBE0): New macro.
9823 (STAP_PROBE1): Likewise.
9824 (STAP_PROBE2): Likewise.
9825 (STAP_PROBE3): Likewise.
9826 (STAP_PROBE4): Likewise.
9827
416e0145
OB
98282013-12-02 Ondřej Bílka <neleai@seznam.cz>
9829
9830 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9831
9d17796a
SE
98322013-12-02 Steve Ellcey <sellcey@mips.com>
9833
9834 * benchtests/Makefile (bench): Add sqrt.
9835 (LDLIBS-bench-sqrt): New.
9836 * benchtests/sqrt-input: New.
9837
f524d6a8
PS
98382013-12-02 Pavel Simerda <psimerda@redhat.com>
9839
639a0ef8
PS
9840 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9841 (GAIH_EAI): Likewise.
9842 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9843 (gaih_inet): Likewise.
9844 (getaddrinfo): Don't use GAIH_EAI.
9845
f524d6a8
PS
9846 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9847 (struct gaih): Remove definition.
9848
df3aedaf
SP
98492013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9850
9851 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9852 Use HERRNOP directly.
9853
1ab19dec
AZ
98542013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9855
b42ad38d 9856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9857
176b0c79
JM
98582013-11-30 Joseph Myers <joseph@codesourcery.com>
9859
9860 * math/gen-auto-libm-tests.c (test_functions): Add more
9861 single-argument functions.
9862 (special_fill_pi_2): New function.
9863 (special_fill_minus_pi_2): Likewise.
9864 (special_fill_pi_6): Likewise.
9865 (special_fill_minus_pi_6): Likewise.
9866 (special_fill_pi_3): Likewise.
9867 (special_fill_2pi_3): Likewise.
9868 (special_fill_e): Likewise.
9869 (special_fill_1_e): Likewise.
9870 (special_fill_e_minus_1): Likewise.
9871 (special_real_inputs): Add more special inputs.
9872 (output_for_one_input_case): Do not require ERANGE on underflow to
9873 zero if round-to-nearest result does not underflow to zero, unless
9874 exact results required.
9875 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9876 atan, atanh, cbrt, cos and cosh.
9877 * math/auto-libm-test-out: Regenerated.
9878 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9879 (acos_tonearest_test_data): Likewise.
9880 (acos_towardzero_test_data): Likewise.
9881 (acos_downward_test_data): Likewise.
9882 (acos_upward_test_data): Likewise.
9883 (acosh_test_data): Likewise.
9884 (asin_test_data): Likewise.
9885 (asin_tonearest_test_data): Likewise.
9886 (asin_towardzero_test_data): Likewise.
9887 (asin_upward_test_data): Likewise.
9888 (asinh_test_data): Likewise.
9889 (atan_test_data): Likewise.
9890 (atanh_test_data): Likewise.
9891 (cbrt_test_data): Likewise.
9892 (cos_test_data): Likewise.
9893 (cos_tonearest_test_data): Likewise.
9894 (cos_towardzero_test_data): Likewise.
9895 (cos_downward_test_data): Likewise.
9896 (cos_upward_test_data): Likewise.
9897 (cosh_test_data): Likewise.
9898 (cosh_tonearest_test_data): Likewise.
9899 (cosh_towardzero_test_data): Likewise.
9900 (cosh_downward_test_data): Likewise.
9901 (cosh_upward_test_data): Likewise.
9902 * sysdeps/i386/fpu/libm-test-ulps: Update.
9903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9904
ffb536d0
JM
99052013-11-29 Joseph Myers <joseph@codesourcery.com>
9906
2a77a467
JM
9907 [BZ #6787]
9908 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9909 * math/w_exp10f.c (__exp10f): Likewise.
9910 * math/w_exp10l.c (__exp10l): Likewise.
9911 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9912 errno settings in existing tests.
9913
ea3bc4e8
JM
9914 [BZ #14032]
9915 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9916 precision control set to double precision.
9917 * sysdeps/i386/fpu/w_sqrt.c: New file.
9918 * math/auto-libm-test-in: Add more tests.
9919 * math/auto-libm-test-out: Update.
9920
0712c9d8
JM
9921 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9922 (sqrt_test_tonearest): New function.
9923 (sqrt_towardzero_test_data): New variable.
9924 (sqrt_test_towardzero): New function.
9925 (sqrt_downward_test_data): New variable.
9926 (sqrt_test_downward): New function.
9927 (sqrt_upward_test_data): New variable.
9928 (sqrt_test_upward): New function.
9929 (main): Call the new functions.
9930
ffb536d0
JM
9931 * math/gen-auto-libm-tests.c: New file.
9932 * math/auto-libm-test-in: Likewise.
9933 * math/auto-libm-test-out: New generated file.
9934 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9935 variables.
9936 (%beautify): Add generated representations of zero.
9937 (top level): Set $auto_input and call parse_auto_input.
9938 (beautify): Remove trailing "f" from hex float constants.
9939 (parse_args): Handle XFAIL_TEST.
9940 (convert_condition): New function.
9941 (or_value): Likewise.
9942 (or_cond_value): Likewise.
9943 (generate_testfile): Handle AUTO_TESTS_* lines.
9944 (parse_auto_input): New function.
9945 * math/libm-test.inc (XFAIL_TEST): New macro.
9946 (ERRNO_UNCHANGED): Update value.
9947 (ERRNO_EDOM): Likewise.
9948 (ERRNO_ERANGE): Likewise.
9949 (IGNORE_RESULT): Likewise.
9950 (TEST_COND_flt_32): New macro.
9951 (TEST_COND_dbl_64): Likewise.
9952 (TEST_COND_ldbl_96_intel): Likewise.
9953 (TEST_COND_ldbl_96_m68k): Likewise.
9954 (TEST_COND_ldbl_128): Likewise.
9955 (TEST_COND_ldbl_128ibm): Likewise.
9956 (TEST_COND_long32): Likewise.
9957 (TEST_COND_long64): Likewise.
9958 (TEST_COND_before_rounding): Likewise.
9959 (TEST_COND_after_rounding): Likewise.
9960 (enable_test): Handle XFAIL_TEST flag.
9961 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9962 with finite results.
9963 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9964 auto-libm-test-out.
9965
acd98a8e
AK
99662013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9967 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9968
9969 [BZ #16214]
9970 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9971 __tls_get_addr_internal instead of __tls_get_offset in order to
9972 avoid GOT pointer dependency. Make rtld export
9973 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9974 __tls_get_addr since we are a __tls_get_offset platform.
9975 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9976 GOT pointer being set up before.
9977 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9978
3c1c46a6
JM
99792013-11-28 Joseph Myers <joseph@codesourcery.com>
9980
7475aef5
JM
9981 * manual/math.texi (Errors in Math Functions): Document accuracy
9982 goals.
9983
8bca7cd8
JM
9984 [BZ #15004]
9985 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9986 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9988 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9989 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9990 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9991 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9992 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9993 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9994 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9995 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9996 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9997 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9998 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9999 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10000 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10001
91a1f3fe
JM
10002 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10003 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10004 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10005 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10006 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10007 Likewise.
10008 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10009 Likewise.
10010 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10011 Likewise.
10012 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10013 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10014 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10015 atomic-feupdateenv and flt-rounds.
10016 * sysdeps/powerpc/nofpu/Versions (libc): Add
10017 __atomic_feholdexcept, __atomic_feclearexcept,
10018 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10019 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10020 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10021 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10022 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10023 here.
10024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10025 Update.
10026
c5df7609
JM
10027 * manual/arith.texi (FP Exceptions): Document that exceptions may
10028 not be raised when matherr is used.
10029 (Math Error Reporting): Document overflow in directed rounding
10030 modes. Document that errno may not be set when finite values are
10031 returned on overflow. Document intent to set errno on underflow
10032 only for underflow to zero.
10033
3c1c46a6
JM
10034 [BZ #16271]
10035 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10036 round-to-nearest then adjust result for other rounding modes.
10037 * include/fenv.h (fegetround): Use libm_hidden_proto.
10038 * math/fegetround.c (fegetround): Use libm_hidden_def.
10039 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10040 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10041 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10042 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10043 Likewise.
10044 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10045 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10046 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10047 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10048
5a4c6d53
SP
100492013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10050
10051 [BZ #16077]
10052 * nss/Versions (libnss_files): Add
10053 _nss_files_gethostbyname3_r.
10054 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10055 New function.
10056 (HOST_DB_LOOKUP): Remove macro.
10057 (_nss_files_gethostbyname_r): Implement function without the
10058 HOST_DB_LOOKUP macro.
10059 (_nss_files_gethostbyname2_r): Likewise.
10060
897b98ba
OB
100612013-11-28 Ondřej Bílka <neleai@seznam.cz>
10062
10063 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10064
6f476861
UB
100652013-11-26 Uros Bizjak <ubizjak@gmail.com>
10066
10067 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10068 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10069 warning.
10070
bd12ab55
AZ
100712013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10072
10073 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10074 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10075 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10076 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10077 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10078 __fe_nomask_env_priv and attribute_hidden.
10079 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10080 (libc_feupdateenv_test_ppc): Likewise.
10081 (libc_feresetround_ppc): Likewise.
10082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10083 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10084 compat_symbol macro.
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10086 (__fe_nomask_env): Likewise.
10087 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10088
52bb6543
OB
100892013-11-26 Ondřej Bílka <neleai@seznam.cz>
10090
10091 * string/Makefile: Remove ifunc tests.
10092 * string/test-string.h: Define TEST_IFUNC.
10093 * string/test-bcopy-ifunc.c: Remove.
10094 * string/test-bzero-ifunc.c: Likewise.
10095 * string/test-memccpy-ifunc.c: Likewise.
10096 * string/test-memchr-ifunc.c: Likewise.
10097 * string/test-memcmp-ifunc.c: Likewise.
10098 * string/test-memcpy-ifunc.c: Likewise.
10099 * string/test-memmem-ifunc.c: Likewise.
10100 * string/test-memmove-ifunc.c: Likewise.
10101 * string/test-mempcpy-ifunc.c: Likewise.
10102 * string/test-memrchr-ifunc.c: Likewise.
10103 * string/test-memset-ifunc.c: Likewise.
10104 * string/test-rawmemchr-ifunc.c: Likewise.
10105 * string/test-stpcpy-ifunc.c: Likewise.
10106 * string/test-stpncpy-ifunc.c: Likewise.
10107 * string/test-strcasecmp-ifunc.c: Likewise.
10108 * string/test-strcasestr-ifunc.c: Likewise.
10109 * string/test-strcat-ifunc.c: Likewise.
10110 * string/test-strchr-ifunc.c: Likewise.
10111 * string/test-strchrnul-ifunc.c: Likewise.
10112 * string/test-strcmp-ifunc.c: Likewise.
10113 * string/test-strcpy-ifunc.c: Likewise.
10114 * string/test-strcspn-ifunc.c: Likewise.
10115 * string/test-strlen-ifunc.c: Likewise.
10116 * string/test-strncasecmp-ifunc.c: Likewise.
10117 * string/test-strncat-ifunc.c: Likewise.
10118 * string/test-strncmp-ifunc.c: Likewise.
10119 * string/test-strncpy-ifunc.c: Likewise.
10120 * string/test-strnlen-ifunc.c: Likewise.
10121 * string/test-strpbrk-ifunc.c: Likewise.
10122 * string/test-strrchr-ifunc.c: Likewise.
10123 * string/test-strspn-ifunc.c: Likewise.
10124 * string/test-strstr-ifunc.c: Likewise.
10125
ab260039 101262013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10127
10128 * benchtests/Makefile: Remove ifunc tests.
10129 * benchtests/bench-string.h: Define TEST_IFUNC.
10130 * benchtests/bench-bcopy-ifunc.c: Remove.
10131 * benchtests/bench-bzero-ifunc.c: Likewise.
10132 * benchtests/bench-memccpy-ifunc.c: Likewise.
10133 * benchtests/bench-memchr-ifunc.c: Likewise.
10134 * benchtests/bench-memcmp-ifunc.c: Likewise.
10135 * benchtests/bench-memcpy-ifunc.c: Likewise.
10136 * benchtests/bench-memmem-ifunc.c: Likewise.
10137 * benchtests/bench-memmove-ifunc.c: Likewise.
10138 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10139 * benchtests/bench-memrchr-ifunc.c: Likewise.
10140 * benchtests/bench-memset-ifunc.c: Likewise.
10141 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10142 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10143 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10144 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10145 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10146 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10147 * benchtests/bench-strcat-ifunc.c: Likewise.
10148 * benchtests/bench-strchr-ifunc.c: Likewise.
10149 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10150 * benchtests/bench-strcmp-ifunc.c: Likewise.
10151 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10152 * benchtests/bench-strcpy-ifunc.c: Likewise.
10153 * benchtests/bench-strcspn-ifunc.c: Likewise.
10154 * benchtests/bench-strlen-ifunc.c: Likewise.
10155 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10156 * benchtests/bench-strncat-ifunc.c: Likewise.
10157 * benchtests/bench-strncmp-ifunc.c: Likewise.
10158 * benchtests/bench-strncpy-ifunc.c: Likewise.
10159 * benchtests/bench-strnlen-ifunc.c: Likewise.
10160 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10161 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10162 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10163 * benchtests/bench-strspn-ifunc.c: Likewise.
10164 * benchtests/bench-strstr-ifunc.c: Likewise.
10165
101662013-11-26 Ondřej Bílka <neleai@seznam.cz>
10167
ab260039
OB
10168 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10169
d1d9eaf4 101702013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10171
d1d9eaf4
OB
10172 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10173 * rt/aio.h: Likewise.
10174 * sysdeps/gnu/bits/utmp.h: Likewise.
10175 * sysdeps/gnu/bits/utmpx.h: Likewise.
10176 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10177 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10178 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10179 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10180 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10181 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10182 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10183 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10184 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10185 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10186 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10187 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10188 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10190 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10191 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10192 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10193 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10194 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10195 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10196 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10197 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10198 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10199 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10200 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10202 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10203 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10204 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10205 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10206 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10207 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10208 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10209 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10210 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10211 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10212 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10213 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10214 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10215 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10216 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10217 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10218
a7624ed9
CD
102192013-11-25 Carlos O'Donell <carlos@redhat.com>
10220
10221 [BZ #16245]
10222 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10223 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10224
63cfe52b
JM
102252013-11-25 Joseph Myers <joseph@codesourcery.com>
10226
10227 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10228 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10229 Likewise.
10230
41e8926a
AZ
102312013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10232
10233 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10234 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10235 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10236 (__fesetround): Remove define.
10237 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10238 rounding and exceptions handling.
10239 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10240 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10241 (__fe_nomask_env): Likewise.
10242 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10243 __fegetround instead of fegetround.
10244 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10245 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10246
6851bd4d
RM
102472013-11-21 Roland McGrath <roland@hack.frob.com>
10248
070906ff
RM
10249 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10250 it's there.
10251
6851bd4d
RM
10252 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10253
84ae135d
MI
102542013-11-21 Meador Inge <meadori@codesourcery.com>
10255
10256 [BZ #11157]
10257 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10258 (encrypt_r): Likewise.
10259 * malloc/obstack.h (obstack_free): Likewise.
10260 * posix/unistd.h (encrypt): Likewise.
10261
daf75146
GM
102622013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10263
10264 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10265 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10266 DL_CALL_DT_FINI() that call the functions directly.
10267 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10268 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10269 * elf/dl-fini.c: Likewise.
10270
10ad46bc
OB
102712013-11-20 Ondřej Bílka <neleai@seznam.cz>
10272
10273 * malloc/hooks.c (memalign_check): Add alignment rounding.
10274 * malloc/malloc.c (_mid_memalign): New function.
10275 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10276 Implement by calling _mid_memalign.
10277 * manual/probes.texi (Memory Allocation Probes): Remove
10278 memory_valloc_retry and memory_pvalloc_retry.
10279
f3fd2628
SP
102802013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10281
4712799f
SP
10282 * locale/programs/locarchive.c (open_archive): Add const
10283 qualifier to ARCHIVEFNAME and copy default fname to
10284 DEFAULT_FNAME.
10285
0417b20f
SP
10286 [BZ #15601]
10287 * libio/tst-widetext.input: Rename Oriya to Odia.
10288 * locale/iso-639.def: Likewise.
10289
f3fd2628
SP
10290 * manual/probes.texi (Mathematical Function Probes): Add
10291 documentation for sin, cos, asin and acos probes.
10292 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10293 (__sin32): Add slowasin probe.
10294 (__cos32): Add slowacos probe.
10295 (__mpsin): Add slowsin probe.
10296 (__mpcos): Add slowcos probe.
10297
73c1ce4f
JM
102982013-11-19 Joseph Myers <joseph@codesourcery.com>
10299
10300 [BZ #15483]
10301 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10302 thread-local __sim_exceptions_thread and global
10303 __sim_exceptions_global.
10304 (__sim_disabled_exceptions): Change to thread-local
10305 __sim_disabled_exceptions_thread and global
10306 __sim_disabled_exceptions_global.
10307 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10308 and global __sim_round_mode_global.
10309 (__simulate_exceptions): Use thread-local floating-point state and
10310 set global state from it as needed.
10311 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10312 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10313 __sim_round_mode_thread.
10314 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10315 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10316 and global __sim_exceptions_global.
10317 (__sim_disabled_exceptions): Change to thread-local
10318 __sim_disabled_exceptions_thread and global
10319 __sim_disabled_exceptions_global.
10320 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10321 and global __sim_round_mode_global.
10322 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10323 (SIM_SET_GLOBAL): Likewise.
10324 * sysdeps/powerpc/soft-fp/sfp-machine.h
10325 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10326 __sim_round_mode_thread.
10327 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10328 __sim_disabled_exceptions_thread.
10329 (__sim_exceptions): Change to __sim_exceptions_thread.
10330 (__sim_disabled_exceptions): Change to
10331 __sim_disabled_exceptions_thread.
10332 (__sim_round_mode): Change to __sim_round_mode_thread.
10333 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10334 thread-local floating-point state and set global state from it as
10335 needed.
10336 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10337 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10338 (__sim_disabled_exceptions): Remove extern declaration.
10339 (feenableexcept): Use thread-local floating-point state and set
10340 global state from it as needed.
10341 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10342 extern declaration.
10343 (__sim_disabled_exceptions): Likewise.
10344 (__sim_round_mode): Likewise.
10345 (__fegetenv): Use thread-local floating-point state.
10346 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10347 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10348 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10349 floating-point state and set global state from it as needed.
10350 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10351 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10352 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10353 Likewise.
10354 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10355 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10356 Likewise.
10357 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10358 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10359 Use __sim_round_mode_thread.
10360 * math/test-fenv-tls.c: New file.
10361 * math/Makefile (tests): Add test-fenv-tls.
10362 ($(objpfx)test-fenv-tls): Depend on
10363 $(common-objpfx)nptl/libpthread.so.
10364
b5449b12
AS
103652013-11-19 Andreas Schwab <schwab@suse.de>
10366
10367 * locale/programs/locale.c (show_info): Decode wordarray elements.
10368 * locale/categories.def (LC_MONETARY): Add element for
10369 _NL_MONETARY_CRNCYSTR.
10370 * locale/C-monetary.c (conversion_rate): New variable.
10371 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10372 element.
10373
e186536b
CM
103742013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10375
10376 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10377 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10378
5c349950
PP
103792013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10380
10381 * elf/Makefile (tst-auxv): New test.
10382 * elf/tst-auxv.c: New
10383 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10384
699df45b
JM
103852013-11-18 Joseph Myers <joseph@codesourcery.com>
10386
10387 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10388 (hidden_proto): Caller changed.
10389 (hidden_tls_proto): New macro.
10390 (libc_hidden_tls_proto): Likewise.
10391 (rtld_hidden_tls_proto): Likewise.
10392 (libm_hidden_tls_proto): Likewise.
10393 (libresolv_hidden_tls_proto): Likewise.
10394 (librt_hidden_tls_proto): Likewise.
10395 (libdl_hidden_tls_proto): Likewise.
10396 (libnss_files_hidden_tls_proto): Likewise.
10397 (libnsl_hidden_tls_proto): Likewise.
10398 (libnss_nisplus_hidden_tls_proto): Likewise.
10399 (libutil_hidden_tls_proto): Likewise.
10400
b7589107
OB
104012013-11-18 Ondřej Bílka <neleai@seznam.cz>
10402
10403 [BZ #10253]
10404 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10405 (decompose_rpath): Defer expansion to fillin_rpath.
10406 (_dl_init_paths): Pass linkmap to fillin_rpath.
10407
250c23bd
RS
104082013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10409
10410 * benchtests/Makefile: Add strsep.
10411 * benchtests/bench-strsep.c: New file: strsep benchtest.
10412 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10413
a7931fcf
AS
104142013-11-18 Andreas Schwab <schwab@suse.de>
10415
10416 * locale/programs/locale.c (show_info) [case byte]: Check for
10417 '\377' instead of '\177'.
10418 * locale/C-monetary.c (not_available): Always use "\377".
10419 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10420 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10421 detect unavailable sign_posn locale elements.
10422 * locale/localeconv.c (__localeconv): For grouping and
10423 mon_grouping handle "\177" and "\377" like no grouping.
10424 (INT_ELEM): New macro. Use it to set all numeric members.
10425 * locale/programs/ld-monetary.c (monetary_read)
10426 <tok_mon_grouping>: Normalize single -1 to the empty string.
10427 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10428 Likewise.
10429
728dab0e
OB
104302013-11-07 Ondřej Bílka <neleai@seznam.cz>
10431
10432 [BZ #16055]
10433 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10434 when we match (nil).
10435 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10436
66294491
JM
104372013-11-16 Joseph Myers <joseph@codesourcery.com>
10438
ce665817
JM
10439 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10440 (NO_TEST_INLINE): Update value.
10441 (ERRNO_UNCHANGED): Likewise.
10442 (ERRNO_EDOM): Likewise.
10443 (ERRNO_ERANGE): Likewise.
10444 (IGNORE_RESULT): Likewise.
10445 (check_float_internal): Check signs of NaN results if
10446 TEST_NAN_SIGN used.
10447 (check_complex): Pass TEST_NAN_SIGN flag through to second
10448 check_float_internal call.
10449 (copysign_test_data): Add tests with quiet NaNs as second
10450 argument. Use TEST_NAN_SIGN.
10451 (fabs_test_data): Add test of negative quiet NaN argument. Use
10452 TEST_NAN_SIGN.
10453 (signbit_test_data): Add tests of quiet NaN argument.
10454 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10455
ee1466a9
JM
10456 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10457 $ignore_result.
10458 (parse_args): Handle function results specified as IGNORE.
10459 * math/libm-test.inc (IGNORE_RESULT): New macro.
10460 (check_float_internal): Do not check numerical result if flag
10461 IGNORE_RESULT set.
10462 (check_complex): Pass through IGNORE_RESULT to second
10463 check_float_internal call.
10464 (check_int): Do not check numerical result if flag IGNORE_RESULT
10465 set.
10466 (check_long): Likewise.
10467 (check_bool): Likewise.
10468 (check_longlong): Likewise.
10469 (lrint_test_data): Add tests of infinite and NaN arguments.
10470 (lrint_tonearest_test_data): Likewise.
10471 (lrint_towardzero_test_data): Likewise.
10472 (lrint_downward_test_data): Likewise.
10473 (lrint_upward_test_data): Likewise.
10474 (llrint_test_data): Likewise.
10475 (llrint_tonearest_test_data): Likewise.
10476 (llrint_towardzero_test_data): Likewise.
10477 (llrint_downward_test_data): Likewise.
10478 (llrint_upward_test_data): Likewise.
10479 (lround_test_data): Likewise.
10480 (llround_test_data): Likewise.
10481
14407b7e
JM
10482 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10483 (ERRNO_UNCHANGED): Update value.
10484 (ERRNO_EDOM): Likewise.
10485 (ERRNO_ERANGE): Likewise.
10486 (NO_TEST_INLINE_FLOAT): New macro.
10487 (NO_TEST_INLINE_DOUBLE): Likewise.
10488 (enable_test): New function.
10489 (RUN_TEST_f_f): Check enable_test before running test.
10490 (RUN_TEST_2_f): Likewise.
10491 (RUN_TEST_fff_f): Likewise.
10492 (RUN_TEST_c_f): Likewise.
10493 (RUN_TEST_f_f1): Likewise.
10494 (RUN_TEST_fF_f1): Likewise.
10495 (RUN_TEST_fI_f1): Likewise.
10496 (RUN_TEST_ffI_f1): Likewise.
10497 (RUN_TEST_c_c): Likewise.
10498 (RUN_TEST_cc_c): Likewise.
10499 (RUN_TEST_f_i): Likewise.
10500 (RUN_TEST_f_i_tg): Likewise.
10501 (RUN_TEST_ff_i_tg): Likewise.
10502 (RUN_TEST_f_b): Likewise.
10503 (RUN_TEST_f_b_tg): Likewise.
10504 (RUN_TEST_f_l): Likewise.
10505 (RUN_TEST_f_L): Likewise.
10506 (RUN_TEST_fFF_11): Likewise.
10507 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10508 conditionals.
10509 (cosh_test_data): Likewise.
10510 (exp_test_data): Likewise.
10511 (expm1_test_data): Likewise.
10512 (hypot_test_data): Likewise.
10513 (pow_test_data): Likewise.
10514 (sinh_test_data): Likewise.
10515 (tanh_test_data): Likewise.
10516 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10517 flags argument.
10518
ca07f197
JM
10519 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10520 tests with quiet NaN input and output.
10521 (acosh_test_data): Likewise.
10522 (asin_test_data): Likewise.
10523 (asinh_test_data): Likewise.
10524 (atan_test_data): Likewise.
10525 (atanh_test_data): Likewise.
10526 (atan2_test_data): Likewise.
10527 (cbrt_test_data): Likewise.
10528 (cos_test_data): Likewise.
10529 (cosh_test_data): Likewise.
10530 (erf_test_data): Likewise.
10531 (erfc_test_data): Likewise.
10532 (exp_test_data): Likewise.
10533 (exp10_test_data): Likewise.
10534 (exp2_test_data): Likewise.
10535 (expm1_test_data): Likewise.
10536 (hypot_test_data): Likewise.
10537 (j0_test_data): Likewise.
10538 (j1_test_data): Likewise.
10539 (jn_test_data): Likewise.
10540 (lgamma_test_data): Likewise.
10541 (log_test_data): Likewise.
10542 (log10_test_data): Likewise.
10543 (log1p_test_data): Likewise.
10544 (log2_test_data): Likewise.
10545 (pow_test_data): Likewise.
10546 (scalb_test_data): Likewise.
10547 (sin_test_data): Likewise.
10548 (sincos_test_data): Likewise.
10549 (sinh_test_data): Likewise.
10550 (tan_test_data): Likewise.
10551 (tanh_test_data): Likewise.
10552 (tgamma_test_data): Likewise.
10553 (y0_test_data): Likewise.
10554 (y1_test_data): Likewise.
10555 (yn_test_data): Likewise.
10556
66294491
JM
10557 [BZ #16167]
10558 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10559 argument being NaN and avoid computations with second argument in
10560 that case.
10561 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10562 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10563 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10564
1820b143
CL
105652013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10566
10567 * locale/iso-639.def: Add Chitwani Tharu (the).
10568
714bd261
AS
105692013-11-14 Andreas Schwab <schwab@suse.de>
10570
10571 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10572 word instead of empty string.
10573
7ab44563
AZ
105742013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10575
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10577 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10579 (__fe_nomask_env): Likewise.
10580
e8470ea2
SE
105812013-11-13 Steve Ellcey <sellcey@mips.com>
10582
10583 * benchtests/bench-timing.h: Include time.h.
10584
17c1d9f0
L
105852013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10586
10587 [BZ #15997]
10588 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10589 to 3.4.0 for x32.
10590 * sysdeps/unix/sysv/linux/configure: Regenerated.
10591
9310c284
JM
105922013-11-13 Joseph Myers <joseph@codesourcery.com>
10593
10594 [BZ #16151]
10595 * stdlib/strtod_l.c (round_and_return): Do not consider
10596 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10597 exponent one less than half the least subnormal exponent.
10598 * stdlib/test-strtod-round-data: Add more tests.
10599 * stdlib/tst-strtod-round.c (tests): Regenerated.
10600
7a2ad8cf
AZ
106012013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10602
10603 [BZ #14143]
10604 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10605 (__fe_mask_env): Likewise.
10606 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10607 libm_hidden_proto and add function prototype.
10608 (__fe_mask_env): Add function prototype.
10609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10610 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10612 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10614 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10615
50727aa7
MS
106162013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10617
b2f386c1 10618 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10619 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10620
a615be46
MS
106212013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10622
10623 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10624 of htab_find_slot().
10625
7ddace62
DM
106262013-11-11 David S. Miller <davem@davemloft.net>
10627
10628 [BZ #16150]
10629 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10630 symbol in the non-vis3 case in static builds.
10631 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10632 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10633 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10634 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10635
9182aa67
JK
106362013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10637
10638 [BZ #387]
10639 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10640 it is empty.
10641
450a2e2d
AZ
106422013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10643
b2f386c1
SP
10644 * benchtests/Makefile: Add bench-strtod.
10645 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10646
8ec3f656
AS
106472013-11-11 Andreas Schwab <schwab@suse.de>
10648
10649 [BZ #16153]
10650 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10651 terminating NUL in key length.
10652
76a9b998
AZ
106532013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10654
10655 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10656 Add artificial ODP entry for vDSO symbol for PPC64.
10657 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10658 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10659
e4368156
OB
106602013-11-07 Ondřej Bílka <neleai@seznam.cz>
10661
10662 [BZ #15374]
10663 * nss/getent.c (services_keys): Recognize services starting with digit.
10664
8d6bb57c
DM
106652013-11-06 David S. Miller <davem@davemloft.net>
10666
10667 [BZ #15985]
10668 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10669 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10670
e256c421
WN
106712013-11-06 Will Newton <will.newton@linaro.org>
10672
10673 * manual/memory.texi (Malloc Examples): Remove register
10674 keyword from examples.
10675
f6e12daa 106762013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10677
f6e12daa 10678 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10679
9d880655
AS
106802013-11-04 Joseph Myers <joseph@codesourcery.com>
10681
fd2f9486 10682 [BZ #6981]
9d880655
AS
10683 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10684 depending on [__GCC_IEC_559 > 0].
10685 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10686 depending on [__GCC_IEC_559_COMPLEX > 0].
10687
ae129d3c
CL
106882013-11-03 Chris Leonard <cjl@sugarlabs.org>
10689
10690 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10691 to iso-639.def.
10692
4a15c2a4 106932013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10694
10695 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10696
8b35e35d
OB
106972013-11-01 Ondřej Bílka <neleai@seznam.cz>
10698
10699 [BZ #16112]
10700 * malloc/malloc (malloc_info): Do not handle first bin as
10701 special case.
10702
1d70fd6c
CL
107032013-11-01 Chris Leonard <cjl@sugarlabs.org>
10704
10705 * locale/iso-639.def: Add Central Nahuatl (nhn).
10706
8c5c2600
BH
107072013-11-01 Bruno Haible <bruno@clisp.org>
10708
10709 [BZ #7003]
10710 * manual/math.texi (BSD Random): Specify range upper bound as
10711 in POSIX.
10712
da5579c2
CL
107132013-10-31 Chris Leonard <cjl@sugarlabs.org>
10714
10715 * locale/iso-639.def: Add Meadow Mari (mhr).
10716
5d30d853
OB
107172013-10-31 Ondřej Bílka <neleai@seznam.cz>
10718
10719 [BZ #14752], [BZ #15763]
10720 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10721 Validate name.
10722 * rt/tst_shm.c: Add test for escaping directory.
10723
a4966c61
AS
107242013-10-31 Andreas Schwab <schwab@suse.de>
10725
8a43e768 10726 [BZ #15917]
a4966c61
AS
10727 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10728 followed by 'x' as part of digit sequence.
10729 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10730
28d708c4
MAP
107312013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10732
10733 [BZ #16037]
10734 * configure.ac: allow GNU Make 4.0 and greater.
10735 * configure: Regenerated.
10736
a56ee40b
WN
107372013-10-30 Will Newton <will.newton@linaro.org>
10738
10739 [BZ #16038]
10740 * malloc/hooks.c (memalign_check): Limit alignment to the
10741 maximum representable power of two.
10742 * malloc/malloc.c (__libc_memalign): Likewise.
10743 * malloc/tst-memalign.c (do_test): Add test for very
10744 large alignment values.
10745 * malloc/tst-posix_memalign.c (do_test): Likewise.
10746
c6e4925d
OB
107472013-10-30 Ondřej Bílka <neleai@seznam.cz>
10748
10749 [BZ #11087]
10750 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10751 (munmap_chunk): Likewise.
10752 (mremap_chunk): Likewise.
10753
107542013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10755
8a43e768 10756 [BZ #15799]
bbea82f7
OB
10757 * stdlib/div.c (div): Remove obsolete code.
10758 * stdlib/ldiv.c (ldiv): Likewise.
10759 * stdlib/lldiv.c (lldiv): Likewise.
10760
977f4b31
SP
107612013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10762
10763 [BZ #16071]
10764 * nss/nss_files/files-XXX.c (get_contents_ret): New
10765 enumerator.
10766 (get_contents): New function.
10767 (internal_getent): Use it. Expand size of LINEBUFLEN.
10768
cb8a6dbd
MF
107692013-10-30 Mike Frysinger <vapier@gentoo.org>
10770
10771 * configure.in: Moved to ...
10772 * configure.ac: ... here. Change reference to configure.in
10773 to configure.ac.
10774 * sysdeps/arm/preconfigure.ac: ... here.
10775 configure.in to configure.ac.
10776 * sysdeps/gnu/configure.in: Moved to ...
10777 * sysdeps/gnu/configure.ac: ... here.
10778 * sysdeps/i386/configure.in: Moved to ...
10779 * sysdeps/i386/configure.ac: ... here.
10780 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10781 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10782 * sysdeps/mach/configure.in: Moved to ...
10783 * sysdeps/mach/configure.ac: ... here.
10784 * sysdeps/mach/hurd/configure.in: Moved to ...
10785 * sysdeps/mach/hurd/configure.ac: ... here.
10786 * sysdeps/powerpc/configure.in: Moved to ...
10787 * sysdeps/powerpc/configure.ac: ... here.
10788 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10789 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10790 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10791 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10792 * sysdeps/s390/s390-32/configure.in: Moved to ...
10793 * sysdeps/s390/s390-32/configure.ac: ... here.
10794 * sysdeps/s390/s390-64/configure.in: Moved to ...
10795 * sysdeps/s390/s390-64/configure.ac: ... here.
10796 * sysdeps/sh/configure.in: Moved to ...
10797 * sysdeps/sh/configure.ac: ... here.
10798 * sysdeps/sparc/configure.in: Moved to ...
10799 * sysdeps/sparc/configure.ac: ... here.
10800 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10801 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10802 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10803 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10804 * sysdeps/x86_64/configure.in: Moved to ...
10805 * sysdeps/x86_64/configure.ac: ... here.
10806 * sysdeps/x86_64/preconfigure.in: Moved to ...
10807 * sysdeps/x86_64/preconfigure.ac: ... here.
10808 * aclocal.m4: Change reference to configure.in to configure.ac.
10809 * config.h.in: Likewise.
10810 * manual/install.texi: Likewise.
10811 * manual/maint.texi: Likewise.
10812 * Makefile: Likewise.
10813 * malloc/Makefile: Likewise.
10814 * nscd/Makefile: Likewise.
10815 * Makeconfig: Change reference to configure.in and
10816 preconfigure.in to configure.ac and preconfigure.ac
10817 respectively.
10818 * INSTALL: Regenerated.
10819 * configure: Likewise.
10820 * sysdeps/gnu/configure: Likewise.
10821 * sysdeps/i386/configure: Likewise.
10822 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10823 * sysdeps/mach/configure: Likewise.
10824 * sysdeps/mach/hurd/configure: Likewise.
10825 * sysdeps/powerpc/configure: Likewise.
10826 * sysdeps/powerpc/powerpc32/configure: Likewise.
10827 * sysdeps/powerpc/powerpc64/configure: Likewise.
10828 * sysdeps/s390/s390-32/configure: Likewise.
10829 * sysdeps/s390/s390-64/configure: Likewise.
10830 * sysdeps/sh/configure: Likewise.
10831 * sysdeps/sparc/configure: Likewise.
10832 * sysdeps/unix/sysv/linux/configure: Likewise.
10833 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10834 * sysdeps/x86_64/configure: Likewise.
10835 * sysdeps/x86_64/preconfigure: Likewise.
10836
36a4953a
AS
108372013-10-29 Andreas Schwab <schwab@suse.de>
10838
10839 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10840
c79a1204
SP
108412013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10842
dfa1b402
SP
10843 * benchtests/pow-inputs: Add new inputs.
10844
54f73d9c
SP
10845 * benchtests/exp-inputs: Add new inputs.
10846
c79a1204
SP
10847 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10848 conditional check for return value.
10849 (__cos32): Likewise.
10850
67beb545 108512013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10852
10853 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10854 to provide a boost for large inputs with word alignment.
10855 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10856 implementation based on optimized PPC64 strcpy.
10857 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10858 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10859 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10860 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10861
151659f6
OB
108622013-10-25 Ondřej Bílka <neleai@seznam.cz>
10863
482a077e 10864 [BZ #2801]
151659f6
OB
10865 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10866
10b0f26b
OB
108672013-10-25 Ondřej Bílka <neleai@seznam.cz>
10868
10869 [BZ #14876]
10870 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10871 * time/tst-strptime.c (day_tests): Add testcase.
10872
ca42d35e
OB
108732013-10-25 Ondřej Bílka <neleai@seznam.cz>
10874
482a077e 10875 [BZ #14029]
ca42d35e
OB
10876 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10877
52e6d801
FB
108782013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10879
10880 [BZ #16074]
10881 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10882 MAP_FAILED on error.
10883
7cbcdb36
SP
108842013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10885
10886 [BZ #16072]
10887 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10888 heap for large requests.
10889
894f3f10
AM
108902013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10891
10892 [BZ #9954]
10893 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10894 result if the result has no associated interface.
10895 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10896 interface for all 127.X.Y.Z addresses.
10897
b85545a6
CL
108982013-10-24 Chris Leonard <cjl@sugarlabs.org>
10899
10900 * locale/iso-639.def: Add Ligurian (lij)
10901
d1f23d46
OB
109022013-10-21 Ondřej Bílka <neleai@seznam.cz>
10903
10904 [BZ #15825]
10905 * sunrpc/rpc_main.c: Document rpcgen -5.
10906
4db5b08f
MS
109072013-10-19 Michael Stahl <mstahl@redhat.com>
10908
10909 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10910
a471e96a
OB
109112013-10-19 Ondřej Bílka <neleai@seznam.cz>
10912
d1f23d46 10913 [BZ #10278]
a471e96a
OB
10914 * posix/glob.c: Match only directories when trailing slash is present.
10915 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10916 (main): Add testcase.
10917
45c30c61
OB
109182013-10-19 Ondřej Bílka <neleai@seznam.cz>
10919
10920 [BZ #15670]
10921 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10922
484c12fb
CD
109232013-10-18 Carlos O'Donell <carlos@redhat.com>
10924
3d7dc513
CD
10925 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10926 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10927 AUTH_DES and cindex for FIPS 140-2.
10928 (DES Encryption): Add cindex FIPS 46-3.
10929
484c12fb
CD
10930 * locale/locarchive.h (struct locarhandle): Add fname.
10931 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10932 if an optional argument was specified to --list-archive,
10933 otherwise NULL.
10934 * locale/programs/locarchive.c (show_archive_content): Take new
10935 argument fname and pass it via ah.fname to open_archive.
10936 * locale/programs/localedef.h: Update decl.
10937 (open_archive): If AH->fname is non-null, open that file
10938 rather than the default file name, and don't ignore ENOENT.
10939 (create_archive): Set AH.fname to NULL.
10940 (delete_locales_from_archive): Likewise.
10941 (add_locales_to_archive): Likewise.
10942 * locale/programs/locfile.c (write_all_categories): Likewise.
10943
3c8325fb
JM
109442013-10-18 Joseph Myers <joseph@codesourcery.com>
10945 Aldy Hernandez <aldyh@redhat.com>
10946
10947 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10948 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10949 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10950 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10951 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10952 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10953 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10954 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10955 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10956 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10957 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10958 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10959 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10960 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10961 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10962 Likewise.
10963 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10964 Likewise.
10965 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10966 Likewise.
10967 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10968 Likewise.
10969 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10970 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10971 Likewise.
10972 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10973 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10974 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10975 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10976 Likewise.
10977 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10978 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10979 * sysdeps/powerpc/preconfigure: Likewise.
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10981 Likewise.
10982 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10983 Replace contents of file by #include of <fenv_libc.h>.
10984 * sysdeps/powerpc/soft-fp/sfp-machine.h
10985 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10986 and <sys/prctl.h>.
10987 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10988 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10989 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10990 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10991 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10992 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10993 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10994 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10995 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10996 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10997 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10998 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11000 Allow copysignl PLT reference to be missing.
11001
5abe0682
RS
110022013-10-18 Richard Sandiford <richard@codesourcery.com>
11003 Joseph Myers <joseph@codesourcery.com
11004
11005 [BZ #15948]
11006 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11007 single character.
11008 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11009
c7738d08
SP
110102013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11011
11012 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11013 * elf/tst-tls1.c: Likewise.
11014 * elf/tst-tls10.h: Likewise.
11015 * elf/tst-tls14.c: Likewise.
11016 * elf/tst-tls2.c: Likewise.
11017 * elf/tst-tls3.c: Likewise.
11018 * elf/tst-tls4.c: Likewise.
11019 * elf/tst-tls5.c: Likewise.
11020 * elf/tst-tls6.c: Likewise.
11021 * elf/tst-tls7.c: Likewise.
11022 * elf/tst-tls8.c: Likewise.
11023 * elf/tst-tls9.c: Likewise.
11024 * elf/tst-tlsmod1.c: Likewise.
11025 * elf/tst-tlsmod13.c: Likewise.
11026 * elf/tst-tlsmod13a.c: Likewise.
11027 * elf/tst-tlsmod14a.c: Likewise.
11028 * elf/tst-tlsmod16a.c: Likewise.
11029 * elf/tst-tlsmod16b.c: Likewise.
11030 * elf/tst-tlsmod2.c: Likewise.
11031 * elf/tst-tlsmod3.c: Likewise.
11032 * elf/tst-tlsmod4.c: Likewise.
11033 * elf/tst-tlsmod5.c: Likewise.
11034 * elf/tst-tlsmod6.c: Likewise.
11035
0bfcf2c7
OB
110362013-10-18 Ondřej Bílka <neleai@seznam.cz>
11037
11038 [BZ #12486]
11039 * malloc/malloc.c: remove checks for statistics.
11040
264aad1e
OB
110412013-10-17 Ondřej Bílka <neleai@seznam.cz>
11042
11043 [BZ #15277]
11044 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11045 * inet/tst-network.c: Add testcase.
11046
b957ced8
AS
110472013-10-17 Andreas Schwab <schwab@suse.de>
11048
11049 [BZ #15218]
11050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11051 to determine canonical name.
11052
c5d5d574
OB
110532013-10-17 Ondřej Bílka <neleai@seznam.cz>
11054
11055 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11056 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11062 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11063 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11065 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11066 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11068 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11069 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11070 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11071 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11072 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11073 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11074 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11075 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11076 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11079 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11080 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11081 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11085 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11087 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11088 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11089 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11090 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11091 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11092 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11093 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11094 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11095 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11096 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11097 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11098 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11099 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11100 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11101 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11102 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11103 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11104 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11105 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11106 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11107 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11108 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11110 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11112 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11113
e5c2c2d0
JM
111142013-10-17 Joseph Myers <joseph@codesourcery.com>
11115
11116 [BZ #16041]
11117 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11118 make result into a quiet NaN.
11119
51ca9e29
JM
111202013-10-16 Joseph Myers <joseph@codesourcery.com>
11121
11122 * soft-fp/adddf3.c: Fix horizontal whitespace.
11123 * soft-fp/addsf3.c: Likewise.
11124 * soft-fp/addtf3.c: Likewise.
11125 * soft-fp/divdf3.c: Likewise.
11126 * soft-fp/divsf3.c: Likewise.
11127 * soft-fp/divtf3.c: Likewise.
11128 * soft-fp/double.h: Likewise.
11129 * soft-fp/eqdf2.c: Likewise.
11130 * soft-fp/eqsf2.c: Likewise.
11131 * soft-fp/eqtf2.c: Likewise.
11132 * soft-fp/extenddftf2.c: Likewise.
11133 * soft-fp/extended.h: Likewise.
11134 * soft-fp/extendsfdf2.c: Likewise.
11135 * soft-fp/extendsftf2.c: Likewise.
11136 * soft-fp/extendxftf2.c: Likewise.
11137 * soft-fp/fixdfdi.c: Likewise.
11138 * soft-fp/fixdfsi.c: Likewise.
11139 * soft-fp/fixdfti.c: Likewise.
11140 * soft-fp/fixsfdi.c: Likewise.
11141 * soft-fp/fixsfsi.c: Likewise.
11142 * soft-fp/fixsfti.c: Likewise.
11143 * soft-fp/fixtfdi.c: Likewise.
11144 * soft-fp/fixtfsi.c: Likewise.
11145 * soft-fp/fixtfti.c: Likewise.
11146 * soft-fp/fixunsdfdi.c: Likewise.
11147 * soft-fp/fixunsdfsi.c: Likewise.
11148 * soft-fp/fixunsdfti.c: Likewise.
11149 * soft-fp/fixunssfdi.c: Likewise.
11150 * soft-fp/fixunssfsi.c: Likewise.
11151 * soft-fp/fixunssfti.c: Likewise.
11152 * soft-fp/fixunstfdi.c: Likewise.
11153 * soft-fp/fixunstfsi.c: Likewise.
11154 * soft-fp/fixunstfti.c: Likewise.
11155 * soft-fp/floatdidf.c: Likewise.
11156 * soft-fp/floatdisf.c: Likewise.
11157 * soft-fp/floatditf.c: Likewise.
11158 * soft-fp/floatsidf.c: Likewise.
11159 * soft-fp/floatsisf.c: Likewise.
11160 * soft-fp/floatsitf.c: Likewise.
11161 * soft-fp/floattidf.c: Likewise.
11162 * soft-fp/floattisf.c: Likewise.
11163 * soft-fp/floattitf.c: Likewise.
11164 * soft-fp/floatundidf.c: Likewise.
11165 * soft-fp/floatundisf.c: Likewise.
11166 * soft-fp/floatunditf.c: Likewise.
11167 * soft-fp/floatunsidf.c: Likewise.
11168 * soft-fp/floatunsisf.c: Likewise.
11169 * soft-fp/floatunsitf.c: Likewise.
11170 * soft-fp/floatuntidf.c: Likewise.
11171 * soft-fp/floatuntisf.c: Likewise.
11172 * soft-fp/floatuntitf.c: Likewise.
11173 * soft-fp/fmadf4.c: Likewise.
11174 * soft-fp/fmasf4.c: Likewise.
11175 * soft-fp/fmatf4.c: Likewise.
11176 * soft-fp/gedf2.c: Likewise.
11177 * soft-fp/gesf2.c: Likewise.
11178 * soft-fp/getf2.c: Likewise.
11179 * soft-fp/ledf2.c: Likewise.
11180 * soft-fp/lesf2.c: Likewise.
11181 * soft-fp/letf2.c: Likewise.
11182 * soft-fp/muldf3.c: Likewise.
11183 * soft-fp/mulsf3.c: Likewise.
11184 * soft-fp/multf3.c: Likewise.
11185 * soft-fp/negdf2.c: Likewise.
11186 * soft-fp/negsf2.c: Likewise.
11187 * soft-fp/negtf2.c: Likewise.
11188 * soft-fp/op-1.h: Likewise.
11189 * soft-fp/op-2.h: Likewise.
11190 * soft-fp/op-4.h: Likewise.
11191 * soft-fp/op-8.h: Likewise.
11192 * soft-fp/op-common.h: Likewise.
11193 * soft-fp/quad.h: Likewise.
11194 * soft-fp/single.h: Likewise.
11195 * soft-fp/soft-fp.h: Likewise.
11196 * soft-fp/sqrtdf2.c: Likewise.
11197 * soft-fp/sqrtsf2.c: Likewise.
11198 * soft-fp/sqrttf2.c: Likewise.
11199 * soft-fp/subdf3.c: Likewise.
11200 * soft-fp/subsf3.c: Likewise.
11201 * soft-fp/subtf3.c: Likewise.
11202 * soft-fp/truncdfsf2.c: Likewise.
11203 * soft-fp/trunctfdf2.c: Likewise.
11204 * soft-fp/trunctfsf2.c: Likewise.
11205 * soft-fp/trunctfxf2.c: Likewise.
11206 * soft-fp/unorddf2.c: Likewise.
11207 * soft-fp/unordsf2.c: Likewise.
11208 * soft-fp/unordtf2.c: Likewise.
11209
9ebb0332
JM
112102013-10-15 Joseph Myers <joseph@codesourcery.com>
11211
11212 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11213 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11214
4b1a6d8b
OB
112152013-10-15 Ondřej Bílka <neleai@seznam.cz>
11216
11217 * elf/dl-libc.c: Clear initfini list after freeing.
11218
1e145589
JM
112192013-10-14 Joseph Myers <joseph@codesourcery.com>
11220
11221 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11222 * soft-fp/addsf3.c: Likewise.
11223 * soft-fp/addtf3.c: Likewise.
11224 * soft-fp/divdf3.c: Likewise.
11225 * soft-fp/divsf3.c: Likewise.
11226 * soft-fp/divtf3.c: Likewise.
11227 * soft-fp/double.h: Likewise.
11228 * soft-fp/eqdf2.c: Likewise.
11229 * soft-fp/eqsf2.c: Likewise.
11230 * soft-fp/eqtf2.c: Likewise.
11231 * soft-fp/extenddftf2.c: Likewise.
11232 * soft-fp/extended.h: Likewise.
11233 * soft-fp/extendsfdf2.c: Likewise.
11234 * soft-fp/extendsftf2.c: Likewise.
11235 * soft-fp/extendxftf2.c: Likewise.
11236 * soft-fp/fixdfdi.c: Likewise.
11237 * soft-fp/fixdfsi.c: Likewise.
11238 * soft-fp/fixdfti.c: Likewise.
11239 * soft-fp/fixsfdi.c: Likewise.
11240 * soft-fp/fixsfsi.c: Likewise.
11241 * soft-fp/fixsfti.c: Likewise.
11242 * soft-fp/fixtfdi.c: Likewise.
11243 * soft-fp/fixtfsi.c: Likewise.
11244 * soft-fp/fixtfti.c: Likewise.
11245 * soft-fp/fixunsdfdi.c: Likewise.
11246 * soft-fp/fixunsdfsi.c: Likewise.
11247 * soft-fp/fixunsdfti.c: Likewise.
11248 * soft-fp/fixunssfdi.c: Likewise.
11249 * soft-fp/fixunssfsi.c: Likewise.
11250 * soft-fp/fixunssfti.c: Likewise.
11251 * soft-fp/fixunstfdi.c: Likewise.
11252 * soft-fp/fixunstfsi.c: Likewise.
11253 * soft-fp/fixunstfti.c: Likewise.
11254 * soft-fp/floatdidf.c: Likewise.
11255 * soft-fp/floatdisf.c: Likewise.
11256 * soft-fp/floatditf.c: Likewise.
11257 * soft-fp/floatsidf.c: Likewise.
11258 * soft-fp/floatsisf.c: Likewise.
11259 * soft-fp/floatsitf.c: Likewise.
11260 * soft-fp/floattidf.c: Likewise.
11261 * soft-fp/floattisf.c: Likewise.
11262 * soft-fp/floattitf.c: Likewise.
11263 * soft-fp/floatundidf.c: Likewise.
11264 * soft-fp/floatundisf.c: Likewise.
11265 * soft-fp/floatunsidf.c: Likewise.
11266 * soft-fp/floatunsisf.c: Likewise.
11267 * soft-fp/floatuntidf.c: Likewise.
11268 * soft-fp/floatuntisf.c: Likewise.
11269 * soft-fp/floatuntitf.c: Likewise.
11270 * soft-fp/fmadf4.c: Likewise.
11271 * soft-fp/fmasf4.c: Likewise.
11272 * soft-fp/fmatf4.c: Likewise.
11273 * soft-fp/gedf2.c: Likewise.
11274 * soft-fp/gesf2.c: Likewise.
11275 * soft-fp/getf2.c: Likewise.
11276 * soft-fp/ledf2.c: Likewise.
11277 * soft-fp/lesf2.c: Likewise.
11278 * soft-fp/letf2.c: Likewise.
11279 * soft-fp/muldf3.c: Likewise.
11280 * soft-fp/mulsf3.c: Likewise.
11281 * soft-fp/multf3.c: Likewise.
11282 * soft-fp/negdf2.c: Likewise.
11283 * soft-fp/negsf2.c: Likewise.
11284 * soft-fp/negtf2.c: Likewise.
11285 * soft-fp/op-1.h: Likewise.
11286 * soft-fp/op-2.h: Likewise.
11287 * soft-fp/op-4.h: Likewise.
11288 * soft-fp/op-8.h: Likewise.
11289 * soft-fp/op-common.h: Likewise.
11290 * soft-fp/quad.h: Likewise.
11291 * soft-fp/single.h: Likewise.
11292 * soft-fp/soft-fp.h: Likewise.
11293 * soft-fp/sqrtdf2.c: Likewise.
11294 * soft-fp/sqrtsf2.c: Likewise.
11295 * soft-fp/sqrttf2.c: Likewise.
11296 * soft-fp/subdf3.c: Likewise.
11297 * soft-fp/subsf3.c: Likewise.
11298 * soft-fp/subtf3.c: Likewise.
11299 * soft-fp/truncdfsf2.c: Likewise.
11300 * soft-fp/trunctfdf2.c: Likewise.
11301 * soft-fp/trunctfsf2.c: Likewise.
11302 * soft-fp/trunctfxf2.c: Likewise.
11303 * soft-fp/unorddf2.c: Likewise.
11304 * soft-fp/unordsf2.c: Likewise.
11305 * soft-fp/unordtf2.c: Likewise.
11306
17c48a60
OB
113072013-10-14 Ondřej Bílka <neleai@seznam.cz>
11308
11309 [BZ #15672]
11310 * misc/error.c (error_tail): Fix possible buffer overflow.
11311
cabba934
OB
113122013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11313
11314 [BZ #13028]
11315 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11316 address.
11317
94bf958a
PM
113182013-10-14 P. J. McDermott <pj@pehjota.net>
11319
11320 [BZ #832]
11321 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11322 testing pipefail option.
11323
71b4dea7
JM
113242013-10-12 Joseph Myers <joseph@codesourcery.com>
11325
11326 * soft-fp/double.h: Indent preprocessor directives inside #if.
11327 * soft-fp/extended.h: Likewise.
11328 * soft-fp/op-2.h: Likewise.
11329 * soft-fp/op-4.h: Likewise.
11330 * soft-fp/op-common.h: Likewise.
11331 * soft-fp/quad.h: Likewise.
11332 * soft-fp/single.h: Likewise.
11333 * soft-fp/soft-fp.h: Likewise.
11334
55602758
YC
113352013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11336
11337 * iconv/iconv_prog.c: Fix typos.
11338 * stdio-common/psiginfo-data.h: Likewise.
11339
9cd83302
RT
113402013-10-12 Reuben Thomas <rrt@sc3d.org>
11341
11342 [BZ #15764]
11343 * locale/setlocale.c: Fix typo.
11344
99fd9f47
JM
113452013-10-12 Joseph Myers <joseph@codesourcery.com>
11346
b7ea74f0
JM
11347 [BZ #16036]
11348 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11349 signaling NaN arguments.
11350 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11351 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11352
8a509447
JM
11353 [BZ #14910]
11354 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11355 unordered operands.
11356 * soft-fp/gesf2.c (__gesf2): Likewise.
11357 * soft-fp/getf2.c (__getf2): Likewise.
11358 * soft-fp/ledf2.c (__ledf2): Likewise.
11359 * soft-fp/lesf2.c (__lesf2): Likewise.
11360 * soft-fp/letf2.c (__letf2): Likewise.
11361
98998e9f
JM
11362 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11363 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11364 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11365 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11366 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11367 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11368 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11369 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11370 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11371 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11372 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11373 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11374 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11375 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11376 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11377 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11378 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11379 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11380 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11381 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11382 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11383 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11384 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11385 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11386 * soft-fp/floattidf.c (__floattidf): Likewise.
11387 * soft-fp/floattisf.c (__floattisf): Likewise.
11388 * soft-fp/floattitf.c (__floattitf): Likewise.
11389 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11390 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11391 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11392 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11393 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11394 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11395 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11396 * soft-fp/gesf2.c (__gesf2): Likewise.
11397 * soft-fp/getf2.c (__getf2): Likewise.
11398 * soft-fp/ledf2.c (__ledf2): Likewise.
11399 * soft-fp/lesf2.c (__lesf2): Likewise.
11400 * soft-fp/letf2.c (__letf2): Likewise.
11401
8edc4a11
JM
11402 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11403 Undefine and redefine.
11404 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11405 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11406 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11407 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11408 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11409 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11410 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11411 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11412 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11413 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11414 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11415 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11416 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11417 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11418 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11419
8399acaf
JM
11420 [BZ #16032]
11421 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11422 without decrementing exponent if mantissa >= that for the
11423 denominator, not >.
11424 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11425 denominator, not >. Decrement exponent in < case instead of
11426 incrementing in >= case.
11427 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11428 without decrementing exponent if mantissa >= that for the
11429 denominator, not >.
11430
99fd9f47
JM
11431 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11432 computing saturated result for unsigned overflow.
11433
10e1cf6b
SP
114342013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11435 Jeff Law <law@redhat.com>
11436
11437 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11438 (atan2Mp): Add systemtap probe marker.
11439 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11440 (__ieee754_log): Add systemtap probe marker.
11441 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11442 (atanMp): Add systemtap probe marker.
11443 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11444 (tanMp): Add systemtap probe marker.
11445 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11446 (__slowexp): Add systemtap probe marker.
11447 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11448 (__slowpow): Add systemtap probe marker.
11449 * manual/probes.texi: Document probes.
11450
3d110c7c
EB
114512013-10-11 Eric Biggers <ebiggers3@gmail.com>
11452
11453 [BZ #15362]
11454 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11455 written.
11456 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11457 written.
11458 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11459 written to buffer but not flushed.
11460 * libio/iofwrite_u.c: Likewise.
11461 * libio/iopadn.c: Return bytes returned even if EOF was
11462 encountered.
11463 * libio/iowpadn.c: Likewise.
11464 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11465 if _IO_padn does not write the whole buffer.
11466 [!COMPILE_WPRINTF] (PAD): Likewise.
11467
75b4202a
DM
114682013-10-10 David S. Miller <davem@davemloft.net>
11469
11470 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11471 directory block.
11472
6c6352e6
JM
114732013-10-10 Joseph Myers <joseph@codesourcery.com>
11474
33b853c3
JM
11475 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11476 instead of FSF address.
11477 * soft-fp/fixdfti.c: Likewise.
11478 * soft-fp/fixsfti.c: Likewise.
11479 * soft-fp/fixtfti.c: Likewise.
11480 * soft-fp/fixunsdfti.c: Likewise.
11481 * soft-fp/fixunssfti.c: Likewise.
11482 * soft-fp/fixunstfti.c: Likewise.
11483 * soft-fp/floattidf.c: Likewise.
11484 * soft-fp/floattisf.c: Likewise.
11485 * soft-fp/floattitf.c: Likewise.
11486 * soft-fp/floatuntidf.c: Likewise.
11487 * soft-fp/floatuntisf.c: Likewise.
11488 * soft-fp/floatuntitf.c: Likewise.
11489 * soft-fp/trunctfxf2.c: Likewise.
11490
6c6352e6
JM
11491 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11492 * soft-fp/fixdfti.c: Likewise.
11493 * soft-fp/fixsfti.c: Likewise.
11494 * soft-fp/fixtfti.c: Likewise.
11495 * soft-fp/fixunsdfti.c: Likewise.
11496 * soft-fp/fixunssfti.c: Likewise.
11497 * soft-fp/fixunstfti.c: Likewise.
11498 * soft-fp/floattidf.c: Likewise.
11499 * soft-fp/floattisf.c: Likewise.
11500 * soft-fp/floattitf.c: Likewise.
11501 * soft-fp/floatuntidf.c: Likewise.
11502 * soft-fp/floatuntisf.c: Likewise.
11503 * soft-fp/floatuntitf.c: Likewise.
11504 * soft-fp/trunctfxf2.c: Likewise.
11505
3bf78b71
DM
115062013-10-10 David S. Miller <davem@davemloft.net>
11507
11508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11509
6f10289e
JM
115102013-10-10 Joseph Myers <joseph@codsourcery.com>
11511
bd878fc0
JM
11512 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11513 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11514 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11515 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11516 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11517 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11518 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11519
6f10289e
JM
11520 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11521 for NaNs before doing comparisons on argument.
11522 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11523 Likewise.
11524
321e2684
WN
115252013-10-10 Will Newton <will.newton@linaro.org>
11526
11527 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11528 passed to _int_memalign does not overflow.
11529
40fefba1
TR
115302013-10-10 Torvald Riegel <triegel@redhat.com>
11531
11532 * scripts/bench.pl: Add include-sources directive.
11533 * benchtests/README: Update documentation.
11534
2ae21ed2
JM
115352013-10-10 Joseph Myers <joseph@codesourcery.com>
11536
dcc2dd3f
JM
11537 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11538 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11539 instead of FP_INIT_ROUNDMODE.
11540 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11541 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11542
2ae21ed2
JM
11543 [BZ #16034]
11544 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11545 copy class of input value.
11546 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11547 not handle exceptions.
11548 * soft-fp/negsf2.c (__negsf2): Likewise.
11549 * soft-fp/negtf2.c (__negtf2): Likewise.
11550 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11551
cb8f9562
JM
115522013-10-09 Joseph Myers <joseph@codesourcery.com>
11553
11554 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11555 semicolon. From Linux kernel.
11556
5b60c59d
AB
115572013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11558
11559 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11560
b86835ca
YC
115612013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11562
11563 [BZ #156]
11564 * manual/socket.texi: Added statement about buffer
11565 for gethostbyname2_r.
11566
e7044ea7
OB
115672013-10-08 Ondřej Bílka <neleai@seznam.cz>
11568
11569 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11570 Use .p2align directive instead, throughout.
11571 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11572 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11573 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11575 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11576 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11577 * sysdeps/x86_64/strchr.S: Likewise.
11578 * sysdeps/x86_64/strrchr.S: Likewise.
11579
09544cbc
SP
115802013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11581
88576635
SP
11582 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11583
e7b2d1dd
SP
11584 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11585
09544cbc
SP
11586 * sysdeps/generic/math_private.h (__mpsin1): Remove
11587 declaration.
11588 (__mpcos1): Likewise.
11589 (__mpsin): New argument __range_reduce.
11590 (__mpcos): Likewise.
11591 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11592 (slow): Use __mpsin and __mpcos.
11593 (slow1): Likewise.
11594 (slow2): Likewise.
11595 (sloww): Likewise.
11596 (sloww1): Likewise.
11597 (sloww2): Likewise.
11598 (bsloww): Likewise.
11599 (bsloww1): Likewise.
11600 (bsloww2): Likewise.
11601 (cslow2): Likewise.
11602 (csloww): Likewise.
11603 (csloww1): Likewise.
11604 (csloww2): Likewise.
11605 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11606 range_reduce. Merge in __mpsin1.
11607 (__mpcos): Likewise.
11608 (__mpsin1): Remove.
11609 (__mpcos1): Likewise.
11610
7602d070
JM
116112013-10-07 Joseph Myers <joseph@codesourcery.com>
11612
11613 * locale/loadlocale.c (_nl_intern_locale_data): Use
11614 LOCFILE_ALIGNED_P.
11615 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11616 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11617 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11618 obstack data is appropriately aligned.
11619 (obstack_int32_grow_fast): Likewise.
11620 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11621 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11622 (add_locale_uint32_array): Likewise.
11623
a357259b
SP
116242013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11625
11626 * benchtests/Makefile: Remove ARGLIST and RET variables.
11627 ($(objpfx)bench-%.c): Pass only function name to the script.
11628 * benchtests/README: Update documentation.
11629 * benchtests/acos-inputs: Add new directives.
11630 * benchtests/acosh-inputs: Likewise.
11631 * benchtests/asin-inputs: Likewise.
11632 * benchtests/asinh-inputs: Likewise.
11633 * benchtests/atan-inputs: Likewise.
11634 * benchtests/atanh-inputs: Likewise.
11635 * benchtests/cos-inputs: Likewise.
11636 * benchtests/cosh-inputs: Likewise.
11637 * benchtests/exp-inputs: Likewise.
11638 * benchtests/log-inputs: Likewise.
11639 * benchtests/pow-inputs: Likewise.
11640 * benchtests/rint-inputs: Likewise.
11641 * benchtests/sin-inputs: Likewise.
11642 * benchtests/sinh-inputs: Likewise.
11643 * benchtests/tan-inputs: Likewise.
11644 * benchtests/tanh-inputs: Likewise.
11645 * scripts/bench.pl: Add support for new directives.
11646
9ec1b13d
AM
116472013-10-07 Alan Modra <amodra@gmail.com>
11648
11649 * README: Fix careless merge.
11650
8b7d57cd
AM
116512013-10-05 Alan Modra <amodra@gmail.com>
11652
11653 * NEWS: Mention powerpc64le support and bugs fixed.
11654 * README: Both big-endian and little-endian powerpc64 supported.
11655
7b7bab13
ST
116562013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11657
57f41c40
AS
11658 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11659 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11660 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11661 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11662
d39baad1
RA
116632013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11664
11665 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11666 match prototype.
11667
cd78f7e7
JM
116682013-10-04 Joseph Myers <joseph@codesourcery.com>
11669
29d73d86
JM
11670 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11671 Move -mhard-float appending from
11672 ports/sysdeps/powerpc/powerpc32/Makefile.
11673 [$(with-fp) = yes] (ASFLAGS): Likewise.
11674 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11675 * sysdeps/powerpc/nofpu: Move directory from
11676 ports/sysdeps/powerpc/nofpu.
11677 * sysdeps/powerpc/soft-fp: Move directory from
11678 ports/sysdeps/powerpc/soft-fp.
11679 * sysdeps/powerpc/powerpc32/405: Move directory from
11680 ports/sysdeps/powerpc/powerpc32/405.
11681 * sysdeps/powerpc/powerpc32/440: Move directory from
11682 ports/sysdeps/powerpc/powerpc32/440.
11683 * sysdeps/powerpc/powerpc32/464: Move directory from
11684 ports/sysdeps/powerpc/powerpc32/464.
11685 * sysdeps/powerpc/powerpc32/476: Move directory from
11686 ports/sysdeps/powerpc/powerpc32/476.
11687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11688 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11690 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11692 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11694 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11696 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11697 * README: Update for powerpc-*-linux-gnu software floating point
11698 support in libc.
11699
e246b347
JM
11700 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11701 case to powerpc/powerpc32*.
11702 * sysdeps/unix/sysv/linux/configure: Regenerated.
11703
89c2003e
JM
11704 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11705 (_FPU_MASK_OM): Define as 0x04.
11706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11708 0x00c10080.
11709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11710 0x0000003c.
11711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11712
cd78f7e7
JM
11713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11714 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11715 getcontext_e500.
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11717 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11718 setcontext_e500.
11719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11720 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11721 and setcontext_e500.
11722
c755294d
CL
117232013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11724
11725 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11726
e16d221c
SP
117272013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11728
11729 * manual/threads.texi (Default Thread Attributes): Fix typo.
11730
215c7d43
WN
117312013-10-04 Will Newton <will.newton@linaro.org>
11732
11733 * malloc/Makefile: Add tst-memalign.
11734 * malloc/tst-memalign.c: New file.
11735
27d0461b
WN
11736 * malloc/tst-posix_memalign.c: Add comments.
11737 (do_test): Add comments and call free on all potentially
11738 allocated pointers. Add space after cast.
11739
1bc92709
WN
11740 * malloc/tst-pvalloc.c: Add comments.
11741 (do_test): Add comments and call free on all potentially
11742 allocated pointers. Remove duplicate check for NULL pointer.
11743 Add space after cast.
11744
66a9be9d
WN
11745 * malloc/tst-valloc.c: Add comments.
11746 (do_test): Add comments and call free on all potentially
11747 allocated pointers. Remove duplicate check for NULL pointer.
11748 Add space after cast.
11749
4cb81307
AM
117502013-10-04 Alan Modra <amodra@gmail.com>
11751
11752 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11753 Use stdint types in rather than __attribute__((mode())).
11754 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11755
f8e3e9f3
AM
117562013-10-04 Alan Modra <amodra@gmail.com>
11757
11758 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11759 Correct handling of unaligned relocs for little-endian.
11760 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11761
8f9ebb08
AM
117622013-10-04 Alan Modra <amodra@gmail.com>
11763
11764 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11765 * configure: Regenerate.
11766 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11767 * shlib-versions: Likewise.
11768
0edf96c2
AM
117692013-10-04 Alan Modra <amodra@gmail.com>
11770
11771 * string/tester.c (test_memrchr): Increment reported test cycle.
11772
e0f7a380
AM
117732013-10-04 Alan Modra <amodra@gmail.com>
11774
11775 * string/test-memcpy.c (do_one_test): When reporting errors, print
11776 string address and don't overrun end of string.
11777
466b0393
AM
117782013-10-04 Alan Modra <amodra@gmail.com>
11779
11780 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11781 insrdi. Make better use of reg selection to speed exit slightly.
11782 Schedule entry path a little better. Remove useless "are we done"
11783 checks on entry to main loop. Handle wrapping around zero address.
11784 Correct main loop count. Handle single left-over word from main
11785 loop inline rather than by using loop_small. Remove extra word
11786 case in loop_small caused by wrong loop count. Add little-endian
11787 support.
11788 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11789 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11790 cache hint.
11791 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11792 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11793 support. Avoid rlwimi.
11794 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11795
3be87c77
AM
117962013-10-04 Alan Modra <amodra@gmail.com>
11797
11798 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11799 insrdi. Formatting.
3be87c77
AM
11800 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11801 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11802 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11803 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11804 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11805 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11806
759cfef3
AM
118072013-10-04 Alan Modra <amodra@gmail.com>
11808
11809 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11810 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11811 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11812 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11813 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11814 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11815 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11816 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11817 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11818 use of regs. Use power7 mtocrf. Tidy function tails.
11819
fe6e95d7
AM
118202013-10-04 Alan Modra <amodra@gmail.com>
11821
11822 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11823 Formatting. Consistently use rXXX register defines or rN defines.
11824 Use early exit labels that avoid restoring unused non-volatile regs.
11825 Make cr field use more consistent with rWORDn compares. Rename
11826 regs used as shift registers for unaligned loop, using rN defines
11827 for short lifetime/multiple use regs.
11828 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11829 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11830 addi 1,1,64 to pop stack frame. Simplify return value code.
11831 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11832
664318c3
AM
118332013-10-04 Alan Modra <amodra@gmail.com>
11834
11835 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11836 support. Correct typos, formatting. Optimize tail. Use insrdi
11837 rather than rlwimi.
11838 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11839 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11840 little-endian support. Correct typos.
11841 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11842 rather than rlwimi.
11843 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11844 in loop and entry code to keep "and." results.
11845 (strchr): Add little-endian support. Comment. Move cntlzd
11846 earlier in tail.
11847 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11848
43b84013
AM
118492013-10-04 Alan Modra <amodra@gmail.com>
11850
11851 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11852 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11853 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11854 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11855
8a7413f9
AM
118562013-10-04 Alan Modra <amodra@gmail.com>
11857
11858 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11859 (rTMP): Define as r11.
11860 (strcmp): Add little-endian support. Optimise tail.
11861 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11862 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11863 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11864 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11865 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11866 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11868
33ee81de
AM
118692013-10-04 Alan Modra <amodra@gmail.com>
11870
11871 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11872 little-endian support. Remove unnecessary "are we done" tests.
11873 Handle "s" wrapping around zero and extremely large "size".
11874 Correct main loop count. Handle single left-over word from main
11875 loop inline rather than by using small_loop. Correct comments.
11876 Delete "zero" tail, use "end_max" instead.
11877 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11878
db9b4570
AM
118792013-10-04 Alan Modra <amodra@gmail.com>
11880
11881 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11882 support. Don't branch over align.
11883 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11884 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11885 support. Rearrange tmp reg use to suit. Comment.
11886 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11887
f7c399cf
AM
118882013-10-04 Alan Modra <amodra@gmail.com>
11889
11890 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11891
0b2c2ace
AM
118922013-10-04 Alan Modra <amodra@gmail.com>
11893
11894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11895 conditional form of branch and link when obtaining pc.
11896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11897
02f04a6c
AM
118982013-10-04 Alan Modra <amodra@gmail.com>
11899
11900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11901 HIWORD/LOWORD.
11902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11904
9b874b2f
AM
119052013-10-04 Alan Modra <amodra@gmail.com>
11906
11907 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11908 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11909 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11910 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11911 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11912 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11913 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11914 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11915 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11916 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11917
be1e5d31
AB
119182013-10-04 Anton Blanchard <anton@au1.ibm.com>
11919 Alistair Popple <alistair@ozlabs.au.ibm.com>
11920 Alan Modra <amodra@gmail.com>
11921
11922 [BZ #15723]
11923 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11924 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11925 _dl_hwcap access for little-endian.
11926 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11927 destroy vmx regs when saving unaligned.
11928 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11929 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11930 destroy vmx regs when saving unaligned.
11931
fef13a78
AM
119322013-10-04 Alan Modra <amodra@gmail.com>
11933
11934 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11935 Don't use a union to pack hi/low value.
11936
76a66d51
AB
119372013-10-04 Anton Blanchard <anton@au1.ibm.com>
11938
11939 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11940 for little-endian.
11941 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11942 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11943 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11944 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11945 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11946
6a31fe7f
AM
119472013-10-04 Alan Modra <amodra@gmail.com>
11948
11949 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11950 constants to usual value for .cst8 section, and remove redundant
11951 high address load.
11952 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11953 constant for 0x1p52. Load little-endian words of double from
11954 correct stack offsets.
11955
7b88401f
AM
119562013-10-04 Alan Modra <amodra@gmail.com>
11957
11958 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11959 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11960 words of double from correct stack offsets.
11961 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11962 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11963 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11964 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11965 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11966 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11967 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11968 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11969 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11970 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11971 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11972 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11973 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11974 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11975 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11976 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11977 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11978
9c008155
AM
119792013-10-04 Alan Modra <amodra@gmail.com>
11980
11981 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11982 64-bit int/double union.
11983 (_FPU_SETCW): Likewise.
11984 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11985 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11986
da13146d
AM
119872013-10-04 Alan Modra <amodra@gmail.com>
11988
11989 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11990 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11991
603e8410
AM
119922013-10-04 Alan Modra <amodra@gmail.com>
11993
11994 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11995 use vector int constants.
11996 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11997
4a28b3ca
AB
119982013-10-04 Anton Blanchard <anton@au1.ibm.com>
11999
12000 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12001 array with long long.
12002 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12003 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12004 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12005 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12006 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12007 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12008 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12009 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12010 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12011 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12012 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12013 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12014 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12015
2ca85d2b
AB
120162013-10-04 Anton Blanchard <anton@au1.ibm.com>
12017
12018 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12019 (__signbit): Likewise. Correct for little-endian.
12020 (__signbitl): Call __signbit.
12021 (lrint): Correct for little-endian.
12022 (lrintf): Call lrint.
12023
62a728ae
AM
120242013-10-04 Alan Modra <amodra@gmail.com>
12025
12026 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12027 union 32-bit int array member with 64-bit int array.
12028 (t515, tm256): Double rather than long double.
12029 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12030
32c301df
AM
120312013-10-04 Alan Modra <amodra@gmail.com>
12032
12033 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12034 Delete.
12035 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12036 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12037 version of math_ldbl.h.
12038
650ef4bd
AM
120392013-10-04 Alan Modra <amodra@gmail.com>
12040
12041 [BZ #15734], [BZ #15735]
12042 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12043 all uses of ieee875 long double macros and unions. Simplify test
12044 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12045 ldbl_extract_mantissa value for ix,iy exponents. Properly
12046 normalize after ldbl_extract_mantissa, and don't add hidden bit
12047 already handled. Don't treat low word of ieee854 mantissa like
12048 low word of IBM long double and mask off bit when testing for
12049 zero.
12050 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12051 all uses of ieee875 long double macros and unions. Simplify tests
12052 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12053 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12054 two1022, instead use their values. Recognise that tests for large
12055 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12056 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12057 Rewrite all uses of ieee875 long double macros and unions. Simplify
12058 test for 0.0L and nan. Correct negation.
12059 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12060 ieee875 long double macros and unions. Correct output for large
12061 magnitude x. Correct absolute value calculation.
12062 (__erfcl): Likewise.
12063 * math/libm-test.inc: Add tests for errors discovered in IBM long
12064 double versions of fmodl, remainderl, erfl and erfcl.
12065
765714ca
AM
120662013-10-04 Alan Modra <amodra@gmail.com>
12067
12068 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12069 all uses of ieee854 long double macros and unions. Simplify tests
12070 for long doubles that are fully specified by the high double.
12071 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12072 Likewise.
12073 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12074 Remove dead code too.
12075 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12076 (__ieee754_ynl): Likewise.
12077 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12078 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12079 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12080 Remove dead code too.
12081 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12082 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12083 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12084 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12085 Simplify.
12086 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12087 Simplify.
12088 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12089 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12090 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12091 Comment on variable precision.
12092 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12093 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12094 Likewise.
12095 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12096 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12097 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12098 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12099 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12100
4ebd120c
AM
121012013-10-04 Alan Modra <amodra@gmail.com>
12102
12103 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12104 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12105 all uses of ieee854 long double macros and unions.
12106 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12107 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12108 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12109 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12110 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12111 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12112 Likewise.
12113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12114 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12115 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12116 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12117 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12118 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12119 Simplify sign and nan test too.
12120 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12121 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12122 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12123 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12124 Likewise.
12125 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12126 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12127 Likewise.
12128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12129 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12130 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12131 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12132 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12133 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12134
1b6adf88
AM
121352013-10-04 Alan Modra <amodra@gmail.com>
12136
12137 * stdio-common/printf_size.c (__printf_size): Don't use
12138 union ieee854_long_double in fpnum union.
12139 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12140 signbit macro to retrieve sign from long double.
12141 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12142 retrieve sign from long double.
12143 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12144 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12145 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12146 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12147 * math/test-misc.c (main): Don't use union ieee854_long_double.
12148
4cf69995
AM
121492013-10-04 Alan Modra <amodra@gmail.com>
12150
12151 [BZ #15680]
12152 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12153 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12154 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12155 calculation. Remove unnecessary test for denormal exponent.
12156 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12157 Correct handling of denormals. Avoid undefined shift behaviour.
12158 Correct normalisation of low mantissa when low double is denormal.
12159 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12160 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12161 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12162 Correct normalisation of low mantissa. Test for overflow of high
12163 mantissa and normalise.
12164 (ldbl_nearbyint): Use more readable constant for two52.
12165 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12166 (__mpn_construct_long_double): Fix test for overflow of high
12167 mantissa and correct normalisation. Avoid undefined shift.
12168
9605ca6c
AM
121692013-10-04 Alan Modra <amodra@gmail.com>
12170
12171 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12172 (union ibm_extended_long_double): Define as an array of ieee754_double.
12173 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12174 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12175 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12176 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12177 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12178 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12179 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12180 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12181 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12182 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12183 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12184
975569d0
JM
121852013-10-03 Joseph Myers <joseph@codesourcery.com>
12186
d3d23756
JM
12187 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12188 page size instead of calling getpagesize.
12189
975569d0
JM
12190 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12191 (LOCFILE_ALIGN_MASK): Likewise.
12192 (LOCFILE_ALIGN_UP): Likewise.
12193 (LOCFILE_ALIGNED_P): Likewise.
12194 * locale/programs/ld-collate.c (collate_output): Use the new
12195 macros instead of __alignof__ (int32_t).
12196 * locale/weight.h (findidx): Likewise.
12197
b1fe1f2b
OB
121982013-10-03 Ondřej Bílka <neleai@seznam.cz>
12199
12200 [BZ #431]
12201 * manual/string.texi: Fix strncat and wcsncat.
12202
5f855e35
BM
122032013-10-03 Brooks Moses <bmoses@google.com>
12204
12205 [BZ #15915]
12206 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12207 * Makerules: ...here, and adjust associated comments.
12208
3cef6009
WN
122092013-10-02 Will Newton <will.newton@linaro.org>
12210
12211 * malloc/Makefile: Add tst-pvalloc.
12212 * malloc/tst-pvalloc.c: New file.
12213
7815420b
WN
122142013-10-02 Will Newton <will.newton@linaro.org>
12215
12216 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12217 improve test coverage.
12218
4868b204
WN
122192013-10-02 Will Newton <will.newton@linaro.org>
12220
12221 * malloc/Makefile: Add tst-posix_memalign.
12222 * malloc/tst-posix_memalign.c: New file.
12223
29c793b3
EB
122242013-10-01 Eric Blake <eblake@redhat.com>
12225
12226 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12227 Use __THROWNL rather than __THROW on static functions.
12228
fd967522
PM
122292013-09-30 Petr Machata <pmachata@redhat.com>
12230
12231 * elf/elf.h (R_AARCH64_ABS16): New macro.
12232 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12233 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12234 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12235 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12236 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12237 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12238 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12239 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12240 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12241 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12242 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12243 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12244 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12245 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12246 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12247 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12248 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12249 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12250 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12251 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12252 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12253 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12254 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12255 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12256 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12257 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12258 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12259 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12260 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12261 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12262 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12263 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12264 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12265 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12266 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12267 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12268 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12269 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12270 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12271 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12272 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12273 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12274 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12275 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12276 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12277 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12278 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12279 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12280 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12281 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12282 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12283 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12284 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12285 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12286 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12287 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12288 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12289 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12290 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12291 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12292 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12293 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12294 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12295 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12296 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12297 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12298 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12299 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12300 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12301 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12302 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12303 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12304 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12305 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12306 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12307 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12308 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12309 (R_AARCH64_TLSDESC_LDR): Likewise.
12310 (R_AARCH64_TLSDESC_ADD): Likewise.
12311 (R_AARCH64_TLSDESC_CALL): Likewise.
12312
b2179107
AS
123132013-09-30 Andreas Schwab <schwab@suse.de>
12314
12315 [BZ #15048]
12316 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12317 the nss database lookup.
12318 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12320
47f28d0a
MF
123212013-09-28 Mike Frysinger <vapier@gentoo.org>
12322
12323 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12324
123252013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12326
12327 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12328 ${Bash-specific parameter/pattern/string} parameter expansion.
12329 * sysdeps/unix/make-syscalls.sh: Likewise.
12330
f4518a17
KK
123312013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12332
12333 * sysdeps/sh/stackguard-macros.h: New file.
12334
dc1a95c7
OB
123352013-09-26 Ondřej Bílka <neleai@seznam.cz>
12336
12337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12339 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12340 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12341 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12342 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12343
5ebbff8f
AZ
123442013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12345
12346 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12347 Fix thread ID register.
12348
4fd2cf9f
JM
123492013-09-25 Joseph Myers <joseph@codesourcery.com>
12350
12351 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12352 [POSIX || UNIX98]: Require rather than permitting all symbols from
12353 <time.h>.
12354 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12355 element of struct sched_param.
12356 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12357 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12358 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12359 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12360 constant.
12361
12c22bc4
OL
123622013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12363
12364 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12365 argument calculation.
12366
a03d8ea7
JM
123672013-09-24 Joseph Myers <joseph@codesourcery.com>
12368
12369 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12370 Expect macro.
12371 [POSIX] (pthread_attr_t): Do not require type.
12372 [POSIX] (pthread_cond_t): Likewise.
12373 [POSIX] (pthread_condattr_t): Likewise.
12374 [POSIX] (pthread_key_t): Likewise.
12375 [POSIX] (pthread_mutex_t): Likewise.
12376 [POSIX] (pthread_mutexattr_t): Likewise.
12377 [POSIX] (pthread_once_t): Likewise.
12378 [POSIX] (pthread_t): Likewise.
12379 [POSIX-based standards] (pthread_atfork): Expect function.
12380
6055173a
JM
123812013-09-24 Joseph Myers <joseph@codesourcery.com>
12382 Richard Sandiford <richard@codesourcery.com>
12383
12384 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12385 (swap_endianness_p): New extern variable.
12386 (set_big_endian): New inline function.
12387 (maybe_swap_uint32): Likewise.
12388 (maybe_swap_uint32_array): Likewise.
12389 (maybe_swap_uint32_obstack): Likewise.
12390 * locale/programs/locfile.c: Include <stdbool.h>.
12391 (swap_endianness_p): New variable.
12392 (add_locale_uint32): Call maybe_swap_uint32.
12393 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12394 (write_locale_data): Call maybe_swap_uint32_array.
12395 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12396 maybe_swap_uint32.
12397 (obstack_int32_grow_fast): Likewise.
12398 (output_weightwc): Call maybe_swap_uint32_obstack.
12399 (collate_output): Likewise.
12400 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12401 (OPT_LITTLE_ENDIAN): Likewise.
12402 (options): Add --little-endian and --big-endian options.
12403 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12404 * locale/programs/locarchive.c: Include "locfile.h".
12405 (GET): New macro.
12406 (SET): Likewise.
12407 (INC): Likewise.
12408 (create_archive): Use the new macros to access fields of
12409 structures directly mapped from or written to locale archives.
12410 (oldlocrecentcmp): Likewise.
12411 (enlarge_archive): Likewise.
12412 (insert_name): Likewise.
12413 (add_alias): Likewise.
12414 (add_locale): Likewise.
12415 (delete_locales_from_archive): Likewise.
12416 (show_archive_content): Likewise.
12417 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12418 locale data.
12419
39bf0bb4
RM
124202013-09-24 Roland McGrath <roland@hack.frob.com>
12421
12422 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12423 http://www.gnu.org/doc/freemanuals.texi.
12424 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12425
f02eed10
WN
124262013-09-24 Will Newton <will.newton@linaro.org>
12427
12428 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12429 macro.
12430
a3a6c312
JM
124312013-09-23 Joseph Myers <joseph@codesourcery.com>
12432
12433 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12434 unsigned char.
12435
107375ac
MR
124362013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12437
12438 * manual/threads.texi (POSIX Threads): Fix a typo.
12439
141f3a77
SP
124402013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12441
303e567a
SP
12442 [BZ #14547]
12443 * string/tst-strcoll-overflow.c: New test case.
12444 * string/Makefile (xtests): Add tst-strcoll-overflow.
12445 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12446 cache if string sizes may cause integer overflow.
12447
141f3a77
SP
12448 [BZ #14547]
12449 * string/strcoll_l.c (coll_seq): New members rule, idx,
12450 save_idx and back_us.
12451 (get_next_seq_nocache): New function.
12452 (do_compare_nocache): New function.
12453 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12454 when malloc fails.
12455
c61b4d41
CD
124562013-09-23 Carlos O'Donell <carlos@redhat.com>
12457
0b1f8e35
CD
12458 [BZ #15754]
12459 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12460 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12461 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12462
c61b4d41
CD
12463 [BZ #15754]
12464 * elf/Makefile (tests): Add tst-ptrguard1.
12465 (tests-static): Add tst-ptrguard1-static.
12466 (tst-ptrguard1-ARGS): Define.
12467 (tst-ptrguard1-static-ARGS): Define.
12468 * elf/tst-ptrguard1.c: New file.
12469 * elf/tst-ptrguard1-static.c: New file.
12470 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12471 * sysdeps/i386/stackguard-macros.h: Likewise.
12472 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12473 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12474 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12475 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12476 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12477 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12478
124792013-09-23 Hector Marco <hecmargi@upv.es>
12480 Ismael Ripoll <iripoll@disca.upv.es>
12481 Carlos O'Donell <carlos@redhat.com>
12482
12483 [BZ #15754]
12484 * sysdeps/generic/stackguard-macros.h: Define
12485 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12486 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12487 Define __pointer_chk_guard_local.
12488 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12489 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12490
f5f4e7b4
VV
124912013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12492
12493 [BZ #15859]
12494 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12495
5bb43a43
AS
124962013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12497
12498 * include/string.h (__ffs): Declare as hidden.
12499 * string/ffs.c (__ffs): Define as hidden.
12500 * sysdeps/i386/ffs.c (__ffs): Likewise.
12501 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12502 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12503 * sysdeps/s390/ffs.c (__ffs): Likewise.
12504 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12505
3ea5be54
AO
125062013-09-20 Alexandre Oliva <aoliva@redhat.com>
12507
ffb89e53
AO
12508 * NEWS: Mention malloc probes.
12509
322dea08
AO
12510 * malloc/arena.c (new_heap): New memory_heap_new probe.
12511 (grow_heap): New memory_heap_more probe.
12512 (shrink_heap): New memory_heap_less probe.
12513 (heap_trim): New memory_heap_free probe.
12514 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12515 (systrim): New memory_sbrk_less probe.
12516 * manual/probes.texi: Document them.
12517
655673f3
AO
12518 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12519 * manual/probes.texi: Document it.
12520
35fed6f1
AO
12521 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12522 (__libc_realloc): Add memory_realloc_retry probe.
12523 (__libc_memalign): Add memory_memalign_retry probe.
12524 (__libc_valloc): Add memory_valloc_retry probe.
12525 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12526 (__libc_calloc): Add memory_calloc_retry probe.
12527 * manual/probes.texi: Document them.
12528
6999d38c
AO
12529 * malloc/arena.c (get_free_list): Add probe
12530 memory_arena_reuse_free_list.
12531 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12532 and memory_arena_reuse.
12533 (arena_get2) [!PER_THREAD]: Likewise.
12534 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12535 memory_arena_reuse_realloc.
12536 * manual/probes.texi: Document them.
12537
0653427f
AO
12538 * malloc/malloc.c (__libc_free): Add
12539 memory_mallopt_free_dyn_thresholds probe.
12540 (__libc_mallopt): Add multiple memory_mallopt probes.
12541 * manual/probes.texi: Document them.
12542
3ea5be54
AO
12543 * malloc/malloc.c: Include stap-probe.h.
12544 (__libc_mallopt): Add memory_mallopt probe.
12545 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12546 * manual/probes.texi: New.
12547 * manual/Makefile (chapters): Add probes.
12548 * manual/threads.texi: Set next node.
12549
e35696c3 125502013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 12551
e35696c3
CL
12552 [BZ #15963, #13985]
12553 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12554 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12555 Add `Chinese' to `nan' entry name.
12556
4aafb73c
SP
125572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12558
12559 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12560 (POLYNOMIAL): Likewise.
12561 (TAYLOR_SINCOS): Likewise.
12562 (TAYLOR_SLOW): Likewise.
12563 (__sin): Use TAYLOR_SINCOS.
12564 (__cos): Likewise.
12565 (slow): Use TAYLOR_SLOW.
12566 (sloww): Likewise.
12567 (bsloww): Likewise.
12568 (csloww): Likewise.
12569
d84f25c7
LD
125702013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12571
12572 * stdlib/strtod_l.c: Fix buffer overrun.
12573
5eea0404
SP
125742013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12575
7849ff93
SP
12576 * benchtests/Makefile (bench): Add sincos.
12577 * benchtests/bench-sincos.c: New file.
12578
cfa3c886
SP
12579 * math/libm-test.inc (cos_test_data): New test inputs.
12580 (sin_test_data): Likewise.
12581
b348e1e3
SP
12582 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12583 macro.
12584 (__sin): Use it.
12585 (__cos): Likewise.
12586 (slow1): Likewise.
12587 (slow2): Likewise.
12588 (sloww1): Likewise.
12589 (sloww2): Likewise.
12590 (bsloww1): Likewise.
12591 (bsloww2): Likewise.
12592 (cslow2): Likewise.
12593 (csloww1): Likewise.
12594 (csloww2): Likewise.
12595
6cce25f8
SP
12596 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12597 function.
12598 (__sin): Use it.
12599 (__cos): Likewise.
12600
5eea0404
SP
12601 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12602 gotos.
12603 (__cos): Likewise.
12604
9c21573c
MR
126052013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12606
12607 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12608 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12609 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12610 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12611 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12612 * elf/cache.c (print_entry): Handle the new cache flags.
12613
24d22e65
JM
126142013-09-18 Joseph Myers <joseph@codesourcery.com>
12615 Aldy Hernandez <aldyh@redhat.com>
12616
12617 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12618 Change condition to [_SOFT_FLOAT].
12619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12631 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12634 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12635 declaration.
12636
d13ef066
JM
126372013-09-18 Joseph Myers <joseph@codesourcery.com>
12638
2e071de0
JM
12639 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12640 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12641 (__longjmp): Use LOAD_GP to load saved GPRs.
12642 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12643 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12644 (__sigsetjmp): Use SAVE_GP to save GPRs.
12645
d13ef066
JM
12646 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12647 Do not append -msoft-float.
12648 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12649
97a0650b
SP
126502013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12651
12652 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12653
11ca09e9
JM
126542013-09-17 Joseph Myers <joseph@codesourcery.com>
12655
12656 [BZ #15966]
12657 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12658 (_FPU_GETCW): Use initial "__" on variable and field names but not
12659 on macro parameter name.
12660 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12661 parentheses around reference to macro parameter.
12662
08ffcf34
RS
126632013-09-13 Richard Sandiford <richard@codesourcery.com>
12664
12665 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12666 prototype.
12667 (ctype_startup): Use uint32_t in cast and sizeof for
12668 ctype->charnames.
12669
ae7080d3
JL
126702013-09-11 Jia Liu <proljc@gmail.com>
12671
12672 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12673 __daddr_t_defined.
12674 [__FreeBSD__]: Likewise.
12675
5905e7b3
OB
126762013-09-11 Ondřej Bílka <neleai@seznam.cz>
12677
12678 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12679 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12680 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12681 (strchr): Remove __strchr_sse42 ifunc selection.
12682 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12683 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12684
b987c776
WN
126852013-09-11 Will Newton <will.newton@linaro.org>
12686
12687 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12688 parameter to RES. Remove hardcoded 1000 value.
12689 * benchtests/bench-skeleton.c (main): Pass RES parameter
12690 to TIMING_INIT and multiply result by 1000.
12691
ddf985af
AZ
126922013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12693
12694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12695
ffdd3181
AS
126962013-09-11 Andreas Schwab <schwab@suse.de>
12697
12698 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12699 if not defined.
12700 (O_TMPFILE) [__USE_GNU]: Define.
12701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12702 Define.
12703
b73ed247
WN
127042013-09-11 Will Newton <will.newton@linaro.org>
12705
12706 [BZ #15857]
12707 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12708 does not overflow.
12709
55e17aad
WN
127102013-09-11 Will Newton <will.newton@linaro.org>
12711
12712 [BZ #15856]
12713 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12714 does not overflow.
12715
1159a193
WN
127162013-09-11 Will Newton <will.newton@linaro.org>
12717
12718 [BZ #15855]
12719 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12720 does not overflow.
12721
5905e7b3 127222013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12723
12724 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12725 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12729
cdfc721b
AM
127302013-09-10 Allan McRae <allan@archlinux.org>
12731
aa04af00
AM
12732 [BZ #15748]
12733 * manual/arith.texi (Parsing of Floats): Clarify
12734 cross-reference.
12735
cdfc721b
AM
12736 [BZ #15849]
12737 * manual/install.texi (Running make install): Mention
12738 --enable-pt-chown.
12739 * INSTALL: Regenerated.
12740
95e7cf29
MR
127412013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12742
12743 * csu/init-first.c (_init): Remove the !SHARED condition around
12744 FPU control word initialization.
12745 * elf/dl-support.c (_dl_fpu_control): New variable.
12746 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12747 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12748 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12749 * math/test-fpucw-static.c: New file.
12750 * math/test-fpucw-ieee.c: New file.
12751 * math/test-fpucw-ieee-static.c: New file.
12752 * math/Makefile (tests): Add `test-fpucw-ieee' and
12753 `$(tests-static)'.
12754 (tests-static): New variable.
12755 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12756 dependency to...
12757 [($(build-shared),yes)]
12758 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12759 ... this.
12760 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12761 New dependency.
12762
83e43bf0
AM
127632013-09-09 Allan McRae <allan@archlinux.org>
12764
a9f5ce09
AM
12765 [BZ #15939]
12766 * manual/string.texi (Collation Functions): Fix typo in
12767 strcoll example.
12768 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12769
34829bc2
AM
12770 [BZ #15893]
12771 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12772
3932737d
AM
12773 [BZ #15892]
12774 * libio/memstream.c (open_memstream): Fix memory leak.
12775 * libio/wmemstream.c (open_wmemstream): Likewise.
12776
83e43bf0
AM
12777 [BZ #15895]
12778 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12779
0c66b8e9
WN
127802013-09-09 Will Newton <will.newton@linaro.org>
12781
12782 * malloc/Makefile: Add tst-realloc to tests.
12783 * malloc/tst-realloc.c: New file.
12784
f6b00fd1
AM
127852013-09-09 Allan McRae <allan@archlinux.org>
12786
12787 [BZ #15844]
12788 * COPYING: Update from GNU website to fix FSF address.
12789 * COPYING.LIB: Likewise.
12790
eec55e16
DM
127912013-09-06 David S. Miller <davem@davemloft.net>
12792
12793 * po/zh_TW.po: Update Chinese (traditional) translation from
12794 translation project.
12795
1ecbb381
RS
127962013-09-06 Richard Sandiford <richard@codesourcery.com>
12797 Joseph Myers <joseph@codesourcery.com>
12798
12799 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12800 "localeinfo.h".
12801 (obstack_chunk_alloc): New macro.
12802 (obstack_chunk_free): Likewise.
12803 (record_offset): New function.
12804 (init_locale_data): Likewise.
12805 (align_locale_data): Likewise.
12806 (add_locale_empty): Likewise.
12807 (add_locale_raw_data): Likewise.
12808 (add_locale_raw_obstack): Likewise.
12809 (add_locale_string): Likewise.
12810 (add_locale_wstring): Likewise.
12811 (add_locale_uint32): Likewise.
12812 (add_locale_uint32_array): Likewise.
12813 (add_locale_char): Likewise.
12814 (start_locale_structure): Likewise.
12815 (end_locale_structure): Likewise.
12816 (start_locale_prelude): Likewise.
12817 (end_locale_prelude): Likewise.
12818 (write_locale_data): Take locale_file structure rather than an
12819 iovec.
12820 * locale/programs/locfile.h: Include "obstack.h".
12821 (struct locale_file): Change to store locale file contents instead
12822 of header.
12823 (init_locale_data): New prototype.
12824 (align_locale_data): Likewise.
12825 (add_locale_empty): Likewise.
12826 (add_locale_raw_data): Likewise.
12827 (add_locale_raw_obstack): Likewise.
12828 (add_locale_string): Likewise.
12829 (add_locale_wstring): Likewise.
12830 (add_locale_uint32): Likewise.
12831 (add_locale_uint32_array): Likewise.
12832 (add_locale_char): Likewise.
12833 (start_locale_structure): Likewise.
12834 (end_locale_structure): Likewise.
12835 (start_locale_prelude): Likewise.
12836 (end_locale_prelude): Likewise.
12837 (write_locale_data): Update prototype.
12838 * locale/programs/3level.h (struct TABLE): Remove result field.
12839 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12840 Use new locale_file interface.
12841 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12842 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12843 * locale/programs/ld-address.c (address_output): Use new
12844 locale_file interface.
12845 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12846 NO_ADD_LOCALE.
12847 (collate_finish): Don't call collseq_table_finalize.
12848 (collate_output): Use new locale_file interface.
12849 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12850 in file.
12851 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12852 (TABLE): Move defines earlier in file.
12853 (ELEMENT): Likewise.
12854 (DEFAULT): Likewise.
12855 (wctrans_table_add): Move macro and inline function earlier in
12856 file.
12857 (struct wctype_table): Move type earlier in file.
12858 (add_locale_wctype_table): New static prototype.
12859 (struct locale_ctype_t): Use logical types instead of struct iovec
12860 pointers for members.
12861 (ctype_output): Use new locale_file interface.
12862 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12863 new locale_file interface.
12864 (allocate_arrays): Update for use of new locale_file interface.
12865 * locale/programs/ld-identification.c (identification_output): Use
12866 new locale_file interface.
12867 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12868 * locale/programs/ld-messages.c (messages_output): Likewise.
12869 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12870 * locale/programs/ld-name.c (name_output): Likewise.
12871 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12872 * locale/programs/ld-paper.c (paper_output): Likewise.
12873 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12874 * locale/programs/ld-time.c (time_output): Likewise.
12875
e029e2e5
AZ
128762013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12877
12878 * benchtests/Makefile: Add memrchr benchmark.
12879 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12880 benchmark as memrchr.
12881 * benchtests/bench-memrchr-ifunc.c: New file.
12882 * benchtests/bench-memrchr.c: New file.
12883
bbf6e8e4
WN
128842013-09-06 Will Newton <will.newton@linaro.org>
12885
12886 * benchtests/Makefile (string-bench): Add memcpy.
12887
6c82a2f8
CD
128882013-09-05 Carlos O'Donell <carlos@redhat.com>
12889 Cong Wang <amwang@redhat.com>
12890
e732c5f0 12891 [BZ #15850]
6c82a2f8
CD
12892 * sysdeps/unix/sysv/linux/bits/in.h
12893 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12894 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12895 before __USE_KERNEL_IPV6_DEFS uses.
12896 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12897 IPPROTO_BEETPH.
12898 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12899 sockaddr_in6, or ipv6_mreq.
12900
5430fc65
AZ
129012013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12902
12903 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12904 memory access for final bytes in some large inputs.
12905 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12906
4660856c
AZ
129072013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12908
12909 * string/test-memrchr.c: New file.
12910 * string/test-memrchr-ifunc.c: New file.
12911 * string/Makefile: Add new memrchr testcase.
12912
bb8ea713
MF
129132013-09-05 Mike Frysinger <vapier@gentoo.org>
12914
12915 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12916 fanotify_init returns EPERM.
12917
b92a20b5
JM
129182013-09-04 Joseph Myers <joseph@codesourcery.com>
12919
12920 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12921 errors.
12922 (top level): Treat second token from macro or constant entries for
12923 allowed headers as allowed.
12924 * include/complex.h: Condition internal declarations on
12925 [!_ISOMAC].
12926 * include/fenv.h: Condition include of <stdbool.h> and internal
12927 declarations on [!_ISOMAC].
7447ccd9
CL
12928
129292013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12930
3e181dda 12931 [BZ #15923]
7447ccd9
CL
12932 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12933
3f2e46a4
JM
129342013-09-04 Joseph Myers <joseph@codesourcery.com>
12935
12936 * configure.in (--enable-versioning): Remove configure option.
12937 (libc_cv_asm_symver_directive): Remove configure test.
12938 (libc_cv_ld_version_script_option): Likewise.
12939 (VERSIONING): Remove variable and AC_SUBST.
12940 (DO_VERSIONING): Remove AC_DEFINE.
12941 * configure: Regenerated.
12942 * config.h.in (DO_VERSIONING): Remove macro.
12943 * Makerules [$(versioning) = yes]: Change conditionals to
12944 [$(build-shared) = yes].
12945 * config.make.in (versioning): Remove variable.
12946 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12947 [$(build-shared) = yes].
12948 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12949 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12950 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12951 [$(build-shared) = yes].
12952 * extra-lib.mk [$(versioning) = yes]: Likewise.
12953 * hurd/Makefile [$(versioning) = yes]: Likewise.
12954 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12955 [SHARED].
12956 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12957 [SHARED].
12958 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12959 [SHARED && !NO_HIDDEN].
12960 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12961 [SHARED].
12962 [SHARED && DO_VERSIONING]: Likewise..
12963 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12964 [$(build-shared) = yes].
12965 * manual/install.texi (--disable-versioning): Remove
12966 documentation.
12967 * INSTALL: Regenerated.
12968 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12969 to [SHARED].
12970 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12971 [$(build-shared) = yes].
12972 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12973 * sysdeps/i386/i686/multiarch/strstr-c.c
12974 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12975 [SHARED && !NO_HIDDEN].
12976 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12977 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12978 * sysdeps/powerpc/powerpc32/dl-machine.c
12979 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12980 * sysdeps/powerpc/powerpc32/sysdep.h
12981 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12982 to [SHARED && PIC && !NO_HIDDEN].
12983 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12984 conditional to [SHARED].
12985
44558701
WN
129862013-09-04 Will Newton <will.newton@linaro.org>
12987
12988 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12989 * benchtests/bench-string.h: Include bench-timing.h instead
12990 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12991 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12992 call to HP_TIMING_DIFF_INIT.
12993 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12994 instead of hp-timing.h macros.
12995 * benchtests/bench-memchr.c: Likewise.
12996 * benchtests/bench-memcmp.c: Likewise.
12997 * benchtests/bench-memcpy.c: Likewise.
12998 * benchtests/bench-memmem.c: Likewise.
12999 * benchtests/bench-memmove.c: Likewise.
13000 * benchtests/bench-memset.c: Likewise.
13001 * benchtests/bench-rawmemchr.c: Likewise.
13002 * benchtests/bench-strcasecmp.c: Likewise.
13003 * benchtests/bench-strcasestr.c: Likewise.
13004 * benchtests/bench-strcat.c: Likewise.
13005 * benchtests/bench-strchr.c: Likewise.
13006 * benchtests/bench-strcmp.c: Likewise.
13007 * benchtests/bench-strcpy.c: Likewise.
13008 * benchtests/bench-strcpy_chk.c: Likewise.
13009 * benchtests/bench-strlen.c: Likewise.
13010 * benchtests/bench-strncasecmp.c: Likewise.
13011 * benchtests/bench-strncat.c: Likewise.
13012 * benchtests/bench-strncmp.c: Likewise.
13013 * benchtests/bench-strncpy.c: Likewise.
13014 * benchtests/bench-strnlen.c: Likewise.
13015 * benchtests/bench-strpbrk.c: Likewise.
13016 * benchtests/bench-strrchr.c: Likewise.
13017 * benchtests/bench-strspn.c: Likewise.
13018 * benchtests/bench-strstr.c: Likewise.
13019
cae16d66
WN
130202013-09-04 Will Newton <will.newton@linaro.org>
13021
13022 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13023
ffa3cd7f
JM
130242013-09-03 Joseph Myers <joseph@codesourcery.com>
13025
13026 [BZ #15427]
13027 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13028 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13029 * math/libm-test.inc (lgamma_test_data): Add more tests.
13030 * sysdeps/i386/fpu/libm-test-ulps: Update.
13031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13032
8f02859f
OB
130332013-09-03 Ondřej Bílka <neleai@seznam.cz>
13034
13035 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13036 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13037 Add ifunc.
13038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13039 Add strcmp-sse2-unaligned
13040 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13041
18d43716
MF
130422013-09-02 Mike Frysinger <vapier@gentoo.org>
13043
13044 * Versions.def (libc): Add GLIBC_2.19.
13045
ac444012
MF
130462013-09-02 Mike Frysinger <vapier@gentoo.org>
13047
13048 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13049 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13050
b7835e32
JM
130512013-09-02 Joseph Myers <joseph@codesourcery.com>
13052
13053 [BZ #14155]
13054 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13055 intermediate calculations in recurrence.
13056 (__ieee754_ynf): Likewise.
13057 * math/libm-test.inc (jn_test_data): Do not allow spurious
13058 underflow exception. Add more tests.
13059 (yn_test_data): Add more tests.
13060 * sysdeps/i386/fpu/libm-test-ulps: Update.
13061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13062
8220f4f0
OB
130632013-09-02 Ondřej Bílka <neleai@seznam.cz>
13064
13065 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13066
f24a6d08
OB
130672013-08-30 Ondřej Bílka <neleai@seznam.cz>
13068
13069 * csu/init-first.c: Fix then/than typos.
13070 * locale/programs/ld-collate.c: Likewise.
13071 * locale/programs/linereader.h: Likewise.
13072 * manual/charset.texi: Likewise.
13073 * manual/filesys.texi: Likewise.
13074 * manual/stdio.texi: Likewise.
13075 * manual/string.texi: Likewise.
13076 * stdlib/fmtmsg.c: Likewise.
13077 * sysdeps/i386/stpncpy.S: Likewise.
13078 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13079 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13080 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13081 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13082
382466e0
OB
130832013-08-30 Ondřej Bílka <neleai@seznam.cz>
13084
13085 * elf/dl-open.c: Fix typos.
13086 * iconvdata/gbbig5.c: Likewise.
13087 * iconvdata/iso-2022-jp.c: Likewise.
13088 * iconv/gconv_int.h: Likewise.
13089 * iconv/loop.c: Likewise.
13090 * nis/rpcsvc/nis.h: Likewise.
13091 * resolv/ns_name.c: Likewise.
13092 * stdio-common/vfscanf.c: Likewise.
13093 * streams/stropts.h: Likewise.
13094 * sunrpc/rpc_thread.c: Likewise.
13095 * sysdeps/i386/strpbrk.S: Likewise.
13096 * sysdeps/ieee754/k_standard.c: Likewise.
13097 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13098 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13099 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13100 * sysdeps/mach/hurd/profil.c: Likewise.
13101 * sysdeps/s390/dl-procinfo.h: Likewise.
13102 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13103 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13104 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13105 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13107
0186c6e9
OB
131082013-08-30 Ondřej Bílka <neleai@seznam.cz>
13109
13110 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13111 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13112
d4e16af1
OB
131132013-08-29 Ondřej Bílka <neleai@seznam.cz>
13114
13115 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13116 aix specific files.
13117 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13118 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13119 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13120 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13121 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13122 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13123 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13124 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13125
88335980
TS
131262013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13127 Roland McGrath <roland@hack.frob.com>
13128
13129 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13130 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13131
ed479b02
ST
131322013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13133
13134 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13135 __executable_start symbol instead of _start.
13136
f1cc4c86
TS
131372013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13138
d821f07c
TS
13139 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13140 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13141 Move macros to...
13142 * sysdeps/gnu/ldsodefs.h: ... this new file.
13143
c54290cf
TS
13144 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13145 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13146 instead of ELFOSABI_LINUX.
13147
0007fc9b 13148 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13149 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13150 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13151 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13152 Likewise.
13153 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13154 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13155 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13156 Likewise.
13157 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13158 (ibm_extended_long_double): Add ieee_nan member.
13159 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13160 (do_test): New function.
13161
f1cc4c86
TS
13162 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13163 TEST_TRUNC.
13164 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13165 functions, renamed from truncdfsf_test, trunctfsf_test,
13166 trunctfdf_test.
13167 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13168 functions.
13169 (do_test): Run all these.
13170
6f65e668
OB
131712013-08-29 Ondřej Bílka <neleai@seznam.cz>
13172
13173 * argp/argp-help.c: Fix typos.
13174 * argp/argp-parse.c: Likewise.
13175 * debug/backtracesyms.c: Likewise.
13176 * elf/elf.h: Likewise.
13177 * malloc/malloc.c: Likewise.
13178 * nis/nis_print.c: Likewise.
13179 * resolv/res_comp.c: Likewise.
13180 * stdlib/stdlib.h: Likewise.
13181 * sunrpc/clnt_tcp.c: Likewise.
13182 * sunrpc/clnt_udp.c: Likewise.
13183 * sunrpc/clnt_unix.c: Likewise.
13184 * sysdeps/unix/bsd/ptsname.c: Likewise.
13185 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13186 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13188 Likewise.
13189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13190 Likewise.
13191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13192 Likewise.
6f65e668
OB
13193 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13194
3a309239
SP
131952013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13196
13197 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13199
3b813b29
MF
132002013-08-27 Mike Frysinger <vapier@gentoo.org>
13201
13202 [BZ #15897]
13203 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13204 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13205 ($(objpfx)bug-dl-leaf): New rule.
13206 ($(objpfx)bug-dl-leaf.so): Likewise.
13207 ($(objpfx)bug-dl-leaf.out): Likewise.
13208 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13209 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13210 * dlfcn/bug-dl-leaf.c: New test.
13211 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13212 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13213 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13214 (dlclose): Likewise.
13215 (dlmopen): Likewise.
13216
8cc3269f
RM
132172013-08-27 Roland McGrath <roland@hack.frob.com>
13218
7f9d0034
RM
13219 * include/netdb.h [!_ISOMAC]:
13220 Don't include <tls.h>.
13221 (h_errno, __libc_h_errno): Move declaration and macros out of
13222 [_LIBC_REENTRANT].
13223
fb431262
RM
13224 * include/resolv.h [_RESOLV_H_]:
13225 Don't include <tls.h>.
13226 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13227 * resolv/res_libc.c: Don't include <tls.h>.
13228 (_res): Use __attribute__ ((nocommon)) in place of
13229 __attribute__ ((section (".bss"))).
13230
bd81123a
RM
13231 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13232 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13233
c4e42566
RM
13234 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13235
f890a59b
RM
13236 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13237 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13238
13239 * resolv/res_mkquery.c: Include <sys/time.h>.
13240
5d1f0a09
RM
13241 * inet/ifreq.c: Moved to ...
13242 * sysdeps/unix/ifreq.c: ... here.
13243 * inet/ifreq.c: New file, true stub version.
13244
6fcf28b3
RM
13245 * socket/sa_len.c: New file.
13246 * socket/Makefile (aux): Add it.
13247 * sysdeps/unix/sysv/linux/Makefile
13248 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13249 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13250 and #include <socket/sa_len.c>.
13251 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13252 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13253
e041fb8b
RM
13254 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13255 * bits/socket.h: ... here.
13256
8cc3269f
RM
13257 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13258 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13259 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13260
5d228a43
AS
132612013-08-27 Andreas Schwab <schwab@suse.de>
13262
45b8accc
AS
13263 [BZ #15736]
13264 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13265 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13266 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13267 * string/test-strcasecmp.c (test_main): Run tests in several
13268 locales.
13269 * string/test-strncasecmp.c (test_main): Likewise.
13270
5d228a43
AS
13271 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13272 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13273 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13274 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13275 (__strncasecmp_ssse3) [PIC]: Likewise.
13276
59d112a4
RM
132772013-08-26 Roland McGrath <roland@hack.frob.com>
13278
53234cc3
RM
13279 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13280
59d112a4
RM
13281 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13282 instead of explicitly declaring xdecrypt.
13283 * nis/nss_nis/nis-publickey.c: Likewise.
13284
595aba70
SP
132852013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13286
13287 [BZ #15890]
13288 * nscd/aicache.c: Include res_hconf.h.
13289 (addhstaiX): Initialize res_hconf.
13290
ffabd393
AS
132912013-08-26 Andreas Schwab <schwab@suse.de>
13292
13293 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13294 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13295
e0a69f5c
SP
132962013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13297
13298 * nscd/aicache.c (addhstaiX): Fix indentation.
13299
8c12f01d
MF
133002013-08-25 Mike Frysinger <vapier@gentoo.org>
13301
13302 * configure.ac: Quote $build_pt_chown test.
13303 * configure: Regenerated.
13304
8fe89494
JM
133052013-08-23 Joseph Myers <joseph@codesourcery.com>
13306
13307 [BZ #15532]
13308 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13309 * math/s_cexpf.c (__cexpf): Likewise.
13310 * math/s_cexpl.c (__cexpl): Likewise.
13311 * math/libm-test.inc (cexp_test_data): Correct expected return
13312 value for NaN + i0. Add another test.
13313
75b181d6
DM
133142013-08-22 David S. Miller <davem@davemloft.net>
13315
13316 * po/ca.po: Update Catalan translation from translation project.
936241e4 13317 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13318
acd06bb1
JM
133192013-08-21 Joseph Myers <joseph@codesourcery.com>
13320
13321 [BZ #15797]
13322 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13323 is infinite, not alongside NaN test.
13324 * math/s_fdimf.c (__fdimf): Likewise.
13325 * math/s_fdiml.c (__fdiml): Likewise.
13326 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13327 errno is unchanged.
13328
c0c3f78a
OB
133292013-08-21 Ondřej Bílka <neleai@seznam.cz>
13330
13331 * argp/argp-help.c: Fix typos.
13332 * crypt/speeds.c: Likewise.
13333 * csu/check_fds.c: Likewise.
13334 * elf/dl-load.c: Likewise.
13335 * elf/dl-open.c: Likewise.
13336 * elf/reldep3.c: Likewise.
13337 * elf/reldep.c: Likewise.
13338 * elf/sprof.c: Likewise.
13339 * iconv/iconv_charmap.c: Likewise.
13340 * iconv/skeleton.c: Likewise.
13341 * iconv/strtab.c: Likewise.
13342 * io/lockf64.c: Likewise.
13343 * libio/libioP.h: Likewise.
13344 * resolv/gai_notify.c: Likewise.
13345 * resolv/ns_name.c: Likewise.
13346 * resolv/ns_samedomain.c: Likewise.
13347 * resolv/res_send.c: Likewise.
13348 * stdlib/random.c: Likewise.
13349 * sunrpc/rpc/xdr.h: Likewise.
13350 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13351 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13352 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13353 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13354 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13355 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13357 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13358 * sysdeps/mach/hurd/check_fds.c: Likewise.
13359 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13360 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13362 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13363 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13364 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13365 * sysdeps/pthread/aio_notify.c: Likewise.
13366 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13367 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13368 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13369 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13370 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13371
46ed1038
LD
133722013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13373
13374 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13375 version if bit_Slow_SSE4_2 is set.
13376 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13377 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13378
d400dcac
AZ
133792013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13380
13381 [BZ #15867]
13382 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13383 trampoline stack frame information.
13384 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13385 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13386 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13387 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13388 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13389 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13390 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13391 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13392 sa_flags value.
13393 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13394 interrupting a syscall and set with option SA_SIGINFO.
13395
42c8fdd8
JM
133962013-08-20 Joseph Myers <joseph@codesourcery.com>
13397
c980f2f4
JM
13398 [BZ #15531]
13399 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13400 argument is infinite.
13401 * math/s_cprojf.c (__cprojf): Likewise.
13402 * math/s_cprojl.c (__cprojl): Likewise.
13403 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13404 * math/libm-test.inc (cproj_test_data): Add more tests.
13405
0716c4fc
JM
13406 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13407
42c8fdd8
JM
13408 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13409 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13410 size. Use __ffs to determine corresponding shift.
13411
b31469d0
JM
134122013-08-20 Joseph Myers <joseph@codesourcery.com>
13413 Roland McGrath <roland@hack.frob.com>
13414
13415 * Makefile (INSTALL): Remove trailing blank lines from output of
13416 makeinfo.
13417
4e39af6e
AK
134182013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13419
13420 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13421 Align 32 bit compat elf_greg to 8 bytes.
13422
f315524e
AA
134232013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13424
13425 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13426
1326ba1a
SP
134272013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13428
13429 * string/strcoll_l.c (coll_seq): New structure.
13430 (get_next_seq_cached): New function.
13431 (get_next_seq): New function.
13432 (do_compare): New function.
13433 (STRCOLL): Use GNU style definition. Simplify implementation
13434 by using get_next_seq, get_next_seq_cached and do_compare.
13435
91ce4085
FW
134362013-08-16 Florian Weimer <fweimer@redhat.com>
13437
13438 [BZ #14699]
13439 CVE-2013-4237
13440 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13441 member.
13442 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13443 member.
13444 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13445 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13446 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13447 conditional.
13448 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13449 GETDENTS_64BIT_ALIGNED.
13450 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13451 * manual/filesys.texi (Reading/Closing Directory): Document
13452 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13453 strongly.
13454 * manual/conf.texi (Limits for Files): Add portability note to
13455 NAME_MAX, PATH_MAX.
13456 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13457
ca0a6bc4
AS
134582013-08-13 Andreas Schwab <schwab@suse.de>
13459
13460 [BZ #15749]
13461 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13462 of fabs.
13463 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13464 LDBL_MAX_EXP >= 16384]: Add tests for it.
13465
6c1fd795
DM
134662013-08-12 David S. Miller <davem@davemloft.net>
13467
13468 * version.h (RELEASE): Set to "development".
13469 (VERSION): Set to "2.18.90".
13470 * NEWS: Add 2.19 section.
13471
31ad488d
DM
134722013-08-03 David S. Miller <davem@davemloft.net>
13473
13474 * po/ko.po: Update Korean translation from translation project.
13475
db24e684
DM
134762013-08-01 David S. Miller <davem@davemloft.net>
13477
13478 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13479 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13480 Bilka.
13481
f723285b
DM
134822013-07-30 David S. Miller <davem@davemloft.net>
13483
13484 * po/fr.po: Update French translation from translation project.
13485
3cbc52db
DM
134862013-07-28 David S. Miller <davem@davemloft.net>
13487
30bbc0cc
DM
13488 * po/cs.po: Update Czech translation from translation project.
13489
3cbc52db
DM
13490 * po/sv.po: Update Swedish translation from translation project.
13491
d492e6d0
DM
134922013-07-27 David S. Miller <davem@davemloft.net>
13493
f1a7f492
DM
13494 * po/eo.po: Update Esperanto translation from translation project.
13495
90e62a4a
DM
13496 * po/vi.po: Update Vietnamese translation from translation project.
13497
d492e6d0
DM
13498 * po/de.po: Update German translation from translation project.
13499
d4baa62d
DM
135002013-07-26 David S. Miller <davem@davemloft.net>
13501
641aa7b4
DM
13502 * po/bg.po: Update Bulgarian translation from translation project.
13503
d4baa62d
DM
13504 * po/nl.po: Update Dutch translation from translation project.
13505 * po/pl.po: Update Polish translation from translation project.
13506 * po/ru.po: Update Russian translation from translation project.
13507
61a9dcb9
DM
135082013-07-24 David S. Miller <davem@davemloft.net>
13509
13510 * po/libc.pot: Update.
13511
7b1f8b58
AZ
135122013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13513
13514 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13515 variable page size.
13516 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13517 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13518 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13519
a8fc7a03
AK
135202013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13521
13522 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13523
e4608715
CD
135242013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13525 Andreas Schwab <schwab@suse.de>
13526 Roland McGrath <roland@hack.frob.com>
13527 Joseph Myers <joseph@codesourcery.com>
13528 Carlos O'Donell <carlos@redhat.com>
13529
13530 [BZ #15755]
13531 * config.h.in: Define HAVE_PT_CHOWN.
13532 * config.make.in (build-pt-chown): New variable.
13533 * configure.in (--enable-pt_chown): New configure option.
13534 * configure: Regenerate.
13535 * login/Makefile: Include Makeconfig. Build pt_chown only if
13536 build-pt-chown is enabled.
13537 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13538 pt_chown to fix pty ownership.
13539 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13540 CLOSE_ALL_FDS.
13541 * manual/install.texi (Configuring and compiling): Mention
13542 --enable-pt_chown. Add @findex for grantpt.
13543 * INSTALL: Regenerate.
13544
da2d62df
DM
135452013-07-20 David S. Miller <davem@davemloft.net>
13546
13547 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13548 difference between 32-bit and 64-bit.
13549
d7e06450
CD
135502013-07-15 Carlos O'Donell <carlos@redhat.com>
13551
13552 [BZ #15711]
13553 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13554 Avoid system header dependency with -ffreestanding.
13555 ($(objpfx)bits/syscall%d): Likewise.
13556
f959cfd7
DM
135572013-07-13 David S. Miller <davem@davemloft.net>
13558
13559 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13560 underflows from atanl/atan2l due to bug 15319.
13561 (casinh_test_data): Likewise.
13562
c61f8513
DM
135632013-07-07 David S. Miller <davem@davemloft.net>
13564
13565 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13566
72c90ed0
JA
135672013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13568
13569 * sysdeps/i386/fpu/libm-test-ulps: Update.
13570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13571
52dfbe13
SP
135722013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13573
13574 * configure.in (--enable-lock-elision): Fix message text.
13575 * INSTALL: Regenerate.
13576 * configure: Regenerate.
13577
3f169543
AZ
135782013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13579
13580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13581
521c6785
AJ
135822013-07-03 Andreas Jaeger <aj@suse.de>
13583
13584 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13585 define.
13586 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13587 (ptrace_peeksiginfo_args): Add.
13588 (__ptrace_peeksiginfo_flags): Add.
13589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13591 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13592
d2cc15cb
AM
135932013-07-03 Allan McRae <allan@archlinux.org>
13594
13595 * sysdeps/i386/fpu/libm-test-ulps: Update.
13596
3aaeeca7
DM
135972013-07-02 David S. Miller <davem@davemloft.net>
13598
13599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13600
5314ed1a
MT
136012013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13602
13603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13604
67338156
JM
136052013-07-02 Joseph Myers <joseph@codesourcery.com>
13606
13607 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13609
1717da59
AK
136102013-07-02 Andi Kleen <ak@linux.intel.com>
13611
13612 * config.h.in (ENABLE_LOCK_ELISION): Add.
13613 * configure.in (--enable-lock-elision): Add option.
13614 * manual/install.texi: Document --enable lock elision.
13615 * configure: Regenerate
13616 * INSTALL: Regenerate.
13617
1c81621c
L
136182013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13619
13620 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13621 SSE4.2 strcasecmp for libc.a.
13622 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13623
77f01ab5
JM
136242013-07-02 Joseph Myers <joseph@codesourcery.com>
13625
13626 [BZ #13304]
13627 * soft-fp/op-common.h (_FP_FMA): New macro.
13628 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13629 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13630 (_FP_MUL_MEAT_1_imm): ... here.
13631 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13632 (_FP_MUL_MEAT_1_wide): ... here.
13633 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13634 (_FP_MUL_MEAT_1_hard): ... here.
13635 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13636 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13637 (_FP_MUL_MEAT_2_wide): ... here.
13638 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13639 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13640 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13641 (_FP_MUL_MEAT_2_gmp): ... here.
13642 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13643 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13644 (_FP_MUL_MEAT_4_wide): ... here.
13645 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13646 (_FP_MUL_MEAT_4_gmp): ... here.
13647 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13648 (_FP_WFRACBITS_DW_S): Likewise.
13649 (_FP_WFRACXBITS_DW_S): Likewise.
13650 (_FP_HIGHBIT_DW_S): Likewise.
13651 (FP_FMA_S): Likewise.
13652 (_FP_FRAC_HIGH_DW_S): Likewise.
13653 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13654 (_FP_WFRACBITS_DW_D): Likewise.
13655 (_FP_WFRACXBITS_DW_D): Likewise.
13656 (_FP_HIGHBIT_DW_D): Likewise.
13657 (FP_FMA_D): Likewise.
13658 (_FP_FRAC_HIGH_DW_D): Likewise.
13659 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13660 (_FP_WFRACBITS_DW_E): Likewise.
13661 (_FP_WFRACXBITS_DW_E): Likewise.
13662 (_FP_HIGHBIT_DW_E): Likewise.
13663 (FP_FMA_E): Likewise.
13664 (_FP_FRAC_HIGH_DW_E): Likewise.
13665 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13666 (_FP_WFRACBITS_DW_Q): Likewise.
13667 (_FP_WFRACXBITS_DW_Q): Likewise.
13668 (_FP_HIGHBIT_DW_Q): Likewise.
13669 (FP_FMA_Q): Likewise.
13670 (_FP_FRAC_HIGH_DW_Q): Likewise.
13671 * soft-fp/fmasf4.c: New file.
13672 * soft-fp/fmadf4.c: Likewise.
13673 * soft-fp/fmatf4.c: Likewise.
13674
6308fd9a
LD
136752013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13676
13677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13678 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13679 Silvermont.
13680 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13681 macro.
13682 (index_Slow_SSE4_2): Likewise.
13683 (index_Prefer_PMINUB_for_stringop): Likewise.
13684 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13685 bit_Slow_SSE4_2 is set.
13686 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13687 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13688
89cd9569
RA
136892013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13690
13691 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13692 rtld_global._dl_hwcap2.
13693 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13694 POWER8.
13695 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13696 POWER8 feature descriptions defined in _dl_hwcap2.
13697 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13698 string handling for POWER8 feature bits.
13699 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13700 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13701 _dl_powerpc_cap_flags.
13702 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13703 * sysdeps/powerpc/rtld-global-offsets.sym
13704 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13705 _dl_hwcap2 in the rtld_global_ro structure.
13706
1ae8bfe0
RA
137072013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13708
13709 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13710 hardware capabilities in support of AT_HWCAP2.
13711 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13712 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13713 GLRO(dl_hwcap2).
13714 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13715 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13716 explicitly the unknown a_type display mechanism is used.
13717 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13718 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13719 struct member.
13720 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13721 to macro prototype for AT_HWCAP2 support.
13722 * sysdeps/i386/dl-procinfo.h: Likewise.
13723 * sysdeps/s390/dl-procinfo.h: Likewise.
13724 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13725 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13726 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13727 return -1 for unknown a_type display fallback.
13728 * sysdeps/sparc/dl-procinfo.h: Likewise.
13729 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13730 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13731
8fbec010
JM
137322013-06-28 Joseph Myers <joseph@codesourcery.com>
13733
13734 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13735 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13736
0432680e
PY
137372013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13738
13739 [BZ #12492]
13740 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13741 mprotect making __stack_prot writable.
13742
ce61a2ad
NF
137432013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13744 Joseph Myers <joseph@codesourcery.com>
13745
13746 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13747 as being properly aligned.
13748
f91f1c0f
MR
137492013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13750
3d0f5d0c
MR
13751 * dlfcn/modstatic5.c: New file.
13752 * dlfcn/tststatic5.c: New file.
13753 * dlfcn/Makefile (tests): Add tststatic5.
13754 (tests-static): Likewise.
13755 (modules-names): Add modstatic5.
13756 (tststatic5-ENV): New variable.
13757 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13758
f91f1c0f
MR
13759 [BZ #15022]
13760 * elf/dl-support.c (_dl_main_map): New variable.
13761 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13762 (_dl_nns, _dl_load_adds): Set to 1.
13763 (_dl_initial_searchlist): Refer to _dl_main_map.
13764 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13765 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13766 call to _dl_get_origin.
13767 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13768 around call_map.
13769 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13770 * dlfcn/modstatic3.c: New file.
13771 * dlfcn/tststatic3.c: New file.
13772 * dlfcn/tststatic4.c: New file.
13773 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13774 (tests-static): Likewise.
13775 (modules-names): Add modstatic3.
13776 (tststatic3-ENV, tststatic4-ENV): New variables.
13777 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13778 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13779
cbe7d24b
JM
137802013-06-26 Joseph Myers <joseph@codesourcery.com>
13781
13782 * configure.in (CC): Require GCC version 4.4 or later.
13783 * configure: Regenerated.
13784 * manual/install.texi (Tools for Compilation): Update GCC version
13785 requirement.
13786 * INSTALL: Regenerated.
13787
11b8a0e1
LD
137882013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13789
13790 [BZ #15674]
bb5bb87c
L
13791 * string/test-memcmp.c (check2): New.
13792 (main): Call check2.
13793
11b8a0e1
LD
13794 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13795
b0037103
MR
137962013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13797
13798 [BZ #15022]
13799 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13800 over to...
13801 (dl_open_worker) [!SHARED]: ... here.
13802
c18c701d
RA
138032013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13804
13805 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13806
1d17fa5f
RH
138072013-06-25 Richard Henderson <rth@redhat.com>
13808
13809 * locale/programs/locarchive.c: Include <libc-internal.h>
13810
8fcb833a
JM
138112013-06-25 Joseph Myers <joseph@codesourcery.com>
13812
13813 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13814 trailing whitespace removed.
13815
17db6e8d
MF
138162013-06-24 Mike Frysinger <vapier@gentoo.org>
13817
13818 [BZ #10283]
17db6e8d
MF
13819 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13820 * locale/programs/locarchive.c: Include libc-mmap.h.
13821 (prepare_address_space): Take two new outputs (the mmap base and len).
13822 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13823 values.
13824 (create_archive): Declare new mmap base and len values for
13825 prepare_address_space, and store the result in ah.
13826 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13827 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13828 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13829 Declare new mmap base and len values for
13830 prepare_address_space, and store the result in new_ah.
13831 (open_archive): Declare new mmap base and len values for
13832 prepare_address_space, and store the result in ah.
13833 (close_archive): If ah->mmap_base is not NULL, use that and
13834 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13835 * sysdeps/generic/libc-mmap.h: New file.
13836
d605071e
MF
138372013-06-24 Mike Frysinger <vapier@gentoo.org>
13838
13839 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13840 (ALIGN_UP): Likewise.
13841 (PTR_ALIGN_DOWN): Likewise.
13842 (PTR_ALIGN_UP): Likewise.
13843
2f063a6e
RA
138442013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13845
13846 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13847 entry mapped to PPC_PLATFORM_POWER8.
13848 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13849 POWER8.
13850 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13851 (_dl_string_platform): Add case for exporting platform position for
13852 POWER8.
13853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13854 search path to sysdeps/powerpc/powerpc32/power8 directory.
13855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13856 search path to sysdeps/powerpc/powerpc64/power8 directory.
13857 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13858 power7 directories.
13859 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13860 power7 directories.
13861
a31ee4b3
SP
138622013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13863
a74ca98f
SP
13864 * INSTALL: Regenerate.
13865
a31ee4b3
SP
13866 * nscd/connections.c (nscd_init): Fix comment.
13867
695c378f
JM
138682013-06-22 Joseph Myers <joseph@codesourcery.com>
13869
d8412221
JM
13870 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13871
695c378f
JM
13872 [BZ #15667]
13873 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13874 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13875
d1d54715
MR
138762013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13877
13878 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13879 DL_DST_REQ_STATIC.
13880 (DL_DST_REQ_STATIC): Remove macro.
13881
8fdda7af
JM
138822013-06-21 Joseph Myers <joseph@codesourcery.com>
13883
13884 [BZ #7006]
13885 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13886 with a shift of 0 bits.
13887
f3bc5e5a
MR
138882013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13889
13890 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13891 $(tststatic-ENV).
13892
be09e8c9
KK
138932013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13894
13895 [BZ #15655]
13896 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13897
85c2e611
AZ
138982013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13899
13900 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13901 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13902 accepts -fno-tree-loop-distribute-patterns.
13903 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13904 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13905 recursive call.
13906 * string/memset.c (memset): Likewise.
13907 * string/test-memmove.c (simple_memmove): Disable loop transformation
13908 to library calls.
13909 * string/test-memset.c (simple_memset): Likewise.
13910 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13911 * benchtests/bench-memset.c (simple_memset): Likewise.
13912 * configure: Regenerated.
13913
c91e0825
JM
139142013-06-20 Joseph Myers <joseph@codesourcery.com>
13915
b8c792af
JM
13916 * math/test-misc.c (main): Ignore fesetround failure when failures
13917 of subsequent rounding tests would be ignored.
13918
c91e0825
JM
13919 [BZ #15654]
13920 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13921 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13922 * math/fegetenv.c (__fegetenv): Return 0.
13923 * math/fegetexcept.c (fegetexcept): Return 0.
13924 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13925 FE_TONEAREST.
13926 * math/feholdexcpt.c (feholdexcept): Return 0.
13927 * math/fesetenv.c (__fesetenv): Return 0.
13928 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13929 argument FE_TONEAREST.
13930 * math/feupdateenv.c (__feupdateenv): Return 0.
13931 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13932
bfcacbde
RM
139332013-06-18 Roland McGrath <roland@hack.frob.com>
13934
13935 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13936 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13937 ($(objpfx)rtld-%.os rules): Use them.
13938
e55a9b25
AZ
139392013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13940
13941 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13942 fields.
13943
346d65b3
RM
139442013-06-17 Roland McGrath <roland@hack.frob.com>
13945
12086fb4
RM
13946 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13947 length of target pattern, then descending length of dependency pattern.
13948 * configure.in (AWK): Require gawk 3.1.2 or newer.
13949 * manual/install.texi (Tools for Compilation): Say that we do.
13950 * configure: Regenerated.
13951
346d65b3
RM
13952 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13953 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13954 * scripts/sysd-rules.awk: ... this new script.
13955 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13956 than a glob-style pattern.
13957
1a846317
JM
139582013-06-17 Joseph Myers <joseph@codesourcery.com>
13959
13960 * math/test-misc.c (main): Do not treat incorrectly rounded
13961 conversions as failure unless ROUNDING_TESTS passes.
13962
8fc75e6f
JM
139632013-06-15 Joseph Myers <joseph@codesourcery.com>
13964
3711a167
JM
13965 [BZ #15631]
13966 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13967 restore exception state around main square root computation, then
13968 check for inexactness explicitly.
13969
8fc75e6f
JM
13970 * math/libm-test.inc (fma_test_data): Add another test.
13971
61dd6208
SP
139722013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13973
adf23d2c
SP
13974 * manual/threads.texi (Non-POSIX Extensions): New document
13975 node. Document pthread_getattr_default_np and
13976 pthread_setattr_default_np.
13977
61dd6208
SP
13978 * Versions.def (libpthread): Add GLIBC_2.18.
13979 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13981 Likewise.
13982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13983 Likewise.
13984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13985 Likewise.
13986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13987 Likewise.
13988 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13989 Likewise.
13990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13991 Likewise.
13992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13993 Likewise.
13994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13995 Likewise.
13996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13997 Likewise.
13998
d086fc7b
LD
139992013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14000
14001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14002 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14003
747ef469
SP
140042013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14005 H.J. Lu <hjl.tools@gmail.com>
14006
14007 [BZ #15627]
14008 * sysdeps/x86_64/rtld-memset.c: Remove file.
14009 * sysdeps/x86_64/rtld-memset.S: New file.
14010
1b2feed2
JM
140112013-06-14 Joseph Myers <joseph@codesourcery.com>
14012
14013 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14014 (test_in_one_mode): Take arguments for whether the rounding mode
14015 is supported for each floating-point type.
14016 (do_test): Pass new arguments to test_in_one_mode using
14017 ROUNDING_TESTS.
14018
a58ad3f8
RM
140192013-06-13 Roland McGrath <roland@hack.frob.com>
14020
14021 * posix/tst-waitid.c (do_test): Distinguish different instances of
14022 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14023 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14024 before entering the kernel for waitpid.
14025
c204ab28
SP
140262013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14027
14028 * NEWS: Fix note on clock function precision. Text by Roland
14029 McGrath.
14030
f4a29fba
RM
140312013-06-13 Roland McGrath <roland@hack.frob.com>
14032
14033 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14034 it into place only when and if the sanity check passes.
14035
1f24b9ad
JM
140362013-06-13 Joseph Myers <joseph@codesourcery.com>
14037
14038 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14039 output for whether conversion result is exact. Take argument
14040 indicating whether type is IBM long double.
14041 (round_for_all): Change need_exact field to ibm_ld.
14042 * stdlib/tst-strtod-round.c (struct exactness): New type.
14043 (struct test): Change bool ld_ok field to struct exactness exact.
14044 (TEST): Update all definitions for change to field.
14045 (tests): Regenerate array contents.
14046 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14047 field value. Check for IBM long double here.
14048 (do_test): Update calls to test_in_one_mode.
14049
58206c68
SP
140502013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14051
14052 [BZ #12515]
14053 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14054 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14055
2d6f4c5b 140562013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14057
14058 [BZ #15605]
14059 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14060 generated by the compiler on loop optimizations.
14061 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14062 general definitions.
14063
94f2c076
JM
140642013-06-12 Joseph Myers <joseph@codesourcery.com>
14065
14066 * math/bug-nextafter.c: Include <math-tests.h>.
14067 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14068 the relevant type.
14069 * math/bug-nexttoward.c: Include <math-tests.h>.
14070 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14071 the relevant type.
14072 * math/test-misc.c: Include <math-tests.h>.
14073 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14074 the relevant type.
14075
e0e50a0a
AJ
140762013-06-12 Andreas Jaeger <aj@suse.de>
14077
14078 * po/ia.po: Update Interlingua translation from translation
14079 project.
14080
25061094
SP
140812013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14082
14083 * include/fenv.h: Include stdbool.h.
14084 (struct rm_ctx): New structure.
14085 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14086 Define macro.
14087 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14088 (SET_RESTORE_ROUNDF): Likewise.
14089 (SET_RESTORE_ROUNDL): Likewise.
14090 (SET_RESTORE_ROUND_NOEX): Likewise.
14091 (SET_RESTORE_ROUND_NOEXF): Likewise.
14092 (SET_RESTORE_ROUND_NOEXL): Likewise.
14093 (SET_RESTORE_ROUND_53BIT): Likewise.
14094 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14095 (libc_feresetround_noexf_ctx): Likewise.
14096 (libc_feresetround_noexl_ctx): Likewise.
14097 (libc_feholdsetround_53bit_ctx): Likewise.
14098 (libc_feresetround_53bit_ctx): Likewise.
14099 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14100 (libc_feholdexcept_setround_sse_ctx): New function.
14101 (libc_fesetenv_sse_ctx): Likewise.
14102 (libc_feupdateenv_sse_ctx): Likewise.
14103 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14104 (libc_feholdexcept_setround_387_ctx): Likewise.
14105 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14106 (libc_feholdsetround_387_prec_ctx): Likewise.
14107 (libc_feholdsetround_387_ctx): Likewise.
14108 (libc_feholdsetround_387_53bit_ctx): Likewise.
14109 (libc_feholdsetround_sse_ctx): Likewise.
14110 (libc_feresetround_sse_ctx): Likewise.
14111 (libc_feresetround_387_ctx): Likewise.
14112 (libc_feupdateenv_387_ctx): Likewise.
14113 (libc_feholdexcept_setroundf_ctx): Define macro.
14114 (libc_fesetenvf_ctx): Likewise.
14115 (libc_feupdateenvf_ctx): Likewise.
14116 (libc_feholdsetroundf_ctx): Likewise.
14117 (libc_feresetroundf_ctx): Likewise.
14118 (libc_feholdexcept_setround_ctx): Likewise.
14119 (libc_fesetenv_ctx): Likewise.
14120 (libc_feupdateenv_ctx): Likewise.
14121 (libc_feholdsetround_ctx): Likewise.
14122 (libc_feresetround_ctx): Likewise.
14123 (libc_feholdexcept_setroundl_ctx): Likewise.
14124 (libc_feupdateenvl_ctx): Likewise.
14125 (libc_feholdsetroundl_ctx): Likewise.
14126 (libc_feresetroundl_ctx): Likewise.
14127 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14128 (libc_feresetround_53bit_ctx): Likewise.
14129
59b30555
SP
141302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14131
14132 * locale/iso-639.def: Convert to UTF-8.
14133
f1d73d30
JM
141342013-06-11 Joseph Myers <joseph@codesourcery.com>
14135
14136 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14137 (EXCEPTION_TESTS_double): Likewise.
14138 (EXCEPTION_TESTS_long_double): Likewise.
14139 (EXCEPTION_TESTS): Likewise.
14140 * math/libm-test.inc (test_exceptions): Only test exceptions if
14141 EXCEPTION_TESTS (FLOAT).
14142
94aca5e7
SP
141432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14144
14145 * benchtests/Makefile (string-bench): Add strcpy_chk and
14146 stpcpy_chk.
14147 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14148 * benchtests/bench-stpcpy_chk.c: New file.
14149 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14150 * benchtests/bench-strcpy_chk.c: New file.
14151 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14152 code.
14153 (do_test): Likewise.
14154
fac0c5f2
RA
141552013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14156
14157 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14158 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14159 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14160 with tabs where appropriate.
14161 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14162 dl-procinfo.h.
14163 [PPC_PLATFORM_PPC440]: Likewise.
14164 [PPC_PLATFORM_PPC464]: Likewise.
14165 [PPC_PLATFORM_PPC476]: Likewise.
14166 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14167 ppc464, and ppc476 platform strings merging from ports/
14168 dl-procinfo.h.
14169
f22bc486
AS
141702013-06-11 Andreas Schwab <schwab@suse.de>
14171
14172 [BZ #14991]
14173 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14174 (from_ucs4_idx): Regenerate.
14175 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14176 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14177 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14178 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14179 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14180 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14181 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14182 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14183 from FROM_LOOP and TO_LOOP specific macros.
14184 (BODY): Handle combining characters.
14185 * iconvdata/BIG5HKSCS.irreversible: Update.
14186 * iconvdata/BIG5HKSCS.precomposed: New file.
14187 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14188 characters.
14189 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14190
c1f75dc3
SP
141912013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14192
4eacded2
SP
14193 * include/sys/time.h: Fix indentation and add copyright header.
14194
fec799f8
SP
14195 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14196 (do_test): Likewise.
14197 * string/test-memchr.c (do_one_test): Likewise.
14198 (do_test): Likewise.
14199 * string/test-memcmp.c (do_one_test): Likewise.
14200 (do_test): Likewise.
14201 * string/test-memcpy.c (do_one_test): Likewise.
14202 (do_test): Likewise.
14203 * string/test-memmem.c (do_one_test): Likewise.
14204 (do_test): Likewise.
14205 (do_random_tests): Likewise.
14206 * string/test-memmove.c (do_one_test): Likewise.
14207 (do_test): Likewise.
14208 * string/test-memset.c (do_one_test): Likewise.
14209 (do_test): Likewise.
14210 * string/test-rawmemchr.c (do_one_test): Likewise.
14211 (do_test): Likewise.
14212 * string/test-strcasecmp.c (do_one_test): Likewise.
14213 (do_test): Likewise.
14214 * string/test-strcasestr.c (do_one_test): Likewise.
14215 (do_test): Likewise.
14216 * string/test-strcat.c (do_one_test): Likewise.
14217 (do_test): Likewise.
14218 * string/test-strchr.c (do_one_test): Likewise.
14219 (do_test): Likewise.
14220 * string/test-strcmp.c (do_one_test): Likewise.
14221 (do_test): Likewise.
14222 * string/test-strcpy.c (do_one_test): Likewise.
14223 (do_test): Likewise.
14224 * string/test-string.h: Likewise.
14225 (test_init): Likewise.
14226 * string/test-strlen.c (do_one_test): Likewise.
14227 (do_test): Likewise.
14228 * string/test-strncasecmp.c (do_one_test): Likewise.
14229 (do_test): Likewise.
14230 * string/test-strncat.c (do_one_test): Likewise.
14231 (do_test): Likewise.
14232 * string/test-strncmp.c (do_one_test): Likewise.
14233 (do_test_limit): Likewise.
14234 (do_test): Likewise.
14235 * string/test-strncpy.c (do_one_test): Likewise.
14236 (do_test): Likewise.
14237 * string/test-strnlen.c (do_one_test): Likewise.
14238 (do_test): Likewise.
14239 * string/test-strpbrk.c (do_one_test): Likewise.
14240 (do_test): Likewise.
14241 * string/test-strrchr.c (do_one_test): Likewise.
14242 (do_test): Likewise.
14243 * string/test-strspn.c (do_one_test): Likewise.
14244 (do_test): Likewise.
14245 * string/test-strstr.c (do_one_test): Likewise.
14246 (do_test): Likewise.
14247
97020474
SP
14248 * benchtests/Makefile (string-bench): Add string benchmarks.
14249 * benchtests/bench-bcopy-ifunc.c: New file.
14250 * benchtests/bench-bcopy.c: New file.
14251 * benchtests/bench-bzero-ifunc.c: New file.
14252 * benchtests/bench-bzero.c: New file.
14253 * benchtests/bench-memccpy-ifunc.c: New file.
14254 * benchtests/bench-memccpy.c: New file.
14255 * benchtests/bench-memchr-ifunc.c: New file.
14256 * benchtests/bench-memchr.c: New file.
14257 * benchtests/bench-memcmp-ifunc.c: New file.
14258 * benchtests/bench-memcmp.c: New file.
14259 * benchtests/bench-memmem-ifunc.c: New file.
14260 * benchtests/bench-memmem.c: New file.
14261 * benchtests/bench-memmove-ifunc.c: New file.
14262 * benchtests/bench-memmove.c: New file.
14263 * benchtests/bench-mempcpy-ifunc.c: New file.
14264 * benchtests/bench-mempcpy.c: New file.
14265 * benchtests/bench-memset-ifunc.c: New file.
14266 * benchtests/bench-memset.c: New file.
14267 * benchtests/bench-rawmemchr-ifunc.c: New file.
14268 * benchtests/bench-rawmemchr.c: New file.
14269 * benchtests/bench-stpcpy-ifunc.c: New file.
14270 * benchtests/bench-stpcpy.c: New file.
14271 * benchtests/bench-stpncpy-ifunc.c: New file.
14272 * benchtests/bench-stpncpy.c: New file.
14273 * benchtests/bench-strcasecmp-ifunc.c: New file.
14274 * benchtests/bench-strcasecmp.c: New file.
14275 * benchtests/bench-strcasestr-ifunc.c: New file.
14276 * benchtests/bench-strcasestr.c: New file.
14277 * benchtests/bench-strcat-ifunc.c: New file.
14278 * benchtests/bench-strcat.c: New file.
14279 * benchtests/bench-strchr-ifunc.c: New file.
14280 * benchtests/bench-strchr.c: New file.
14281 * benchtests/bench-strchrnul-ifunc.c: New file.
14282 * benchtests/bench-strchrnul.c: New file.
14283 * benchtests/bench-strcmp-ifunc.c: New file.
14284 * benchtests/bench-strcmp.c: New file.
14285 * benchtests/bench-strcpy-ifunc.c: New file.
14286 * benchtests/bench-strcpy.c: New file.
14287 * benchtests/bench-strcspn-ifunc.c: New file.
14288 * benchtests/bench-strcspn.c: New file.
14289 * benchtests/bench-strlen-ifunc.c: New file.
14290 * benchtests/bench-strlen.c: New file.
14291 * benchtests/bench-strncasecmp-ifunc.c: New file.
14292 * benchtests/bench-strncasecmp.c: New file.
14293 * benchtests/bench-strncat-ifunc.c: New file.
14294 * benchtests/bench-strncat.c: New file.
14295 * benchtests/bench-strncmp-ifunc.c: New file.
14296 * benchtests/bench-strncmp.c: New file.
14297 * benchtests/bench-strncpy-ifunc.c: New file.
14298 * benchtests/bench-strncpy.c: New file.
14299 * benchtests/bench-strnlen-ifunc.c: New file.
14300 * benchtests/bench-strnlen.c: New file.
14301 * benchtests/bench-strpbrk-ifunc.c: New file.
14302 * benchtests/bench-strpbrk.c: New file.
14303 * benchtests/bench-strrchr-ifunc.c: New file.
14304 * benchtests/bench-strrchr.c: New file.
14305 * benchtests/bench-strspn-ifunc.c: New file.
14306 * benchtests/bench-strspn.c: New file.
14307 * benchtests/bench-strstr-ifunc.c: New file.
14308 * benchtests/bench-strstr.c: New file.
14309
c1f75dc3
SP
14310 * benchtests/Makefile: Disable parallel execution of targets.
14311 (string-bench): Add memcpy.
14312 (benchset): New variable to store a list of benchmark sets.
14313 (bench-func): Renamed from bench.
14314 (bench-set): New target.
14315 (bench): Depend on bench-func and bench-set.
14316 * benchtests/README: Add section on benchmark sets.
14317 * benchtests/bench-memcpy-ifunc.c: New file.
14318 * benchtests/bench-memcpy.c: New file.
14319 * benchtests/bench-string.h: New file.
14320
50fd745b
AS
143212013-06-11 Andreas Schwab <schwab@suse.de>
14322
14323 [BZ #15577]
14324 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14325 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14326 values in the triple.
14327 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14328 terminator in the group key.
14329
3ee7e9fe
AJ
143302013-06-11 Andreas Jaeger <aj@suse.de>
14331
14332 * po/zh_TW.po: Update Chinese (traditional) translation from
14333 translation project.
14334
89fb6835
SP
143352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14336
14337 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14338 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14339 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14340 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14341 (clock_getcpuclockid): Likewise.
14342 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14343 Add weak_alias and libc_hidden_def.
14344 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14345 * rt/clock_gettime.c (clock_gettime): Rename to
14346 __clock_gettime. Add weak_alias and libc_hidden_def.
14347 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14348 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14349 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14350 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14351 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14352 Likewise.
14353 * rt/clock_settime.c (clock_settime): Rename to
14354 __clock_settime. Add weak_alias and libc_hidden_def.
14355 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14356
0efa6f8b
JM
143572013-06-10 Joseph Myers <joseph@codesourcery.com>
14358
b8c61b4b
JM
14359 * mach/err_boot.sub: Remove trailing whitespace.
14360 * mach/err_ipc.sub: Likewise.
14361 * mach/err_mach.sub: Likewise.
14362
0efa6f8b
JM
14363 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14364 (ROUNDING_TESTS_double): Likewise.
14365 (ROUNDING_TESTS_long_double): Likewise.
14366 (ROUNDING_TESTS): Likewise.
14367 * math/libm-test.inc: Include <math-tests.h>.
14368 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14369 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14370 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14371 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14372
50b818bf
SP
143732013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14374
14375 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14376 of assigning.
14377
60d2f8f3
JM
143782013-06-08 Joseph Myers <joseph@codesourcery.com>
14379
4902d2c3
JM
14380 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14381 otherwise empty TRANS lines.
14382 * sysdeps/gnu/errlist.c: Regenerated.
14383
60d2f8f3
JM
14384 * catgets/gencat.c (error_print): Use (void) in function
14385 definition.
14386 * crypt/crypt_util.c (__init_des): Likewise.
14387 * crypt/speeds.c (Stop): Likewise.
14388 (main): Likewise.
14389 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14390 * inet/ruserpass.c (token): Likewise.
14391 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14392 * intl/localealias.c (extend_alias_table): Likewise.
14393 * intl/plural-exp.c (init_germanic_plural): Likewise.
14394 * libio/fcloseall.c (__fcloseall): Likewise.
14395 * libio/genops.c (_IO_flush_all): Likewise.
14396 (_IO_flush_all_linebuffered): Likewise.
14397 (_IO_cleanup): Likewise.
14398 (_IO_iter_begin): Likewise.
14399 (_IO_iter_end): Likewise.
14400 (_IO_list_lock): Likewise.
14401 (_IO_list_unlock): Likewise.
14402 (_IO_list_resetlock): Likewise.
14403 * libio/getchar.c (getchar): Likewise.
14404 * libio/getchar_u.c (getchar_unlocked): Likewise.
14405 * libio/getwchar.c (getwchar): Likewise.
14406 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14407 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14408 * login/getpt.c (__getpt): Likewise.
14409 * login/tst-utmp.c (main): Likewise.
14410 * malloc/hooks.c (__malloc_check_init): Likewise.
14411 * malloc/malloc.c (__malloc_stats): Likewise.
14412 * malloc/mtrace.c (tr_break): Likewise.
14413 (mtrace): Likewise.
14414 (muntrace): Likewise.
14415 * misc/fstab.c (endfsent): Likewise.
14416 * misc/getclktck.c (__getclktck): Likewise.
14417 * misc/getdtsz.c (__getdtablesize): Likewise.
14418 * misc/gethostid.c (gethostid): Likewise.
14419 * misc/getpagesize.c (__getpagesize): Likewise.
14420 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14421 (__get_nprocs): Likewise.
14422 (__get_phys_pages): Likewise.
14423 (__get_avphys_pages): Likewise.
14424 * misc/getttyent.c (getttyent): Likewise.
14425 (setttyent): Likewise.
14426 (endttyent): Likewise.
14427 * misc/getusershell.c (getusershell): Likewise.
14428 (endusershell): Likewise.
14429 (setusershell): Likewise.
14430 (initshells): Likewise.
14431 * misc/hsearch.c (__hdestroy): Likewise.
14432 * misc/sync.c (sync): Likewise.
14433 * misc/syslog.c (closelog_internal): Likewise.
14434 (closelog): Likewise.
14435 * misc/ttyslot.c (ttyslot): Likewise.
14436 * misc/vhangup.c (vhangup): Likewise.
14437 * posix/fork.c (__fork): Likewise.
14438 * posix/getegid.c (__getegid): Likewise.
14439 * posix/geteuid.c (__geteuid): Likewise.
14440 * posix/getgid.c (__getgid): Likewise.
14441 * posix/getpid.c (__getpid): Likewise.
14442 * posix/getppid.c (__getppid): Likewise.
14443 * posix/getuid.c (__getuid): Likewise.
14444 * posix/pause.c (pause): Likewise.
14445 * posix/setpgrp.c (setpgrp): Likewise.
14446 * posix/setsid.c (__setsid): Likewise.
14447 * posix/test-vfork.c (noop): Likewise.
14448 * resolv/gethnamaddr.c (_endhtent): Likewise.
14449 (_gethtent): Likewise.
14450 (ht_endhostent): Likewise.
14451 (gethostent): Likewise.
14452 (dns_service): Likewise.
14453 * stdlib/drand48.c (drand48): Likewise.
14454 * stdlib/lrand48.c (lrand48): Likewise.
14455 * stdlib/mrand48.c (mrand48): Likewise.
14456 * stdlib/rand.c (rand): Likewise.
14457 * stdlib/random.c (__random): Likewise.
14458 * stdlib/setenv.c (clearenv): Likewise.
14459 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14460 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14461 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14462 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14463 (__get_nprocs): Likewise.
14464 (__get_phys_pages): Likewise.
14465 (__get_avphys_pages): Likewise.
14466 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14467 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14468 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14469 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14470 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14471 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14472 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14473 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14474 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14475 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14476 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14477 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14478 * sysdeps/posix/clock.c (clock): Likewise.
14479 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14480 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14481 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14482 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14483 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14484 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14485 (__get_nprocs_conf): Likewise.
14486 (__get_phys_pages): Likewise.
14487 (__get_avphys_pages): Likewise.
14488 * time/clock.c (clock): Likewise.
14489 * time/tzset.c (__tzname_max): Likewise.
14490
2e09a79a
JM
144912013-06-07 Joseph Myers <joseph@codesourcery.com>
14492
14493 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14494 (__bswap_32): Do not use "register".
14495 * crypt/crypt.c (_ufc_doit_r): Likewise.
14496 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14497 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14498 * gmon/gmon.c (__monstartup): Likewise.
14499 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14500 * hurd/hurdmalloc.c (more_memory): Likewise.
14501 (malloc): Likewise.
14502 (free): Likewise.
14503 (realloc): Likewise.
14504 (malloc_fork_prepare): Likewise.
14505 (malloc_fork_parent): Likewise.
14506 (malloc_fork_child): Likewise.
14507 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14508 (_svcauth_des): Likewise.
14509 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14510 * inet/inet_net.c (inet_network): Likewise.
14511 * inet/inet_netof.c (inet_netof): Likewise.
14512 * inet/rcmd.c (__validuser2_sa): Likewise.
14513 * io/fts.c (fts_open): Likewise.
14514 (fts_load): Likewise.
14515 (fts_close): Likewise.
14516 (fts_read): Likewise.
14517 (fts_children): Likewise.
14518 (fts_build): Likewise.
14519 (fts_stat): Likewise.
14520 (fts_sort): Likewise.
14521 (fts_alloc): Likewise.
14522 (fts_lfree): Likewise.
14523 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14524 (_IO_file_xsgetn): Likewise.
14525 (_IO_file_xsgetn_mmap): Likewise.
14526 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14527 (_IO_cookie_write): Likewise.
14528 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14529 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14530 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14531 * malloc/obstack.c (_obstack_begin): Likewise.
14532 (_obstack_begin_1): Likewise.
14533 (_obstack_newchunk): Likewise.
14534 (_obstack_allocated_p): Likewise.
14535 (obstack_free): Likewise.
14536 (_obstack_memory_used): Likewise.
14537 * misc/getttyent.c (getttynam): Likewise.
14538 (getttyent): Likewise.
14539 (skip): Likewise.
14540 (value): Likewise.
14541 * misc/getusershell.c (initshells): Likewise.
14542 * misc/syslog.c (__vsyslog_chk): Likewise.
14543 * misc/ttyslot.c (ttyslot): Likewise.
14544 * nis/nis_hash.c (__nis_hash): Likewise.
14545 * posix/fnmatch_loop.c (FCT): Likewise.
14546 * posix/getconf.c (print_all): Likewise.
14547 (main): Likewise.
14548 * posix/getopt.c (exchange): Likewise.
14549 * posix/glob.c (globfree): Likewise.
14550 (prefix_array): Likewise.
14551 (__glob_pattern_type): Likewise.
14552 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14553 (NS_GET32): Likewise.
14554 (NS_PUT16): Likewise.
14555 (NS_PUT32): Likewise.
14556 * resolv/gethnamaddr.c (getanswer): Likewise.
14557 (gethostbyname2): Likewise.
14558 (gethostbyaddr): Likewise.
14559 (_gethtent): Likewise.
14560 (_gethtbyname2): Likewise.
14561 (_gethtbyaddr): Likewise.
14562 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14563 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14564 * resolv/res_init.c (__res_vinit): Likewise.
14565 (net_mask): Likewise.
14566 * resolv/res_mkquery.c (outchar): Likewise.
14567 (PRINT): Likewise.
14568 * stdio-common/printf_fp.c (outchar): Likewise.
14569 (PRINT): Likewise.
14570 * stdio-common/printf_fphex.c (outchar): Likewise.
14571 (PRINT): Likewise.
14572 * stdio-common/printf_size.c (outchar): Likewise.
14573 (PRINT): Likewise.
14574 * stdio-common/test_rdwr.c (main): Likewise.
14575 * stdio-common/tfformat.c (matches): Likewise.
14576 * stdio-common/vfprintf.c (outchar): Likewise.
14577 (printf_unknown): Likewise.
14578 (buffered_vfprintf): Likewise.
14579 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14580 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14581 (ReadFile): Likewise.
14582 * stdlib/qsort.c (SWAP): Likewise.
14583 (_quicksort): Likewise.
14584 * stdlib/setenv.c (__add_to_environ): Likewise.
14585 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14586 * stdlib/strtol_l.c (__strtol_l): Likewise.
14587 * stdlib/tst-strtod.c (main): Likewise.
14588 * stdlib/tst-strtol.c (main): Likewise.
14589 * stdlib/tst-strtoll.c (main): Likewise.
14590 * string/bits/string2.h (__strcmp_cc): Likewise.
14591 (__strcmp_cg): Likewise.
14592 (__strcspn_c1): Likewise.
14593 (__strcspn_c2): Likewise.
14594 (__strcspn_c3): Likewise.
14595 (__strspn_c1): Likewise.
14596 (__strspn_c2): Likewise.
14597 (__strspn_c3): Likewise.
14598 (__strsep_1c): Likewise.
14599 (__strsep_2c): Likewise.
14600 (__strsep_3c): Likewise.
14601 * string/memccpy.c (__memccpy): Likewise.
14602 * string/stpcpy.c (__stpcpy): Likewise.
14603 * string/strcmp.c (strcmp): Likewise.
14604 * string/strrchr.c (strrchr): Likewise.
14605 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14606 Likewise.
14607 * sysdeps/mach/hurd/getcwd.c
14608 (_hurd_canonicalize_directory_name_internal): Likewise.
14609 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14610 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14611 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14612 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14613 Likewise, in both definitions.
14614 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14615 definitions.
14616 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14617 64] (__bswap_64): Likewise.
14618 * time/test_time.c (main): Likewise.
14619 * time/tzfile.c (__tzfile_read): Likewise.
14620 (__tzfile_compute): Likewise.
14621 * time/tzset.c (__tzset_parse_tz): Likewise.
14622 (tzset_internal): Likewise.
14623 (compute_change): Likewise.
14624 * wcsmbs/wcscat.c (__wcscat): Likewise.
14625 * wcsmbs/wcschr.c (wcschr): Likewise.
14626 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14627 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14628 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14629 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14630 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14631 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14632 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14633 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14634 * wcsmbs/wmemset.c (wmemset): Likewise.
14635
9e54314b
JM
146362013-06-06 Joseph Myers <joseph@codesourcery.com>
14637
14638 * scripts/config.guess: Update to version 2013-05-16.
14639 * scripts/config.sub: Update to version 2013-04-24.
14640 * scripts/install-sh: Update to version 2011-11-20.07.
14641 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14642 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14643
350635a5
OB
146442013-06-06 Ondřej Bílka <neleai@seznam.cz>
14645
14646 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14647 * elf/sln.c: Likewise.
14648 * hurd/hurd/ioctl.h: Likewise.
14649 * hurd/hurdmalloc.c: Likewise.
14650 * hurd/xattr.c: Likewise.
14651 * include/shlib-compat.h: Likewise.
14652 * inet/ruserpass.c: Likewise.
14653 * libio/iofgets_u.c: Likewise.
14654 * libio/iofgetws_u.c: Likewise.
14655 * locale/programs/ld-identification.c: Likewise.
14656 * locale/programs/ld-time.c: Likewise.
14657 * mach/msg-destroy.c: Likewise.
14658 * nss/nss_files/files-netgrp.c: Likewise.
14659 * resolv/res_data.c: Likewise.
14660 * soft-fp/op-1.h: Likewise.
14661 * soft-fp/op-2.h: Likewise.
14662 * soft-fp/op-4.h: Likewise.
14663 * soft-fp/op-common.h: Likewise.
14664 * stdio-common/printf_fphex.c: Likewise.
14665 * stdlib/strtod_l.c: Likewise.
14666 * sunrpc/rpc/clnt.h: Likewise.
14667 * sysdeps/generic/framestate.c: Likewise.
14668 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14669 * sysdeps/i386/bsd-setjmp.S: Likewise.
14670 * sysdeps/i386/__longjmp.S: Likewise.
14671 * sysdeps/i386/setjmp.S: Likewise.
14672 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14673 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14674 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14690 * sysdeps/ieee754/support.c: Likewise.
14691 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14692 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14693 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14694 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14695 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14696 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14697 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14698 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14699 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14700 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14701 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14702 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14703 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14704 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14705 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14706 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14707 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14709
44a988af
OB
147102013-06-05 Ondřej Bílka <neleai@seznam.cz>
14711
25506f09 14712 * posix/transbug.c: Remove executable mode.
44a988af 14713
9c84384c
JM
147142013-06-05 Joseph Myers <joseph@codesourcery.com>
14715
14716 * crypt/speeds.c: Remove trailing whitespace.
14717 * dlfcn/default.c: Likewise.
14718 * elf/ifuncdep2.c: Likewise.
14719 * elf/ifuncmain1.c: Likewise.
14720 * elf/ifuncmain1vis.c: Likewise.
14721 * elf/testobj.h: Likewise.
14722 * elf/tst-stackguard1.c: Likewise.
14723 * gmon/sys/gmon.h: Likewise.
14724 * hurd/hurdmsg.c: Likewise.
14725 * hurd/new-fd.c: Likewise.
14726 * hurd/ports-get.c: Likewise.
14727 * iconvdata/ibm1008_420.c: Likewise.
14728 * inet/tst-getni1.c: Likewise.
14729 * inet/tst-getni2.c: Likewise.
14730 * libio/ioungetc.c: Likewise.
14731 * libio/wfiledoalloc.c: Likewise.
14732 * manual/libm-err-tab.pl: Likewise.
14733 * math/w_dremf.c: Likewise.
14734 * misc/ftruncate.c: Likewise.
14735 * posix/bug-glob2.c: Likewise.
14736 * posix/tst-pcre.c: Likewise.
14737 * posix/wait4.c: Likewise.
14738 * resolv/README: Likewise.
14739 * resolv/res_debug.h: Likewise.
14740 * resolv/tst-inet_ntop.c: Likewise.
14741 * setjmp/bug269-setjmp.c: Likewise.
14742 * soft-fp/extended.h: Likewise.
14743 * soft-fp/op-1.h: Likewise.
14744 * soft-fp/op-2.h: Likewise.
14745 * soft-fp/op-4.h: Likewise.
14746 * soft-fp/op-8.h: Likewise.
14747 * soft-fp/testit.c: Likewise.
14748 * stdio-common/bug16.c: Likewise.
14749 * stdlib/random.c: Likewise.
14750 * sunrpc/rpcsvc/rquota.x: Likewise.
14751 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14752 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14753 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14754 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14755 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14756 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14757 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14758 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14759 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14760 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14761 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14762 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14763 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14764 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14765 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14766 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14767 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14768 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14769 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14770 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14771 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14772 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14773 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14774 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14775 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14776 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14778 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14779 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14780 * sysdeps/ieee754/s_lib_version.c: Likewise.
14781 * sysdeps/mach/hurd/check_fds.c: Likewise.
14782 * sysdeps/mach/hurd/getsockname.c: Likewise.
14783 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14784 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14785 * sysdeps/powerpc/bits/link.h: Likewise.
14786 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14787 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14788 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14789 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14790 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14791 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14792 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14793 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14794 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14795 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14796 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14797 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14798 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14799 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14800 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14801 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14802 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14803 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14804 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14805 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14806 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14807 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14808 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14809 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14810 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14811 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14812 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14813 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14814 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14815 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14816 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14817 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14818 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14819 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14820 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14821 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14822 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14823 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14824 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14825 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14826 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14827 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14828 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14829 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14830 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14831 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14832 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14833 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14834 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14835 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14838 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14839 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14840 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14841 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14842 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14843 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14844 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14845 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14846 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14847 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14848 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14849 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14850 * sysdeps/powerpc/sysdep.h: Likewise.
14851 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14852 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14853 * sysdeps/sh/dl-trampoline.S: Likewise.
14854 * sysdeps/sh/memset.S: Likewise.
14855 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14856 * sysdeps/sh/strlen.S: Likewise.
14857 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14858 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14859 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14860 * sysdeps/sparc/sparc32/rem.S: Likewise.
14861 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14862 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14863 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14864 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14865 * sysdeps/sparc/sparc32/urem.S: Likewise.
14866 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14867 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14868 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14869 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14870 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14871 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14872 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14873 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14874 * sysdeps/unix/bsd/times.c: Likewise.
14875 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14876 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14880 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14881 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14882 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14883 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14884 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14885 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14886 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14887 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14888 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14889 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14890 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14891 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14892 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14893 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14894 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14895 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14896 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14897 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14898 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14899 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14900 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14901 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14902 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14903 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14904 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14905 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14906 * sysdeps/x86_64/strcspn.S: Likewise.
14907
869378a5
RA
149082013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14909
14910 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14911 generated file. Regenerate properly from gen-translit.pl.
14912 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14913 locale/C-translit.h.
14914
840e2943
AS
149152013-06-05 Andreas Schwab <schwab@suse.de>
14916
14917 [BZ #15100]
14918 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14919 week as 6 instead of -1.
14920 * time/tst-strptime.c (day_tests): Add test case.
14921
4c60cb0c
SP
149222013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14923
14924 * sysdeps/generic/math_private.h
14925 (libc_feholdexcept_setround_53bit): Replace with
14926 libc_feholdsetround_53bit.
14927 (libc_feupdateenv_53bit): Replace with
14928 libc_feresetround_53bit.
14929 (SET_RESTORE_ROUND_53BIT): Adjust.
14930
d180203e
SP
149312013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14932
96df079a
SP
14933 * string/test-strchrnul.c: Add copyright header.
14934
d180203e
SP
14935 * posix/tst-getaddrinfo4.c: Increase test timeout.
14936
8b0ccb2d
CD
149372013-06-03 Carlos O'Donell <carlos@redhat.com>
14938
14939 [BZ #15536]
14940 * math/libm-test.inc (MAX_EXP): Remove
14941 (MIN_EXP): Define.
14942 (ulp): Use MIN_EXP - MANT_DIG.
14943 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14944
3b3c4d40
CD
149452013-05-31 Carlos O'Donell <carlos@redhat.com>
14946
14947 * po/be.po: Revert last change.
14948 * po/zh_CN.po: Likewise.
14949 * po/header.pot: Likewise.
14950
fab7ce3f
JM
149512013-05-31 Joseph Myers <joseph@codesourcery.com>
14952
14953 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14954 link-libc-deps to empty as target-specific variable.
14955 * Makerules (link-libc-args): New variable.
14956 (libc-for-link): Likewise.
14957 (link-libc-deps): Likewise.
14958 (lib%.so): Depend on $(link-libc-deps). Link with
14959 $(link-libc-args).
14960 (build-module): Link with $(link-libc-args).
14961 (build-module-asneeded): Likewise.
14962 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14963 list of objects.
14964 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14965 target-specific variable.
14966 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14967 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14968 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14969 libc.
14970 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14971 libc and ld.so.
14972 ($(objpfx)libpcprofile.so): Likewise.
14973 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14974 libc_nonshared.a.
14975 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14976 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14977 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14978 $(link-libc-deps).
14979 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14980 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14981 * login/Makefile ($(objpfx)libutil.so): Likewise.
14982 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14983 * math/Makefile ($(objpfx)libm.so): Likewise.
14984 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14985 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14986 variable instead of depending directly on libc.
14987 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14988 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14989 $(link-libc-deps).
14990 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14991 libc.
14992 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14993 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14994 ($(objpfx)libanl.so): Likewise.
14995 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14996 ld.so.
14997 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14998 $(link-libc-deps).
14999 * sysdeps/i386/fpu/Makefile: Remove file.
15000 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15001 ($(objpfx)libm.so): Remove dependency on ld.so.
15002
eca5920c
PF
150032013-05-30 Patsy Franklin <pfrankli@redhat.com>
15004
15005 [BZ # 15553]
15006 * nis/yp_xdr.c (XDRMAXNAME): Define.
15007 (XDRMAXRECORD): Define.
15008 (xdr_domainname): Use XDRMAXNAME.
15009 (xdr_mapname): Likewise.
15010 (xdr_peername): Likewise.
15011 (xdr_keydat): Use XDRMAXRECORD.
15012 (xdr_valdat): Likewise.
15013
150142013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15015
15016 [BZ #14256]
15017 * manual/errno.texi (ESTALE): Update to account for more than
15018 just NFS file systems.
15019 * sysdeps/gnu/errlist.c: Regenerated.
15020
b9375348
SP
150212013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15022
15023 [BZ #15465]
15024 * elf/Makefile (tests): Add tst-null-argv.
15025 (modules-names): Add tst-null-argv-lib.
15026 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15027 (tst-null-argv-ENV): Set environment for tst-null-argv.
15028 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15029 (RTLD_PROGNAME): New macro.
15030 * elf/tst-null-argv.c: New test case.
15031 * elf/tst-null-argv-lib.c: Library for test case.
15032 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15033 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15034 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15035 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15036 * elf/dl-init.c (call_init): Likewise.
15037 (_dl_init): Likewise.
15038 * elf/dl-load.c (print_search_path): Likewise.
15039 (_dl_map_object): Likewise.
15040 * elf/dl-lookup.c (do_lookup_x): Likewise.
15041 (add_dependency): Likewise.
15042 (_dl_lookup_symbol_x): Likewise.
15043 (_dl_debug_bindings): Likewise.
15044 * elf/dl-open.c (_dl_show_scope): Likewise.
15045 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15046 * elf/dl-version.c (match_symbol): Likewise.
15047 (_dl_check_map_versions): Likewise.
15048 * elf/rtld.c (dl_main): Likewise.
15049 (print_unresolved): Use RTLD_PROGNAME.
15050 (print_missing_version): Likewise.
15051 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15052 (elf_machine_rela): Likewise.
15053 * sysdeps/powerpc/powerpc32/dl-machine.c
15054 (__process_machine_rela): Likewise.
15055 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15056 Likewise.
15057 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15058 Likewise.
15059 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15060 Likewise.
15061 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15062 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15063 Likewise.
15064 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15065 Likewise.
15066 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15067
8a9f20c8
CD
150682013-05-28 Carlos O'Donell <carlos@redhat.com>
15069
15070 * po/be.po: Add descriptive title.
15071 * po/zh_CN.po: Likewise.
15072 * po/header.pot: Likewise.
15073
0e60d68e
MF
150742013-05-28 Mike Frysinger <vapier@gentoo.org>
15075
15076 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15077 error message.
15078 (enlarge_archive): Likewise.
15079
56b672e9
BN
150802013-05-28 Ben North <ben@redfrontdoor.org>
15081
15082 * manual/arith.texi (frexp): It is the magnitude of the return
15083 value which lies in [0.5, 1), not the return value itself.
15084
5e056687
AZ
150852013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15086
15087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15088
2b66ef5d
TS
150892013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15090
528c2405
TS
15091 * stdio-common/bug26.c (main): Correct fscanf template.
15092
07b4c13d
TS
15093 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15094 declare _dl_skip_args.
15095
ec9dd97c
TS
15096 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15097 Don't declare.
15098
2b66ef5d
TS
15099 * manual/platform.texi: Add missing @end deftypefun.
15100
4f8dfe27
JM
151012013-05-24 Joseph Myers <joseph@codesourcery.com>
15102
0323d086
JM
15103 [BZ #15529]
15104 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15105 bit of mantissa of 2^16382.
15106 * math/libm-test.inc (hypot_test_data): Add more tests.
15107
dd4259b9
JM
15108 * math/libm-test.inc: Add drem and pow10 to list of tested
15109 functions.
15110 (pow10_test): New function.
15111 (drem_test): Likewise.
15112 (drem_test_tonearest): Likewise.
15113 (drem_test_towardzero): Likewise.
15114 (drem_test_downward): Likewise.
15115 (drem_test_upward): Likewise.
15116 (main): Call the new functions.
15117
4f8dfe27
JM
15118 * math/libm-test.inc (finite_test_data): Remove.
15119 (finite_test): Run tests from isfinite_test_data.
15120 (gamma_test_data): Remove.
15121 (gamma_test): Run tests from lgamma_test_data.
15122 * sysdeps/i386/fpu/libm-test-ulps: Update.
15123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15124
d116b7c4
AZ
151252013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15126
15127 * manual/platform.texi: Add PowerPC PPR function set documentation.
15128 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15129 implementation.
15130
e96e3767
CD
151312013-05-24 Carlos O'Donell <carlos@redhat.com>
15132
15133 * math/libm-test.inc (MAX_EXP): Define.
15134 (ULPDIFF): Define.
15135 (ulp): New function.
15136 (check_float_internal): Use ULPDIFF.
15137 (cpow_test): Disable failing test.
15138 (check_ulp): Test ulp() implemetnation.
15139 (main): Call check_ulp before starting tests.
15140
b679a606
JM
151412013-05-24 Joseph Myers <joseph@codesourcery.com>
15142
e8bdba36
JM
15143 * math/gen-libm-test.pl (generate_testfile): Do not handle
15144 START_DATA and END_DATA.
15145 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15146 END_DATA.
15147 (acos_tonearest_test_data): Likewise.
15148 (acos_towardzero_test_data): Likewise.
15149 (acos_downward_test_data): Likewise.
15150 (acos_upward_test_data): Likewise.
15151 (acosh_test_data): Likewise.
15152 (asin_test_data): Likewise.
15153 (asin_tonearest_test_data): Likewise.
15154 (asin_towardzero_test_data): Likewise.
15155 (asin_downward_test_data): Likewise.
15156 (asin_upward_test_data): Likewise.
15157 (asinh_test_data): Likewise.
15158 (atan_test_data): Likewise.
15159 (atanh_test_data): Likewise.
15160 (atan2_test_data): Likewise.
15161 (cabs_test_data): Likewise.
15162 (cacos_test_data): Likewise.
15163 (cacosh_test_data): Likewise.
15164 (carg_test_data): Likewise.
15165 (casin_test_data): Likewise.
15166 (casinh_test_data): Likewise.
15167 (catan_test_data): Likewise.
15168 (catanh_test_data): Likewise.
15169 (cbrt_test_data): Likewise.
15170 (ccos_test_data): Likewise.
15171 (ccosh_test_data): Likewise.
15172 (ceil_test_data): Likewise.
15173 (cexp_test_data): Likewise.
15174 (cimag_test_data): Likewise.
15175 (clog_test_data): Likewise.
15176 (clog10_test_data): Likewise.
15177 (conj_test_data): Likewise.
15178 (copysign_test_data): Likewise.
15179 (cos_test_data): Likewise.
15180 (cos_tonearest_test_data): Likewise.
15181 (cos_towardzero_test_data): Likewise.
15182 (cos_downward_test_data): Likewise.
15183 (cos_upward_test_data): Likewise.
15184 (cosh_test_data): Likewise.
15185 (cosh_tonearest_test_data): Likewise.
15186 (cosh_towardzero_test_data): Likewise.
15187 (cosh_downward_test_data): Likewise.
15188 (cosh_upward_test_data): Likewise.
15189 (cpow_test_data): Likewise.
15190 (cproj_test_data): Likewise.
15191 (creal_test_data): Likewise.
15192 (csin_test_data): Likewise.
15193 (csinh_test_data): Likewise.
15194 (csqrt_test_data): Likewise.
15195 (ctan_test_data): Likewise.
15196 (ctan_tonearest_test_data): Likewise.
15197 (ctan_towardzero_test_data): Likewise.
15198 (ctan_downward_test_data): Likewise.
15199 (ctan_upward_test_data): Likewise.
15200 (ctanh_test_data): Likewise.
15201 (ctanh_tonearest_test_data): Likewise.
15202 (ctanh_towardzero_test_data): Likewise.
15203 (ctanh_downward_test_data): Likewise.
15204 (ctanh_upward_test_data): Likewise.
15205 (erf_test_data): Likewise.
15206 (erfc_test_data): Likewise.
15207 (exp_test_data): Likewise.
15208 (exp_tonearest_test_data): Likewise.
15209 (exp_towardzero_test_data): Likewise.
15210 (exp_downward_test_data): Likewise.
15211 (exp_upward_test_data): Likewise.
15212 (exp10_test_data): Likewise.
15213 (exp2_test_data): Likewise.
15214 (expm1_test_data): Likewise.
15215 (fabs_test_data): Likewise.
15216 (fdim_test_data): Likewise.
15217 (finite_test_data): Likewise.
15218 (floor_test_data): Likewise.
15219 (fma_test_data): Likewise.
15220 (fma_towardzero_test_data): Likewise.
15221 (fma_downward_test_data): Likewise.
15222 (fma_upward_test_data): Likewise.
15223 (fmax_test_data): Likewise.
15224 (fmin_test_data): Likewise.
15225 (fmod_test_data): Likewise.
15226 (fpclassify_test_data): Likewise.
15227 (frexp_test_data): Likewise.
15228 (gamma_test_data): Likewise.
15229 (hypot_test_data): Likewise.
15230 (ilogb_test_data): Likewise.
15231 (isfinite_test_data): Likewise.
15232 (isgreater_test_data): Likewise.
15233 (isgreaterequal_test_data): Likewise.
15234 (isinf_test_data): Likewise.
15235 (isless_test_data): Likewise.
15236 (islessequal_test_data): Likewise.
15237 (islessgreater_test_data): Likewise.
15238 (isnan_test_data): Likewise.
15239 (isnormal_test_data): Likewise.
15240 (issignaling_test_data): Likewise.
15241 (isunordered_test_data): Likewise.
15242 (j0_test_data): Likewise.
15243 (j1_test_data): Likewise.
15244 (jn_test_data): Likewise.
15245 (ldexp_test_data): Likewise.
15246 (lgamma_test_data): Likewise.
15247 (lrint_test_data): Likewise.
15248 (lrint_tonearest_test_data): Likewise.
15249 (lrint_towardzero_test_data): Likewise.
15250 (lrint_downward_test_data): Likewise.
15251 (lrint_upward_test_data): Likewise.
15252 (llrint_test_data): Likewise.
15253 (llrint_tonearest_test_data): Likewise.
15254 (llrint_towardzero_test_data): Likewise.
15255 (llrint_downward_test_data): Likewise.
15256 (llrint_upward_test_data): Likewise.
15257 (log_test_data): Likewise.
15258 (log10_test_data): Likewise.
15259 (log1p_test_data): Likewise.
15260 (log2_test_data): Likewise.
15261 (logb_test_data): Likewise.
15262 (logb_downward_test_data): Likewise.
15263 (lround_test_data): Likewise.
15264 (llround_test_data): Likewise.
15265 (modf_test_data): Likewise.
15266 (nearbyint_test_data): Likewise.
15267 (nextafter_test_data): Likewise.
15268 (nexttoward_test_data): Likewise.
15269 (pow_test_data): Likewise.
15270 (pow_tonearest_test_data): Likewise.
15271 (pow_towardzero_test_data): Likewise.
15272 (pow_downward_test_data): Likewise.
15273 (pow_upward_test_data): Likewise.
15274 (remainder_test_data): Likewise.
15275 (remainder_tonearest_test_data): Likewise.
15276 (remainder_towardzero_test_data): Likewise.
15277 (remainder_downward_test_data): Likewise.
15278 (remainder_upward_test_data): Likewise.
15279 (remquo_test_data): Likewise.
15280 (rint_test_data): Likewise.
15281 (rint_tonearest_test_data): Likewise.
15282 (rint_towardzero_test_data): Likewise.
15283 (rint_downward_test_data): Likewise.
15284 (rint_upward_test_data): Likewise.
15285 (round_test_data): Likewise.
15286 (scalb_test_data): Likewise.
15287 (scalbn_test_data): Likewise.
15288 (scalbln_test_data): Likewise.
15289 (signbit_test_data): Likewise.
15290 (sin_test_data): Likewise.
15291 (sin_tonearest_test_data): Likewise.
15292 (sin_towardzero_test_data): Likewise.
15293 (sin_downward_test_data): Likewise.
15294 (sin_upward_test_data): Likewise.
15295 (sincos_test_data): Likewise.
15296 (sinh_test_data): Likewise.
15297 (sinh_tonearest_test_data): Likewise.
15298 (sinh_towardzero_test_data): Likewise.
15299 (sinh_downward_test_data): Likewise.
15300 (sinh_upward_test_data): Likewise.
15301 (sqrt_test_data): Likewise.
15302 (tan_test_data): Likewise.
15303 (tan_tonearest_test_data): Likewise.
15304 (tan_towardzero_test_data): Likewise.
15305 (tan_downward_test_data): Likewise.
15306 (tan_upward_test_data): Likewise.
15307 (tanh_test_data): Likewise.
15308 (tgamma_test_data): Likewise.
15309 (trunc_test_data): Likewise.
15310 (y0_test_data): Likewise.
15311 (y1_test_data): Likewise.
15312 (yn_test_data): Likewise.
15313 (significand_test_data): Likewise.
15314
b679a606
JM
15315 * math/gen-libm-test.pl (@functions): Remove variable.
15316 (generate_testfile): Don't handle START and END lines.
15317 * math/libm-test.inc (START): New macro.
15318 (END): Likewise.
15319 (END_COMPLEX): Likewise.
15320 (acos_test): Use END macro without arguments.
15321 (acos_test_tonearest): Likewise.
15322 (acos_test_towardzero): Likewise.
15323 (acos_test_downward): Likewise.
15324 (acos_test_upward): Likewise.
15325 (acosh_test): Likewise.
15326 (asin_test): Likewise.
15327 (asin_test_tonearest): Likewise.
15328 (asin_test_towardzero): Likewise.
15329 (asin_test_downward): Likewise.
15330 (asin_test_upward): Likewise.
15331 (asinh_test): Likewise.
15332 (atan_test): Likewise.
15333 (atanh_test): Likewise.
15334 (atan2_test): Likewise.
15335 (cabs_test): Likewise.
15336 (cacos_test): Use END_COMPLEX macro without arguments.
15337 (cacosh_test): Likewise.
15338 (carg_test): Use END macro without arguments.
15339 (casin_test): Use END_COMPLEX macro without arguments.
15340 (casinh_test): Likewise.
15341 (catan_test): Likewise.
15342 (catanh_test): Likewise.
15343 (cbrt_test): Use END macro without arguments.
15344 (ccos_test): Use END_COMPLEX macro without arguments.
15345 (ccosh_test): Likewise.
15346 (ceil_test): Use END macro without arguments.
15347 (cexp_test): Use END_COMPLEX macro without arguments.
15348 (cimag_test): Use END macro without arguments.
15349 (clog_test): Use END_COMPLEX macro without arguments.
15350 (clog10_test): Likewise.
15351 (conj_test): Likewise.
15352 (copysign_test): Use END macro without arguments.
15353 (cos_test): Likewise.
15354 (cos_test_tonearest): Likewise.
15355 (cos_test_towardzero): Likewise.
15356 (cos_test_downward): Likewise.
15357 (cos_test_upward): Likewise.
15358 (cosh_test): Likewise.
15359 (cosh_test_tonearest): Likewise.
15360 (cosh_test_towardzero): Likewise.
15361 (cosh_test_downward): Likewise.
15362 (cosh_test_upward): Likewise.
15363 (cpow_test): Use END_COMPLEX macro without arguments.
15364 (cproj_test): Likewise.
15365 (creal_test): Use END macro without arguments.
15366 (csin_test): Use END_COMPLEX macro without arguments.
15367 (csinh_test): Likewise.
15368 (csqrt_test): Likewise.
15369 (ctan_test): Likewise.
15370 (ctan_test_tonearest): Likewise.
15371 (ctan_test_towardzero): Likewise.
15372 (ctan_test_downward): Likewise.
15373 (ctan_test_upward): Likewise.
15374 (ctanh_test): Likewise.
15375 (ctanh_test_tonearest): Likewise.
15376 (ctanh_test_towardzero): Likewise.
15377 (ctanh_test_downward): Likewise.
15378 (ctanh_test_upward): Likewise.
15379 (erf_test): Use END macro without arguments.
15380 (erfc_test): Likewise.
15381 (exp_test): Likewise.
15382 (exp_test_tonearest): Likewise.
15383 (exp_test_towardzero): Likewise.
15384 (exp_test_downward): Likewise.
15385 (exp_test_upward): Likewise.
15386 (exp10_test): Likewise.
15387 (exp2_test): Likewise.
15388 (expm1_test): Likewise.
15389 (fabs_test): Likewise.
15390 (fdim_test): Likewise.
15391 (finite_test): Likewise.
15392 (floor_test): Likewise.
15393 (fma_test): Likewise.
15394 (fma_test_towardzero): Likewise.
15395 (fma_test_downward): Likewise.
15396 (fma_test_upward): Likewise.
15397 (fmax_test): Likewise.
15398 (fmin_test): Likewise.
15399 (fmod_test): Likewise.
15400 (fpclassify_test): Likewise.
15401 (frexp_test): Likewise.
15402 (gamma_test): Likewise.
15403 (hypot_test): Likewise.
15404 (ilogb_test): Likewise.
15405 (isfinite_test): Likewise.
15406 (isgreater_test): Likewise.
15407 (isgreaterequal_test): Likewise.
15408 (isinf_test): Likewise.
15409 (isless_test): Likewise.
15410 (islessequal_test): Likewise.
15411 (islessgreater_test): Likewise.
15412 (isnan_test): Likewise.
15413 (isnormal_test): Likewise.
15414 (issignaling_test): Likewise.
15415 (isunordered_test): Likewise.
15416 (j0_test): Likewise.
15417 (j1_test): Likewise.
15418 (jn_test): Likewise.
15419 (ldexp_test): Likewise.
15420 (lgamma_test): Likewise.
15421 (lrint_test): Likewise.
15422 (lrint_test_tonearest): Likewise.
15423 (lrint_test_towardzero): Likewise.
15424 (lrint_test_downward): Likewise.
15425 (lrint_test_upward): Likewise.
15426 (llrint_test): Likewise.
15427 (llrint_test_tonearest): Likewise.
15428 (llrint_test_towardzero): Likewise.
15429 (llrint_test_downward): Likewise.
15430 (llrint_test_upward): Likewise.
15431 (log_test): Likewise.
15432 (log10_test): Likewise.
15433 (log1p_test): Likewise.
15434 (log2_test): Likewise.
15435 (logb_test): Likewise.
15436 (logb_test_downward): Likewise.
15437 (lround_test): Likewise.
15438 (llround_test): Likewise.
15439 (modf_test): Likewise.
15440 (nearbyint_test): Likewise.
15441 (nextafter_test): Likewise.
15442 (nexttoward_test): Likewise.
15443 (pow_test): Likewise.
15444 (pow_test_tonearest): Likewise.
15445 (pow_test_towardzero): Likewise.
15446 (pow_test_downward): Likewise.
15447 (pow_test_upward): Likewise.
15448 (remainder_test): Likewise.
15449 (remainder_test_tonearest): Likewise.
15450 (remainder_test_towardzero): Likewise.
15451 (remainder_test_downward): Likewise.
15452 (remainder_test_upward): Likewise.
15453 (remquo_test): Likewise.
15454 (rint_test): Likewise.
15455 (rint_test_tonearest): Likewise.
15456 (rint_test_towardzero): Likewise.
15457 (rint_test_downward): Likewise.
15458 (rint_test_upward): Likewise.
15459 (round_test): Likewise.
15460 (scalb_test): Likewise.
15461 (scalbn_test): Likewise.
15462 (scalbln_test): Likewise.
15463 (signbit_test): Likewise.
15464 (sin_test): Likewise.
15465 (sin_test_tonearest): Likewise.
15466 (sin_test_towardzero): Likewise.
15467 (sin_test_downward): Likewise.
15468 (sin_test_upward): Likewise.
15469 (sincos_test): Likewise.
15470 (sinh_test): Likewise.
15471 (sinh_test_tonearest): Likewise.
15472 (sinh_test_towardzero): Likewise.
15473 (sinh_test_downward): Likewise.
15474 (sinh_test_upward): Likewise.
15475 (sqrt_test): Likewise.
15476 (tan_test): Likewise.
15477 (tan_test_tonearest): Likewise.
15478 (tan_test_towardzero): Likewise.
15479 (tan_test_downward): Likewise.
15480 (tan_test_upward): Likewise.
15481 (tanh_test): Likewise.
15482 (tgamma_test): Likewise.
15483 (trunc_test): Likewise.
15484 (y0_test): Likewise.
15485 (y1_test): Likewise.
15486 (yn_test): Likewise.
15487 (significand_test): Likewise.
15488
bae143d2
OB
154892013-05-24 Ondřej Bílka <neleai@seznam.cz>
15490
15491 [BZ #15381]
15492 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15493
9323d39b
EM
154942013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15495
d4ea44a0 15496 [BZ #14894]
9323d39b
EM
15497 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15498 __ppc_mdoio and __ppc_mdoom.
15499 * manual/platform.texi: Document new functions __ppc_yield,
15500 __ppc_mdoio and __ppc_mdoom.
15501
13e23af7
CD
155022013-05-22 Carlos O'Donell <carlos@redhat.com>
15503
15504 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15505 (main): Mention "tls" pseudo-hwcap is legacy.
15506 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15507
351fe550
JM
155082013-05-22 Joseph Myers <joseph@codesourcery.com>
15509
15510 * math/gen-libm-test.pl (parse_args): Output only string of
15511 arguments as text for test name, not full call or descriptions of
15512 tests for extra outputs.
15513 (generate_testfile): Do not pass function name to parse_args.
15514 Generate this_func variable from START.
15515 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15516 field to arg_str.
15517 (struct test_ff_f_data): Likewise.
15518 (test_ff_f_data_nexttoward): Likewise.
15519 (struct test_fi_f_data): Likewise.
15520 (struct test_fl_f_data): Likewise.
15521 (struct test_if_f_data): Likewise.
15522 (struct test_fff_f_data): Likewise.
15523 (struct test_c_f_data): Likewise.
15524 (struct test_f_f1_data): Likewise. Remove field extra_name.
15525 (struct test_fF_f1_data): Likewise.
15526 (struct test_ffI_f1_data): Likewise.
15527 (struct test_c_c_data): Rename test_name field to arg_str.
15528 (struct test_cc_c_data): Likewise.
15529 (struct test_f_i_data): Likewise.
15530 (struct test_ff_i_data): Likewise.
15531 (struct test_f_l_data): Likewise.
15532 (struct test_f_L_data): Likewise.
15533 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15534 and extra2_name.
15535 (COMMON_TEST_SETUP): New macro.
15536 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15537 (COMMON_TEST_CLEANUP): Likewise.
15538 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15539 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15540 macros.
15541 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15542 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15543 macros.
15544 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15545 (RUN_TEST_fff_f): Take argument string. Call new setup and
15546 cleanup macros.
15547 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15548 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15549 macros.
15550 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15551 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15552 macros.
15553 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15554 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15555 cleanup macros.
15556 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15557 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15558 cleanup macros.
15559 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15560 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15561 cleanup macros.
15562 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15563 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15564 macros.
15565 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15566 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15567 macros.
15568 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15569 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15570 macros.
15571 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15572 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15573 cleanup macros.
15574 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15575 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15576 cleanup macros.
15577 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15578 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15579 macros.
15580 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15581 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15582 cleanup macros.
15583 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15584 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15585 macros.
15586 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15587 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15588 macros.
15589 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15590 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15591 cleanup macros.
15592 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15593
85118d4d
EBM
155942013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15595
15596 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15597 to _sifields.sigfault.
15598 (si_addr_lsb): Define new macro.
15599 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15600 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15601 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15602
7a44c18f
CD
156032013-05-03 Carlos O'Donell <carlos at redhat.com>
15604
15605 [BZ #15441]
15606 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15607 returns -1.
15608 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15609 null return -1.
15610 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15611 loading the domain.
15612
b50a7181
JM
156132013-05-22 Joseph Myers <joseph@codesourcery.com>
15614
15615 * math/gen-libm-test.pl (parse_args): Do not include expected
15616 result in test name.
15617 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15618 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15619 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15620 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15621 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15623
051063c8
SP
156242013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15625
3ce9e010
SP
15626 * benchtests/Makefile: Sort function entries.
15627
051063c8
SP
15628 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15629 tanh, asinh, acosh, atanh.
15630 * benchtests/acos-inputs: New file.
15631 * benchtests/acosh-inputs: New file.
15632 * benchtests/asin-inputs: New file.
15633 * benchtests/asinh-inputs: New file.
15634 * benchtests/atanh-inputs: New file.
15635 * benchtests/cosh-inputs: New file.
15636 * benchtests/log-inputs: New file.
15637 * benchtests/sinh-inputs: New file.
15638 * benchtests/tanh-inputs: New file.
15639
47c22455
DL
156402013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15641
15642 [BZ #15339]
15643 * posix/tst-getaddrinfo4.c: New test.
15644 * posix/Makefile (tests): Add it.
15645
3d04f5db
SP
156462013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15647
15648 [BZ #15339]
15649 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15650 when no services were used.
15651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15652 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15653
d5dd6189
AS
156542013-05-21 Andreas Schwab <schwab@suse.de>
15655
15656 [BZ #15014]
15657 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15658 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15659 successful.
15660 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15661 redundant variable declarations and reallocation of buffer when
15662 parsing as IPv6 address. Always set NSS status when called from
15663 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15664 buffer too small. Correct computation of needed size.
15665 * nss/Makefile (tests): Add test-digits-dots.
15666 * nss/test-digits-dots.c: New test.
15667
fef94eab
SP
156682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15669
15670 * benchtests/Makefile: Remove instructions for adding
15671 benchmark tests.
15672 * benchtests/README: New file to explain how to execute and
15673 enhance the benchmark tests.
15674
e39adf43
AS
156752013-05-21 Andreas Schwab <schwab@suse.de>
15676
15677 [BZ #15493]
15678 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15679 * setjmp/tst-sigsetjmp.c: New test.
15680
b2b671b6
OB
156812013-05-20 Ondřej Bílka <neleai@seznam.cz>
15682
15683 * sysdeps/x86_64/memset.S (memset): New implementation.
15684 (__bzero): Likewise.
15685 (__memset_tail): New function.
15686
2d48b41c
OB
156872013-05-20 Ondřej Bílka <neleai@seznam.cz>
15688
15689 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15690 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15691 __memcpy_sse2_unaligned ifunc selection.
15692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15693 Add memcpy-sse2-unaligned.S.
15694 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15695 Add: __memcpy_sse2_unaligned.
15696
f16cc3eb
JM
156972013-05-19 Joseph Myers <joseph@codesourcery.com>
15698
3e694268
JM
15699 [BZ #15490]
15700 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15701 math_force_eval before restoring floating-point envrionment.
15702 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15703 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15704 Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15706 <math_private.h>.
15707 (__nearbyintl): Use math_force_eval before restoring
15708 floating-point environment.
15709 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15710
db62a907
JM
15711 * math/gen-libm-test.pl (special_functions): Remove.
15712 (parse_args): Don't handle TEST_extra. Handle functions with no
15713 return value.
15714 * math/libm-test.inc (struct test_sincos_data): Replace with
15715 struct test_fFF_11_data.
15716 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15717 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15718 (sincos_test_data): Change element type to struct
15719 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15720 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15721 RUN_TEST_LOOP_sincos.
15722 * math/README.libm-test: Don't mention special handling of
15723 individual functions.
15724 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15725 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15726 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15727 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15728 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15730
f16cc3eb
JM
15731 * math/gen-libm-test.pl (get_variable): Remove function.
15732 (parse_args): Don't show pointer parameters to call in test
15733 names. Use "extra output N" in test names for extra outputs
15734 rather than naming variables.
15735
3779b5b6
JM
157362013-05-18 Joseph Myers <joseph@codesourcery.com>
15737
2ee094ff
JM
15738 [BZ #15488]
15739 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15740 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15741 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15742 double tests.
15743 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15744 disable.
15745 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15746 check_long_double.
15747
3779b5b6
JM
15748 * math/gen-libm-test.pl (@tests): Remove variable.
15749 ($count): Likewise.
15750 (new_test): Remove function.
15751 (show_exceptions): New function.
15752 (special_functions): Use show_exceptions instead of new_test.
15753 (parse_args): Likewise.
15754 (generate_testfile): Pass only function name in generated call to
15755 print_max_error or print_complex_max_error.
15756 (get_ulps): Do not handle complex tests specially.
15757 (output_test): Rename to ...
15758 (get_all_ulps_for_test): ... this. Return a string rather than
15759 printing to a file. Require ulps to be present.
15760 (output_ulps): Generate arrays rather than #defines.
15761 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15762 (struct ulp_data): New type.
15763 (BUILD_COMPLEX_ULP): Remove macro.
15764 (compare_ulp_data): New function.
15765 (find_ulps): Likewise.
15766 (find_test_ulps): Likewise.
15767 (find_function_ulps): Likewise.
15768 (find_complex_function_ulps): Likewise.
15769 (print_max_error): Determine allowed ulps using
15770 find_function_ulps.
15771 (print_complex_max_error): Determine allowed ulps using
15772 find_complex_function_ulps.
15773 (check_float_internal): Determine max ulps using find_test_ulps.
15774 (check_float): Do not take max_ulp parameter. Update call to
15775 check_float_internal.
15776 (check_complex): Likewise.
15777 (check_int): Do not take max_ulp parameter.
15778 (check_long): Likewise.
15779 (check_bool): Likewise.
15780 (check_longlong): Likewise.
15781 (struct test_f_f_data): Remove max_ulp field.
15782 (struct test_ff_f_data): Likewise.
15783 (struct test_ff_f_data_nexttoward): Likewise.
15784 (struct test_fi_f_data): Likewise.
15785 (struct test_fl_f_data): Likewise.
15786 (struct test_if_f_data): Likewise.
15787 (struct test_fff_f_data): Likewise.
15788 (struct test_c_f_data): Likewise.
15789 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15790 (struct test_fF_f1_data): Likewise.
15791 (struct test_ffI_f1_data): Likewise.
15792 (struct test_c_c_data): Remove max_ulp field.
15793 (struct test_cc_c_data): Likewise.
15794 (struct test_f_i_data): Likewise.
15795 (struct test_ff_i_data): Likewise.
15796 (struct test_f_l_data): Likewise.
15797 (struct test_f_L_data): Likewise.
15798 (struct test_sincos_data): Likewise.
15799 (RUN_TEST_f_f): Do not handle ulps.
15800 (RUN_TEST_LOOP_f_f): Likewise.
15801 (RUN_TEST_2_f): Likewise.
15802 (RUN_TEST_LOOP_2_f): Likewise.
15803 (RUN_TEST_fff_f): Likewise.
15804 (RUN_TEST_LOOP_fff_f): Likewise.
15805 (RUN_TEST_c_f): Likewise.
15806 (RUN_TEST_LOOP_c_f): Likewise.
15807 (RUN_TEST_f_f1): Likewise.
15808 (RUN_TEST_LOOP_f_f1): Likewise.
15809 (RUN_TEST_fF_f1): Likewise.
15810 (RUN_TEST_LOOP_fF_f1): Likewise.
15811 (RUN_TEST_fI_f1): Likewise.
15812 (RUN_TEST_LOOP_fI_f1): Likewise.
15813 (RUN_TEST_ffI_f1): Likewise.
15814 (RUN_TEST_LOOP_ffI_f1): Likewise.
15815 (RUN_TEST_c_c): Likewise.
15816 (RUN_TEST_LOOP_c_c): Likewise.
15817 (RUN_TEST_cc_c): Likewise.
15818 (RUN_TEST_LOOP_cc_c): Likewise.
15819 (RUN_TEST_f_i): Likewise.
15820 (RUN_TEST_LOOP_f_i): Likewise.
15821 (RUN_TEST_f_i_tg): Likewise.
15822 (RUN_TEST_LOOP_f_i_tg): Likewise.
15823 (RUN_TEST_ff_i_tg): Likewise.
15824 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15825 (RUN_TEST_f_b): Likewise.
15826 (RUN_TEST_LOOP_f_b): Likewise.
15827 (RUN_TEST_f_b_tg): Likewise.
15828 (RUN_TEST_LOOP_f_b_tg): Likewise.
15829 (RUN_TEST_f_l): Likewise.
15830 (RUN_TEST_LOOP_f_l): Likewise.
15831 (RUN_TEST_f_L): Likewise.
15832 (RUN_TEST_LOOP_f_L): Likewise.
15833 (RUN_TEST_sincos): Likewise.
15834 (RUN_TEST_LOOP_sincos): Likewise.
15835
8269107f
JM
158362013-05-17 Joseph Myers <joseph@codesourcery.com>
15837
bb38759d
JM
15838 [BZ #15480]
15839 [BZ #15485]
15840 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15841 main case of finite arguments, set rounding mode to FE_TONEAREST
15842 and discard exceptions.
15843 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15844 exceptions.
15845 (remainder_tonearest_test_data): New variable.
15846 (remainder_test_tonearest): New function.
15847 (remainder_towardzero_test_data): New variable.
15848 (remainder_test_towardzero): New function.
15849 (remainder_downward_test_data): New variable.
15850 (remainder_test_downward): New function.
15851 (remainder_upward_test_data): New variable.
15852 (remainder_test_upward): New function.
15853 (main): Call the new test functions.
15854
a00bdcf0
JM
15855 * math/libm-test.inc (struct test_f_f1_data): Remove field
15856 extra_init.
15857 (struct test_fF_f1_data): Likewise.
15858 (struct test_ffI_f1_data): Likewise.
15859 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15860 based on value of EXTRA_EXPECTED.
15861 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15862 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15863 EXTRA_VAR based on value of EXTRA_EXPECTED.
15864 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15865 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15866 EXTRA_VAR based on value of EXTRA_EXPECTED.
15867 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15868 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15869 EXTRA_VAR based on value of EXTRA_EXPECTED.
15870 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15871 * math/gen-libm-test.pl (parse_args): Don't output initializers
15872 for extra output values.
15873
de407f79
JM
15874 * math/libm-test.inc (check_int): Expect result to be exactly
15875 equal to expected value and do not handle ulps.
15876 (check_long): Likewise.
15877 (check_longlong): Likewise.
15878
8269107f
JM
15879 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15880 exceptions.
15881 (cimag_test_data): Likewise.
15882 (conj_test_data): Likewise.
15883 (copysign_test_data): Likewise.
15884 (cproj_test_data): Likewise.
15885 (creal_test_data): Likewise.
15886 (fabs_test_data): Likewise.
15887 (fdim_test_data): Likewise.
15888 (finite_test_data): Likewise.
15889 (floor_test_data): Likewise.
15890 (fmax_test_data): Likewise.
15891 (fmin_test_data): Likewise.
15892 (fmod_test_data): Likewise.
15893 (fpclassify_test_data): Likewise.
15894 (frexp_test_data): Likewise.
15895 (ilogb_test_data): Likewise.
15896 (isfinite_test_data): Likewise.
15897 (isgreater_test_data): Likewise.
15898 (isgreaterequal_test_data): Likewise.
15899 (isinf_test_data): Likewise.
15900 (isless_test_data): Likewise.
15901 (islessequal_test_data): Likewise.
15902 (islessgreater_test_data): Likewise.
15903 (isnan_test_data): Likewise.
15904 (isnormal_test_data): Likewise.
15905 (issignaling_test_data): Likewise.
15906 (isunordered_test_data): Likewise.
15907 (ldexp_test_data): Likewise.
15908 (lrint_test_data): Likewise.
15909 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15910 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15911 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15912 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15913 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15914 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15915 test input.
15916 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15917 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15918 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15919 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15920 that test input.
15921 (lrint_downward_test_data): Test for "inexact" exceptions.
15922 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15923 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15924 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15925 test input.
15926 (lrint_upward_test_data): Test for "inexact" exceptions.
15927 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15928 test input.
15929 (llrint_test_data): Test for "inexact" exceptions.
15930 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15931 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15932 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15933 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15934 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15935 (llrint_downward_test_data): Test for "inexact" exceptions.
15936 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15937 (llrint_upward_test_data): Test for "inexact" exceptions.
15938 (logb_test_data): Likewise.
15939 (logb_downward_test_data): Likewise.
15940 (nextafter_test_data): Likewise.
15941 (nexttoward_test_data): Likewise.
15942 (remainder_test_data): Likewise.
15943 (remquo_test_data): Likewise.
15944 (scalbn_test_data): Likewise.
15945 (scalbln_test_data): Likewise.
15946 (signbit_test_data): Likewise.
15947 (sqrt_test_data): Likewise.
15948 (significand_test_data): Likewise.
15949
48a18de1
SP
159502013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15951
15952 [BZ #15424]
15953 * benchtests/bench-modf.c (struct args): Mark arg0 as
15954 volatile.
15955 * scripts/bench.pl: Mark members of struct args as volatile.
15956
13d3b41a
AZ
159572013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15958
68191c1d 15959 [BZ # 15497]
13d3b41a
AZ
15960 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15961 negative infinity on POWER6 or lower.
15962 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15963
2848b105
MR
159642013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15965
15966 [BZ #15442]
15967 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15968 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15969 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15970 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15971 (_FP_SETQNAN): New macro.
15972 (_FP_SETQNAN_SEMIRAW): Likewise.
15973 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15974 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15975 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15976 (FP_EXTEND): Use _FP_FRAC_SNANP.
15977 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15978 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15979 into account.
15980 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15981 New macro.
15982 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15983 Likewise.
15984
323e5cb7
JM
159852013-05-16 Joseph Myers <joseph@codesourcery.com>
15986
c58b274f
JM
15987 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15988 with DIVIDE_BY_ZERO_EXCEPTION.
15989 (gamma_test_data): Likewise.
15990 (lgamma_test_data): Likewise.
15991 (log_test_data): Likewise.
15992 (log10_test_data): Likewise.
15993 (log2_test_data): Likewise.
15994 (tgamma_test_data): Likewise.
15995
0ab34904
JM
15996 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15997 (acos_test_tonearest): Likewise.
15998 (acos_test_towardzero): Likewise.
15999 (acos_test_downward): Likewise.
16000 (acos_test_upward): Likewise.
16001 (acosh_test): Likewise.
16002 (asin_test): Likewise.
16003 (asin_test_tonearest): Likewise.
16004 (asin_test_towardzero): Likewise.
16005 (asin_test_downward): Likewise.
16006 (asin_test_upward): Likewise.
16007 (asinh_test): Likewise.
16008 (atan_test): Likewise.
16009 (atanh_test): Likewise.
16010 (atan2_test): Likewise.
16011 (cabs_test): Likewise.
16012 (cacos_test): Likewise.
16013 (cacosh_test): Likewise.
16014 (casin_test): Likewise.
16015 (casinh_test): Likewise.
16016 (catan_test): Likewise.
16017 (catanh_test): Likewise.
16018 (cbrt_test): Likewise.
16019 (ccos_test): Likewise.
16020 (ccosh_test): Likewise.
16021 (cexp_test): Likewise.
16022 (clog_test): Likewise.
16023 (clog10_test): Likewise.
16024 (cos_test): Likewise.
16025 (cos_test_tonearest): Likewise.
16026 (cos_test_towardzero): Likewise.
16027 (cos_test_downward): Likewise.
16028 (cos_test_upward): Likewise.
16029 (cosh_test): Likewise.
16030 (cosh_test_tonearest): Likewise.
16031 (cosh_test_towardzero): Likewise.
16032 (cosh_test_downward): Likewise.
16033 (cosh_test_upward): Likewise.
16034 (cpow_test): Likewise.
16035 (csin_test): Likewise.
16036 (csinh_test): Likewise.
16037 (csqrt_test): Likewise.
16038 (ctan_test): Likewise.
16039 (ctan_test_tonearest): Likewise.
16040 (ctan_test_towardzero): Likewise.
16041 (ctan_test_downward): Likewise.
16042 (ctan_test_upward): Likewise.
16043 (ctanh_test): Likewise.
16044 (ctanh_test_tonearest): Likewise.
16045 (ctanh_test_towardzero): Likewise.
16046 (ctanh_test_downward): Likewise.
16047 (ctanh_test_upward): Likewise.
16048 (erf_test): Likewise.
16049 (erfc_test): Likewise.
16050 (exp_test): Likewise.
16051 (exp_test_tonearest): Likewise.
16052 (exp_test_towardzero): Likewise.
16053 (exp_test_downward): Likewise.
16054 (exp_test_upward): Likewise.
16055 (exp10_test): Likewise.
16056 (exp2_test): Likewise.
16057 (expm1_test): Likewise.
16058 (fmod_test): Likewise.
16059 (gamma_test): Likewise.
16060 (hypot_test): Likewise.
16061 (j0_test): Likewise.
16062 (j1_test): Likewise.
16063 (jn_test): Likewise.
16064 (lgamma_test): Likewise.
16065 (log_test): Likewise.
16066 (log10_test): Likewise.
16067 (log1p_test): Likewise.
16068 (log2_test): Likewise.
16069 (logb_test_downward): Likewise.
16070 (pow_test): Likewise.
16071 (pow_test_tonearest): Likewise.
16072 (pow_test_towardzero): Likewise.
16073 (pow_test_downward): Likewise.
16074 (pow_test_upward): Likewise.
16075 (remainder_test): Likewise.
16076 (remquo_test): Likewise.
16077 (sin_test): Likewise.
16078 (sin_test_tonearest): Likewise.
16079 (sin_test_towardzero): Likewise.
16080 (sin_test_downward): Likewise.
16081 (sin_test_upward): Likewise.
16082 (sincos_test): Likewise.
16083 (sinh_test): Likewise.
16084 (sinh_test_tonearest): Likewise.
16085 (sinh_test_towardzero): Likewise.
16086 (sinh_test_downward): Likewise.
16087 (sinh_test_upward): Likewise.
16088 (sqrt_test): Likewise.
16089 (tan_test): Likewise.
16090 (tan_test_tonearest): Likewise.
16091 (tan_test_towardzero): Likewise.
16092 (tan_test_downward): Likewise.
16093 (tan_test_upward): Likewise.
16094 (tanh_test): Likewise.
16095 (tgamma_test): Likewise.
16096 (y0_test): Likewise.
16097 (y1_test): Likewise.
16098 (yn_test): Likewise.
16099
323e5cb7
JM
16100 * math/gen-libm-test.pl (adjust_arg): Remove function.
16101 (special_function): Remove argument $in_func. Only handle
16102 generating output for tables of tests, not inside functions.
16103 (parse_args): Likewise.
16104 (generate_testfile): Remove variable $in_func. Update call to
16105 parse_args.
16106 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16107 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16108 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16109 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16110 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16111 (MAX_VALUE_INIT): Rename macro to max_value.
16112 (MIN_VALUE_INIT): Rename macro to min_value.
16113 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16114 (plus_zero): Remove variable.
16115 (minus_zero): Likewise.
16116 (plus_infty): Likewise.
16117 (minus_infty): Likewise.
16118 (qnan_value): Likewise.
16119 (max_value): Likewise.
16120 (min_value): Likewise.
16121 (min_subnorm_value): Likewise.
16122
e054f494
RA
161232013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16124
16125 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16126 uint64_t or uint32_t usage.
16127 * crypt/sha256-block.c: Likewise.
16128 * crypt/sha256-crypt.c: Likewise.
16129 * crypt/sha256.c: Likewise.
16130 * crypt/sha512-block.c: Likewise.
16131 * crypt/sha512-crypt.c: Likewise.
16132 * crypt/sha512.c: Likewise.
16133 * debug/backtrace-tst.c: Likewise.
16134 * debug/pcprofiledump.c: Likewise.
16135 * elf/cache.c: Likewise.
16136 * elf/dl-cache.c: Likewise.
16137 * elf/dl-misc.c: Likewise.
16138 * elf/dl-profile.c: Likewise.
16139 * elf/dl-support.c: Likewise.
16140 * elf/ldconfig.c: Likewise.
16141 * elf/sprof.c: Likewise.
16142 * iconv/dummy-repertoire.c: Likewise.
16143 * iconv/iconv_charmap.c: Likewise.
16144 * iconv/skeleton.c: Likewise.
16145 * iconvdata/8bit-generic.c: Likewise.
16146 * iconvdata/cp737.h: Likewise.
16147 * iconvdata/cp775.h: Likewise.
16148 * iconvdata/ibm1008.h: Likewise.
16149 * iconvdata/ibm1025.h: Likewise.
16150 * iconvdata/ibm1046.h: Likewise.
16151 * iconvdata/ibm1097.h: Likewise.
16152 * iconvdata/ibm1112.h: Likewise.
16153 * iconvdata/ibm1122.h: Likewise.
16154 * iconvdata/ibm1123.h: Likewise.
16155 * iconvdata/ibm1124.h: Likewise.
16156 * iconvdata/ibm1129.h: Likewise.
16157 * iconvdata/ibm1130.h: Likewise.
16158 * iconvdata/ibm1132.h: Likewise.
16159 * iconvdata/ibm1133.h: Likewise.
16160 * iconvdata/ibm1137.h: Likewise.
16161 * iconvdata/ibm1140.h: Likewise.
16162 * iconvdata/ibm1141.h: Likewise.
16163 * iconvdata/ibm1142.h: Likewise.
16164 * iconvdata/ibm1143.h: Likewise.
16165 * iconvdata/ibm1144.h: Likewise.
16166 * iconvdata/ibm1145.h: Likewise.
16167 * iconvdata/ibm1146.h: Likewise.
16168 * iconvdata/ibm1147.h: Likewise.
16169 * iconvdata/ibm1148.h: Likewise.
16170 * iconvdata/ibm1149.h: Likewise.
16171 * iconvdata/ibm1153.h: Likewise.
16172 * iconvdata/ibm1154.h: Likewise.
16173 * iconvdata/ibm1155.h: Likewise.
16174 * iconvdata/ibm1156.h: Likewise.
16175 * iconvdata/ibm1157.h: Likewise.
16176 * iconvdata/ibm1158.h: Likewise.
16177 * iconvdata/ibm1160.h: Likewise.
16178 * iconvdata/ibm1161.h: Likewise.
16179 * iconvdata/ibm1162.h: Likewise.
16180 * iconvdata/ibm1163.h: Likewise.
16181 * iconvdata/ibm1164.h: Likewise.
16182 * iconvdata/ibm1166.h: Likewise.
16183 * iconvdata/ibm1167.h: Likewise.
16184 * iconvdata/ibm12712.h: Likewise.
16185 * iconvdata/ibm1390.h: Likewise.
16186 * iconvdata/ibm1399.h: Likewise.
16187 * iconvdata/ibm16804.h: Likewise.
16188 * iconvdata/ibm4517.h: Likewise.
16189 * iconvdata/ibm4899.h: Likewise.
16190 * iconvdata/ibm4909.h: Likewise.
16191 * iconvdata/ibm4971.h: Likewise.
16192 * iconvdata/ibm5347.h: Likewise.
16193 * iconvdata/ibm803.h: Likewise.
16194 * iconvdata/ibm856.h: Likewise.
16195 * iconvdata/ibm901.h: Likewise.
16196 * iconvdata/ibm902.h: Likewise.
16197 * iconvdata/ibm9030.h: Likewise.
16198 * iconvdata/ibm9066.h: Likewise.
16199 * iconvdata/ibm921.h: Likewise.
16200 * iconvdata/ibm922.h: Likewise.
16201 * iconvdata/ibm9448.h: Likewise.
16202 * iconvdata/isiri-3342.h: Likewise.
16203 * iconvdata/jis0201.h: Likewise.
16204 * include/link.h: Likewise.
16205 * include/netdb.h: Likewise.
16206 * inet/check_native.c: Likewise.
16207 * inet/check_pf.c: Likewise.
16208 * inet/getipv4sourcefilter.c: Likewise.
16209 * inet/getnameinfo.c: Likewise.
16210 * inet/getsourcefilter.c: Likewise.
16211 * inet/htonl.c: Likewise.
16212 * inet/setipv4sourcefilter.c: Likewise.
16213 * inet/setsourcefilter.c: Likewise.
16214 * inet/test-inet6_opt.c: Likewise.
16215 * inet/tst-network.c: Likewise.
16216 * locale/C-collate.c: Likewise.
16217 * locale/C-ctype.c: Likewise.
16218 * locale/C-time.c: Likewise.
16219 * locale/C-translit.h: Likewise.
16220 * locale/loadarchive.c: Likewise.
16221 * locale/programs/3level.h: Likewise.
16222 * locale/programs/charmap.c: Likewise.
16223 * locale/programs/charmap.h: Likewise.
16224 * locale/programs/ld-address.c: Likewise.
16225 * locale/programs/ld-collate.c: Likewise.
16226 * locale/programs/ld-ctype.c: Likewise.
16227 * locale/programs/ld-identification.c: Likewise.
16228 * locale/programs/ld-measurement.c: Likewise.
16229 * locale/programs/ld-messages.c: Likewise.
16230 * locale/programs/ld-monetary.c: Likewise.
16231 * locale/programs/ld-name.c: Likewise.
16232 * locale/programs/ld-numeric.c: Likewise.
16233 * locale/programs/ld-paper.c: Likewise.
16234 * locale/programs/ld-telephone.c: Likewise.
16235 * locale/programs/ld-time.c: Likewise.
16236 * locale/programs/linereader.c: Likewise.
16237 * locale/programs/locale.c: Likewise.
16238 * locale/programs/locarchive.c: Likewise.
16239 * locale/programs/locfile.h: Likewise.
16240 * locale/programs/repertoire.c: Likewise.
16241 * locale/programs/simple-hash.c: Likewise.
16242 * locale/programs/simple-hash.h: Likewise.
16243 * malloc/memusage.c: Likewise.
16244 * malloc/memusagestat.c: Likewise.
16245 * nis/nis_defaults.c: Likewise.
16246 * nis/nis_hash.c: Likewise.
16247 * nis/nis_print.c: Likewise.
16248 * nis/nis_xdr.c: Likewise.
16249 * nscd/connections.c: Likewise.
16250 * nscd/hstcache.c: Likewise.
16251 * nscd/nscd_gethst_r.c: Likewise.
16252 * nscd/nscd_getserv_r.c: Likewise.
16253 * nscd/nscd_helper.c: Likewise.
16254 * nscd/servicescache.c: Likewise.
16255 * nss/makedb.c: Likewise.
16256 * nss/nss_db/db-XXX.c: Likewise.
16257 * nss/nss_db/db-initgroups.c: Likewise.
16258 * nss/nss_db/db-netgrp.c: Likewise.
16259 * nss/nss_files/files-network.c: Likewise.
16260 * nss/nss_files/files-parse.c: Likewise.
16261 * posix/bug-regex5.c: Likewise.
16262 * posix/fnmatch_loop.c: Likewise.
16263 * posix/regcomp.c: Likewise.
16264 * posix/regexec.c: Likewise.
16265 * posix/tst-rfc3484-2.c: Likewise.
16266 * posix/tst-rfc3484-3.c: Likewise.
16267 * posix/tst-rfc3484.c: Likewise.
16268 * resolv/nss_dns/dns-canon.c: Likewise.
16269 * resolv/nss_dns/dns-network.c: Likewise.
16270 * resolv/res_init.c: Likewise.
16271 * resolv/res_mkquery.c: Likewise.
16272 * resolv/tst-aton.c: Likewise.
16273 * stdlib/cxa_atexit.c: Likewise.
16274 * stdlib/cxa_finalize.c: Likewise.
16275 * stdlib/gen-fpioconst.c: Likewise.
16276 * stdlib/strtol_l.c: Likewise.
16277 * string/tst-endian.c: Likewise.
16278 * sunrpc/auth_des.c: Likewise.
16279 * sunrpc/clnt_udp.c: Likewise.
16280 * sunrpc/rtime.c: Likewise.
16281 * sunrpc/svcauth_des.c: Likewise.
16282 * sunrpc/xdr.c: Likewise.
16283 * sunrpc/xdr_intXX_t.c: Likewise.
16284 * sunrpc/xdr_rec.c: Likewise.
16285 * sysdeps/generic/ldconfig.h: Likewise.
16286 * sysdeps/generic/ldsodefs.h: Likewise.
16287 * sysdeps/generic/memusage.h: Likewise.
16288 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16289 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16290 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16291 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16292 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16294 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16295 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16296 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16297 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16298 * sysdeps/posix/getaddrinfo.c: Likewise.
16299 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16300 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16301 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16302 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16303 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16304 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16305 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16306 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16307 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16308 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16309 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16310 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16311 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16312 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16313 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16314 * sysdeps/x86_64/dl-tls.h: Likewise.
16315 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16316 * time/alt_digit.c: Likewise.
16317 * time/era.c: Likewise.
16318 * wcsmbs/tst-c16c32-1.c: Likewise.
16319
8c75f674
JM
163202013-05-16 Joseph Myers <joseph@codesourcery.com>
16321
16322 * math/libm-test.inc (struct test_sincos_data): New type.
16323 (RUN_TEST_LOOP_sincos): New macro.
16324 (sincos_test_data): New variable.
16325 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16326
e6e49e59
RH
163272013-05-16 Richard Henderson <rth@redhat.com>
16328
16329 * math/atest-exp2.c (LIMB64): New macro.
16330 (CONSTSZ): New macro.
16331 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16332 (hexdig): Move ...
16333 (print_mpn_fp): ... to function scope.
16334 (read_mpn_hex): Remove.
16335 (get_log2): Remove.
16336 (exp2_mpn): Use mp_log2.
16337 (main): Use mp_exp1.
16338
15c7c18d
JM
163392013-05-16 Joseph Myers <joseph@codesourcery.com>
16340
105a07df
JM
16341 * math/libm-test.inc: Remove comment about not testing "inexact"
16342 exceptions.
16343 (INEXACT_EXCEPTION): New macro.
16344 (NO_INEXACT_EXCEPTION): Likewise.
16345 (INVALID_EXCEPTION_OK): Update value.
16346 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16347 (OVERFLOW_EXCEPTION_OK): Likewise.
16348 (UNDERFLOW_EXCEPTION_OK): Likewise.
16349 (IGNORE_ZERO_INF_SIGN): Likewise.
16350 (ERRNO_UNCHANGED): Likewise.
16351 (ERRNO_EDOM): Likewise.
16352 (ERRNO_ERANGE): Likewise.
16353 (test_exceptions): Handle testing "inexact" exceptions.
16354 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16355 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16356 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16357 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16358 INEXACT_EXCEPTION.
16359 (rint_towardzero_test_data): Likewise.
16360 (rint_downward_test_data): Likewise.
16361 (rint_upward_test_data): Likewise.
16362
e9eee333
JM
16363 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16364 with OVERFLOW_EXCEPTION.
16365 (exp10_test_data): Likewise.
16366 (exp2_test_data): Likewise.
16367 (expm1_test_data): Likewise.
16368 (lgamma_test_data): Likewise.
16369 (pow_test_data): Likewise.
16370 (tgamma_test_data): Likewise.
16371 (yn_test_data): Remove duplicate test of overflow.
16372
1c38ff73
JM
16373 * math/libm-test.inc (struct test_cc_c_data): New type.
16374 (RUN_TEST_LOOP_cc_c): New macro.
16375 (cpow_test_data): New variable.
16376 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16377
15c7c18d
JM
16378 * math/libm-test.inc (struct test_f_L_data): New type.
16379 (RUN_TEST_LOOP_f_L): New macro.
16380 (llrint_test_data): New variable.
16381 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16382 (llrint_tonearest_test_data): New variable.
16383 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16384 (llrint_towardzero_test_data): New variable.
16385 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16386 (llrint_downward_test_data): New variable.
16387 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16388 (llrint_upward_test_data): New variable.
16389 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16390 (llround_test_data): New variable.
16391 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16392
f137ff13
PC
163932013-05-13 Peter Collingbourne <pcc@google.com>
16394
16395 * math/atest-exp2.c (get_log2): Remove const attribute.
16396
3608cb24
JM
163972013-05-15 Joseph Myers <joseph@codesourcery.com>
16398
16399 * math/libm-test.inc (struct test_f_l_data): New type.
16400 (RUN_TEST_LOOP_f_l): New macro.
16401 (lrint_test_data): New variable.
16402 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16403 (lrint_tonearest_test_data): New variable.
16404 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16405 (lrint_towardzero_test_data): New variable.
16406 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16407 (lrint_downward_test_data): New variable.
16408 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16409 (lrint_upward_test_data): New variable.
16410 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16411 (lround_test_data): New variable.
16412 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16413
39b1f617
PC
164142013-05-15 Peter Collingbourne <pcc@google.com>
16415
1deff3dc
PC
16416 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16417 (EXTRACT_WORDS64) Use where appropriate.
16418 (INSERT_WORDS64) Likewise.
16419
791f3ba0
PC
16420 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16421 constraints with x constraints.
16422 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16423
39b1f617
PC
16424 * malloc/obstack.c (_obstack_compat): Add initializer.
16425
12fba011
EM
164262013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16427
16428 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16429 si_trapno and add si_addr_lsb to _sifields.sigfault.
16430 (si_trapno): Remove macro.
16431 (si_addr_lsb): Define new macro.
16432 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16433
d369f531
JM
164342013-05-15 Joseph Myers <joseph@codesourcery.com>
16435
b861c6c4
JM
16436 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16437 instead of TEST_f_l.
16438 (llrint_test_tonearest): Likewise.
16439 (llrint_test_towardzero): Likewise.
16440 (llrint_test_downward): Likewise.
16441 (llrint_test_upward): Likewise.
16442 (llround_test): Likewise.
16443
7abeee12
JM
16444 * math/libm-test.inc (struct test_f_i_data): Add comment.
16445 (RUN_TEST_LOOP_f_b): New macro.
16446 (RUN_TEST_LOOP_f_b_tg): Likewise.
16447 (finite_test_data): New variable.
16448 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16449 (isfinite_test_data): New variable.
16450 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16451 (isinf_test_data): New variable.
16452 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16453 (isnan_test_data): New variable.
16454 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16455 (isnormal_test_data): New variable.
16456 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16457 (issignaling_test_data): New variable.
16458 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16459 (signbit_test_data): New variable.
16460 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16461
cbe8c4d3
JM
16462 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16463 with INVALID_EXCEPTION.
16464 (acosh_test_data): Likewise.
16465 (asin_test_data): Likewise.
16466 (atanh_test_data): Likewise.
16467 (fmod_test_data): Likewise.
16468 (log_test_data): Likewise.
16469 (log10_test_data): Likewise.
16470 (log2_test_data): Likewise.
16471 (pow_test_data): Likewise.
16472 (sqrt_test_data): Likewise.
16473 (y0_test_data): Likewise.
16474 (y1_test_data): Likewise.
16475 (yn_test_data): Likewise.
16476
5575c0e5
JM
16477 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16478 function contents.
16479
d369f531
JM
16480 * math/libm-test.inc (struct test_ff_i_data): New type.
16481 (RUN_TEST_LOOP_ff_i_tg): New macro.
16482 (isgreater_test_data): New variable.
16483 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16484 (isgreaterequal_test_data): New variable.
16485 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16486 (isless_test_data): New variable.
16487 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16488 (islessequal_test_data): New variable.
16489 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16490 (islessgreater_test_data): New variable.
16491 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16492 (isunordered_test_data): New variable.
16493 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16494
781fd748
DM
164952013-05-14 David S. Miller <davem@davemloft.net>
16496
16497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16498
87aa21df
JM
164992013-05-14 Joseph Myers <joseph@codesourcery.com>
16500
5e908270
JM
16501 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16502
f71172e5
JM
16503 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16504 extra_test to int.
16505 (struct test_f_i_data): Change type of max_ulp to int.
16506
8cfa635a
JM
16507 * math/libm-test.inc (test_ffI_f1_data): New type.
16508 (RUN_TEST_LOOP_ffI_f1): New macro.
16509 (remquo_test_data): New variable.
16510 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16511
2bcb36b2
JM
16512 * setjmp/tst-setjmp-fp.c: New file.
16513 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16514 (link-libm): New variable.
16515 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16516
acbd839a
JM
16517 * math/libm-test.inc (struct test_f_i_data): New type.
16518 (RUN_TEST_LOOP_f_i): New macro.
16519 (RUN_TEST_LOOP_f_i_tg): Likewise.
16520 (fpclassify_test_data): New variable.
16521 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16522 (ilogb_test_data): New variable.
16523 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16524
e414d745
JM
16525 * math/libm-test.inc (scalbln_test): Correct function name in END
16526 call.
16527
d9c2a0fd
JM
16528 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16529 (RUN_TEST_LOOP_fI_f1): New macro.
16530 (frexp_test_data): New variable.
16531 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16532
9dc9095d
JM
16533 * math/libm-test.inc (struct test_fF_f1_data): New type.
16534 (RUN_TEST_LOOP_fF_f1): New macro.
16535 (modf_test_data): New variable.
16536 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16537
87aa21df
JM
16538 * math/libm-test.inc (struct test_f_f1_data): New type.
16539 (RUN_TEST_LOOP_f_f1): New macro.
16540 (gamma_test_data): New variable.
16541 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16542 (lgamma_test_data): New variable.
16543 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16544
141af660
CD
165452013-05-13 Carlos O'Donell <carlos@redhat.com>
16546
16547 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16548 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16549 (main): Comment "tls" pseudo-hwcap.
16550
6d33265c
JM
165512013-05-13 Joseph Myers <joseph@codesourcery.com>
16552
68fc074c
JM
16553 * math/libm-test.inc (struct test_fl_f_data): New type.
16554 (RUN_TEST_LOOP_fl_f): New variable.
16555 (scalbln_test_data): New variable.
16556 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16557
243216e1
JM
16558 * math/libm-test.inc (struct test_fi_f_data): New type.
16559 (RUN_TEST_LOOP_fi_f): New macro.
16560 (ldexp_test_data): New variable.
16561 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16562 (scalbn_test_data): New variable.
16563 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16564
6a1992e2
JM
16565 * math/libm-test.inc (struct test_c_f_data): New type.
16566 (RUN_TEST_LOOP_c_f): New macro.
16567 (cabs_test_data): New variable.
16568 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16569 (carg_test_data): New variable.
16570 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16571 (cimag_test_data): New variable.
16572 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16573 (creal_test_data): New variable.
16574 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16575
0e400df5
JM
16576 * math/libm-test.inc (struct test_if_f_data): New type.
16577 (RUN_TEST_LOOP_if_f): New macro.
16578 (jn_test_data): New variable.
16579 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16580 (yn_test_data): New variable.
16581 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16582
6d33265c
JM
16583 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16584
f98ece5f
AZ
165852013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16586
16587 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16588 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16589
0f7d347b
SP
165902013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16591
43fe811b
SP
16592 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16593 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16594 (bench-deps): Add bench-timing.h.
16595 * benchtests-bench-skeleton.c: Include bench-timing.h.
16596 (main): Use TIMING_* macros instead of clock_gettime.
16597 * benchtests/bench-timing.h: New file.
16598
0f7d347b
SP
16599 [BZ #14582]
16600 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16601 Renamed from _LIB_VERSION.
16602 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16603
601a3a5f
JM
166042013-05-12 Joseph Myers <joseph@codesourcery.com>
16605
4f184d30
JM
16606 * math/libm-test.inc (struct test_fff_f_data): New type.
16607 (RUN_TEST_LOOP_fff_f): New macro.
16608 (fma_test_data): New variable.
16609 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16610 (fma_towardzero_test_data): New variable.
16611 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16612 (fma_downward_test_data): New variable.
16613 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16614 (fma_upward_test_data): New variable.
16615 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16616
08198877
JM
16617 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16618 (struct test_c_c_data): New type.
16619 (RUN_TEST_LOOP_c_c): New macro.
16620 (cacos_test_data): New variable.
16621 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16622 (cacosh_test_data): New variable.
16623 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16624 (casin_test_data): New variable.
16625 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16626 (casinh_test_data): New variable.
16627 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16628 (catan_test_data): New variable.
16629 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16630 (catanh_test_data): New variable.
16631 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16632 (ccos_test_data): New variable.
16633 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16634 (ccosh_test_data): New variable.
16635 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16636 (cexp_test_data): New variable.
16637 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16638 (clog_test_data): New variable.
16639 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16640 (clog10_test_data): New variable.
16641 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16642 (conj_test_data): New variable.
16643 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16644 (cproj_test_data): New variable.
16645 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16646 (csin_test_data): New variable.
16647 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16648 (csinh_test_data): New variable.
16649 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16650 (csqrt_test_data): New variable.
16651 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16652 (ctan_test_data): New variable.
16653 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16654 (ctan_tonearest_test_data): New variable.
16655 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16656 (ctan_towardzero_test_data): New variable.
16657 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16658 (ctan_downward_test_data): New variable.
16659 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16660 (ctan_upward_test_data): New variable.
16661 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16662 (ctanh_test_data): New variable.
16663 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16664 (ctanh_tonearest_test_data): New variable.
16665 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16666 (ctanh_towardzero_test_data): New variable.
16667 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16668 (ctanh_downward_test_data): New variable.
16669 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16670 (ctanh_upward_test_data): New variable.
16671 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16672 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16673 of BUILD_COMPLEX.
16674
601a3a5f
JM
16675 * math/libm-test.inc (struct test_ff_f_data): New type.
16676 (struct test_ff_f_data_nexttoward): Likewise.
16677 (RUN_TEST_LOOP_2_f): New macro.
16678 (RUN_TEST_LOOP_ff_f): Likewise.
16679 (atan2_test_data): New variable.
16680 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16681 (copysign_test_data): New variable.
16682 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16683 (fdim_test_data): New variable.
16684 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16685 (fmax_test_data): New variable.
16686 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16687 (fmin_test_data): New variable.
16688 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16689 (fmod_test_data): New variable.
16690 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16691 (hypot_test_data): New variable.
16692 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16693 (nextafter_test_data): New variable.
16694 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16695 (nexttoward_test_data): New variable.
16696 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16697 (pow_test_data): New variable.
16698 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16699 (pow_tonearest_test_data): New variable.
16700 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16701 (pow_towardzero_test_data): New variable.
16702 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16703 (pow_downward_test_data): New variable.
16704 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16705 (pow_upward_test_data): New variable.
16706 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16707 (remainder_test_data): New variable.
16708 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16709 (scalb_test_data): New variable.
16710 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16711 * sysdeps/i386/fpu/libm-test-ulps: Update.
16712
74c57478
JM
167132013-05-11 Joseph Myers <joseph@codesourcery.com>
16714
8329e4da
JM
16715 * math/libm-test.inc (fma_test): Use max_value instead of local
16716 variable fltmax.
16717 (nextafter_test): Likewise.
16718
74c57478
JM
16719 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16720 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16721 (acos_downward_test_data): New variable.
16722 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16723 (acos_upward_test_data): New variable.
16724 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16725 (acosh_test_data): New variable.
16726 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16727 (asin_test_data): New variable.
16728 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16729 (asin_tonearest_test_data): New variable.
16730 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16731 (asin_towardzero_test_data): New variable.
16732 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16733 (asin_downward_test_data): New variable.
16734 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16735 (asin_upward_test_data): New variable.
16736 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16737 (asinh_test_data): New variable.
16738 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16739 (atan_test_data): New variable.
16740 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16741 (atanh_test_data): New variable.
16742 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16743 (cbrt_test_data): New variable.
16744 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16745 (ceil_test_data): New variable.
16746 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16747 (cos_test_data): New variable.
16748 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16749 (cos_tonearest_test_data): New variable.
16750 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16751 (cos_towardzero_test_data): New variable.
16752 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16753 (cos_downward_test_data): New variable.
16754 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16755 (cos_upward_test_data): New variable.
16756 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16757 (cosh_test_data): New variable.
16758 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16759 (cosh_tonearest_test_data): New variable.
16760 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16761 (cosh_towardzero_test_data): New variable.
16762 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16763 (cosh_downward_test_data): New variable.
16764 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16765 (cosh_upward_test_data): New variable.
16766 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16767 (erf_test_data): New variable.
16768 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16769 (erfc_test_data): New variable.
16770 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16771 (exp_test_data): New variable.
16772 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16773 (exp_tonearest_test_data): New variable.
16774 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16775 (exp_towardzero_test_data): New variable.
16776 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16777 (exp_downward_test_data): New variable.
16778 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16779 (exp_upward_test_data): New variable.
16780 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16781 (exp10_test_data): New variable.
16782 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16783 (exp2_test_data): New variable.
16784 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16785 (expm1_test_data): New variable.
16786 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16787 (fabs_test_data): New variable.
16788 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16789 (floor_test_data): New variable.
16790 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16791 (j0_test_data): New variable.
16792 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16793 (j1_test_data): New variable.
16794 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16795 (log_test_data): New variable.
16796 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16797 (log10_test_data): New variable.
16798 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16799 (log1p_test_data): New variable.
16800 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16801 (log2_test_data): New variable.
16802 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16803 (logb_test_data): New variable.
16804 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16805 (logb_downward_test_data): New variable.
16806 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16807 (nearbyint_test_data): New variable.
16808 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16809 (rint_test_data): New variable.
16810 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16811 (rint_tonearest_test_data): New variable.
16812 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16813 (rint_towardzero_test_data): New variable.
16814 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16815 (rint_downward_test_data): New variable.
16816 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16817 (rint_upward_test_data): New variable.
16818 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16819 (round_test_data): New variable.
16820 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16821 (sin_test_data): New variable.
16822 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16823 (sin_tonearest_test_data): New variable.
16824 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16825 (sin_towardzero_test_data): New variable.
16826 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16827 (sin_downward_test_data): New variable.
16828 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16829 (sin_upward_test_data): New variable.
16830 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16831 (sinh_test_data): New variable.
16832 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16833 (sinh_tonearest_test_data): New variable.
16834 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16835 (sinh_towardzero_test_data): New variable.
16836 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16837 (sinh_downward_test_data): New variable.
16838 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16839 (sinh_upward_test_data): New variable.
16840 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16841 (sqrt_test_data): New variable.
16842 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16843 (tan_test_data): New variable.
16844 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16845 (tan_tonearest_test_data): New variable.
16846 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16847 (tan_towardzero_test_data): New variable.
16848 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16849 (tan_downward_test_data): New variable.
16850 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16851 (tan_upward_test_data): New variable.
16852 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16853 (tanh_test_data): New variable.
16854 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16855 (tgamma_test_data): New variable.
16856 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16857 (trunc_test_data): New variable.
16858 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16859 (y0_test_data): New variable.
16860 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16861 (y1_test_data): New variable.
16862 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16863 (significand_test_data): New variable.
16864 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16865
7187d844
CG
168662013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16867
16868 [BZ #12387]
16869 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16870
f63fae73
PT
168712013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16872
16873 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16874
8a67a4b3
AJ
168752013-05-10 Andreas Jaeger <aj@suse.de>
16876
16877 [BZ #15448]
16878 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16879 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16880
51df539d
JM
168812013-05-10 Joseph Myers <joseph@codesourcery.com>
16882
16883 * math/gen-libm-test.pl (adjust_arg): New function.
16884 (special_functions): Handle generating output in both functions
16885 and arrays.
16886 (parse_args): Likewise.
16887 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16888 $in_func argument to parse_args.
16889 * math/libm-test.inc (struct test_f_f_data): New type.
16890 (IF_ROUND_INIT_): New macro.
16891 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16892 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16893 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16894 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16895 (ROUND_RESTORE_): Likewise.
16896 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16897 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16898 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16899 (ROUND_RESTORE_FE_UPWARD): Likewise.
16900 (RUN_TEST_LOOP_f_f): New macro.
16901 (acos_test_data): New variable.
16902 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16903 (acos_tonearest_test_data): New variable.
16904 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16905
5c637fe5
SP
169062013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16907
16908 * benchtests/bench-skeleton.c (startup): Fix coding style.
16909
ab2b9461
JM
169102013-05-10 Joseph Myers <joseph@codesourcery.com>
16911
16912 [BZ #6809]
16913 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16914 negative infinity argument.
16915 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16916 negative infinity argument.
16917 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16918 negative infinity argument.
16919 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16920 domain errors.
16921
4c0fe6fe
FW
169222013-05-10 Florian Weimer <fweimer@redhat.com>
16923
16924 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16925 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16926 * iconv/iconv_prog.c (main): Likewise.
16927 * locale/programs/charmap-dir.c (charmap_readdir)
16928 (fopen_uncompressed): Likewise.
16929 * locale/programs/locfile.c (siblings_uncached)
16930 (write_locale_data): Use lstat64 instead of lstat.
16931 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16932 stat.
16933
a3375d29
AJ
169342013-05-10 Andreas Jaeger <aj@suse.de>
16935
16936 [BZ #15395]
16937 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16938 localization.
16939 Include <locale.h>.
16940
36129722
CD
169412013-05-09 Carlos O'Donell <carlos@redhat.com>
16942
16943 * elf/dl-close.c (_dl_close_worker): Add comments.
16944
faa7f811
JM
169452013-05-09 Joseph Myers <joseph@codesourcery.com>
16946
ed41ffef
JM
16947 [BZ #15359]
16948 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16949 high part of pi/2.
16950 (__ieee754_rem_pio2l): Update comments.
16951
d0213cd0
JM
16952 [BZ #15429]
16953 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16954 high part of pi/2.
16955 (__ieee754_rem_pio2l): Update comments.
16956
0d3e777a
JM
16957 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16958 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16959
24f56066
JM
16960 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16961 M_PI_4l.
16962
faa7f811
JM
16963 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16964 (M_PI_34_LOG10El): Likewise.
16965 (M_PI2_LOG10El): Likewise.
16966 (M_PI4_LOG10El): Likewise.
16967 (M_PI_LOG10El): Likewise.
16968
e9a5e0fd
AZ
169692013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16970
16971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16972
d8cd06db
JM
169732013-05-08 Joseph Myers <joseph@codesourcery.com>
16974
a0d9f9d7
JM
16975 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16976 (MINUS_ZERO_INIT): Likewise.
16977 (PLUS_INFTY_INIT): Likewise.
16978 (MINUS_INFTY_INIT): Likewise.
16979 (QNAN_VALUE_INIT): Likewise.
16980 (MAX_VALUE_INIT): Likewise.
16981 (MIN_VALUE_INIT): Likewise.
16982 (MIN_SUBNORM_VALUE_INIT): Likewise.
16983 (plus_zero): Initialize with PLUS_ZERO_INIT.
16984 (minus_zero): Initialize with MINUS_ZERO_INIT.
16985 (plus_infty): Initialize with PLUS_INFTY_INIT.
16986 (minus_infty): Initialize with MINUS_INFTY_INIT.
16987 (qnan_value): Initialize with QNAN_VALUE_INIT.
16988 (max_value): Initialize with MAX_VALUE_INIT.
16989 (min_value): Initialize with MIN_VALUE_INIT.
16990 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16991
ae08db3b
JM
16992 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16993 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16994 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16995 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16996
f44bf14a
JM
16997 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16998 (RUN_TEST_2_f): Likewise.
16999 (RUN_TEST_ff_f): Likewise.
17000 (RUN_TEST_fi_f): Likewise.
17001 (RUN_TEST_fl_f): Likewise.
17002 (RUN_TEST_fff_f): Likewise.
17003 (RUN_TEST_c_f): Likewise.
17004 (RUN_TEST_f_f1): Likewise.
17005 (RUN_TEST_fF_f1): Likewise.
17006 (RUN_TEST_fI_f1): Likewise.
17007 (RUN_TEST_ffI_f1): Likewise.
17008 (RUN_TEST_c_c): Likewise.
17009 (RUN_TEST_cc_c): Likewise.
17010 (RUN_TEST_f_i): Likewise.
17011 (RUN_TEST_f_i_tg): Likewise.
17012 (RUN_TEST_ff_i_tg): Likewise.
17013 (RUN_TEST_f_b): Likewise.
17014 (RUN_TEST_f_b_tg): Likewise.
17015 (RUN_TEST_f_l): Likewise.
17016 (RUN_TEST_f_L): Likewise.
17017 (RUN_TEST_sincos): Likewise.
17018 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17019 whether to show exceptions. Do not include ");\n" in return
17020 value.
17021 (special_functions): Output call to RUN_TEST_sincos instead of
17022 check_float calls. Update calls to new_test.
17023 (parse_args): Output call to single RUN_TEST_* macro instead of
17024 check_* calls and other assignments. Update calls to new_test.
17025
d8cd06db
JM
17026 [BZ #2546]
17027 [BZ #2560]
17028 [BZ #5159]
17029 [BZ #15426]
17030 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17031 input to result for tgamma overflow.
17032 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17033 (gamma_coeff): New variable.
17034 (NCOEFF): New macro.
17035 (gamma_positive): New function.
17036 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17037 underflow here. Use gamma_positive instead of exp (lgamma) for
17038 other arguments.
17039 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17040 (gamma_coeff): New variable.
17041 (NCOEFF): New macro.
17042 (gammaf_positive): New function.
17043 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17044 underflow here. Use gamma_positive instead of exp (lgamma) for
17045 other arguments.
17046 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17047 (gamma_coeff): New variable.
17048 (NCOEFF): New macro.
17049 (gammal_positive): New function.
17050 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17051 underflow here. Use gamma_positive instead of exp (lgamma) for
17052 other arguments.
17053 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17054 (gamma_coeff): New variable.
17055 (NCOEFF): New macro.
17056 (gammal_positive): New function.
17057 (__ieee754_gammal_r): Handle positive infinity, overflow and
17058 underflow here. Handle NaN the same as positive infinity. Remove
17059 check x < 0xffffffff for negative integers. Use gamma_positive
17060 instead of exp (lgamma) for other arguments.
17061 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17062 (gamma_coeff): New variable.
17063 (NCOEFF): New macro.
17064 (gammal_positive): New function.
17065 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17066 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17067 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17068 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17070 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17071 * sysdeps/generic/math_private.h (__gamma_productf): New
17072 prototype.
17073 (__gamma_product): Likewise.
17074 (__gamma_productl): Likewise.
17075 * math/Makefile (libm-calls): Add gamma_product.
17076 * math/libm-test.inc (tgamma_test): Add more tests.
17077 * sysdeps/i386/fpu/libm-test-ulps: Update.
17078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17079
bb7cf681
OB
170802013-05-08 Ondřej Bílka <neleai@seznam.cz>
17081
17082 * benchtests/bench-skeleton.c (main): Preheat CPU.
17083
ba853947
AJ
170842013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17085
17086 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17087
8347c74c
RM
170882013-05-07 Roland McGrath <roland@hack.frob.com>
17089
17090 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17091 and _dl_skip_args_internal.
17092
e8dd4791
CD
170932013-05-07 Carlos O'Donell <carlos@redhat.com>
17094
17095 * manual/message.texi (Message Translation): Talk about users.
17096 Message to key mapping impacts design.
17097
c7405830
RM
170982013-05-06 Roland McGrath <roland@hack.frob.com>
17099
a9173057
RM
17100 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17101
976e2f03
RM
17102 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17103
9723ffc5
RM
17104 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17105 * sysdeps/wordsize-64/glob64.c: ... here.
17106
962e6658
RM
17107 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17108 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17109 New macros.
17110
ee586a6d
RM
17111 * debug/getlogin_r_chk.c: Moved to ...
17112 * login/getlogin_r_chk.c: ... here.
17113 * debug/Makefile (routines): Move getlogin_r_chk to ...
17114 * login/Makefile (routines): ... here.
17115 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17116 * login/Versions (libc: GLIBC_2.4): ... here.
17117
355f9165
RM
17118 * io/poll.c (__poll): Renamed from poll.
17119 Add libc_hidden_def.
17120 (poll): Define as weak alias.
17121
bd9ffde6
RM
17122 * debug/ptsname_r_chk.c: Moved to ...
17123 * login/ptsname_r_chk.c: ... here.
17124 * debug/Makefile (routines): Move ptsname_r_chk to ...
17125 * login/Makefile (routines): ... here.
17126 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17127 * login/Versions (libc: GLIBC_2.4): ... here.
17128
8fb16a04
RM
17129 * posix/getlogin.c: Moved to ...
17130 * login/getlogin.c: ... here.
17131 * posix/getlogin_r.c: Moved to ...
17132 * login/getlogin_r.c: ... here.
17133 * posix/getlogin_r.c: Moved to ...
17134 * login/getlogin_r.c: ... here.
17135 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17136 * login/Makefile (routines): ... here.
17137 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17138 * login/Versions (libc: GLIBC_2.0): ... here.
17139
b99b892f
RM
17140 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17141 (setrlimit): Define as weak alias.
17142
c7405830
RM
17143 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17144 Call __ names for open, ftruncate, and close.
17145 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17146 (truncate): Define as weak alias.
17147
5bf96de5
JM
171482013-05-06 Joseph Myers <joseph@codesourcery.com>
17149
9ea3513c
JM
17150 * math/gen-libm-test.pl (parse_args): Initialize x before each
17151 test of frexp, modf and remquo.
17152
5bf96de5
JM
17153 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17154 test signgam value.
17155
16e616a7
AZ
171562013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17157
17158 [BZ #15418]
17159 [BZ #15419]
17160 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17161 internal tests.
17162 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17163
d5e82754
RM
171642013-05-06 Roland McGrath <roland@hack.frob.com>
17165
17166 * elf/dl-writev.h: New file.
17167 * elf/dl-misc.c: Include it.
17168 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17169 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17170
a7548d41
JM
171712013-05-04 Joseph Myers <joseph@codesourcery.com>
17172
b7dab1e4
JM
17173 * math/libm-test.inc (noXFails): Remove variable.
17174 (noXPasses): Likewise.
17175 (BUILD_COMPLEX_INT): Remove macro.
17176 (print_screen): Remove xfail argument.
17177 (print_screen_max_error): Likewise.
17178 (update_stats): Likewise.
17179 (print_max_error): Likewise. Update calls to other affected
17180 functions.
17181 (print_complex_max_error): Likewise.
17182 (test_single_exception): Update calls to print_screen.
17183 (test_single_errno): Likewise.
17184 (check_float_internal): Remove xfail argument. Update calls to
17185 other affected functions.
17186 (check_float): Likewise.
17187 (check_complex): Likewise.
17188 (check_int): Likewise.
17189 (check_long): Likewise.
17190 (check_bool): Likewise.
17191 (check_longlong): Likewise.
17192 (main): Don't print noXFails and noXPasses.
17193 * math/gen-libm-test.pl (top level): Don't mention expected
17194 failure handling in comment.
17195 (new_test): Don't handle expected failures.
17196 (parse_args): Don't mention expected failure handling in comment.
17197 (generate_testfile): Don't handle expected failures.
17198 (parse_ulps): Likewise.
17199 (print_ulps_file): Likewise.
17200 (get_failure): Remove function.
17201 (output_test): Don't handle expected failures.
17202 * make/README.libm-test: Don't mention expected failure handling.
17203
a7548d41
JM
17204 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17205 (minus_zero): Likewise.
17206 (plus_infty): Likewise.
17207 (minus_infty): Likewise.
17208 (qnan_value): Likewise.
17209 (max_value): Likewise.
17210 (min_value): Likewise.
17211 (min_subnorm_value): Likewise.
17212 (initialize): Do not initialize those variables dynamically.
17213
60bfd54c
RM
172142013-05-03 Roland McGrath <roland@hack.frob.com>
17215
cc0e6ed8
RM
17216 * io/open.c (__open_2): Moved to ...
17217 * io/open_2.c: ... this new file.
17218 * io/open64.c (__open64_2): Moved to ...
17219 * io/open64_2.c: ... this new file.
17220 * io/openat.c (__openat_2): Moved to ...
17221 * io/openat_2.c: ... this new file.
17222 * io/openat64.c (__openat64_2): Moved to ...
17223 * io/openat64_2.c: ... this new file.
17224 * io/Makefile (routines): Add them.
17225 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17226 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17227 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17228 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17229 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17230 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17231 (__openat64): Add hidden_ver.
17232 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17233 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17234
60bfd54c
RM
17235 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17236 Separately conditionalize setting of GLRO(dl_sysinfo) so
17237 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17238 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17239
83e7640f
AZ
172402013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17241
17242 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17243 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17244 definition.
17245 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17246 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17247 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17248 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17249 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17250
d5dc2af3
JM
172512013-05-03 Joseph Myers <joseph@codesourcery.com>
17252
c31a5b1e
JM
17253 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17254 test signgam value.
17255
d5dc2af3
JM
17256 * math/libm-test.inc (hypot_test): Do not use
17257 IGNORE_ZERO_INF_SIGN.
17258
164fd39d
AJ
172592013-05-03 Andreas Jaeger <aj@suse.de>
17260
17261 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17262 Linux 3.9.
17263 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17264 (PF_MAX): Adjust for VSOCK change.
17265
8237f48c
AZ
172662013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17267
17268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17269
9df02941
CD
172702013-05-02 Carlos O'Donell <carlos@redhat.com>
17271
17272 [BZ #15264]
17273 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17274 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17275 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17276
d422395e
DM
172772013-05-02 David S. Miller <davem@davemloft.net>
17278
17279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17280
a07c5731
OB
172812013-05-01 Ondřej Bílka <neleai@seznam.cz>
17282
17283 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17284
1324e37f
RM
172852013-05-01 Roland McGrath <roland@hack.frob.com>
17286
17287 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17288
0695940b
RS
172892013-05-01 Richard Smith <richard@metafoo.co.uk>
17290
bb5f27ad 17291 [BZ #14952]
0695940b
RS
17292 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17293 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17294 Use __attribute__ ((__gnu_inline__)).
17295 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17296 Don't use __attribute__ ((__gnu_inline__)).
17297
10de07f5
JM
172982013-05-01 Joseph Myers <joseph@codesourcery.com>
17299
17300 [BZ #15423]
17301 * math/s_catan.c (__catan): Handle small real or imaginary part of
17302 input specially to avoid spurious underflow.
17303 * math/s_catanf.c (__catanf): Likewise.
17304 * math/s_catanh.c (__catanh): Likewise.
17305 * math/s_catanhf.c (__catanhf): Likewise.
17306 * math/s_catanhl.c (__catanhl): Likewise.
17307 * math/s_catanl.c (__catanl): Likewise.
17308 * math/libm-test.inc (catan_test): Add more tests.
17309 (catanh_test): Likewise.
17310 * sysdeps/i386/fpu/libm-test-ulps: Update.
17311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17312
cb4d5414
AZ
173132013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17314
17315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17316
caf84319
JM
173172013-04-30 Joseph Myers <joseph@codesourcery.com>
17318
17319 [BZ #15416]
17320 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17321 accurately for denominator in atan2.
17322 * math/s_catanf.c (__catanf): Likewise.
17323 * math/s_catanh.c (__catanh): Likewise.
17324 * math/s_catanhf.c (__catanhf): Likewise.
17325 * math/s_catanhl.c (__catanhl): Likewise.
17326 * math/s_catanl.c (__catanl): Likewise.
17327 * math/libm-test.inc (catan_test): Add more tests.
17328 (catanh_test): Likewise.
17329 * sysdeps/i386/fpu/libm-test-ulps: Update.
17330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17331
d569c6ee
SP
173322013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17333
6dbe713d
SP
17334 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17335
f0ee064b
SP
17336 * benchtests/Makefile (bench): Remove slow benchmarks.
17337 * benchtests/atan-inputs: Add slow benchmark inputs.
17338 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17339 (BENCH_FUNC): Accept variant offset.
17340 (VARIANT): Define.
17341 * benchtests/bench-skeleton.c (main): Run benchmark for each
17342 variant.
17343 * benchtests/cos-inputs: Add slow benchmark inputs.
17344 * benchtests/exp-inputs: Likewise.
17345 * benchtests/pow-inputs: Likewise.
17346 * benchtests/sin-inputs: Likewise.
17347 * benchtests/slowatan-inputs: Remove.
17348 * benchtests/slowatan.c: Remove.
17349 * benchtests/slowcos-inputs: Remove.
17350 * benchtests/slowcos.c: Remove.
17351 * benchtests/slowexp-inputs: Remove.
17352 * benchtests/slowexp.c: Remove.
17353 * benchtests/slowpow-inputs: Remove.
17354 * benchtests/slowpow.c: Remove.
17355 * benchtests/slowsin-inputs: Remove.
17356 * benchtests/slowsin.c: Remove.
17357 * benchtests/slowtan-inputs: Remove.
17358 * benchtests/slowtan.c: Remove.
17359 * benchtests/tan-inputs: Add slow benchmark inputs.
17360 * scripts/bench.pl: Parse comments and directives.
17361
d569c6ee
SP
17362 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17363 in CPPFLAGS.
17364 ($(objpfx)bench-%.c): Remove *-ITER.
17365 * benchtests/bench-modf.c: Remove definition of ITER.
17366 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17367 (main): Loop for DURATION seconds instead of fixed number of
17368 iterations.
17369 * scripts/bench.pl: Don't expect iterations in parameters.
17370
a6a242fe
RM
173712013-04-29 Roland McGrath <roland@hack.frob.com>
17372
17373 * io/fchdir.c (__fchdir): Renamed from fchdir.
17374 (fchdir): Define as weak alias.
17375
f2da7793
JM
173762013-04-29 Joseph Myers <joseph@codesourcery.com>
17377
17378 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17379 (ERRNO_EDOM): Likewise.
17380 (ERRNO_ERANGE): Likewise.
17381 (noErrnoTests): New variable.
17382 (init_max_error): Set errno to 0.
17383 (test_single_errno): New function.
17384 (test_errno): Likewise.
17385 (check_float_internal): Call test_errno. Set errno to 0.
17386 (check_complex): Refer to errno tests in comment.
17387 (check_int): Call test_errno. Set errno to 0.
17388 (check_long): Likewise.
17389 (check_bool): Likewise.
17390 (check_longlong): Likewise.
17391 (cos_test): Use ERRNO_* flags for errno tests instead of
17392 check_int.
17393 (expm1_test): Likewise.
17394 (fmod_test): Likewise.
17395 (ilogb_test): Likewise.
17396 (lgamma_test): Likewise.
17397 (pow_test): Likewise.
17398 (remainder_test): Likewise.
17399 (sin_test): Likewise.
17400 (tan_test): Likewise.
17401 (yn_test): Likewise.
17402 (initialize): Set errno to 0.
17403 (main): Print number of errno tests.
17404 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17405
b1a36ceb
AJ
174062013-04-29 Andreas Jaeger <aj@suse.de>
17407
c3ed8088
AJ
17408 [BZ #15084]
17409 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17410 and RES_USEVC.
17411
f1a24198
AJ
17412 [BZ #15085]
17413 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17414 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17415 unimplemented.
17416
9ce3b2cb
AJ
17417 [BZ #15380]
17418 * stdlib/random.c (__initstate): Return NULL if
17419 __initstate fails.
17420
f1a24198 17421 [BZ #15086]
b1a36ceb
AJ
17422 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17423 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17424 RES_SNGLKUPREOP.
17425
7e7b6f36
AZ
174262013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17427
17428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17429
4d14f449
JM
174302013-04-29 Joseph Myers <joseph@codesourcery.com>
17431
17432 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17433 of individual tests.
17434 (casin_test): Likewise.
17435 (casinh_test): Likewise.
17436
5b4217d7
JM
174372013-04-27 Joseph Myers <joseph@codesourcery.com>
17438
17439 [BZ #15409]
17440 * math/s_catan.c (__catan): Handle arguments with large real or
17441 imaginary part separately without squaring.
17442 * math/s_catanf.c (__catanf): Likewise.
17443 * math/s_catanh.c (__catanh): Likewise.
17444 * math/s_catanhf.c (__catanhf): Likewise.
17445 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17446 and redefine.
17447 (__catanhl): Handle arguments with large real or imaginary part
17448 separately without squaring.
17449 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17450 and redefine.
17451 (__catanl): Handle arguments with large real or imaginary part
17452 separately without squaring.
17453 * math/libm-test.inc (catan_test): Add more tests.
17454 (catanh_test): Likewise.
17455 * sysdeps/i386/fpu/libm-test-ulps: Update.
17456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17457
4220c3ef
AJ
174582013-04-27 Andreas Jaeger <aj@suse.de>
17459
17460 [BZ #15007]
17461 * stdlib/stdlib.h: Update guards for qecvt.
17462 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17463 <stdlib.h>.
17464
4721b2d1
AM
174652013-04-27 Allan McRae <allan@archlinux.org>
17466
17467 * sysdeps/i386/fpu/libm-test-ulps: Update.
17468
f0302940
JM
174692013-04-26 Joseph Myers <joseph@codesourcery.com>
17470
9457fd95
JM
17471 [BZ #15406]
17472 * math/s_catan.c: Include <float.h>.
17473 (__catan): Ensure underflow exception occurs for underflowed
17474 result.
17475 * math/s_catanf.c: Include <float.h>.
17476 (__catanf): Ensure underflow exception occurs for underflowed
17477 result.
17478 * math/s_catanh.c: Include <float.h>.
17479 (__catanh): Ensure underflow exception occurs for underflowed
17480 result.
17481 * math/s_catanhf.c: Include <float.h>.
17482 (__catanhf): Ensure underflow exception occurs for underflowed
17483 result.
17484 * math/s_catanhl.c: Include <float.h>.
17485 (__catanhl): Ensure underflow exception occurs for underflowed
17486 result.
17487 * math/s_catanl.c: Include <float.h>.
17488 (__catanl): Ensure underflow exception occurs for underflowed
17489 result.
17490 * math/libm-test.inc (catan_test): Add more tests.
17491 (catanh_test): Likewise.
17492
f0302940
JM
17493 [BZ #15405]
17494 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17495 underflowed result.
17496 * math/s_ccoshf.c (__ccoshf): Likewise.
17497 * math/s_ccoshl.c (__ccoshl): Likewise.
17498 * math/s_csin.c (__csin): Likewise.
17499 * math/s_csinf.c (__csinf): Likewise.
17500 * math/s_csinh.c (__csinh): Likewise.
17501 * math/s_csinhf.c (__csinhf): Likewise.
17502 * math/s_csinhl.c (__csinhl): Likewise.
17503 * math/s_csinl.c (__csinl): Likewise.
17504 * math/libm-test.inc (ccos_test): Add more tests.
17505 (ccosh_test): Likewise.
17506 (csin_test): Likewise.
17507 (csinh_test): Likewise.
17508
aa630f59
AZ
175092013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17510
17511 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17512 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17513 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17514 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17515 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17516 powerpc/power5+/fpu folders.
17517 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17518
17519
1b835983
MT
175202013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17521
17522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17523
73709b26
JM
175242013-04-25 Joseph Myers <joseph@codesourcery.com>
17525
17526 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17527 additions to variable.
17528 [$(config-machine) = x86_64] (modules-names): Likewise.
17529 ($(objpfx)tst-audit3): Remove dependency.
17530 ($(objpfx)tst-audit3.out): Likewise.
17531 ($(objpfx)tst-audit4): Likewise.
17532 ($(objpfx)tst-audit4.out): Likewise.
17533 ($(objpfx)tst-audit5): Likewise.
17534 ($(objpfx)tst-audit5.out): Likewise.
17535 ($(objpfx)tst-audit6): Likewise.
17536 ($(objpfx)tst-audit6.out): Likewise.
17537 ($(objpfx)tst-audit7): Likewise.
17538 ($(objpfx)tst-audit7.out): Likewise.
17539 (tst-audit3-ENV): Remove variable.
17540 (tst-audit4-ENV): Likewise.
17541 (tst-audit5-ENV): Likewise.
17542 (tst-audit6-ENV): Likewise.
17543 (tst-audit7-ENV): Likewise.
17544 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17545 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17546 addition to variable.
17547 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17548 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17549 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17550 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17551 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17552 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17553 tst-audit3, tst-audit4 and tst-audit5.
17554 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17555 tst-audit6 and tst-audit7.
17556 [$(subdir) = elf] (modules-names): Add audit modules for those
17557 tests.
17558 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17559 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17560 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17561 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17562 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17563 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17564 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17565 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17566 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17567 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17568 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17569 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17570 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17571 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17572 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17573 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17574 Likewise.
17575 [$(subdir) = elf && $(config-cflags-avx) = yes]
17576 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17577 [$(subdir) = elf && $(config-cflags-avx) = yes]
17578 (CFLAGS-tst-auditmod4a.c): Likewise.
17579 [$(subdir) = elf && $(config-cflags-avx) = yes]
17580 (CFLAGS-tst-auditmod4b.c): Likewise.
17581 [$(subdir) = elf && $(config-cflags-avx) = yes]
17582 (CFLAGS-tst-auditmod6b.c): Likewise.
17583 [$(subdir) = elf && $(config-cflags-avx) = yes]
17584 (CFLAGS-tst-auditmod6c.c): Likewise.
17585 [$(subdir) = elf && $(config-cflags-avx) = yes]
17586 (CFLAGS-tst-auditmod7b.c): Likewise.
17587 * elf/tst-audit3.c: Move to ...
17588 * sysdeps/x86_64/tst-audit3.c: ... here.
17589 * elf/tst-audit4.c: Move to ...
17590 * sysdeps/x86_64/tst-audit4.c: ... here.
17591 * elf/tst-audit5.c: Move to ...
17592 * sysdeps/x86_64/tst-audit5.c: ... here.
17593 * elf/tst-audit6.c: Move to ...
17594 * sysdeps/x86_64/tst-audit6.c: ... here.
17595 * elf/tst-audit7.c: Move to ...
17596 * sysdeps/x86_64/tst-audit7.c: ... here.
17597 * elf/tst-auditmod3a.c: Move to ...
17598 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17599 * elf/tst-auditmod3b.c: Move to ...
17600 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17601 * elf/tst-auditmod4a.c: Move to ...
17602 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17603 * elf/tst-auditmod4b.c: Move to ...
17604 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17605 * elf/tst-auditmod5a.c: Move to ...
17606 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17607 * elf/tst-auditmod5b.c: Move to ...
17608 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17609 * elf/tst-auditmod6a.c: Move to ...
17610 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17611 * elf/tst-auditmod6b.c: Move to ...
17612 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17613 * elf/tst-auditmod6c.c: Move to ...
17614 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17615 * elf/tst-auditmod7a.c: Move to ...
17616 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17617 * elf/tst-auditmod7b.c: Move to ...
17618 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17619
1ef74943
PP
176202013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17621
17622 [BZ #15366]
17623 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17624 define unconditionally.
17625 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17626 define unconditionally.
17627 (INT8_C, INT16_C, etc.): Likewise.
17628
93fd48c5
MR
176292013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17630
ae9552cf
MR
17631 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17632 __ehdr_start with hidden visibility.
17633
93fd48c5
MR
17634 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17635
418601aa
CD
176362013-04-24 Carlos O'Donell <carlos@redhat.com>
17637
17638 * math/libm-test.inc (cos_test): Use accurate hex constants.
17639 (sincost_test): Likewise.
17640
2f38fbfe
JM
176412013-04-24 Joseph Myers <joseph@codesourcery.com>
17642
5e221800
JM
17643 * math/libm-test.inc (catan_test): Add more tests.
17644 (catanh_test): Likewise.
17645
77f143fd
JM
17646 * math/s_catanf.c (__catanf): Use suffixed floating-point
17647 constants.
17648 * math/s_catanhf.c (__catanhf): Likewise.
17649 * math/s_catanhl.c (__catanhl): Likewise.
17650 * math/s_catanl.c (__catanl): Likewise.
17651
2f38fbfe
JM
17652 [BZ #15394]
17653 * math/s_catan.c (__catan): Calculate imaginary part of result
17654 with log1p not log unless computing log of number close to 0.
17655 * math/s_catanf.c (__catanf): Likewise.
17656 * math/s_catanl.c (__catanl): Likewise.
17657 * math/s_catanh.c (__catanh): Calculate real part of result with
17658 log1p not log unless computing log of number close to 0.
17659 * math/s_catanhf.c (__catanhf): Likewise.
17660 * math/s_catanhl.c (__catanhl): Likewise.
17661 * math/libm-test.inc (catan_test): Add more tests.
17662 (catanh_test): Likewise.
17663 * sysdeps/i386/fpu/libm-test-ulps: Update.
17664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17665
45d69176
SP
176662013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17667
17668 * benchtests/Makefile: Mention files in which fast and slow
17669 paths of math functions are implemented.
17670
87f51853
RM
176712013-04-23 Roland McGrath <roland@hack.frob.com>
17672
17673 * sysdeps/posix/timespec_get.c: New file.
17674
3c026539
AZ
176752013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17676
17677 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17678 POWER.
17679 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17680 for POWER.
17681 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17682 powerpc/power5/fpu folders.
17683 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17684 * benchtests/Makefile: Add modf testcase.
17685 * benchtests/bench-modf.c: New file: Benchmark test for mo
17686
ff491d14
SP
176872013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17688
17689 [BZ #14888]
17690 * time/Makefile (tests): Add tst-strptime-whitespace.
17691 * time/strptime_l.c (get_number): Use ISSPACE.
17692 (__strptime_internal): Likewise.
17693 * time/tst-strptime-whitespace.c: New test case.
17694
7ed3f4e8
AS
176952013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17696
17697 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17698 member.
17699 (_nss_files_init): Set it here.
17700
5c95f7b6
HC
177012013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17702
17703 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17704 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17705 unsigned.
17706
d34c9158
JBG
177072013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17708
17709 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17710
2169712d
SP
177112013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17712
17713 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17714 size just once.
17715
29c5de99
DM
177162013-04-21 David S. Miller <davem@davemloft.net>
17717
17718 * po/ru.po: Update Russion translation from translation project.
17719
ccdad15d
AC
177202013-04-17 Adam Conrad <adconrad@0c3.net>
17721
17722 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17723 and setfsgid.
17724
0f122b8d
CD
177252013-04-17 Carlos O'Donell <carlos@redhat.com>
17726
5c5b07da 17727 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17728 * configure: Regenerate.
5c5b07da 17729 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17730 Add example to error message.
17731 * sysdeps/i386/configure: Regenerate.
17732
037714dd
SP
177332013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17734
17735 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17736 slowtan.
17737 * benchtests/cos-inputs: New file.
17738 * benchtests/slowcos-inputs: New file.
17739 * benchtests/slowcos.c: New file.
17740 * benchtests/slowtan-inputs: New file.
17741 * benchtests/slowtan.c: New file.
17742 * benchtests/tan-inputs: New file.
17743
e913141d
RM
177442013-04-16 Roland McGrath <roland@hack.frob.com>
17745
17746 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17747 considered kosher.
17748
a2964074
SP
177492013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17750
4856bcd2
SP
17751 * benchtests/Makefile: Include cppflags-iterator.mk to add
17752 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17753
a2964074
SP
17754 * Makefile.in (bench-clean): New target.
17755 * benchtests/Makefile (bench-clean): Likewise.
17756
9fbf9aca
DH
177572013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17758
17759 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17760
207d1e2a
TS
177612013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17762
17763 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17764
306dfba9
AS
177652013-04-15 Andreas Schwab <schwab@suse.de>
17766
17767 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17768 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17769 * nscd/pwdcache.c (cache_addpw): Likewise.
17770 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17771 more than recsize.
17772
206a6699
SP
177732013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17774
17775 * benchtests/Makefile (bench): Write all output to
17776 bench-out.tmp together.
17777
0582f6b3
AS
177782013-04-15 Andreas Schwab <schwab@suse.de>
17779
17780 * nscd/nscd.c (main): Don't fork again after closing files.
17781
acb4325f
SP
177822013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17783
5cb26d0a
SP
17784 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17785
acb4325f
SP
17786 * benchtests/Rules (bench-deps): Collect dependencies into a
17787 single variable. Add Makefile to dependencies.
17788 ($(objpfx)bench-%.c): Depend on bench-deps.
17789
47792506
RM
177902013-04-12 Roland McGrath <roland@hack.frob.com>
17791 Xavier Roche <roche+kml2@exalead.com>
17792
17793 [BZ #15361]
17794 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17795 just that it's a file descriptor.
17796 * manual/llio.texi (Synchronizing AIO Operations): Update description
17797 for EBADF error from aio_fsync.
17798
8fc1bee5
SP
177992013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17800
17801 * Rules (bench): Move target definition...
17802 * benchtests/Makefile: ... here.
17803
aba5e333
CD
178042013-04-11 Carlos O'Donell <carlos@redhat.com>
17805
17806 * math/libm-test.inc (cos_test): Fix PI/2 test.
17807 (sincos_test): Likewise.
17808 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17809 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17810
273cdee8
AS
178112013-04-11 Andreas Schwab <schwab@suse.de>
17812
6ecec3b6
AS
17813 [BZ #13988]
17814 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17815 accept exponent character only when digits were seen.
17816 * stdio-common/Makefile (tests): Add bug26.
17817 * stdio-common/bug26.c: New file.
17818
273cdee8
AS
17819 [BZ #14293]
17820 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17821 non-freeable.
17822
8da491f5
SP
178232013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17824
01dc6df9
SP
17825 * Makeconfig (rtld-prefix): Define built linker prefix.
17826 * Rules (run-bench): Use it.
17827 * math/Makefile (run-regen-ulps): Likewise.
17828
8da491f5
SP
17829 * Rules (bench): Remove eval.
17830
abe7f530
SP
178312013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17832 Roland McGrath <roland@hack.frob.com>
17833 Ondrej Bilka <neleai@seznam.cz>
17834
17835 [BZ #15346]
17836 * time/getdate.c: Include ctype.h and alloca.h.
17837 (__getdate_r): Trim leading and trailing spaces of input.
17838 * time/tst-getdate.c (tests): Add tests with leading and
17839 trailing spaces.
17840
61c23e62
RM
178412013-04-08 Roland McGrath <roland@hack.frob.com>
17842
17843 [BZ #14280]
17844 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17845 when computing value.
17846
7208a313
CD
178472013-04-06 Carlos O'Donell <carlos@redhat.com>
17848
085b2d41
CD
17849 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17850 Use testrun.sh to run libm tests.
17851
7208a313
CD
17852 [BZ #15309]
17853 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17854
872c0acd
MM
178552013-04-06 Marko Myllynen <myllynen@redhat.com>
17856
17857 [BZ #15264]
17858 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17859
26510bdd
CD
178602013-04-06 Carlos O'Donell <carlos@redhat.com>
17861
17862 * Makefile.in (regen-ulps): New target.
17863 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17864 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17865 [ifneq (no,$(PERL)] (regen-ulps): New target.
17866 [ifeq (no,$(PERL)] (regen-ulps): New target.
17867 * math/libm-test.inc (ulps_file_name): Define.
17868 (output_dir): New variable.
17869 (options): Add "output-dir" option.
17870 (parse_opt): Handle 'o' case.
17871 (main): If output_dir is non-NULL use it as a prefix
17872 otherwise use "".
17873 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17874
a01f19c8
CD
178752013-04-06 Carlos O'Donell <carlos@redhat.com>
17876
17877 [BZ #10060, #10062]
17878 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17879 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17880 fail configure if __sync_val_compare_and_swap is not inlined.
17881 * sysdeps/i386/configure: Regenerate.
17882 * configure.in: Build for i686 when configured for i386.
17883 * configure: Regenerate.
17884 * README: Remove i386 reference.
17885
b7a329a5
CD
178862013-04-06 Carlos O'Donell <carlos@redhat.com>
17887
17888 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17889 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17890
bf0f50df
TS
178912013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17892
ee091edf
TS
17893 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17894 (lmsnanval): New variables.
17895 (F): Add conversion tests.
17896 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17897 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17898
a8b792d6
TS
17899 * stdio-common/tstdiomisc.c (F): Properly collect individual
17900 tests' results.
17901
a1cbf437
TS
17902 [BZ #14686, #15336]
17903 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17904 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17905 Instead, use input NaN values or generate a qNaN by arithmetic
17906 operation. Also fix bugs to comply with the standard.
17907 * math/libm-test.inc (remainder_test): Add more tests.
17908
8b43a0c9
TS
17909 [BZ #15335, #15342]
17910 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17911 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17912 input NaN values or generate a qNaN by arithmetic operation.
17913
d91da4ce
TS
17914 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17915 unreachable code.
17916
bf0f50df
TS
17917 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17918 definitions.
17919
05e166c8
JM
179202013-04-03 Joseph Myers <joseph@codesourcery.com>
17921
17922 [BZ #14478]
17923 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17924 underflowed result.
17925 * math/s_cexpf.c (__cexpf): Likewise.
17926 * math/s_cexpl.c (__cexpl): Likewise.
17927 * math/libm-test.inc (cexp_test): Add more tests.
17928
1cef1b19
AS
179292013-04-03 Andreas Schwab <schwab@suse.de>
17930
17931 [BZ #15330]
17932 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17933 order arrays from heap if bigger than alloca cutoff.
17934
74d87055
TS
179352013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17936
17937 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17938 (SNAN_TESTS_double): Refer to GCC PR56831.
17939 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17940 GCC PR56828.
17941
d755bba4
SP
179422013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17943
90d5d5bb
SP
17944 * Rules (bench): Move bench.out after the run is complete.
17945
73e0cd5d
SP
17946 * Rules (bench): Echo currently running benchmark.
17947
64aabd4b
SP
17948 * benchtests/Makefile (bench): Add atan and slowatan.
17949 * benchtests/atan-inputs: New file.
17950 * benchtests/slowatan-inputs: New file.
17951 * benchtests/slowatan.c: New file.
17952
c871eccd
SP
17953 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17954 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17955 its value.
17956
d755bba4
SP
17957 [BZ #15305]
17958 * sysdeps/unix/sysv/linux/kernel-features.h
17959 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17960 __ASSUME_XFS_RESTRICTED_CHOWN.
17961 * sysdeps/unix/sysv/linux/pathconf.c
17962 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17963 Save and restore errno.
17964
52ce4860
JM
179652013-04-02 Joseph Myers <joseph@codesourcery.com>
17966
17967 [BZ #15327]
17968 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17969 arguments using __kernel_casinh.
17970 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17971 arguments using __kernel_casinhf.
17972 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17973 arguments using __kernel_casinhl.
17974 * math/libm-test.inc (cacosh_test): Add more tests.
17975 * sysdeps/i386/fpu/libm-test-ulps: Update.
17976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17977
81f311c2
SP
179782013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17979
e7906a47
SP
17980 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17982
92e3664b
SP
17983 * bench/Makefile (bench): Add sin and slowsin.
17984 * benchtests/sin-inputs: New file.
17985 * benchtests/slowsin-inputs: New file.
17986 * benchtests/slowsin.c: New file.
17987
81f311c2
SP
17988 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17989 (bench): Add slowexp and slowpow.
17990 (exp-ITER): Increase iterations.
17991 (pow-ITER): Likewise.
17992 * benchtests/exp-inputs: Change input.
17993 * benchtests/pow-inputs: Likewise.
17994 * benchtests/slowexp-inputs: New file.
17995 * benchtests/slowexp.c: New file.
17996 * benchtests/slowpow-inputs: New file.
17997 * benchtests/slowpow.c: New file.
17998
ab0f1aa9
AZ
179992013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18000
18001 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18002 instructions.
18003 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18004 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18005 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18006 * benchtests/Makefile: Add rint benchtest.
18007 * benchtests/rint-inputs: Input for rint benchtest.
18008
57267616
TS
180092013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18010
18011 * Versions.def (libm): Add GLIBC_2.18.
18012 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18013 hidden libm prototypes.
18014 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18015 * math/Makefile (libm-calls): Add s_issignaling.
18016 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18017 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18018 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18019 declaration.
18020 * math/math.h [__USE_GNU] (issignaling): New macro.
18021 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18022 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18024 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18025 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18026 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18027 * manual/arith.texi (issignaling): New section.
18028 * manual/libm-err-tab.pl (@all_functions): Update comment.
18029 * math/gen-libm-test.pl (parse_args): Apply special handling for
18030 issignaling.
18031 * math/libm-test.inc (print_float, issignaling_test): New
18032 functions.
18033 (check_float_internal): Add issignaling checks.
18034 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18035 default definition.
18036 * sysdeps/powerpc/math-tests.h: New file.
18037 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18038 tests.
18039 * math/test-snan.c (TEST_FUNC): Likewise.
18040
6142896d
DM
180412013-03-30 David S. Miller <davem@davemloft.net>
18042
18043 * po/de.po: Update from translation team.
18044
ccc8cadf
JM
180452013-03-30 Joseph Myers <joseph@codesourcery.com>
18046
18047 [BZ #10357]
18048 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18049 imaginary part less than 1.0 and real part less than 0.5
18050 specially.
18051 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18052 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18053 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18054 (cacos_test): Add more tests.
18055 (casin_test): Likewise.
18056 (casinh_test): Likewise.
18057 * sysdeps/i386/fpu/libm-test-ulps: Update.
18058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18059
0f6a8d4b
SP
180602013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18061
0d1029de
SP
18062 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18063 ONE with its value.
18064
c2d94018
SP
18065 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18066 (__pow_mp): Replace ONE and MONE with their values.
18067 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18068 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18069 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18070 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18071 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18072 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18073
27ec37f1
SP
18074 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18075
a64d7e0e
SP
18076 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18077 (__pow_mp): Replace ZERO and MZERO with their values.
18078 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18079 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18080 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18082 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18083 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18084 (__sqr): Likewise.
18085
d26dd3eb
SP
18086 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18087
0f6a8d4b
SP
18088 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18089
e57b0c61
RM
180902013-03-28 Roland McGrath <roland@hack.frob.com>
18091
18092 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18093 Declare with __attribute__ ((weak)).
18094 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18095 Call __call_tls_dtors only if it's not NULL.
18096
356b3480
RM
180972013-03-28 Roland McGrath <roland@hack.frob.com>
18098
288f7d79
RM
18099 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18100 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18101 magic __ehdr_start linker symbol if it's defined.
18102 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18103 them up here if it was already done.
18104
dc0a0263
RM
18105 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18106 (_dl_aux_init): Use const in cast when setting it.
18107 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18108 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18109 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18110
3d3436ae
RM
18111 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18112 Declare them here.
18113 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18114 * csu/libc-tls.c: Nor here.
18115 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18116
356b3480
RM
18117 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18118 (__libc_message): Never call vsyslog.
18119
b0f1246a
AM
181202013-03-28 Alan Modra <amodra@gmail.com>
18121
18122 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18123 Define as empty.
18124 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18125 Likewise.
18126
fbbe2b9a
AZ
181272013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18128
18129 [BZ #15214]
18130 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18131 underflow.
18132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18133
1728ab37
SP
181342013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18135
7a86be6e
SP
18136 [BZ #15304]
18137 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18138 Don't add gid passed as argument.
18139
1728ab37
SP
18140 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18141
3a7182a1
JM
181422013-03-27 Joseph Myers <joseph@codesourcery.com>
18143
18144 [BZ #15307]
18145 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18146 imaginary part between 1.0 and 1.5 and real part less than 0.5
18147 specially.
18148 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18149 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18150 * math/libm-test.inc (cacos_test): Add more tests.
18151 (casin_test): Likewise.
18152 (casinh_test): Likewise.
18153 * sysdeps/i386/fpu/libm-test-ulps: Update.
18154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18155
6f2e90e7
SP
181562013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18157
5739f705
SP
18158 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18159 constants.
18160 (norm): Likewise.
18161 (denorm): Likewise.
18162 (__dbl_mp): Likewise.
18163 (add_magnitudes): Likewise.
18164 (sub_magnitudes): Likewise.
18165 (__add): Likewise.
18166 (__sub): Likewise.
18167 (__mul): Likewise.
18168 (__sqr): Likewise.
18169 (__inv): Likewise.
18170 (__dvd): Likewise.
18171
e375e83d
SP
18172 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18173 commented code.
18174 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18175 (__dubcos): Likewise.
18176 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18177 (__ieee754_acos): Likewise.
18178 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18179 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18180 (__exp1): Likewise.
18181 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18183 (log1): Likewise.
18184 (my_log2): Likewise.
18185 (checkint): Likewise.
18186 * sysdeps/ieee754/dbl-64/e_remainder.c
18187 (__ieee754_remainder): Likewise.
18188 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18189 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18190 (bsloww): Likewise.
18191 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18192
6f2e90e7
SP
18193 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18194 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18195 MANTISSA_STORE_T to store computations on mantissa. Use
18196 macros for rounding and division.
18197 (denorm): Likewise.
18198 (__dbl_mp): Likewise.
18199 (add_magnitudes): Likewise.
18200 (sub_magnitudes): Likewise.
18201 (__mul): Likewise.
18202 (__sqr): Likewise.
18203 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18204 powers of two in terms of TWOPOW macro.
18205 (mp_no): Make type of mantissa as MANTISSA_T.
18206 [!RADIXI]: Define RADIXI.
18207 [!TWO52]: Define TWO52.
18208 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18209
fce14d4e
AZ
182102013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18211
18212 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18213 llroundl symbol when building for PPC32.
18214
9ad027fb
MW
182152013-03-24 Mark H Weaver <mhw@netris.org>
18216
18217 * manual/arith.texi (Normalization Functions): Fix prototypes for
18218 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18219
e42a38dd
AZ
182202013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18221
18222 [BZ #13889]
18223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18224 high value to check if expl overflow.
18225 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18226 to check for underflow and overflow.
18227 * math/libm-test.inc: Add exp test.
18228
2e0fb521
DL
182292013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18230
18231 [BZ #11120]
18232 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18233 with NOT_IN_libc.
18234
b5784d95
AZ
182352013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18236
18237 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18238 symbol.
18239
5aa4a1a1
TS
182402013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18241
bdef0be7
TS
18242 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18243 wrap blocks consisting of several statements.
18244
5aa4a1a1
TS
18245 * sysdeps/generic/math-tests.h: New file.
18246 * sysdeps/i386/fpu/math-tests.h: Likewise.
18247 * math/test-snan.c: Include it.
18248 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18249
98c48fe5
JM
182502013-03-21 Joseph Myers <joseph@codesourcery.com>
18251
18252 [BZ #15285]
18253 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18254 (__ieee754_j0l): Do not improve calculations using cos of twice
18255 input for inputs above LDBL_MAX / 2.0L.
18256 (__ieee754_y0l): Likewise.
18257 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18258 (__ieee754_j1l): Do not improve calculations using cos of twice
18259 input for inputs above LDBL_MAX / 2.0L.
18260 (__ieee754_y1l): Likewise.
18261 * math/libm-test.inc (j0_test): Add another test.
18262 (j1_test): Likewise.
18263 (y0_test): Likewise.
18264 (y1_test): Likewise.
18265 * sysdeps/i386/fpu/libm-test-ulps: Update.
18266
3775a8bc
SP
182672013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18268
18269 * Rules ($(objpfx)bench-%.c): Include code from a C source
18270 file.
18271
0a1b2ae6
JM
182722013-03-21 Joseph Myers <joseph@codesourcery.com>
18273
18274 [BZ #15287]
18275 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18276 imaginary part 1.0 and real part less than 0.5 specially.
18277 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18278 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18279 * math/libm-test.inc (cacos_test): Add more tests.
18280 (casin_test): Likewise.
18281 (casinh_test): Likewise.
18282 * sysdeps/i386/fpu/libm-test-ulps: Update.
18283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18284
b33d4ce4
SP
182852013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18286
18287 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18288 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18289
bef0b507
JM
182902013-03-20 Joseph Myers <joseph@codesourcery.com>
18291
18292 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18293 * config.make.in (config-cflags-sse4): Remove variable.
18294 (config-cflags-avx): Likewise.
18295 (config-cflags-sse2avx): Likewise.
18296 (config-cflags-novzeroupper): Likewise.
18297 (config-asflags-i686): Likewise.
18298 (have-mfma4): Likewise.
18299 (have-as-vis3): Likewise.
18300 (MIG): Likewise.
18301 * configure.in (MIG): Do not AC_SUBST.
18302 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18303 (libc_cv_cc_sse4): Do not AC_SUBST.
18304 (libc_cv_cc_avx): Likewise.
18305 (libc_cv_cc_sse2avx): Likewise.
18306 (libc_cv_cc_novzeroupper): Likewise.
18307 (libc_cv_cc_fma4): Likewise.
18308 (libc_cv_as_i686): Likewise.
18309 (libc_cv_sparc_as_vis3): Likewise.
18310 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18311 LIBC_CONFIG_VAR.
18312 (config-asflags-i686): Likewise.
18313 (config-cflags-avx): Likewise.
18314 (config-cflags-sse2avx): Likewise.
18315 (have-mfma4): Likewise.
18316 (config-cflags-novzeroupper): Likewise.
18317 * sysdeps/mach/configure.in (MIG): Likewise.
18318 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18319 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18320 LIBC_CONFIG_VAR.
18321 (config-cflags-avx): Likewise.
18322 (config-cflags-sse2avx): Likewise.
18323 (have-mfma4): Likewise.
18324 (config-cflags-novzeroupper): Likewise.
18325 * configure: Regenerated.
18326 * sysdeps/i386/configure: Likewise.
18327 * sysdeps/mach/configure: Likewise.
18328 * sysdeps/sparc/configure: Likewise.
18329 * sysdeps/x86_64/configure: Likewise.
18330
912cc4b3
RM
183312013-03-20 Roland McGrath <roland@hack.frob.com>
18332
18333 [BZ #14812]
18334 * locale/programs/localedef.c (options): Put N_ translation marker
18335 on argument names, not just descriptions.
18336
04eed2b0
MS
183372013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18338
18339 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18340
a065ceff
OB
183412013-03-20 Ondřej Bílka <neleai@seznam.cz>
18342
9bb2a810 18343 [BZ #14176]
a065ceff
OB
18344 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18345
a600e5ce
RM
183462013-03-19 Roland McGrath <roland@hack.frob.com>
18347
18348 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18349 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18350 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18351 [!BEFORE_ABORT] (before_abort): New function.
18352 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18353 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18354 (writev_for_fatal): New function.
18355 (WRITEV_FOR_FATAL): New macro; call that.
18356 (backtrace_and_maps): New function.
18357 (BEFORE_ABORT): New macro; call that.
18358 (struct str_list): Type removed.
18359 (__libc_message, __libc_fatal): Functions removed.
18360 Include <sysdeps/posix/libc_fatal.c> instead.
18361
6b18bea6
JM
183622013-03-19 Joseph Myers <joseph@codesourcery.com>
18363
18364 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18365 constants.
18366 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18367 double constants.
18368
aaa8cb4b
AS
183692013-03-19 Andreas Schwab <schwab@suse.de>
18370
44673770
AS
18371 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18372 * sysdeps/gnu/configure: Regenerate.
18373
aaa8cb4b
AS
18374 * configure.in: Substitute libc_cv_rtlddir.
18375 * configure: Regenerate.
18376 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18377 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18378 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18379 * elf/Makefile (install-others, CFLAGS-interp.c)
18380 (ldso_install, common-ldd-rewrite): Likewise.
18381 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18382 $(inst_slibdir)/$(rtld-installed-name).
18383 * scripts/rellns-sh: Add -p option.
18384 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18385 for source.
18386
d3cfc668
SP
183872013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18388
18389 * manual/nptl.texi: Renamed to ...
18390 * manual/threads.texi: ... this.
18391 * manual/Makefile (chapters): Update.
18392
0e2b9cdd
RM
183932013-03-18 Roland McGrath <roland@hack.frob.com>
18394
18395 [BZ #14812]
18396 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18397 on argument names, not just descriptions.
0e2b9cdd
RM
18398 * malloc/memusagestat.c (options): Likewise.
18399 * nss/getent.c (options): Likewise.
63270c24
RM
18400
184012013-03-18 Benno Schulenberg <bensberg@justemail.net>
18402
18403 [BZ #14812]
18404 * iconv/iconv_prog.c (options): Put N_ translation marker
18405 on argument names, not just descriptions.
18406 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 18407
b2e1393c
OB
184082013-03-18 Ondrej Bilka <neleai@seznam.cz>
18409
18410 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18411 implementation which is faster on all x86_64 architectures.
18412 Tested on AMD, Intel Nehalem, SNB, IVB.
18413 * sysdeps/x86_64/strnlen.S: Likewise.
18414
18415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18416 Remove all multiarch strlen and strnlen versions.
18417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18418 Remove strlen and strnlen related parts.
18419
18420 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18421 Inline strlen part.
18422 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18423
18424 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18425 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18426 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18427 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18428 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18429 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18430
ec4ff04d
CD
184312013-03-17 Carlos O'Donell <carlos@redhat.com>
18432
18433 * manual/memory.texi (Malloc Tunable Parameters):
18434 Sort parameters alphabetically. Add comments for missing entries.
18435
cd18e90a
DM
184362013-03-17 David S. Miller <davem@davemloft.net>
18437
18438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18439
2a185d32
JM
184402013-03-16 Joseph Myers <joseph@codesourcery.com>
18441
d2f9799e
JM
18442 [BZ #15283]
18443 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18444 for arguments at most half maximum finite value.
18445 * math/libm-test.inc (j0_test): Add more tests.
18446 (j1_test): Likewise.
18447 (y0_test): Likewise.
18448 (y1_test): Likewise.
18449 * sysdeps/i386/fpu/libm-test-ulps: Update.
18450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18451
2a185d32
JM
18452 [BZ #14155]
18453 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18454 1 / x and functions P and Q for arguments above 0x1p256L.
18455 (__ieee754_y0l): Likewise.
18456 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18457 (__ieee754_y1l): Likewise.
18458 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18459 (j1_test): Likewise.
18460 (y0_test): Likewise.
18461 (y1_test): Likewise.
18462
6cbec759
TS
184632013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18464
18465 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18466 variable.
18467
bc16e260
RM
184682013-03-15 Roland McGrath <roland@hack.frob.com>
18469
aefc9b8c
RM
18470 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18471 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18472 zero since it's initialized to EXEC_PAGESIZE.
18473
bc16e260
RM
18474 * sysdeps/unix/sysv/linux/ldsodefs.h
18475 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18476 * sysdeps/generic/ldsodefs.h: ... here.
18477
a57da955
TS
184782013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18479
af00a34d
TS
18480 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18481
495ded2c
TS
18482 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18483 math/test-snan.c.
18484 * math/test-snan.c: Renamed from
18485 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18486 * math/Makefile (tests): Add test-snan.
18487 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18488 test-powerpc-snan.
18489
777b0332
TS
18490 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18491 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18492 functions.
18493 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18494 __builtin_nan family of functions.
18495 * math/libm-test.inc (initialize): Initialize qnan_value with
18496 __builtin_nan family of functions.
18497 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18498 Remove variables.
18499 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18500 Remove functions.
18501 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18502 storage class. Initialize qNaN_var and sNaN_var with
18503 __builtin_nan and __builtin_nans families of functions,
18504 respectively.
18505
64d063b8
TS
18506 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18507 (sqrt_test): Remove duplicate test with qNaN input.
18508 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18509 (round_test, signbit_test, significand_test): Note missing +/-Inf
18510 as well as qNaN tests.
18511
67e971f1
TS
18512 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18513 qNaN_var. Fix a few strings, too.
18514 * math/libm-test.inc (nan_value): Rename to qnan_value.
18515 * math/gen-libm-test.pl (%beautify): Adjust to that.
18516 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18517 * math/test-misc.c (main): Likewise.
18518 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18519 to __qnan_bytes, and __qnan_union, respectively.
18520 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18521 Likewise.
18522 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18523 and lqnanval, respectively.
18524 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18525 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18526 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18527 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18528
64487e12
TS
18529 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18530 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18531 doubles.
18532
e015e27b
TS
18533 * math/test-misc.c (main): Fix copy'n'pastos.
18534 * misc/tst-efgcvt.c (special): Likewise.
18535
a57da955
TS
18536 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18537 Remove declarations.
18538
1e380345
SP
185392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18540
18541 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18542 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18543 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18544 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18545
ef26eece
AZ
185462013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18547
18548 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18549 macro to return vdso values correctly in IFUNC implementations.
18550 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18551 Optimization by using IFUNC.
18552
8cfdb7e0
SP
185532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18554 Richard Henderson <rth@redhat.com>
18555 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18556
18557 * Makefile.in (bench): New target.
18558 * NEWS: Mention the benchmark framework.
18559 * Rules (bench): Likewise.
18560 (binaries-bench): Generate binaries for functions to
18561 benchmark.
18562 * benchtests/Makefile: New makefile for benchmark tests.
18563 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18564 programs.
18565 * benchtests/exp-inputs: New input file for EXP function.
18566 * benchtests/pow-inputs: New input file for POW function.
18567 * scripts/bench.pl: New script to generate source files for
18568 benchmark programs.
18569
bcda9880
SP
185702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18571
d22ca8cd
SP
18572 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18573 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18574 computations on mantissa. Use macros for rounding and
18575 division.
18576 (denorm): Likewise.
18577 (__dbl_mp): Likewise.
18578 (add_magnitudes): Likewise.
18579 (sub_magnitudes): Likewise.
18580 (__mul): Likewise.
18581 (__sqr): Likewise.
18582 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18583 powers of two in terms of TWOPOW macro.
18584 (mp_no): Make type of mantissa as MANTISSA_T.
18585 [!RADIXI]: Define RADIXI.
18586 [!TWO52]: Define TWO52.
18587 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18588
bcda9880
SP
18589 * manual/nptl.texi (cindex): Modify threads to pthreads.
18590
06d5adfb
JM
185912013-03-15 Joseph Myers <joseph@codesourcery.com>
18592
18593 * sysdeps/x86_64/preconfigure: Regenerated.
18594
41c7328e
JM
185952013-03-14 Joseph Myers <joseph@codesourcery.com>
18596
18597 [BZ #14155]
18598 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18599 0x1p28 and above.
18600 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18601 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18602 0x1p28 and above.
18603 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18604 * math/libm-test.inc (j0_test): Do not allow one spurious
18605 underflow exception.
18606 (y1_test): Likewise.
18607
e25cfa60
SP
186082013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18609
0409959c
SP
18610 * manual/Makefile (chapters): Add nptl.
18611 * manual/debug.texi (Debugging Support): Add link to Threads
18612 chapter.
18613 * manual/nptl.texi: New file.
18614
e25cfa60
SP
18615 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18616
58a1335e
PB
186172013-03-14 Petr Baudis <pasky@ucw.cz>
18618
18619 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18620 for non-NULL pointer before the memory validity test. Pointed
18621 out by Holger Brunck <holger.brunck@keymile.com>.
18622
9dc7c64f
AS
186232013-03-13 Andreas Schwab <schwab@suse.de>
18624
18625 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18626 instead of .os.
18627
54206aa6
JM
186282013-03-13 Joseph Myers <joseph@codesourcery.com>
18629
18630 * timezone/zic.c: Update from tzcode 2013b.
18631
e98cdb38
CD
186322013-03-12 Carlos O'Donell <carlos@redhat.com>
18633
18634 * manual/install.texi (Configuring and compiling):
18635 Mention i686 and i586.
18636 * INSTALL: Regenerate.
18637
9967e003
RM
186382013-03-12 Roland McGrath <roland@hack.frob.com>
18639
18640 * sysdeps/init_array/elf-init.c: New file.
18641 * csu/elf-init.c
18642 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18643 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18644
18645 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18646 __gmon_start__ as global, but as static with a .preinit_array pointer.
18647 * sysdeps/init_array/gmon-start.c: New file. Use that.
18648 * sysdeps/init_array/crti.S: New file, empty except for comments.
18649 * sysdeps/init_array/crtn.S: Likewise.
18650
e6b5a293 186512013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18652
18653 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18654 definining bcopy.
80f844c9
OB
18655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18656 Remove Prefer_SSE_for_memop.
18657 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18658 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18659 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18661 memset-x86-64.
80f844c9 18662 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18663 Remove bzero, memset ifunc support.
80f844c9
OB
18664 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18665 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18666 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18667 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18668
fb6b0fcb
AS
186692013-03-11 Andreas Schwab <schwab@suse.de>
18670
18671 [BZ #15234]
18672 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18673 by SHLIB_COMPAT.
18674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18675 (GLIBC_2.16): Remove pthread_atfork.
18676
3e6bd4b1
PP
186772013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18678
18679 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18680 (ptestcases.h): Likewise.
18681
222d7f00
RM
186822013-03-08 Roland McGrath <roland@hack.frob.com>
18683
18684 * Makeconfig ($(common-objpfx)config.status): Depend on
18685 sysdeps/*/preconfigure{,.in} too.
18686
1ba4f030
JM
186872013-03-08 Joseph Myers <joseph@codesourcery.com>
18688
a222d91a
JM
18689 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18690 (__free_hook): Use void * instead of __malloc_ptr_t.
18691 (__malloc_hook): Likewise.
18692 (__realloc_hook): Likewise.
18693 (__memalign_hook): Likewise.
18694 (__after_morecore_hook): Likewise.
18695 * malloc/arena.c (save_malloc_hook): Likewise.
18696 (save_free_hook): Likewise.
18697 * malloc/hooks.c (malloc_hook_ini): Likewise.
18698 (realloc_hook_ini): Likewise.
18699 (memalign_hook_ini): Likewise.
18700 * malloc/malloc.c (malloc_hook_ini): Likewise.
18701 (realloc_hook_ini): Likewise.
18702 (memalign_hook_ini): Likewise.
18703 (__free_hook): Likewise.
18704 (__malloc_hook): Likewise.
18705 (__realloc_hook): Likewise.
18706 (__memalign_hook): Likewise.
18707 (__libc_malloc): Likewise.
18708 (__libc_free): Likewise.
18709 (__libc_realloc): Likewise.
18710 (__libc_memalign): Likewise.
18711 (__libc_valloc): Likewise.
18712 (__libc_pvalloc): Likewise.
18713 (__libc_calloc): Likewise.
18714 (__posix_memalign): Likewise.
18715 * malloc/morecore.c (__sbrk): Likewise.
18716 (__default_morecore): Likewise.
18717
5cc45e10
JM
18718 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18719
dd54b864
JM
18720 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18721 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18722 __malloc_ptrdiff_t.
18723
1ba4f030
JM
18724 * malloc/malloc.h (__malloc_size_t): Remove macro.
18725 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18726 __malloc_size_t.
18727 (old_memalign_hook): Likewise.
18728 (old_realloc_hook): Likewise.
18729 (struct hdr): Likewise.
18730 (flood): Likewise.
18731 (mallochook): Likewise.
18732 (memalignhook): Likewise.
18733 (reallochook): Likewise.
18734 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18735 (tr_old_realloc_hook): Likewise.
18736 (tr_old_memalign_hook): Likewise.
18737 (tr_mallochook): Likewise.
18738 (tr_reallochook): Likewise.
18739 (tr_memalignhook): Likewise.
18740
edf66e57
AZ
187412013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18742
18743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18744 default_ldbl_pack and using as default implementation.
18745 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18746 implementation.
18747 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18748 redundant definition.
18749 (ldbl_insert_mantissa): Likewise.
18750 (ldbl_canonicalize): Likewise.
18751 (ldbl_nearbyint): Likewise.
18752 (ldbl_pack): Rename to ldbl_pack_ppc.
18753 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18754 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18755 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18756
6d9145d8
SP
187572013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18758
18759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18760 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18761 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18762 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18764 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18765 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18766 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18767
4dd4e157
AJ
187682013-03-07 Andreas Jaeger <aj@suse.de>
18769
18770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18771 bits/mman-linux.h.
18772
adbb8027
SP
187732013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18774
ce544b5b
SP
18775 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18776 Include mpa.h and declare __MPEXP.
18777 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18778 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18779 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18780 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18781 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18782 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18783 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18784
4cc149fd
SP
18785 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18786 (__slowpow): Use long double EXPL and LOGL functions to
18787 compute POW.
18788 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18789 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18790 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18791 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18792 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18793 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18794
e6ebd4a7
SP
18795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18796 intermediate variable to calculate exponent.
18797 (__sqr): Likewise.
18798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18799 Likewise.
18800 (__sqr): Likewise.
18801
82a9811d
SP
18802 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18803 [!NO__SQR]: Define __sqr.
18804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18805 and NO__SQR. Remove all code except __mul and __sqr. Include
18806 sysdeps/ieee754/dbl-64/mpa.c.
18807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18808
adbb8027
SP
18809 [BZ #12723]
18810 * posix/Makefile (tests): Add tst-pathconf.
18811 * posix/tst-pathconf.c: New test case.
18812 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18813 _PC_PIPE_BUF.
18814 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18815
39120df9
PF
188162013-03-06 Patsy Franklin <pfrankli@redhat.com>
18817
18818 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18819
67525cb8
AJ
188202013-03-06 Andreas Jaeger <aj@suse.de>
18821
664a9ce4
AJ
18822 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18823 definition via __MAP_ANONYMOUS.
18824
8e39047d
AJ
18825 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18826 it's not part of Linux headers.
18827
67525cb8
AJ
18828 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18829 (MAP_HUGE_MASK): Define.
18830
18831 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18832 Define.
18833 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18834 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18835 Define.
18836 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18837 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18838 Define.
18839 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18840 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18841 Define.
18842 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18843
18844 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18845 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18846 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18847 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18848 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18849 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18850
18851 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18852 Handle f2fs.
18853
18854 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18855 Handle f2fs and efivarfs.
18856
18857 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18858 f2fs.
18859
18860 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18861 (EFIVARFS_MAGIC): Add.
18862 (F2FS_LINK_MAX): Add.
18863
e1b42695
PP
188642013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18865
18866 * stdio-common/vfprintf.c: Replace __builtin_expect with
18867 __glibc_unlikely.
18868
2d67d91a
JM
188692013-03-06 Joseph Myers <joseph@codesourcery.com>
18870
18871 [BZ #13550]
18872 * sysdeps/generic/bp-sym.h: Remove file.
18873 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18874 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18875 <bp-sym.h> and <bp-asm.h>.
18876 (__longjmp): Don't use BP_SYM.
18877 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18878 and <bp-asm.h>.
18879 (memcpy): Don't use BP_SYM.
18880 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18881 <bp-sym.h> and <bp-asm.h>.
18882 (memcpy): Don't use BP_SYM.
18883 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18884 <bp-asm.h>.
18885 (memcpy): Don't use BP_SYM.
18886 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18887 <bp-asm.h>.
18888 (memset): Don't use BP_SYM.
18889 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18890 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18891 (__bzero): Don't use BP_SYM.
18892 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18893 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18894 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18895 <bp-sym.h> and <bp-asm.h>.
18896 (memcmp): Don't use BP_SYM. Remove comment about bounded
18897 pointers.
18898 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18899 <bp-sym.h> and <bp-asm.h>.
18900 (memcpy): Don't use BP_SYM.
18901 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18902 <bp-sym.h> and <bp-asm.h>.
18903 (memset): Don't use BP_SYM.
18904 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18905 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18906 (__bzero): Don't use BP_SYM.
18907 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18908 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18909 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18910 <bp-sym.h> and <bp-asm.h>.
18911 (strncmp): Don't use BP_SYM. Remove comment about bounded
18912 pointers.
18913 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18914 <bp-sym.h> and <bp-asm.h>.
18915 (memcpy): Don't use BP_SYM.
18916 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18917 <bp-sym.h> and <bp-asm.h>.
18918 (memset): Don't use BP_SYM.
18919 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18920 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18921 (__bzero): Don't use BP_SYM.
18922 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18923 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18924 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18925 <bp-sym.h> and <bp-asm.h>.
18926 (__memchr): Don't use BP_SYM.
18927 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18928 <bp-sym.h> and <bp-asm.h>.
18929 (memcmp): Don't use BP_SYM. Remove comment about bounded
18930 pointers.
18931 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18932 <bp-sym.h> and <bp-asm.h>.
18933 (memcpy): Don't use BP_SYM.
18934 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18935 <bp-sym.h> and <bp-asm.h>.
18936 (__mempcpy): Don't use BP_SYM.
18937 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18938 <bp-sym.h> and <bp-asm.h>.
18939 (__memrchr): Don't use BP_SYM.
18940 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18941 <bp-sym.h> and <bp-asm.h>.
18942 (memset): Don't use BP_SYM.
18943 (__bzero): Likewise.
18944 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18945 <bp-sym.h> and <bp-asm.h>.
18946 (__rawmemchr): Don't use BP_SYM.
18947 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18948 <bp-sym.h> and <bp-asm.h>.
18949 (__STRCMP): Don't use BP_SYM.
18950 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18951 <bp-sym.h> and <bp-asm.h>.
18952 (strchr): Don't use BP_SYM.
18953 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18954 <bp-sym.h> and <bp-asm.h>.
18955 (__strchrnul): Don't use BP_SYM.
18956 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18957 <bp-sym.h> and <bp-asm.h>.
18958 (strlen): Don't use BP_SYM.
18959 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18960 <bp-sym.h> and <bp-asm.h>.
18961 (strncmp): Don't use BP_SYM. Remove comment about bounded
18962 pointers.
18963 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18964 <bp-sym.h> and <bp-asm.h>.
18965 (__strnlen): Don't use BP_SYM.
18966 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18967 <bp-sym.h> and <bp-asm.h>.
18968 (__GI__setjmp): Don't use BP_SYM.
18969 (_setjmp): Likewise.
18970 (__sigsetjmp): Likewise.
18971 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18972 (L(start_addresses)): Don't use BP_SYM.
18973 (_start): Likewise.
18974 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18975 <bp-asm.h>.
18976 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18977 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18978 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18979 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18980 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18981 <bp-asm.h>.
18982 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18983 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18984 about bounded pointers.
18985 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18986 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18987 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18988 <bp-asm.h>.
18989 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18990 about bounded pointers. Remove GKM FIXME comments.
18991 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18992 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18993 <bp-asm.h>.
18994 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18995 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18996 Remove GKM FIXME comments.
18997 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18998 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18999 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19000 <bp-asm.h>.
19001 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19002 about bounded pointers. Remove GKM FIXME comment.
19003 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19004 and <bp-asm.h>.
19005 (strncmp): Don't use BP_SYM. Remove comment about bounded
19006 pointers.
19007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19008 <bp-sym.h> and <bp-asm.h>.
19009 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19011 <bp-sym.h> and <bp-asm.h>.
19012 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19013 comment.
19014
cdcf361f
PP
190152013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19016
19017 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19018 call free(NULL).
19019
3c4a2b15
DM
190202013-03-05 David S. Miller <davem@davemloft.net>
19021
19022 * po/es.po: Update from translation team.
19023
cdcf361f 190242013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19025
19026 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19027 <bits/mman-linux.h>.
19028 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19029 is fine.
19030 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19031 <bits/mman-linux.h> to end of file.
19032 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19033 is fine.
19034 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19035 <bits/mman-linux.h> to end of file.
19036 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19037 is fine.
19038 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19039 <bits/mman-linux.h> to end of file.
19040
19041 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19042 (MCL_CURRENT, MCL_FUTURE): Define here.
19043
5f67c04f
AK
190442013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19045
8a4473cc 19046 [BZ #15232]
5f67c04f
AK
19047 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19048 attribute_hidden.
19049 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19050
c3e94a95
AK
190512013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19052
19053 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19054 fourth parameter needed for rt_sigprocmask syscall.
19055 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19056 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19057 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19058 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19059 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19060 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19061
cfb6382a
JM
190622013-03-04 Joseph Myers <joseph@codesourcery.com>
19063
19064 [BZ #13550]
19065 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19066 comment about bounded pointers.
19067 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19068 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19069
539d8e01
AJ
190702013-03-04 Andreas Jaeger <aj@suse.de>
19071
19072 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19073 common definitions.
19074
19075 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19076 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19077 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19078 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19079 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19080 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19081
2e167a70 190822013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19083
19084 [BZ #15055]
19085 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19086 __ieee754_sqrl instead of __sqrl.
19087
68508633
JM
190882013-03-01 Joseph Myers <joseph@codesourcery.com>
19089
19090 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19091 * sysdeps/powerpc/fpu_control.h: ... here.
19092 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19093 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19094 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19095 * sysdeps/powerpc/bits/mathinline.h: ... here.
19096
7775448e
RM
190972013-03-01 Roland McGrath <roland@hack.frob.com>
19098
19099 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19100 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19101 to just [NEED_DL_SYSINFO_DSO].
19102 * elf/dl-support.c: Likewise.
19103 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19104 * elf/rtld.c (dl_main): Likewise.
19105 * elf/setup-vdso.h (setup_vdso): Likewise.
19106 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19107 * sysdeps/unix/sysv/linux/dl-sysdep.c
19108 (_dl_discover_osversion): Likewise.
19109
4e9b5995
CD
191102013-03-01 Carlos O'Donell <carlos@redhat.com>
19111
19112 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19113 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19114
e23872c8
SP
191152013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19116
e5c74c63
SP
19117 * NEWS: Mention libm performance improvements and non-x86 PI
19118 futex support.
19119
e23872c8
SP
19120 * csu/libc-start.c (__pthread_initialize_minimal): Change
19121 function arguments.
19122 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19123
b5510883
JM
191242013-02-28 Joseph Myers <joseph@codesourcery.com>
19125
19126 [BZ #13550]
19127 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19128 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19129 <bp-sym.h> and <bp-asm.h>.
19130 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19131 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19132 and <bp-asm.h>.
19133 (memcpy): Don't use BP_SYM.
19134 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19135 <bp-asm.h>.
19136 (__mpn_add_n): Don't use BP_SYM.
19137 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19138 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19139 and <bp-asm.h>.
19140 (__mpn_addmul_1): Don't use BP_SYM.
19141 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19142 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19143 <bp-sym.h>.
19144 (_setjmp): Don't use BP_SYM.
19145 (__novmx_setjmp): Likewise.
19146 (__GI__setjmp): Likewise.
19147 (__vmx_setjmp): Likewise.
19148 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19149 <bp-sym.h>.
19150 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19151 (__bzero): Don't use BP_SYM.
19152 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19153 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19154 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19155 <bp-sym.h> and <bp-asm.h>.
19156 (memcpy): Don't use BP_SYM.
19157 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19158 <bp-sym.h> and <bp-asm.h>.
19159 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19160 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19161 <bp-sym.h> and <bp-asm.h>.
19162 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19163 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19164 <bp-asm.h>.
19165 (__mpn_lshift): Don't use BP_SYM.
19166 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19167 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19168 <bp-asm.h>.
19169 (memset): Don't use BP_SYM.
19170 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19171 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19172 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19173 <bp-asm.h>.
19174 (__mpn_mul_1): Don't use BP_SYM.
19175 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19176 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19177 <bp-sym.h> and <bp-asm.h>.
19178 (memcmp): Don't use BP_SYM.
19179 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19180 <bp-sym.h> and <bp-asm.h>.
19181 (memcpy): Don't use BP_SYM.
19182 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19183 <bp-sym.h> and <bp-asm.h>.
19184 (memset): Don't use BP_SYM.
19185 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19186 <bp-sym.h> and <bp-asm.h>.
19187 (strncmp): Don't use BP_SYM.
19188 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19189 <bp-sym.h> and <bp-asm.h>.
19190 (memcpy): Don't use BP_SYM.
19191 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19192 <bp-sym.h> and <bp-asm.h>.
19193 (memset): Don't use BP_SYM.
19194 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19195 <bp-sym.h> and <bp-asm.h>.
19196 (__memchr): Don't use BP_SYM.
19197 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19198 <bp-sym.h> and <bp-asm.h>.
19199 (memcmp): Don't use BP_SYM.
19200 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19201 <bp-sym.h> and <bp-asm.h>.
19202 (memcpy): Don't use BP_SYM.
19203 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19204 <bp-sym.h> and <bp-asm.h>.
19205 (__mempcpy): Don't use BP_SYM.
19206 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19207 <bp-sym.h> and <bp-asm.h>.
19208 (__memrchr): Don't use BP_SYM.
19209 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19210 <bp-sym.h> and <bp-asm.h>.
19211 (memset): Don't use BP_SYM.
19212 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19213 <bp-sym.h> and <bp-asm.h>.
19214 (__rawmemchr): Don't use BP_SYM.
19215 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19216 <bp-sym.h> and <bp-asm.h>.
19217 (__STRCMP): Don't use BP_SYM.
19218 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19219 <bp-sym.h> and <bp-asm.h>.
19220 (strchr): Don't use BP_SYM.
19221 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19222 <bp-sym.h> and <bp-asm.h>.
19223 (__strchrnul): Don't use BP_SYM.
19224 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19225 <bp-sym.h> and <bp-asm.h>.
19226 (strlen): Don't use BP_SYM.
19227 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19228 <bp-sym.h> and <bp-asm.h>.
19229 (strncmp): Don't use BP_SYM.
19230 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19231 <bp-sym.h> and <bp-asm.h>.
19232 (__strnlen): Don't use BP_SYM.
19233 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19234 <bp-asm.h>.
19235 (__mpn_rshift): Don't use BP_SYM.
19236 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19237 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19238 <bp-sym.h> and <bp-asm.h>.
19239 (__sigsetjmp): Don't use BP_SYM.
19240 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19241 (L(start_addresses)): Don't use BP_SYM.
19242 (_start): Likewise.
19243 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19244 <bp-asm.h>.
19245 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19246 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19247 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19248 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19249 <bp-asm.h>.
19250 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19251 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19252 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19253 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19254 <bp-asm.h>.
19255 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19256 comments.
19257 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19258 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19259 <bp-asm.h>.
19260 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19261 FIXME comments.
19262 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19263 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19264 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19265 <bp-asm.h>.
19266 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19267 comment.
19268 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19269 and <bp-asm.h>.
19270 (strncmp): Don't use BP_SYM,
19271 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19272 <bp-asm.h>.
19273 (__mpn_sub_n): Don't use BP_SYM.
19274 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19275 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19276 and <bp-asm.h>.
19277 (__mpn_submul_1): Don't use BP_SYM.
19278 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19280 <bp-sym.h> and <bp-asm.h>.
19281 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19283 <bp-sym.h> and <bp-asm.h>.
19284 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19285 comment.
19286
8d19fe64
SP
192872013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19288
19289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19290 Use ZK to minimize writes to Z.
19291 (sub_magnitudes): Simplify code a bit.
19292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19293 Use ZK to minimize writes to Z.
19294 (sub_magnitudes): Simplify code a bit.
19295
85bd816a
RM
192962013-02-27 Roland McGrath <roland@hack.frob.com>
19297
19298 * csu/gmon-start.c: Add special exception to license text.
19299
b5977bf2
RH
193002013-02-27 Richard Henderson <rth@redhat.com>
19301
19302 * scripts/config.guess: Update from config.git.
19303 * scripts/config.sub: Likewise.
19304
11d6e2f2
SP
193052013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19306
09c14ed2
SP
19307 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19308
a688864e
SP
19309 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19310
6295157a
SP
19311 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19312
b8de2202
SP
19313 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19314
11d6e2f2
SP
19315 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19316
7e80ddb8
RM
193172013-02-26 Roland McGrath <roland@hack.frob.com>
19318
19319 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19320 [$(build-shared = yes].
7e80ddb8 19321
7da6d9ed
SP
193222013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19323
45f05884
SP
19324 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19325 (__mul): Reduce iterations for calculating mantissa.
19326
2236d359
SP
19327 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19328 MPTWO.
19329 (__mpranred): Likewise.
19330
7da6d9ed
SP
19331 [BZ #15160]
19332 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19333 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19334
b7688c42
PE
193352013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19336
19337 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19338 Define __attribute__.
19339
53a5c423
SP
193402013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19341
19342 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19343 unused.
19344 * posix/regex_internal.h (__attribute): Remove.
19345 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19346 (re_string_context_at): Likewise.
19347 (bitset_not): Use __attribute__ and mark function as possibly
19348 unused.
19349 (bitset_merge): Likewise.
19350 (bitset_mask): Likewise.
19351 (re_string_char_size_at): Likewise.
19352 (re_string_wchar_at): Likewise.
19353 (re_string_elem_size_at): Likewise.
19354
60f5a8b5
SP
193552013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19356
2a983a2e
SP
19357 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19358 code.
19359 (cc32): Likewise.
19360
e69804d1
SP
19361 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19362 (__acr): Likewise.
19363 (__cpy): Likewise.
19364 (norm): Likewise.
19365 (denorm): Likewise.
19366 (__dbl_mp): Likewise.
19367 (add_magnitudes): Likewise.
19368 (sub_magnitudes): Likewise.
19369 (__mul): Likewise.
19370 (__inv): Likewise.
19371
2f22a1e8
SP
19372 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19373 style.
19374
8930ddc7
SP
19375 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19376 style.
19377
dc60cb11
SP
19378 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19379 code.
19380
60f5a8b5
SP
19381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19382 up changes with default code.
19383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19384 Likewise.
19385
b4d1fd33
AM
193862013-02-24 Allan McRae <allan@archlinux.org>
19387
faf6f8bc
AM
19388 * manual/socket.texi (The Internet Namespace): Order menu items
19389 to match that in the file.
19390
b4d1fd33
AM
19391 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19392 node listing of the info page menu.
19393
2366713d
JM
193942013-02-21 Joseph Myers <joseph@codesourcery.com>
19395
19396 [BZ #13550]
19397 * sysdeps/i386/bp-asm.h: Remove file.
19398 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19399 (PARMS): Do not use macros from bp-asm.h.
19400 (S1): Likewise.
19401 (S2): Likewise.
19402 (SIZE): Likewise.
19403 (__mpn_add_n): Do not use BP_SYM
19404 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19405 "bp-asm.h".
19406 (PARMS): Do not use macros from bp-asm.h.
19407 (S1): Likewise.
19408 (SIZE): Likewise.
19409 (__mpn_addmul_1): Do not use BP_SYM
19410 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19411 "bp-asm.h".
19412 (PARMS): Do not use macros from bp-asm.h.
19413 (SIGMSK): Likewise.
19414 (_setjmp): Likewise. Do not use BP_SYM.
19415 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19416 "bp-asm.h".
19417 (PARMS): Do not use macros from bp-asm.h.
19418 (SIGMSK): Likewise.
19419 (setjmp): Likewise. Do not use BP_SYM.
19420 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19421 "bp-asm.h".
19422 (PARMS): Do not use macros from bp-asm.h.
19423 (__frexp): Do not use BP_SYM.
19424 (frexp): Likewise.
19425 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19426 "bp-asm.h".
19427 (PARMS): Do not use macros from bp-asm.h.
19428 (__frexpf): Do not use BP_SYM.
19429 (frexpf): Likewise.
19430 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19431 "bp-asm.h".
19432 (PARMS): Do not use macros from bp-asm.h.
19433 (__frexpl): Do not use BP_SYM.
19434 (frexpl): Likewise.
19435 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19436 "bp-asm.h".
19437 (PARMS): Do not use macros from bp-asm.h.
19438 (__remquo): Do not use BP_SYM.
19439 (remquo): Likewise.
19440 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19441 "bp-asm.h".
19442 (PARMS): Do not use macros from bp-asm.h.
19443 (__remquof): Do not use BP_SYM.
19444 (remquof): Likewise.
19445 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19446 "bp-asm.h".
19447 (PARMS): Do not use macros from bp-asm.h.
19448 (__remquol): Do not use BP_SYM.
19449 (remquol): Likewise.
19450 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19451 "bp-asm.h".
19452 (PARMS): Do not use macros from bp-asm.h.
19453 (DEST): Likewise.
19454 (SRC): Likewise.
19455 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19456 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19457 "bp-asm.h".
19458 (PARMS): Do not use macros from bp-asm.h.
19459 (strlen): Do not use BP_SYM.
19460 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19461 "bp-asm.h".
19462 (PARMS): Do not use macros from bp-asm.h.
19463 (S1): Likewise.
19464 (S2): Likewise.
19465 (SIZE): Likewise.
19466 (__mpn_add_n): Do not use BP_SYM.
19467 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19468 "bp-asm.h".
19469 (PARMS): Do not use macros from bp-asm.h.
19470 (S1): Likewise.
19471 (SIZE): Likewise.
19472 (__mpn_addmul_1): Do not use BP_SYM.
19473 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19474 weak_alias.
19475 (bzero): Likewise.
19476 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19477 "bp-asm.h".
19478 (PARMS): Do not use macros from bp-asm.h.
19479 (S): Likewise.
19480 (SIZE): Likewise.
19481 (__mpn_lshift): Do not use BP_SYM.
19482 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19483 "bp-asm.h".
19484 (PARMS): Do not use macros from bp-asm.h.
19485 (DEST): Likewise.
19486 (SRC): Likewise.
19487 (LEN): Likewise.
19488 (memcpy): Likewise. Do not use BP_SYM.
19489 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19490 libc_hidden_def and weak_alias.
19491 (mempcpy): Do not use BP_SYM in weak_alias.
19492 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19493 "bp-asm.h".
19494 (PARMS): Do not use macros from bp-asm.h.
19495 (DEST): Likewise.
19496 (LEN): Likewise.
19497 [!BZERO_P] (CHR): Likewise.
19498 (memset): Likewise. Do not use BP_SYM.
19499 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19500 "bp-asm.h".
19501 (PARMS): Do not use macros from bp-asm.h.
19502 (S1): Likewise.
19503 (SIZE): Likewise.
19504 (__mpn_mul_1): Do not use BP_SYM.
19505 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19506 "bp-asm.h".
19507 (PARMS): Do not use macros from bp-asm.h.
19508 (S): Likewise.
19509 (SIZE): Likewise.
19510 (__mpn_rshift): Do not use BP_SYM.
19511 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19512 "bp-asm.h".
19513 (PARMS): Do not use macros from bp-asm.h.
19514 (STR): Likewise.
19515 (CHR): Likewise.
19516 (strchr): Likewise. Do not use BP_SYM.
19517 (index): Do not use BP_SYM in weak_alias.
19518 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19519 "bp-asm.h".
19520 (PARMS): Do not use macros from bp-asm.h.
19521 (DEST): Likewise.
19522 (SRC): Likewise.
19523 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19524 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19525 "bp-asm.h".
19526 (PARMS): Do not use macros from bp-asm.h.
19527 (strlen): Do not use BP_SYM.
19528 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19529 "bp-asm.h".
19530 (PARMS): Do not use macros from bp-asm.h.
19531 (S1): Likewise.
19532 (S2): Likewise.
19533 (SIZE): Likewise.
19534 (__mpn_sub_n): Do not use BP_SYM.
19535 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19536 "bp-asm.h".
19537 (PARMS): Do not use macros from bp-asm.h.
19538 (S1): Likewise.
19539 (SIZE): Likewise.
19540 (__mpn_submul_1): Do not use BP_SYM.
19541 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19542 "bp-asm.h".
19543 (PARMS): Do not use macros from bp-asm.h.
19544 (S1): Likewise.
19545 (S2): Likewise.
19546 (SIZE): Likewise.
19547 (__mpn_add_n): Do not use BP_SYM.
19548 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19549 weak_alias.
19550 (bzero): Likewise.
19551 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19552 "bp-asm.h".
19553 (PARMS): Do not use macros from bp-asm.h.
19554 (BLK2): Likewise.
19555 (LEN): Likewise.
19556 (memcmp): Do not use BP_SYM.
19557 (bcmp): Do not use BP_SYM in weak_alias.
19558 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19559 "bp-asm.h".
19560 (PARMS): Do not use macros from bp-asm.h.
19561 (DEST): Likewise.
19562 (SRC): Likewise.
19563 (LEN): Likewise.
19564 (memcpy): Likewise. Do not use BP_SYM.
19565 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19566 "bp-asm.h".
19567 (PARMS): Do not use macros from bp-asm.h.
19568 (DEST): Likewise.
19569 (SRC): Likewise.
19570 (LEN): Likewise.
19571 (memmove): Likewise. Do not use BP_SYM.
19572 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19573 "bp-asm.h".
19574 (PARMS): Do not use macros from bp-asm.h.
19575 (DEST): Likewise.
19576 (SRC): Likewise.
19577 (LEN): Likewise.
19578 (__mempcpy): Likewise. Do not use BP_SYM.
19579 (mempcpy): Do not use BP_SYM in weak_alias.
19580 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19581 "bp-asm.h".
19582 (PARMS): Do not use macros from bp-asm.h.
19583 (DEST): Likewise.
19584 (LEN): Likewise.
19585 [!BZERO_P] (CHR): Likewise.
19586 (memset): Likewise. Do not use BP_SYM.
19587 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19588 "bp-asm.h".
19589 (PARMS): Do not use macros from bp-asm.h.
19590 (STR2): Likewise.
19591 (strcmp): Do not use BP_SYM.
19592 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19593 "bp-asm.h".
19594 (PARMS): Do not use macros from bp-asm.h.
19595 (STR): Likewise.
19596 (DELIM): Likewise.
19597 [USE_AS_STRTOK_R] (SAVE): Likewise.
19598 (FUNCTION): Likewise. Do not use BP_SYM.
19599 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19600 aliases.
19601 (strtok_r): Likewise.
19602 (__GI___strtok_r): Likewise.
19603 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19604 (PARMS): Do not use macros from bp-asm.h.
19605 (S): Likewise.
19606 (SIZE): Likewise.
19607 (__mpn_lshift): Do not use BP_SYM.
19608 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19609 (PARMS): Do not use macros from bp-asm.h.
19610 (STR): Likewise.
19611 (CHR): Likewise.
19612 (__memchr): Do not use BP_SYM.
19613 (memchr): Do not use BP_SYM in weak_alias.
19614 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19615 (PARMS): Do not use macros from bp-asm.h.
19616 (BLK2): Likewise.
19617 (LEN): Likewise.
19618 (memcmp): Do not use BP_SYM.
19619 (bcmp): Do not use BP_SYM in weak_alias.
19620 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19621 (PARMS): Do not use macros from bp-asm.h.
19622 (S1): Likewise.
19623 (SIZE): Likewise.
19624 (__mpn_mul_1): Do not use BP_SYM.
19625 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19626 "bp-asm.h".
19627 (PARMS): Do not use macros from bp-asm.h.
19628 (STR): Likewise.
19629 (CHR): Likewise.
19630 (__rawmemchr): Do not use BP_SYM.
19631 (rawmemchr): Do not use BP_SYM in weak_alias.
19632 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19633 (PARMS): Do not use macros from bp-asm.h.
19634 (S): Likewise.
19635 (SIZE): Likewise.
19636 (__mpn_rshift): Do not use BP_SYM.
19637 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19638 (PARMS): Do not use macros from bp-asm.h.
19639 (SIGMSK): Likewise.
19640 (__sigsetjmp): Likewise. Do not use BP_SYM.
19641 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19642 (_start): Do not use BP_SYM.
19643 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19644 (PARMS): Do not use macros from bp-asm.h.
19645 (DEST): Likewise.
19646 (SRC): Likewise.
19647 (__stpcpy): Likewise. Do not use BP_SYM.
19648 (stpcpy): Do not use BP_SYM in weak_alias.
19649 * sysdeps/i386/stpncpy.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 (LEN): Likewise.
19655 (__stpncpy): Likewise. Do not use BP_SYM.
19656 (stpncpy): Do not use BP_SYM in weak_alias.
19657 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19658 (PARMS): Do not use macros from bp-asm.h.
19659 (STR): Likewise.
19660 (CHR): Likewise.
19661 (strchr): Likewise. Do not use BP_SYM.
19662 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19663 "bp-asm.h".
19664 (PARMS): Do not use macros from bp-asm.h.
19665 (STR): Likewise.
19666 (CHR): Likewise.
19667 (__strchrnul): Likewise. Do not use BP_SYM.
19668 (strchrnul): Do not use BP_SYM in weak_alias.
19669 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19670 "bp-asm.h".
19671 (PARMS): Do not use macros from bp-asm.h.
19672 (STOP): Likewise.
19673 (strcspn): Do not use BP_SYM.
19674 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19675 "bp-asm.h".
19676 (PARMS): Do not use macros from bp-asm.h.
19677 (STR): Likewise.
19678 (STOP): Likewise.
19679 (strpbrk): Likewise. Do not use BP_SYM.
19680 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19681 "bp-asm.h".
19682 (PARMS): Do not use macros from bp-asm.h.
19683 (STR): Likewise.
19684 (CHR): Likewise.
19685 (strrchr): Likewise. Do not use BP_SYM.
19686 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19687 (PARMS): Do not use macros from bp-asm.h.
19688 (SKIP): Likewise.
19689 (strspn): Do not use BP_SYM.
19690 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19691 (PARMS): Do not use macros from bp-asm.h.
19692 (STR): Likewise.
19693 (DELIM): Likewise.
19694 (SAVE): Likewise.
19695 (FUNCTION): Likewise. Do not use BP_SYM.
19696 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19697 aliases.
19698 (strtok_r): Likewise.
19699 (__GI___strtok_r): Likewise.
19700 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19701 (PARMS): Do not use macros from bp-asm.h.
19702 (S1): Likewise.
19703 (S2): Likewise.
19704 (SIZE): Likewise.
19705 (__mpn_sub_n): Do not use BP_SYM.
19706 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19707 "bp-asm.h".
19708 (PARMS): Do not use macros from bp-asm.h.
19709 (S1): Likewise.
19710 (SIZE): Likewise.
19711 (__mpn_submul_1): Do not use BP_SYM.
19712 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19713 <bp-sym.h>.
19714 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19715 and <bp-asm.h>.
19716 (PARMS): Do not use macros from bp-asm.h.
19717 (FLAGS): Likewise.
19718 (PTID): Likewise.
19719 (TLS): Likewise.
19720 (CTID): Likewise.
19721 (__clone): Do not use BP_SYM.
19722 (clone): Do not use BP_SYM in weak_alias.
19723 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19724 and <bp-asm.h>.
19725 (PARMS): Do not use macros from bp-asm.h.
19726 (LEN): Likewise.
19727 (__mmap64): Do not use BP_SYM.
19728 (mmap64): Do not use BP_SYM in weak_alias.
19729 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19730 <bp-sym.h> and <bp-asm.h>.
19731 (PARMS): Do not use macros from bp-asm.h.
19732 (__posix_fadvise64_l64): Do not use BP_SYM.
19733 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19734 (PARMS): Do not use macros from bp-asm.h.
19735 (NSOPS): Likewise.
19736 (semtimedop): Do not use BP_SYM.
19737 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19738 and <bp-asm.h>.
19739
582a3cff
AM
197402013-02-21 Allan McRae <allan@archlinux.org>
19741
19742 * manual/message.texi (Charset conversion in gettext):
19743 Move @end statement to beginning of line.
19744
bab8a695
SP
197452013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19746
80945231
SP
19747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19748 static.
19749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19750 Likewise.
19751
bab8a695
SP
19752 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19753 (denorm): Likewise.
19754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19756
e21d7aa7
AK
197572013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19758
19759 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19760 tail-call to the resolved function if pltexit isn't needed.
19761
4c7a4263
SP
197622013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19763
19764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19765 or Y being zero as being unlikely.
19766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19767 Likewise.
19768
41f49342
CD
197692013-02-20 Carlos O'Donell <carlos@redhat.com>
19770
19771 * manual/nss.texi (System Databases and Name Service Switch):
19772 Remove frobnicate @pxref.
19773
50022a93
TS
197742013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19775
19776 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19777 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19778
08cbd996
PM
197792013-02-20 Petr Machata <pmachata@redhat.com>
19780
19781 * elf/elf.h (R_ARM_TARGET1): New macro.
19782 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19783 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19784 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19785 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19786 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19787 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19788 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19789 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19790 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19791 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19792 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19793 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19794 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19795 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19796 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19797 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19798 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19799 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19800 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19801 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19802 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19803 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19804 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19805 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19806 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19807 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19808 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19809 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19810 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19811 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19812 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19813 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19814 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19815 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19816 (R_ARM_THM_GOT_BREL12): Likewise.
19817 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19818 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19819 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19820 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19821 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19822 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19823 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19824 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19825 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19826
c7b275d6
TS
198272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19828
19829 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19830 __attribute_used__ to __attribute__ ((unused)).
19831
20cd7fb3
SP
198322013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19833
19834 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19835 powerpc mpa.c.
19836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19837 comment formatting.
19838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19839
92945b52
JM
198402013-02-19 Joseph Myers <joseph@codesourcery.com>
19841
19842 [BZ #13550]
19843 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19844 Remove macro.
19845 (ENTER): Remove both macro definitions.
19846 (LEAVE): Likewise.
19847 (CHECK_BOUNDS_LOW): Likewise.
19848 (CHECK_BOUNDS_HIGH): Likewise.
19849 (CHECK_BOUNDS_BOTH): Likewise.
19850 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19851 (RETURN_BOUNDED_POINTER): Likewise.
19852 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19853 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19854 (POP_ERRNO_LOCATION_RETURN): Likewise.
19855 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19856 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19857 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19858 macros.
19859 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19860 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19861 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19862 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19863 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19864 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19865 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19866 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19867 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19868 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19869 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19870 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19871 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19872 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19873 removed macros.
19874 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19875 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19876 macros.
19877 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19878 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19879 * sysdeps/i386/i586/memset.S (memset): Likewise.
19880 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19881 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19882 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19883 macros.
19884 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19885 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19886 Change uses of L(2) to L(out).
19887 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19888 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19889 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19890 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19891 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19892 removed macros.
19893 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19894 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19895 macros.
19896 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19897 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19898 (RETURN): Do not use macro LEAVE.
19899 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19900 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19901 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19902 * sysdeps/i386/i686/memset.S (memset): Likewise.
19903 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19904 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19905 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19906 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19907 Likewise.
19908 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19909 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19910 L(1_2) and L(1_3) into L(1).
19911 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19912 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19913 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19914 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19915 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19916 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19917 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19918 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19919 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19920 macros.
19921 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19922 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19923 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19924 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19925 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19926 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19927 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19928 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19929 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19930 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19931 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19932 * sysdeps/i386/strspn.S (strspn): Likewise.
19933 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19934 conditional code.
19935 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19936 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19937 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19938 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19939 L(1_3) into L(1_1).
19940 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19941 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19942 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19943 macros.
19944 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19945
2389741a
JJ
199462013-02-19 Jakub Jelinek <jakub@redhat.com>
19947
19948 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19949 macro.
19950
2016b3cd
SP
199512013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19952
e4f22324
SP
19953 * math/atest-exp.c (exp_mpn): Remove ROUND.
19954 * math/atest-exp2.c (exp_mpn): Likewise.
19955 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19956
2016b3cd
SP
19957 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19958 * stdlib/tst-tls-atexit-lib.c: Likewise.
19959 * stdlib/tst-tls-atexit.c: Likewise.
19960
4be9b544
MF
199612013-02-18 Mike Frysinger <vapier@gentoo.org>
19962
19963 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19964 and __attribute_alloc_size__.
19965
2f62b9ee
MF
199662013-02-18 Mike Frysinger <vapier@gentoo.org>
19967
19968 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19969 __attribute_alloc_size__.
19970 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19971 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19972
6ff444c4
MF
199732013-02-18 Mike Frysinger <vapier@gentoo.org>
19974
19975 * include/programs/xmalloc.h: New file.
19976 * catgets/gencat.c: Include it.
19977 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19978 * elf/pldd.c: Likewise.
19979 * iconv/iconv_charmap.c: Likewise.
19980 * iconv/iconvconfig.c: Likewise.
19981 * iconv/strtab.c: Likewise.
19982 * locale/programs/locale.c: Likewise.
19983 * locale/programs/localedef.h: Likewise.
19984 * locale/programs/simple-hash.c: Likewise.
19985 * nscd/nscd.h: Likewise.
19986 * nss/makedb.c: Likewise.
19987 * sysdeps/generic/ldconfig.h: Likewise.
19988
be179c8a
SP
199892013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19990
ba384f6e
SP
19991 * Versions.def: Add GLIBC_2.18.
19992 * include/link.h (struct link_map): New member l_tls_dtor_count.
19993 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19994 (__call_tls_dtors): Likewise.
19995 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19996 __cxa_thread_atexit_impl.
19997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19998 Likewise.
19999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20000 Likewise.
20001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20002 Likewise.
20003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20004 Likewise.
20005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20007 Likewise.
20008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20009 Likewise.
20010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20012 Likewise.
20013 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20014 (tests): Add test case tst-tls-atexit.
20015 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20016 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20017 (GLIBC_PRIVATE): Add __call_tls_dtors.
20018 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20019 for libstdc++.
20020 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20021 * stdlib/tst-tls-atexit.c: New test case.
20022 * stdlib/tst-tls-atexit-lib.c: New test case.
20023
ffaa74cf 20024 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20025
be179c8a
SP
20026 * elf/Versions (ld): Add _dl_find_dso_for_object.
20027 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20028 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20029 (dl_open_worker): Use _dl_find_dso_for_object.
20030 * elf/dl-sym.c (do_sym): Likewise.
20031 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20032
f78b5caa
AK
200332013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20034
20035 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20036 Syntactic changes only.
20037 (_dl_runtime_profile): Do a tail-call to the resolved function.
20038
29691210
JM
200392013-02-17 Joseph Myers <joseph@codesourcery.com>
20040
20041 [BZ #13550]
20042 * sysdeps/x86_64/bp-asm.h: Remove file.
20043 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20044 <bp-sym.h> and <bp-asm.h>.
20045 (__clone): Do not use BP_SYM.
20046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20047 <bp-sym.h> and <bp-asm.h>.
20048 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20049 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20050 "bp-asm.h".
20051 (_setjmp): Do not use BP_SYM.
20052 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20053 "bp-asm.h".
20054 (setjmp): Do not use BP_SYM.
20055 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20056 libc_hidden_def.
20057 (mempcpy): Do not use BP_SYM in weak_alias.
20058 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20059 "bp-asm.h".
20060 (strchr): Do not use BP_SYM.
20061 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20062 "bp-asm.h".
20063 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20064 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20065 (_start): Do not use BP_SYM.
20066 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20067 "bp-asm.h".
20068 (strcat): Do not use BP_SYM.
20069 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20070 "bp-asm.h".
20071 (STRCMP): Do not use BP_SYM.
20072 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20073 "bp-asm.h".
20074 (STRCPY): Do not use BP_SYM.
20075 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20076 "bp-asm.h".
20077 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20078 "bp-asm.h".
20079 (FUNCTION): Do not use BP_SYM.
20080 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20081 weak_alias.
20082 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20083
f238fd19
AJ
200842013-02-17 Andreas Jaeger <aj@suse.de>
20085
20086 * time/Versions: Sort entries.
20087 * string/Versions: Likewise.
20088 * resolv/Versions: Likewise.
20089 * posix/Versions: Likewise.
20090 * iconv/Versions: Likewise.
20091 * elf/Versions: Likewise.
20092 * wcsmbs/Versions: Likewise.
20093
bd07f23c 200942013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20095
22af19f9
SP
20096 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20097 loop termination condition.
20098
4709fe76
SP
20099 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20100 variable to calculate EZ.
20101 (__sqr): Likewise.
2d0e0f29
SP
20102
20103 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20104 the lower precision input.
20105
daaa7713
JM
201062013-02-15 Joseph Myers <joseph@codesourcery.com>
20107
20108 [BZ #13550]
20109 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20110 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20111 (run-via-rtld-prefix): Do not handle %-bp tests.
20112 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20113 (all-object-suffixes): Remove .ob.
20114 (bppfx): Remove variable.
20115 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20116 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20117 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20118 [$(build-bounded) = yes] (libtype.ob): Likewise.
20119 * Makerules (elide-routines.ob): Remove variable.
20120 (do-tests-clean): Do not handle *-bp.out.
20121 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20122 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20123 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20124 (tests): Do not include $(tests-bp.out).
20125 (xtests): Do not include $(xtests-bp.out).
20126 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20127 [$(build-bounded) = yes] ($(addprefix
20128 $(objpfx),$(binaries-bounded))): Remove rule.
20129 ($(objpfx)%-bp.out): Remove rule.
20130 * config.make.in (build-bounded): Remove variable.
20131 * crypt/Makefile [$(build-bounded) = yes]
20132 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20133 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20134 append to variable.
20135 [$(build-bounded) = yes] (install-lib): Likewise.
20136 [$(build-bounded) = yes] (generated): Likewise.
20137 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20138 Remove rule.
20139 * intl/Makefile [$(build-bounded) = yes]
20140 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20141 * math/Makefile [$(build-bounded) = yes]
20142 ($(tests:%=$(objpfx)%-bp): Likewise.
20143 * misc/Makefile [$(build-bounded) = yes]
20144 ($(objpfx)tst-tsearch-bp): Likewise.
20145 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20146 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20147 Remove dependency.
20148 * string/Makefile (o-objects.ob): Remove variable.
20149 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20150 (CFLAGS-.ob): Remove variable.
20151 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20152 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20153 both definitions of variable.
20154 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20155 (ASFLAGS-.ob): Remove variable.
20156
e97ed6dd
JM
201572013-02-14 Joseph Myers <joseph@codesourcery.com>
20158
2bdd4ca6
JM
20159 [BZ #13550]
20160 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20161 Remove __BOUNDED_POINTERS__ from condition.
20162 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20163 * string/bits/string2.h [!__NO_STRING_INLINES &&
20164 !__BOUNDED_POINTERS__]: Likewise.
20165 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20166 Likewise.
20167 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20168 Remove conditional code.
20169 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20170 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20171 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20172 condition.
20173
e97ed6dd
JM
20174 [BZ #13550]
20175 * csu/libc-start.c: Do not include <bp-sym.h>.
20176 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20177 * elf/dl-open.c: Do not include <bp-sym.h>.
20178 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20179 * math/fegetenv.c: Do not include <bp-sym.h>.
20180 (fegetenv): Do not use BP_SYM in versioned symbols.
20181 * nptl/sysdeps/pthread/bits/libc-lockP.h
20182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20183 <bp-sym.h>.
20184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20185 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20187 (__pthread_mutex_destroy): Likewise.
20188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20189 (__pthread_mutex_lock): Likewise.
20190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20191 (__pthread_mutex_trylock): Likewise.
20192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20193 (__pthread_mutex_unlock): Likewise.
20194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20195 (__pthread_mutexattr_init): Likewise.
20196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20197 (__pthread_mutexattr_destroy): Likewise.
20198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20199 (__pthread_mutexattr_settype): Likewise.
20200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20201 (__pthread_rwlock_init): Likewise.
20202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20203 (__pthread_rwlock_destroy): Likewise.
20204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20205 (__pthread_rwlock_rdlock): Likewise.
20206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20207 (__pthread_rwlock_tryrdlock): Likewise.
20208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20209 (__pthread_rwlock_wrlock): Likewise.
20210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20211 (__pthread_rwlock_trywrlock): Likewise.
20212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20213 (__pthread_rwlock_unlock): Likewise.
20214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20215 (__pthread_key_create): Likewise.
20216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20217 (__pthread_setspecific): Likewise.
20218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20219 (__pthread_getspecific): Likewise.
20220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20221 Likewise.
20222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20223 (_pthread_cleanup_push_defer): Likewise.
20224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20225 (_pthread_cleanup_pop_restore): Likewise.
20226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20227 (pthread_setcancelstate): Likewise.
20228 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20229 <bp-sym.h>.
20230 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20231 (memchr): Do not use BP_SYM in weak_alias.
20232 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20233 (fegetenv): Do not use BP_SYM in versioned symbols.
20234 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20235 (fesetenv): Do not use BP_SYM in versioned symbols.
20236 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20237 (feupdateenv): Do not use BP_SYM in versioned symbols.
20238 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20239 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20240 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20241 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20242 (open64): Do not use BP_SYM in weak_alias.
20243 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20244 (fegetenv): Do not use BP_SYM in versioned symbols.
20245 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20246 (fesetenv): Do not use BP_SYM in versioned symbols.
20247 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20248 (feupdateenv): Do not use BP_SYM in versioned symbols.
20249 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20250 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20251 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20252 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20253 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20254 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20255 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20256 <bp-sym.h>.
20257 (__libc_start_main): Do not use BP_SYM.
20258
d6752ccd
SP
202592013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20260
cb57ce60
SP
20261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20262 redundant return line.
20263 (norm): Likewise.
20264 (denorm): Likewise.
20265 (dbl_mp): Likewise.
20266 (sub_magnitudes): Likewise.
20267 (__add): Likewise.
20268 (__sub): Likewise.
20269 (__mul): Likewise.
20270 (__inv): Likewise.
20271 (__dvd): Likewise.
20272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20273 (norm): Likewise.
20274 (denorm): Likewise.
20275 (dbl_mp): Likewise.
20276 (sub_magnitudes): Likewise.
20277 (__add): Likewise.
20278 (__sub): Likewise.
20279 (__mul): Likewise.
20280 (__inv): Likewise.
20281 (__dvd): Likewise.
20282
f414520d
SP
20283 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20284 instead of __mul.
20285 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20286 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20287 (cc32): Likewise.
20288
d6752ccd
SP
20289 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20290 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20292 of __mul for squares.
20293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20294 function
20295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20296 Likewise.
20297 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20298 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20299
70d9946a
JM
203002013-02-13 Joseph Myers <joseph@codesourcery.com>
20301
20302 [BZ #13550]
20303 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20304 code.
20305 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20306 prototype or function definition. Rename ubp_* variables and
20307 parameters. Remove argv definitions conditional on
20308 [__BOUNDED_POINTERS__].
20309 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20310 * elf/dl-runtime.c (_dl_fixup): Likewise.
20311 * include/set-hooks.h (RUN_HOOK): Likewise.
20312 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20313 definition.
20314 * string/strcpy.c (strcpy): Do not use __unbounded.
20315 * sysdeps/generic/frame.h (struct layout): Likewise.
20316 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20317 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20318 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20319 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20320 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20321 (__backtrace): Likewise.
20322 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20323 use __ptrvalue.
20324 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20325 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20326 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20327 Likewise.
20328 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20329 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20330 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20331 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20332 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20333 Do not use __unbounded.
20334 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20335 Rename __unboundedrlimits parameter to rlimits in prototype.
20336 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20337 Do not use __unbounded.
20338 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20339 not use __ptrvalue.
20340 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20341 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20342 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20343 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20344 __ptrvalue or __unbounded.
20345 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20346 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20347 use __unbounded.
20348 (__new_msgctl): Do not use __ptrvalue.
20349 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20350 __unbounded.
20351 (__libc_msgrcv): Do not use __ptrvalue.
20352 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20353 startup_info): Do not use __unbounded.
20354 (__libc_start_main): Likewise. Rename ubp_* variables and
20355 parameters. Remove argv definitions conditional on
20356 [__BOUNDED_POINTERS__].
20357 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20358 __ptrvalue.
20359 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20360 use __unbounded.
20361 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20362 or __ptrvalue.
20363 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20364 use __unbounded.
20365 (__new_shmctl): Do not use __ptrvalue.
20366 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20367 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20368 Likewise.
20369 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20370 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20371 (__libc_sigaction): Likewise.
20372 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20373 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20374 Likewise.
20375 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20376
cc7834d6
OB
203772013-02-13 Ondřej Bílka <neleai@seznam.cz>
20378
ffb1ec7b 20379 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20380
20381 * string/mempcpy.c: Implement by calling memcpy.
20382
bdf02814
SP
203832013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20384
c2af38aa
SP
20385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20386
4e92d59e
SP
20387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20388 evaluation.
20389
909279a5
SP
20390 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20391 values in the mantissa.
20392
bdf02814
SP
20393 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20394 minimize writes to Z.
20395 (sub_magnitudes): Simplify code a bit.
20396
cd525923
RM
203972013-02-12 Roland McGrath <roland@hack.frob.com>
20398
20399 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20400 from the message. The linker prefixes all warnings with that already.
20401
7e2f0d2d
AS
204022013-02-12 Andreas Schwab <schwab@suse.de>
20403
a445af0b
AS
20404 [BZ #15078]
20405 * posix/regexec.c (extend_buffers): Add parameter min_len.
20406 (check_matching): Pass minimum needed length.
20407 (clean_state_log_if_needed): Likewise.
20408 (get_subexp): Likewise.
20409 * posix/Makefile (tests): Add bug-regex34.
20410 (bug-regex34-ENV): Define.
20411 * posix/bug-regex34.c: New file.
20412
7e2f0d2d
AS
20413 [BZ #11561]
20414 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20415 elements compare against the byte sequence of it, not its name.
20416 * posix/Makefile (tests): Add bug-regex35.
20417 (bug-regex35-ENV): Define.
20418 * posix/bug-regex35.c: New file.
20419
a175b684
TV
204202013-02-11 Tom de Vries <tom@codesourcery.com>
20421
20422 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20423 comment.
20424 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20425 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20426 (CHECK_EOL): Add undef.
20427
310998fe 204282013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
20429
20430 * bits/stdlib-bsearch.h: New file.
20431 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 20432 * stdlib/stdlib.h: Likewise.
41eda41d 20433
8ded91fb
RM
204342013-02-11 Roland McGrath <roland@hack.frob.com>
20435
20436 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20437 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20438 declaration.
20439 * manual/search.texi (Array Search Function): Add missing const in
20440 lfind prototype.
20441 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20442 declaration to use rlim_t.
20443 (Basic Scheduling Functions): Remove erroneous const from
20444 sched_getparam prototype. Remove erroneous * from
20445 sched_get_priority_max and sched_get_priority_min prototypes.
20446 (Resource Usage): Fix summary @comment on vtimes to refer to
20447 sys/vtimes.h rather than vtimes.h.
20448 Add missing *s in vtimes prototype.
20449 (Limits on Resources): Fix ulimit prototype to return long int.
20450 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20451 prototypes to use long int rather than double.
20452 (BSD Random): Fix initstate and setstate to use char *, not void *.
20453 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20454 prototype to make second argument 'struct aiocb64 *const[]'.
20455 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20456 (Status of AIO Operations): Remove erroneous const in aio_return and
20457 aio_return64 prototypes.
20458 (Synchronizing I/O): Fix sync prototype to return void.
20459 * manual/startup.texi (Suboptions): Remove an erroneous const in
20460 getsubopt prototype.
20461 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20462 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20463 use size_t rather than int.
20464 (Scanning All Users): Likewise for getpwent_r.
20465 (Setting Groups): Add missing const to setgroups prototype.
20466 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20467 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20468 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20469 'const void *' rather than 'const char *'.
20470 (Host Address Functions): Likewise for inet_ntop.
20471 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20472 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20473 ssize_t for return value.
20474 (Sending Data): Likewise for send, sendto, sendmsg.
20475 (Socket Option Functions): Add a missing const in setsockopt prototype.
20476 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20477 use wchar_t for the argument.
20478 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20479 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20480 take no arguments.
20481 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20482 double/float/long double for second argument.
20483 Fix return types of significand, significandf, significandl.
20484 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20485 argument in fchmod prototype.
20486 (File Owner): Use uid_t and gid_t in fchown prototype.
20487 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20488 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20489 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20490 use 'const struct dirent **' as argument types to CMP function pointer
20491 argument.
20492 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20493 (File Times): Fix summary magic @comment for struct utimbuf and utime
20494 to refer to utime.h, not time.h.
20495 * manual/string.texi (Argz Functions): Add missing const in
20496 argz_extract and argz_next prototypes.
20497 (Finding Tokens in a String): Likewise for basename.
20498 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20499 (Copying and Concatenation): Fix typo in wmemmove prototype.
20500 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20501 (Signal Stack): Remove erroneous const in sigstack prototype.
20502 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20503 prototype.
20504 (Simple Calendar Time): Likewise for stime.
20505 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20506 prototype.
20507 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20508 say sys/sysctl.h instead.
20509 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20510 and vsyslog prototypes.
20511
fe77fe6d
TV
205122013-02-11 Tom de Vries <tom@codesourcery.com>
20513
20514 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20515 Remove.
20516
3a09b620
RM
205172013-02-11 Roland McGrath <roland@hack.frob.com>
20518
20519 * misc/sys/mman.h: Fix typo in mremap comment.
20520
550a0b89
RM
205212013-02-08 Roland McGrath <roland@hack.frob.com>
20522
20523 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20524 the '\0' terminator.
20525
a2da1673
JM
205262013-02-08 Joseph Myers <joseph@codesourcery.com>
20527
20528 [BZ #13550]
20529 * debug/segfault.c: Don't include <bp-checks.h>.
20530 * sysdeps/generic/bp-checks.h: Remove file.
20531 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20532 (__GETDENTS): Don't use CHECK_N.
20533 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20534 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20535 (__getgroups): Don't use CHECK_N.
20536 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20537 (setgroups): Don't use CHECK_N.
20538 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20539 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20540 (__libc_msgrcv): Don't use CHECK_N.
20541 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20542 (__libc_msgsnd): Don't use CHECK_N.
20543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20544 <bp-checks.h>.
20545 (__libc_pread): Don't use CHECK_N.
20546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20547 include <bp-checks.h>.
20548 (__libc_pread64): Don't use CHECK_N.
20549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20550 include <bp-checks.h>.
20551 (__libc_pwrite): Don't use CHECK_N.
20552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20553 include <bp-checks.h>.
20554 (__libc_pwrite64): Don't use CHECK_N.
20555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20556 <bp-checks.h>.
20557 (__libc_pread): Don't use CHECK_N.
20558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20559 include <bp-checks.h>.
20560 (__libc_pread64): Don't use CHECK_N.
20561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20562 include <bp-checks.h>.
20563 (__libc_pwrite): Don't use CHECK_N.
20564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20565 include <bp-checks.h>.
20566 (__libc_pwrite64): Don't use CHECK_N.
20567 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20568 (do_pread): Don't use CHECK_N.
20569 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20570 (do_pread64): Don't use CHECK_N.
20571 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20572 (do_pwrite): Don't use CHECK_N.
20573 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20574 (do_pwrite64): Don't use CHECK_N.
20575 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20576 (__libc_readv): Don't use CHECK_N.
20577 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20578 (semop): Don't use CHECK_N.
20579 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20580 <bp-checks.h>.
20581 (semtimedop): Don't use CHECK_N.
20582 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20583 (__libc_pread): Don't use CHECK_N.
20584 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20585 <bp-checks.h>.
20586 (__libc_pread64): Don't use CHECK_N.
20587 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20588 <bp-checks.h>.
20589 (__libc_pwrite): Don't use CHECK_N.
20590 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20591 <bp-checks.h>.
20592 (__libc_pwrite64): Don't use CHECK_N.
20593 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20594 <bp-checks.h>.
20595 (__libc_msgrcv): Don't use CHECK_N.
20596 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20597 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20598 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20599 (__libc_writev): Don't use CHECK_N.
20600
b84660a8
RM
206012013-02-08 Roland McGrath <roland@hack.frob.com>
20602
7f3e75f8
RM
20603 * string/strcpy.c: Removed unused variable.
20604
b84660a8
RM
20605 * Makeconfig (+sysdep-includes): Define with := rather than =.
20606 Use an existing include/ subdir of each sysdeps dir before it.
20607
471514d3
CD
206082013-02-08 Carlos O'Donell <carlos@redhat.com>
20609
20610 * nscd/connection.c (register_traced_file): Comment function.
20611 [HAVE_INOTIFY] (union __inev): Define.
20612 [HAVE_INOTIFY] (inotify_check_files): New function.
20613 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20614 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20615 clear_db_cache.
20616 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20617
b2d3c3be
CD
206182013-02-08 Carlos O'Donell <carlos@redhat.com>
20619
20620 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20621 loaded if not already and that a failure is permanent.
20622
b39949d2
CD
206232013-02-08 Carlos O'Donell <carlos@redhat.com>
20624
ddacd1db 20625 [BZ #15006]
b39949d2
CD
20626 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20627 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20628
b2c9eff4
JM
206292013-02-08 Joseph Myers <joseph@codesourcery.com>
20630
f3aae3f3
JM
20631 [BZ #13550]
20632 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20633 (CHECK_1_NULL_OK): Likewise.
20634 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20635 (__fxstat): Do not use CHECK_1.
20636 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20637 <bp-checks.h>.
20638 (___fxstat64): Do not use CHECK_1.
20639 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20640 <bp-checks.h>.
20641 (__fxstatat): Do not use CHECK_1.
20642 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20643 <bp-checks.h>.
20644 (__fxstatat64): Do not use CHECK_1.
20645 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20646 <bp-checks.h>.
20647 (__fxstat): Do not use CHECK_1.
20648 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20649 <bp-checks.h>.
20650 (__fxstatat): Do not use CHECK_1.
20651 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20652 <bp-checks.h>.
20653 (__getresgid): Do not use CHECK_1.
20654 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20655 <bp-checks.h>.
20656 (__getresuid): Do not use CHECK_1.
20657 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20658 <bp-checks.h>.
20659 (__lxstat): Do not use CHECK_1.
20660 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20661 <bp-checks.h>.
20662 (__old_msgctl): Do not use CHECK_1.
20663 (__new_msgctl): Likewise.
20664 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20665 <bp-checks.h>.
20666 (__new_setrlimit): Do not use CHECK_1.
20667 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20668 <bp-checks.h>.
20669 (__old_shmctl): Do not use CHECK_1.
20670 (__new_shmctl): Likewise.
20671 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20672 <bp-checks.h>.
20673 (__xstat): Do not use CHECK_1.
20674 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20675 (__lxstat): Do not use CHECK_1.
20676 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20677 <bp-checks.h>.
20678 (___lxstat64): Do not use CHECK_1.
20679 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20680 (__old_msgctl): Do not use CHECK_1.
20681 (__new_msgctl): Likewise.
20682 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20683 <bp-checks.h>.
20684 (__gettimeofday): Do not use CHECK_1.
20685 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20686 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20687 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20688 <bp-checks.h>.
20689 (__gettimeofday): Do not use CHECK_1.
20690 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20691 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20692 (__new_shmctl): Do not use CHECK_1.
20693 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20694 <bp-checks.h>.
20695 (do_sigtimedwait): Do not use CHECK_1.
20696 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20697 <bp-checks.h>.
20698 (do_sigwaitinfo): Do not use CHECK_1.
20699 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20700 <bp-checks.h>.
20701 (msgctl): Do not use CHECK_1.
20702 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20703 <bp-checks.h>.
20704 (shmctl): Do not use CHECK_1.
20705 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20706 (ustat): Do not use CHECK_1.
20707 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20708 <bp-checks.h>.
20709 (__fxstat): Do not use CHECK_1.
20710 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20711 <bp-checks.h>.
20712 (__fxstatat): Do not use CHECK_1.
20713 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20714 <bp-checks.h>.
20715 (__lxstat): Do not use CHECK_1.
20716 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20717 <bp-checks.h>.
20718 (__xstat): Do not use CHECK_1.
20719 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20720 (__xstat): Do not use CHECK_1.
20721 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20722 (___xstat64): Do not use CHECK_1.
20723
b2c9eff4
JM
20724 [BZ #13550]
20725 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20726 definitions.
20727 (CHECK_BOUNDS_HIGH): Likewise.
20728 * string/strcpy.c: Do not include <bp-checks.h>.
20729 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20730
f1d70dad
RM
207312013-02-07 Roland McGrath <roland@hack.frob.com>
20732
20733 * nscd/nscd-client.h (__nscd_drop_map_ref):
20734 Add __attribute__ ((unused)).
20735 * nis/nss-nisplus.h (niserr2nss): Likewise.
20736
20737 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20738 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20739
20740 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20741 Remove inline keyword.
20742 * include/rounding-mode.h (round_away): Likewise.
20743 * libio/wfileops.c (adjust_wide_data): Likewise.
20744 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20745 (__m128i_strloadu_tolower): Likewise.
20746 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20747 (__m128i_strloadu_tolower): Likewise.
20748 * time/mktime.c (ydhms_diff): Likewise.
20749 * locale/elem-hash.h (elem_hash): Likewise.
20750 * locale/setlocale.c (setdata): Likewise.
20751 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20752 (re_string_wchar_at): Likewise.
20753 (bitset_not, bitset_merge, bitset_mask): Likewise.
20754 [!(__GNUC__ > 3)] (inline): Remove macro.
20755 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20756 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20757 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20758 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20759 * string/memcmp.c (memcmp_bytes): Likewise.
20760 * locale/programs/locarchive.c (compute_hashval): Likewise.
20761 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20762 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20763 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20764 * nss/getent.c (print_rpc, print_protocols): Likewise.
20765 (print_passwd, print_group, print_aliases): Likewise.
20766 * nis/nss-nisplus.h (niserr2nss): Likewise.
20767 * nscd/connections.c (restart_p): Likewise.
20768 Change return type to bool.
20769
eab55bfb
RM
207702013-02-05 Roland McGrath <roland@hack.frob.com>
20771
7bd642f5
RM
20772 * Makeconfig (all-Depend-files): Add existing
20773 $(sorted-subdirs:=/Depend) files.
20774 (all-subdirs): Remove nss.
20775 * sysdeps/unix/inet/Subdirs: Add it here instead.
20776 * hesiod/Depend: New file.
20777
573c29b2
RM
20778 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20779 instead of calling alloca.
20780
b2e25af0
RM
20781 * io/lseek.c (__lseek): Rename to __libc_lseek.
20782 Define __lseek as an alias.
20783
eab55bfb
RM
20784 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20785
9a0d1941
CD
207862013-02-04 Carlos O'Donell <carlos@redhat.com>
20787
20788 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20789 else clause and remove check for non-standard endianness.
20790
b83bbec4
DM
207912013-02-04 David S. Miller <davem@davemloft.net>
20792
20793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20794
6277fdab
JM
207952013-02-04 Joseph Myers <joseph@codesourcery.com>
20796
20797 [BZ #13550]
20798 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20799 (__ubp_memchr): Remove prototype.
20800 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20801 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20802 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20803 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20804 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20805 Remove alias.
20806 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20807 (__ubp_memchr): Likewise.
20808 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20809 (__ubp_memchr): Likewise.
20810 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20811 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20812 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20813 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20814 CHECK_STRING.
20815 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20816 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20817 (__getcwd): Do not use CHECK_STRING.
20818 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20819 <bp-checks.h>.
20820 (__real_chown): Do not use CHECK_STRING.
20821 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20822 <bp-checks.h>.
20823 (fchownat): Do not use CHECK_STRING.
20824 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20825 CHECK_STRING.
20826 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20827 <bp-checks.h>.
20828 (__lchown): Do not use CHECK_STRING.
20829 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20830 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20831 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20832 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20834 include <bp-checks.h>.
20835 (truncate64): Do not use CHECK_STRING.
20836 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20837 <bp-checks.h>.
20838 (__real_chown): Do not use CHECK_STRING.
20839 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20840 <bp-checks.h>.
20841 (__lchown): Do not use CHECK_STRING.
20842 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20843 <bp-checks.h>.
20844 (__chown): Do not use CHECK_STRING.
20845 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20846 <bp-checks.h>.
20847 (truncate64): Do not use CHECK_STRING.
20848 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20849 Likewise.
20850 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20851 (__xmknod): Do not use CHECK_STRING.
20852 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20853 <bp-checks.h>.
20854 (__xmknodat): Do not use CHECK_STRING.
20855 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20856 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20857
903ae060
AS
208582013-02-04 Andreas Schwab <schwab@suse.de>
20859
20860 [BZ #14142]
20861 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20862 * include/netdb.h: Likewise for h_errno.
20863 * elf/tst-stackguard1.c: Include <tls.h>.
20864
542f9466
JK
208652013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20866
20867 * elf/link.h (struct link_map): Extend the l_addr comment.
20868 * include/link.h (struct link_map): Likewise.
20869
e782a927
JM
208702013-02-01 Joseph Myers <joseph@codesourcery.com>
20871
20872 [BZ #13550]
20873 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20874 (BOUNDED_1): Remove macro.
20875 * debug/backtrace.c: Don't include <bp-checks.h>.
20876 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20877 (__backtrace): Likewise.
20878 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20879 <bp-checks.h>.
20880 (__backtrace): Don't use BOUNDED_1.
20881 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20882 <bp-checks.h>.
20883 (__backtrace): Don't use BOUNDED_1.
20884 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20885 (__backtrace): Don't use BOUNDED_1.
20886 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20887 (shmat): Don't use BOUNDED_N.
20888
8cf28c5e
JM
208892013-01-31 Joseph Myers <joseph@codesourcery.com>
20890
3a7ac8a0
JM
20891 [BZ #13550]
20892 * sysdeps/generic/bp-start.h: Remove file.
20893 * csu/libc-start.c: Don't include <bp-start.h>.
20894 (LIBC_START_MAIN): Set up __environ directly instead of using
20895 INIT_ARGV_and_ENVIRON.
20896 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20897 <bp-start.h>.
20898
f3499f95
JM
20899 [BZ #13550]
20900 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20901 definitions.
20902 (CHECK_FCNTL): Likewise.
20903 (CHECK_N_PAGES): Likewise.
20904
32a45bea
JM
20905 [BZ #13550]
20906 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20907 definitions.
20908 (CHECK_SIGSET_NULL_OK): Likewise.
20909 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20910 <bp-checks.h>.
20911 (sigpending): Don't use CHECK_SIGSET.
20912 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20913 <bp-checks.h>.
20914 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20915 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20916 <bp-checks.h>.
20917 (do_sigsuspend): Don't use CHECK_SIGSET.
20918 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20919 use CHECK_SIGSET.
20920 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20921 (do_sigwait): Don't use CHECK_SIGSET.
20922 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20923 use CHECK_SIGSET.
20924 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20925 include <bp-checks.h>.
20926 (sigpending): Don't use CHECK_SIGSET.
20927 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20928 include <bp-checks.h>.
20929 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20930 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20931 <bp-checks.h>.
20932 (sigpending): Don't use CHECK_SIGSET.
20933 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20934 <bp-checks.h>.
20935 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20936
2e8a5c8c
JM
20937 [BZ #13550]
20938 * sysdeps/generic/bp-semctl.h: Remove file.
20939 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20940 <bp-checks.h> and <bp-semctl.h>.
20941 (__old_semctl): Don't use CHECK_SEMCTL.
20942 (__new_semctl): Likewise.
20943 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20944 and <bp-semctl.h>.
20945 (__old_semctl): Don't use CHECK_SEMCTL.
20946 (__new_semctl): Likewise.
20947 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20948 <bp-checks.h> and <bp-semctl.h>.
20949 (__old_semctl): Don't use CHECK_SEMCTL.
20950 (__new_semctl): Likewise.
20951 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20952 <bp-checks.h> and <bp-semctl.h>.
20953 (semctl): Don't use CHECK_SEMCTL.
20954
c2d54929
JM
20955 [BZ #13550]
20956 * Makerules (elide-bp-thunks): Remove variable.
20957 (elide-routines.oS): Don't use $(elide-bp-thunks).
20958 (elide-routines.os): Likewise.
20959 (elide-routines.o): Likewise.
20960 (elide-routines.op): Likewise.
20961 (elide-routines.og): Likewise.
20962 (objects): Don't use $(bp-thunks).
20963 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20964 include.
20965 (common-generated): Do not add s-proto-bp.d.
20966 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20967 (int): Likewise.
20968 (typ): Likewise.
20969 Do not generate makefile rules for bounded-pointer thunks.
20970 * sysdeps/generic/bp-thunks.h: Remove file.
20971 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20972 * sysdeps/unix/s-proto-bp.S: Likewise.
20973
8cf28c5e
JM
20974 [BZ #15062]
20975 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20976 parts of result separately when argument is not close to line from
20977 -i to i and one part of argument is small.
20978 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20979 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20980 * math/libm-test.inc (cacos_test): Add more tests.
20981 (casin_test): Likewise.
20982 (casinh_test): Likewise.
20983 * sysdeps/i386/fpu/libm-test-ulps: Update.
20984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20985
c4e33b8d
DM
209862013-01-31 David S. Miller <davem@davemloft.net>
20987
20988 * po/de.po: Update from translation team.
20989
3b60b421
MK
209902013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20991
20992 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20993
bb931195
TS
209942013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20995
b5a5da23
TS
20996 * configure.in (_AC_PROG_CC_C89): New definition.
20997 * configure: Regenerate.
20998
bb931195
TS
20999 * configure.in (AC_PROG_CPP): New definition.
21000 * configure: Regenerate.
21001
8c53a12c
JM
210022013-01-23 Joseph Myers <joseph@codesourcery.com>
21003
21004 * debug/tst-backtrace.h: New file.
21005 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21006 (ret): Remove variable.
21007 (x): Likewise.
21008 (FAIL): Remove macro.
21009 (NO_INLINE): Likewise.
21010 (fn1): Use match function instead of strstr.
21011 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21012 (ret): Remove variable.
21013 (x): Likewise.
21014 (FAIL): Remove macro.
21015 (NO_INLINE): Likewise.
21016 (fn): Use match function instead of strstr.
21017 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21018 (ret): Remove variable.
21019 (x): Likewise.
21020 (FAIL): Remove macro.
21021 (NO_INLINE): Likewise.
21022 (handle_signal): Use match function instead of strstr.
21023 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21024 (ret): Remove variable.
21025 (x): Likewise.
21026 (FAIL): Remove macro.
21027 (NO_INLINE): Likewise.
21028 (handle_signal): Use match function instead of strstr.
21029
4858fa2a
RM
210302013-01-23 Roland McGrath <roland@hack.frob.com>
21031
21032 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21033
bae8e7f5
DM
210342013-01-23 David S. Miller <davem@davemloft.net>
21035
21036 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21037 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21038 argument of CAS if possible.
21039 * sysdeps/sparc/sparc64/bits/atomic.h
21040 (__arch_compare_and_exchange_val_32_acq): Likewise.
21041 (__arch_compare_and_exchange_val_64_acq): Likewise.
21042
9cbbc4ae
PT
210432013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21044
21045 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21046 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21047 Include <limits.h>.
67b3f58c 21048 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21049
5655a0b5
AC
210502013-01-23 Adam Conrad <adconrad@0c3.net>
21051
21052 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21053 (LDFLAGS-tst-array5): Likewise.
21054
052aff95
JM
210552013-01-23 Joseph Myers <joseph@codesourcery.com>
21056
21057 [BZ #15036]
21058 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21059 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21060 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21061 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21062
7c1e01aa
DM
210632013-01-21 David S. Miller <davem@davemloft.net>
21064
21065 * sysdeps/sparc/backtrace.c: New file.
21066 * sysdeps/sparc/sparc32/backtrace.h: New file.
21067 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21068 * sysdeps/sparc/sparc64/backtrace.h: New file.
21069 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21070 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21071 -funwind-tables.
21072
ab087e0a
AS
210732013-01-21 Andreas Schwab <schwab@suse.de>
21074
21075 [BZ #15020]
21076 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21077 closed its stdout.
21078
ed689c2f
AS
210792013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21080
21081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21082 "mpa2.h".
21083 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21084
31d470ac
JM
210852013-01-18 Joseph Myers <joseph@codesourcery.com>
21086 Mark Mitchell <mark@codesourcery.com>
21087 Tom de Vries <tom@codesourcery.com>
21088 Paul Pluzhnikov <ppluzhnikov@google.com>
21089
21090 * debug/tst-backtrace2.c: New file.
21091 * debug/tst-backtrace3.c: Likewise.
21092 * debug/tst-backtrace4.c: Likewise.
21093 * debug/tst-backtrace5.c: Likewise.
21094 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21095 (CFLAGS-tst-backtrace3.c): Likewise.
21096 (CFLAGS-tst-backtrace4.c): Likewise.
21097 (CFLAGS-tst-backtrace5.c): Likewise.
21098 (LDFLAGS-tst-backtrace2): Likewise.
21099 (LDFLAGS-tst-backtrace3): Likewise.
21100 (LDFLAGS-tst-backtrace4): Likewise.
21101 (LDFLAGS-tst-backtrace5): Likewise.
21102 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21103 tst-backtrace4 and tst-backtrace5.
21104
90567f30 211052013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21106 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21107
21108 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21109 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21110 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21111 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21113 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21114 "+r" and remove output regs list as redundant. Add explicit inline
21115 asm to specify register of return val to work around compiler codegen
21116 bug. Remove (int) cast on return value. Add return type parameter to
21117 use in macro so that this macro does not truncate return value for
21118 64-bit values.
21119 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21120 pass to INTERNAL_VSYSCALL_NCS.
21121 (INLINE_VSYSCALL): Add 'long int' as return type to
21122 INTERNAL_VSYSCALL_NCS macro invocation.
21123 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21124 INTERNAL_VSYSCALL_NCS macro invocation.
21125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21126
d3b9ea61
SP
211272013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21128
0b57daeb
SP
21129 [BZ #14496]
21130 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21131 Fix application of SIMD FP exception mask.
21132
caa99d06
SP
21133 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21134 mp_no from a power of two.
21135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21136 __mpexp_twomm1. Use __pow_mp.
21137
d3b9ea61
SP
21138 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21139 multiplication.
21140
1dbaee3c
DM
211412013-01-17 David S. Miller <davem@davemloft.net>
21142
21143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21144
728d7b43
JM
211452013-01-17 Joseph Myers <joseph@codesourcery.com>
21146
21147 [BZ #15023]
21148 * include/complex.h: Condition contents on [!_COMPLEX_H].
21149 (__kernel_casinhf): New prototype.
21150 (__kernel_casinh): Likewise.
21151 (__kernel_casinhl): Likewise.
21152 * math/Makefile (libm_calls): Add k_casinh.
21153 * math/k_casinh.c: New file.
21154 * math/k_casinhf.c: Likewise.
21155 * math/k_casinhl.c: Likewise.
21156 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21157 finite nonzero arguments.
21158 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21159 finite nonzero arguments.
21160 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21161 finite nonzero arguments.
21162 * math/s_casinh.c: Do not include <float.h>.
21163 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21164 * math/s_casinhf.c: Do not include <float.h>.
21165 (__casinhf): Move code for finite nonzero arguments to
21166 k_casinhf.c.
21167 * math/s_casinhl.c: Do not include <float.h>.
21168 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21169 redefine.
21170 (__casinhl): Move code for finite nonzero arguments to
21171 k_casinhl.c.
21172 * math/libm-test.inc (cacos_test): Add more tests.
21173 * sysdeps/i386/fpu/libm-test-ulps: Update.
21174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21175
2a26ef3a
PT
211762013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21177
21178 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21179 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21180 [!HAVE_MREMAP]: Remove [defined linux] case.
21181 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21182
a897655d
SP
211832013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21184
21185 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21186
881ebe89 211872013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21188
21189 * elf/elf.h (R_386_SIZE32): New relocation.
21190 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21191 R_386_SIZE32.
21192 (elf_machine_rela): Likewise.
21193 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21194 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21195
59981e9b
JM
211962013-01-17 Joseph Myers <joseph@codesourcery.com>
21197
21198 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21199 (FP_FAST_FMA): Do not define.
21200 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21201 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21202 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21203 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21204 !_SOFT_FLOAT]: Likewise.
21205 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21206 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21207 value.
21208 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21209 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21210 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21211 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21212 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21213 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21214 file.
21215
cfa8054f
AS
212162013-01-16 Andreas Schwab <schwab@suse.de>
21217
21218 [BZ #14327]
21219 * include/stdlib.h (__mktemp): Add declaration.
21220 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21221 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21222
dd930cc5
SP
212232013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21224
881ebe89
SP
21225 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21226 definitions.
21227 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21228 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21229 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21230 definitions here.
21231 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21232 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21233 definitions.
21234 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21235 and ONE.
21236 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21237 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21238 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21239 definitions.
21240 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21241 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21242 definitions.
21243 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21244
dd930cc5
SP
21245 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21246
c19a9f89
DM
212472013-01-15 David S. Miller <davem@davemloft.net>
21248
1aa61767
DM
21249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21250 trunc{,f} to libm-sysdep_routes.
21251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21253 file.
21254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21256 file.
21257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21258 file.
21259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21261 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21262 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21263 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21264 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21265 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21266 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21267
c42d5e98
DM
21268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21269 nearbyint{,f} to libm-sysdep_routes.
21270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21272 New file.
21273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21274 file.
21275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21276 New file.
21277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21278 file.
21279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21281 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21282 file.
21283 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21284 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21285 file.
21286 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21287 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21288 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21289
c19a9f89
DM
21290 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21291 libc_feholdexcept and libc_fesetenv.
21292
357679d2
MF
212932013-01-15 Mike Frysinger <vapier@gentoo.org>
21294
21295 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21296
65a82e3d
DM
212972013-01-14 David S. Miller <davem@davemloft.net>
21298
8b954ab9
DM
21299 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21300 (SPARC_ASM_VIS2_IFUNC): Likewise.
21301 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21303 use of 'siam' instruction.
21304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21305 Likewise.
21306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21307 Likewise.
21308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21309 Likewise.
21310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21315 file.
21316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21317 file.
21318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21319 file.
21320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21321 file.
21322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21327 new VIS2 routines.
21328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21331 Likewise.
21332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21337 routines to libm-sysdep_routines.
21338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21339
65a82e3d
DM
21340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21341 fdim/fdimf to libm-sysdep_routines.
21342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21343 file.
21344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21346 file.
21347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21350 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21351 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21352 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21353 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21354
e34ab705
SP
213552013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21356
2a91b573
SP
21357 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21358 to optimize copies.
21359
1066a534
SP
21360 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21363
e34ab705
SP
21364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21365 local variable MPTWO.
21366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21367 Likewise.
21368
aba5e596
MF
213692013-01-13 Mike Frysinger <vapier@gentoo.org>
21370
21371 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21372 GLOB_NOESCAPE.
21373
e557e9e5
MF
213742013-01-13 Mike Frysinger <vapier@gentoo.org>
21375
21376 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21377
0428cec9
MF
213782013-01-13 Mike Frysinger <vapier@gentoo.org>
21379
21380 * manual/pattern.texi (glob_t): Document gl_flags.
21381 (glob64_t): Likewise.
21382
8794a964
DM
213832013-01-11 David S. Miller <davem@davemloft.net>
21384
66438c3f
RM
21385 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21386 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21387 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
21388 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21389 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21390 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21391 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21392 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21393 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21394 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21395 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21396 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21397 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21398
4ae4244d
DM
21399 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21400 sparc V9 rather than using V8 code.
21401 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21402 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21403
8794a964
DM
21404 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21405 Move to...
21406 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21407 Here.
21408
6270516e
RM
214092013-01-11 Roland McGrath <roland@hack.frob.com>
21410
21411 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21412 not in the main loop.
21413 * configure: Regenerated.
21414
6a57d931
JM
214152013-01-11 Joseph Myers <joseph@codesourcery.com>
21416
21417 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21418 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21419 to just #else.
21420 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21421 [!__GLIBC_HAVE_LONG_LONG] case.
21422 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21423 condition to just #else.
21424 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21425 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21426 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21427 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21428 unconditional.
21429 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21430 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21431 #elif condition to just #else.
21432 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21433 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21434 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21435 #elif condition to just #else.
21436
0e8529e9
SE
214372013-01-11 Steve Ellcey <sellcey@mips.com>
21438
21439 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21440 (EF_MIPS_ARCH_64): Fix value.
21441 (EF_MIPS_ARCH_32R2): New.
21442 (EF_MIPS_ARCH_64R2): New.
21443
740b3dbe
L
214442013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21445
21446 * Makeconfig (+link-pie-before-libc): New.
21447 (+link-pie-after-libc): Likewise.
21448 (+link-pie-tests): Likewise.
21449 (+link-pie): Rewritten.
21450 (link-before-libc): Remove $(config-LDFLAGS).
21451 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21452 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21453 (config-LDFLAGS): Renamed to ...
21454 (rtld-LDFLAGS): This.
21455 (rtld-tests-LDFLAGS): New macro.
21456 (link-libc-rpath-link): Likewise.
21457 (link-libc-tests-rpath-link): Likewise.
21458 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21459 (link-libc): Prepand $(link-libc-rpath-link).
21460 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21461 (test-program-prefix): New macro.
21462 (test-via-rtld-prefix): Likewise.
21463 (test-program-cmd): Likewise.
21464 (host-test-program-cmd): Likewise.
21465 * Makefile ($(common-objpfx)testrun.sh): Replace
21466 $(run-program-prefix) with $(test-program-prefix).
21467 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21468 $(rtld-LDFLAGS).
21469 ($(common-objpfx)shlib.lds): Likewise.
21470 (build-module-helper): Likewise.
21471 ($(common-objpfx)format.lds): Likewise.
21472 * Rules (binaries-pie-tests): New.
21473 (binaries-pie-notests): Likewise.
21474 (binaries-pie): Rewritten.
21475 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21476 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21477 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21478 (make-test-out): Replace $(host-built-program-cmd) with
21479 $(host-test-program-cmd).
21480 * config.make.in (build-hardcoded-path-in-tests): New variable.
21481 * configure.in (--enable-hardcoded-path-in-tests): New configure
21482 option.
21483 (hardcoded_path_in_tests): New AC_SUBST.
21484 * configure: Regenerated.
21485 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21486 $(built-program-cmd) with $(test-program-cmd).
21487 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21488 (test_program_cmd): This.
21489 * elf/Makefile ($(objpfx)order.out): Run test with
21490 $(test-program-prefix).
21491 ($(objpfx)order2.out): Likewise.
21492 ($(objpfx)tst-initorder.out): Likewise.
21493 ($(objpfx)tst-initorder2.out): Likewise.
21494 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21495 $(test-program-cmd).
21496 ($(objpfx)tst-array1-static.out): Likewise.
21497 ($(objpfx)tst-array2.out): Likewise.
21498 ($(objpfx)tst-array3.out): Likewise.
21499 ($(objpfx)tst-array4.out): Likewise.
21500 ($(objpfx)tst-array5.out): Likewise.
21501 ($(objpfx)tst-array5-static.out): Likewise.
21502 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21503 $(test-program-cmd).
21504 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21505 $(run-program-prefix) with $(test-program-prefix).
21506 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21507 (test_program_prefix): This.
21508 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21509 $(run-program-prefix) with $(test-program-prefix).
21510 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21511 (test_program_prefix): This.
21512 * iconvdata/tst-tables.sh: Likewise.
21513 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21514 $(run-program-prefix) with $(test-program-prefix).
21515 ($(objpfx)tst-translit.out): Likewise.
21516 ($(objpfx)tst-gettext2.out): Likewise.
21517 ($(objpfx)tst-gettext4.out): Likewise.
21518 ($(objpfx)tst-gettext6.out): Likewise.
21519 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21520 (test_program_prefix): This.
21521 * intl/tst-gettext2.sh: Likewise.
21522 * intl/tst-gettext4.sh Likewise.
21523 * intl/tst-gettext6.sh: Likewise.
21524 * intl/tst-translit.sh: Likewise.
21525 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21526 with $(test-program-cmd).
21527 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21528 $(run-program-prefix) with $(test-program-prefix).
21529 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21530 (test_program_prefix): This.
21531 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21532 $(run-program-prefix) with $(test-program-prefix).
21533 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21534 (test_program_prefix): This.
21535 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21536 * posix/Makefile ($(objpfx)globtest.out): Replace
21537 $(run-via-rtld-prefix) and $(test-wrapper) with
21538 $(test-program-prefix) and $(test-via-rtld-prefix).
21539 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21540 $(test-program-prefix).
21541 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21542 $(host-test-program-cmd).
21543 (tst-spawn-ARGS): Likewise.
21544 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21545 $(test-program-prefix).
21546 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21547 (test_via_rtld_prefix): This.
21548 (test_wrapper): Renamed to ...
21549 (test_program_prefix): This.
21550 (run_program_prefix): Replaced by test_program_prefix.
21551 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21552 (test_program_prefix): This.
21553 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21554 with $(host-test-program-cmd).
21555 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21556 $(run-program-prefix) with $(test-program-prefix).
21557 ($(objpfx)tst-printf.out): Likewise.
21558 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21559 $(test-program-cmd).
21560 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21561 (test_program_prefix): This.
21562 * stdio-common/tst-unbputc.sh: Likewise.
21563 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21564 $(run-program-prefix) with $(test-program-prefix).
21565 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21566 (test_program_prefix): This.
21567 * string/Makefile ($(objpfx)tst-svc.out): Replace
21568 $(built-program-cmd) with $(test-program-cmd).
21569
c6fe55cf
AJ
215702013-01-11 Andreas Jaeger <aj@suse.de>
21571
21572 [BZ #15003]
21573 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21574 value. Sync with Linux 3.7.
21575
9e6919c8
DM
215762013-01-10 David S. Miller <davem@davemloft.net>
21577
21578 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21579 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21580 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21581
1c9f1a02
RM
215822013-01-10 Roland McGrath <roland@hack.frob.com>
21583
21584 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21585 never set.
21586 * configure: Regenerated.
21587
b9de2dde
DM
215882013-01-10 David S. Miller <davem@davemloft.net>
21589
21590 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21591 sparc V9 rather than using V8 code.
21592 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21593 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21594
e7f68ef4
RM
215952013-01-10 Roland McGrath <roland@hack.frob.com>
21596
21597 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21598 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21599 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21600 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21601 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21602 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21603 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21604 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21605 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21606 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21607 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21608 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21609 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21610 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21611 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21612 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21613 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21614 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21615 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21616 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21617 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21618 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21619 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21620 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21621 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21622 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21623 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21624
5a47cc9c
DM
216252013-01-10 David S. Miller <davem@davemloft.net>
21626
21627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21628
4cf8f209
L
216292013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21630
21631 * posix/Makefile (tests-static): New variable.
21632 (tests): Add $(tests-static).
21633 (tst-exec-static-ARGS): New variable.
21634 (tst-spawn-static-ARGS): Likewise.
21635 * posix/tst-exec-static.c: New file.
21636 * posix/tst-spawn-static.c: Likewise.
21637 * posix/tst-exec.c: Support run directly.
21638 * posix/tst-spawn.c: Likewise.
21639
fed0faa1
JM
216402013-01-10 Joseph Myers <joseph@codesourcery.com>
21641
828beb13
JM
21642 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21643 long.
21644 * math/bits/mathcalls.h (llrint): Likewise.
21645 (llround): Likewise.
21646 * stdlib/stdlib.h (struct drand48_data): Likewise.
21647 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21648 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21649 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21650 Likewise.
21651 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21652 Likewise.
21653 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21654 (elf_greg_t): Likewise.
21655 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21656 (__jmp_buf): Likewise.
21657 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21658 definitions.
21659 (llrint): Likewise, for all definitions.
21660 (llrintl): Likewise.
21661
fed0faa1
JM
21662 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21663 Remove [__GNUC__] condition.
21664 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21665 condition to just [__USE_ISOC99].
21666 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21667
1a20cb20
L
216682013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21669
21670 [BZ #14200]
21671 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21672 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21673 defined.
21674 (_POSIX_V6_ILP32_OFF32): Likewise.
21675 (_XBS5_ILP32_OFF32): Likewise.
21676 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21677 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21678
751b85f7
SP
216792013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21680
7490eb81
SP
21681 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21682
751b85f7
SP
21683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21684 doubles __mpexp_twomm1. Adjust usage.
21685 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21686 Remove.
21687
988197f0
AS
216882013-01-10 Andreas Schwab <schwab@suse.de>
21689
21690 [BZ #14964]
21691 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21692 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21693
e83d7298
DM
216942013-01-09 David S. Miller <davem@davemloft.net>
21695
034ed64b 21696 [BZ #15003]
57f41c40
AS
21697 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21698 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21699 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21700 (TCP_FASTOPEN): Define.
e83d7298
DM
21701 (tcp_repair_opt): New structure.
21702 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21703 enum values.
57f41c40
AS
21704 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21705 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21706 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21707 (tcp_cookie_transactions): New structure.
21708
d5e0b9bd
AB
217092013-01-09 Anton Blanchard <anton@samba.org>
21710
21711 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21712 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21713 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21714 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21715
0c07e3ea
JM
217162013-01-09 Joseph Myers <joseph@codesourcery.com>
21717
21718 * include/features.h (__USE_ANSI): Remove.
21719
232f7002
RM
217202013-01-09 Roland McGrath <roland@hack.frob.com>
21721
ad98e30c
RM
21722 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21723
232f7002
RM
21724 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21725
950c99ca
SP
217262013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21727
b5792741
SP
21728 * sysdeps/s390/fpu/libm-test-ulps: Update.
21729
47cf2278
SP
21730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21731
950c99ca
SP
21732 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21733 (__acr): Likewise.
21734 (__cpy): Likewise.
21735 (norm): Likewise.
21736 (denorm): Likewise.
21737 (__mp_dbl): Likewise.
21738 (__dbl_mp): Likewise.
21739 (add_magnitudes): Likewise.
21740 (sub_magnitudes): Likewise.
21741 (__add): Likewise.
21742 (__sub): Likewise.
21743 (__mul): Likewise.
21744 (__inv): Likewise.
21745 (__dvd): Likewise.
21746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21747 (__acr): Likewise.
21748 (__cpy): Likewise.
21749 (norm): Likewise.
21750 (denorm): Likewise.
21751 (__mp_dbl): Likewise.
21752 (__dbl_mp): Likewise.
21753 (add_magnitudes): Likewise.
21754 (sub_magnitudes): Likewise.
21755 (__add): Likewise.
21756 (__sub): Likewise.
21757 (__mul): Likewise.
21758 (__inv): Likewise.
21759 (__dvd): Likewise.
21760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21761 (__acr): Likewise.
21762 (__cpy): Likewise.
21763 (norm): Likewise.
21764 (denorm): Likewise.
21765 (__mp_dbl): Likewise.
21766 (__dbl_mp): Likewise.
21767 (add_magnitudes): Likewise.
21768 (sub_magnitudes): Likewise.
21769 (__add): Likewise.
21770 (__sub): Likewise.
21771 (__mul): Likewise.
21772 (__inv): Likewise.
21773 (__dvd): Likewise.
21774
eede9df9
JM
217752013-01-08 Joseph Myers <joseph@codesourcery.com>
21776
21777 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21778 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21779 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21780 2 && __USE_EXTERN_INLINES]: Likewise.
21781
c40ea3d9
AJ
217822013-01-08 Andreas Jaeger <aj@suse.de>
21783
21784 [BZ# 14985]
21785 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21786 Remove.
21787 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21788 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21789
2ccdea26
AB
217902013-01-07 Anton Blanchard <anton@samba.org>
21791
21792 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21793 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21794 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21795 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21796 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21797 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21798 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21799 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21801 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21802 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21803 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21804 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21805 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21806 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21807 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21808 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21809 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21810 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21811 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21812 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21813 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21815 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21816 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21817 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21818 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21819 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21820 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21821 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21822 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21824 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21825 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21826 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21827 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21828 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21829 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21830 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21831 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21832 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21833 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21834 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21835
a9708fed
JM
218362013-01-07 Joseph Myers <joseph@codesourcery.com>
21837
375607b9
JM
21838 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21839 (__MALLOC_PMT): Likewise.
21840 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21841 [__GNUC__], only on [_LIBC].
21842 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21843 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21844 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21845 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21846 forward declaration.
21847 (realloc_hook_ini): Likewise.
21848 (memalign_hook_ini): Likewise.
21849 (__libc_memalign): Do not use __MALLOC_PMT in variable
21850 declaration.
21851 (__libc_valloc): Likewise.
21852 (__libc_pvalloc): Likewise.
21853 (__libc_calloc): Likewise.
21854 (__posix_memalign): Likewise.
21855
a9708fed
JM
21856 [BZ #14996]
21857 * math/s_casinh.c: Include <float.h>.
21858 (__casinh): Do not do computation with squaring and square root
21859 for large arguments.
21860 * math/s_casinhf.c: Include <float.h>.
21861 (__casinhf): Do not do computation with squaring and square root
21862 for large arguments.
21863 * math/s_casinhl.c: Include <float.h>.
21864 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21865 (__casinhl): Do not do computation with squaring and square root
21866 for large arguments.
21867 * math/libm-test.inc (casin_test): Add more tests.
21868 (casinh_test): Likewise.
21869 * sysdeps/i386/fpu/libm-test-ulps: Update.
21870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21871
afec409a
L
218722013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21873
21874 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21875 (__x86_64_raw_data_cache_size): Likewise.
21876 (__x86_64_data_cache_size_half): Likewise.
21877 (__x86_64_raw_data_cache_size_half): Likewise.
21878 (__x86_64_shared_cache_size): Likewise.
21879 (__x86_64_raw_shared_cache_size): Likewise.
21880 (__x86_64_shared_cache_size_half): Likewise.
21881 (__x86_64_raw_shared_cache_size_half): Likewise.
21882 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21883 to ...
21884 (__x86_data_cache_size): This.
21885 (__x86_64_raw_data_cache_size): Renamed to ...
21886 (__x86_raw_data_cache_size): This.
21887 (__x86_64_data_cache_size_half): Renamed to ...
21888 (__x86_data_cache_size_half): This.
21889 (__x86_64_raw_data_cache_size_half): Renamed to ...
21890 (__x86_raw_data_cache_size_half): This.
21891 (__x86_64_shared_cache_size): Renamed to ...
21892 (__x86_shared_cache_size): This.
21893 (__x86_64_raw_shared_cache_size): Renamed to ...
21894 (__x86_raw_shared_cache_size): This.
21895 (__x86_64_shared_cache_size_half): Renamed to ...
21896 (__x86_shared_cache_size_half): This.
21897 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21898 (__x86_raw_shared_cache_size_half): This.
21899 * sysdeps/x86_64/memcpy.S: Updated.
21900 * sysdeps/x86_64/memset.S: Likewise.
21901 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21902 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21903 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21904
0b3986d0
DM
219052013-01-04 David S. Miller <davem@davemloft.net>
21906
21907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21908
e47686e9
AS
219092013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21910
d643bac1
AS
21911 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21912 1 to avoid redefinition warning.
21913 (__USE_GNU): Don't define.
21914 (init_signaling_nan): Protoize.
21915
e47686e9
AS
21916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21917
b18decba
SP
219182013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21919
fffb407f
SP
21920 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21922 (__cpymn): Likewise.
21923 (norm): Remove commented code.
21924 (denorm): Likewise.
21925 (__mp_dbl): Likewise.
21926 (__inv): Likewise.
21927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21928 (__cpymn): Likewise.
21929 (norm): Remove commented code.
21930 (denorm): Likewise.
21931 (__mp_dbl): Likewise.
21932 (__inv): Likewise.
21933
b18decba
SP
21934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21935 mp_no value for 1.0 and 2.0.
21936 (norm): Use RADIXI instead of radixi.d.
21937 (denorm): Likewise.
21938 (__mul): Use 0.0 instead of zero.d.
21939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21940 mp_no value for 1.0 and 2.0.
21941 (norm): Use RADIXI instead of radixi.d.
21942 (denorm): Likewise.
21943 (__mul): Use 0.0 instead of zero.d.
21944
cdc1c96f
JM
219452013-01-04 Joseph Myers <joseph@codesourcery.com>
21946
21947 [BZ #14994]
21948 * math/s_casinh.c (__casinh): Reduce finite argument to first
21949 quadrant then set signs of results at the end.
21950 * math/s_casinhf.c (__casinhf): Likewise.
21951 * math/s_casinhl.c (__casinhl): Likewise.
21952 * math/libm-test.inc (casin_test): Add more tests.
21953 (casinh_test): Likewise.
21954 * sysdeps/i386/fpu/libm-test-ulps: Update.
21955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21956
302913e1
SP
219572013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21958
6420d207
SP
21959 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21960
a9e48ab4
SP
21961 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21962
b7837264
SP
21963 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21964 declarations.
21965 (denorm): Likewise.
21966 (__mp_dbl): Likewise.
21967 (__inv): Likewise.
21968
f8af25d2
SP
21969 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21970 and adjust the header comment.
21971
302913e1
SP
21972 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21973 variable name from declaration.
21974
5d7dd1ca
L
219752013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21976
21977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21978 Initialize COMMON_CPUID_INDEX_7 element.
21979 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21980 (CPUID_RTM): Likewise.
21981 (HAS_RTM): Likewise.
21982 (COMMON_CPUID_INDEX_7): New enum.
21983
2f5f40f4
AS
219842013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21985
21986 [BZ #14981]
21987 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21988 size is zero, record memory as freed.
21989
4056f4a0
AJ
219902013-01-03 Andreas Jaeger <aj@suse.de>
21991
21992 * po/ia.po: Add new Interlingua translation.
21993
ab15736f 219942012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21995
21996 * locale/programs/localedef.c: Fix description of '--posix' flag.
21997
568035b7
JM
219982013-01-02 Joseph Myers <joseph@codesourcery.com>
21999
e6898b8d
JM
22000 * NEWS: Update dates in second copyright notice.
22001 * README: Update copyright dates in example.
22002 * manual/libc.texinfo: Update copyright dates.
22003 * scripts/test-installation.pl: Update copyright date in --version
22004 output.
22005
0e2f9562
JM
22006 * hurd/ctty-input.c: Fix copyright notice formatting.
22007 * hurd/ctty-output.c: Likewise.
22008 * hurd/dtable.c: Likewise.
22009 * hurd/hurd-raise.c: Likewise.
22010 * hurd/hurdprio.c: Likewise.
22011 * hurd/msgportdemux.c: Likewise.
22012 * misc/sys/file.h: Likewise.
22013 * misc/sys/ioctl.h: Likewise.
22014 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22015 * sysdeps/mach/hurd/chdir.c: Likewise.
22016 * sysdeps/mach/hurd/fchdir.c: Likewise.
22017 * sysdeps/mach/hurd/rename.c: Likewise.
22018 * sysdeps/mach/hurd/rmdir.c: Likewise.
22019 * sysdeps/mach/hurd/seekdir.c: Likewise.
22020 * sysdeps/mach/hurd/setsid.c: Likewise.
22021 * sysdeps/posix/wait3.c: Likewise.
22022
568035b7
JM
22023 * All files with FSF copyright notices: Update copyright dates
22024 using scripts/update-copyrights.
22025 * intl/plural.c: Regenerated.
22026 * locale/programs/charmap-kw.h: Likewise.
22027 * locale/programs/locfile-kw.h: Likewise.
22028
da08f647
SP
220292013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22030
0f5477af
SP
22031 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22032 four values.
22033
44e0d4c2
SP
22034 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22035 calculation loop and add branch prediction.
22036
4d55b4e5
SP
22037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22038 check access beyond bounds of m1np.
22039
da08f647
SP
22040 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22041 MPTWO.
22042 (__inv): Remove local variable MPTWO to use the global
22043 constant.
22044 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22045 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22046 variable MPTWO.
22047 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22048 MP3HALFS static const.
22049
8e051029
DM
220502013-01-01 David S. Miller <davem@davemloft.net>
22051
22052 * po/ca.po: Update from translation team.
22053
f4cf5f2d
JM
220542013-01-01 Joseph Myers <joseph@codesourcery.com>
22055
22056 * scripts/update-copyrights: New file.
22057 * Makeconfig: Reformat copyright notice.
22058 * ctype/ctype.h: Likewise.
22059 * debug/swprintf_chk.c: Likewise.
22060 * elf/dl-cache.c: Likewise.
22061 * elf/dl-debug.c: Likewise.
22062 * elf/dl-object.c: Likewise.
22063 * grp/initgroups.c: Likewise.
22064 * hurd/Makefile: Likewise.
22065 * hurd/hurd/signal.h: Likewise.
22066 * hurd/hurdfault.c: Likewise.
22067 * hurd/hurdioctl.c: Likewise.
22068 * hurd/hurdlookup.c: Likewise.
22069 * hurd/intr-msg.c: Likewise.
22070 * iconv/gconv_open.c: Likewise.
22071 * libio/swprintf.c: Likewise.
22072 * locale/lc-ctype.c: Likewise.
22073 * locale/nl_langinfo.c: Likewise.
22074 * mach/Machrules: Likewise.
22075 * mach/Makefile: Likewise.
22076 * malloc/obstack.h: Likewise.
22077 * manual/Makefile: Likewise.
22078 * manual/tsort.awk: Likewise.
22079 * misc/bits/stab.def: Likewise.
22080 * nis/nis_print_group_entry.c: Likewise.
22081 * nis/nis_table.c: Likewise.
22082 * nis/nss_compat/compat-pwd.c: Likewise.
22083 * nis/nss_compat/compat-spwd.c: Likewise.
22084 * po/Makefile: Likewise.
22085 * posix/fnmatch.c: Likewise.
22086 * posix/regex.h: Likewise.
22087 * resolv/Makefile: Likewise.
22088 * resolv/nss_dns/dns-network.c: Likewise.
22089 * resolv/res_hconf.c: Likewise.
22090 * scripts/gen-sorted.awk: Likewise.
22091 * soft-fp/soft-fp.h: Likewise.
22092 * stdio-common/printf.h: Likewise.
22093 * stdlib/monetary.h: Likewise.
22094 * stdlib/random.c: Likewise.
22095 * stdlib/random_r.c: Likewise.
22096 * sysdeps/generic/Makefile: Likewise.
22097 * sysdeps/gnu/Makefile: Likewise.
22098 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22099 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22100 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22101 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22102 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22106 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22107 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22108 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22109 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22110 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22111 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22112 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22113 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22114 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22115 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22116 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22117 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22118 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22119 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22120 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22121 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22122 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22123 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22124 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22125 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22126 * sysdeps/mach/hurd/errnos.awk: Likewise.
22127 * sysdeps/mach/hurd/fork.c: Likewise.
22128 * sysdeps/mach/hurd/getcwd.c: Likewise.
22129 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22130 * sysdeps/mach/hurd/mmap.c: Likewise.
22131 * sysdeps/mach/hurd/utimes.c: Likewise.
22132 * sysdeps/mach/hurd/xmknod.c: Likewise.
22133 * sysdeps/posix/profil.c: Likewise.
22134 * sysdeps/posix/readdir_r.c: Likewise.
22135 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22136 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22137 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22138 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22140 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22141 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22142 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22143 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22144 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22145 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22146 * sysdeps/pthread/lio_listio.c: Likewise.
22147 * sysdeps/sparc/dl-procinfo.h: Likewise.
22148 * sysdeps/unix/i386/sysdep.S: Likewise.
22149 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22150 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22151 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22152 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22154 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22155 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22156 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22157 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22158 * sysdeps/wordsize-32/divdi3.c: Likewise.
22159 * time/sys/time.h: Likewise.
22160 * wcsmbs/Makefile: Likewise.
22161
0549fbba
DM
221622013-01-01 David S. Miller <davem@davemloft.net>
22163
a141f1a7
DM
22164 * po/fr.po: Update from translation team.
22165
0549fbba
DM
22166 * catgets/gencat.c: Update copyright year.
22167 * csu/version.c: Likewise.
22168 * debug/catchsegv.sh: Likewise.
22169 * debug/pcprofiledump.c: Likewise.
22170 * debug/xtrace.sh: Likewise.
22171 * elf/ldconfig.c: Likewise.
22172 * elf/ldd.bash.in: Likewise.
22173 * elf/pldd.c: Likewise.
22174 * elf/sotruss.ksh: Likewise.
22175 * elf/sprof.c: Likewise.
22176 * iconv/iconv_prog.c: Likewise.
22177 * iconv/iconvconfig.c: Likewise.
22178 * locale/programs/locale.c: Likewise.
22179 * locale/programs/localedef.c: Likewise.
22180 * login/programs/pt_chown.c: Likewise.
22181 * malloc/memusage.sh: Likewise.
22182 * malloc/memusagestat.c: Likewise.
22183 * malloc/mtrace.pl: Likewise.
22184 * nscd/nscd.c: Likewise.
22185 * nss/getent.c: Likewise.
22186 * nss/makedb.c: Likewise.
22187 * posix/getconf.c: Likewise.
22188
18ea052c
SP
221892012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22190
22191 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22192 numbers.
22193
9c89fca6
MF
221942012-12-30 Mike Frysinger <vapier@gentoo.org>
22195
22196 * math/bits/mathcalls.h (modf): Use __nonnull.
22197
085ec079
SP
221982012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22199
22200 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22201 (split): Use macro CN instead of the bare value.
22202 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22203 could be used.
22204 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22205 instead of the bare value.
22206 (power1): Likewise.
22207
6d9f97e1
SP
222082012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22209
d63f73be
SP
22210 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22211 __ATAN_TWOM.
22212 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22213
6d9f97e1
SP
22214 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22215 their values.
22216 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22217 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22218 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22219 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22220
4c4febf5
AJ
222212012-12-28 Andreas Jaeger <aj@suse.de>
22222
af5843ef
AJ
22223 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22224 values are from Linux 3.7.
22225
4c4febf5
AJ
22226 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22227 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22228
99136f82
SP
222292012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22230
2f216c3c 22231 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22232 TRUE case.
22233
99136f82
SP
22234 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22235 (norm): Likewise.
22236 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22237 variables with preprocessor constants.
22238 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22239 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22240 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22241
7fffbdff
BH
222422012-12-27 Bruno Haible <bruno@clisp.org>
22243
22244 [BZ #14317]
22245 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22246 only if needed.
22247
b76eb5f0
SP
222482012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22249
31a7fe5c
SP
22250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22251 and use variable directly.
22252 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22253
b76eb5f0
SP
22254 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22255 MPONE.
22256 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22257 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22258 variable MPONE.
22259 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22261 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22262 include directive. Remove local variable MPONE.
22263 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22264 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22265 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22266
2c8bfe7d
DM
222672012-12-25 David S. Miller <davem@davemloft.net>
22268
22269 * version.h (RELEASE): Set to "development".
22270 (VERSION): Set to "2.17.90".
22271 * NEWS: Add 2.18 section.
22272
147d03b0
DM
222732012-12-21 David S. Miller <davem@davemloft.net>
22274
22275 * po/hr.po: Update from translation team.
22276
a8ebb2b9
AK
222772012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22278
22279 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22280
95b4f1b6
SE
222812012-12-19 Steve Ellcey <sellcey@mips.com>
22282
b2d94007 22283 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22284
cedb2a90
MS
222852012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22286
22287 * manual/contrib.texi (Contributors): Spelling correction.
22288
bbf527d6
DM
222892012-12-15 David S. Miller <davem@davemloft.net>
22290
22291 * po/ru.po: Update from translation team.
22292
bc38c906
DM
222932012-12-13 David S. Miller <davem@davemloft.net>
22294
85429b1a
DM
22295 * NEWS: Mention IFUNC testsuite enhancements.
22296
d283e353
DM
22297 * po/pl.po: Update from translation team.
22298 * po/bg.po: Likewise.
22299
bc38c906
DM
22300 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22301 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22302
a181b0d7
DM
223032012-12-11 David S. Miller <davem@davemloft.net>
22304
4641d57e
DM
22305 * po/sv.po: Update from translation team.
22306
f7bc6495
DM
22307 * po/vi.po: Update from translation team.
22308
6fc9048f
DM
22309 * po/cs.po: Update from translation team.
22310
a181b0d7
DM
22311 * po/de.po: Update from translation team.
22312 * po/eo.po: Likewise.
22313 * po/nl.po: Likewise.
22314
f70bfe80
SP
223152012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22316
3c8b4190
SP
22317 [BZ #14246]
22318 * manual/argp.texi (Argp Helper Functions): Move node to follow
22319 Argp Parsing State.
22320
f70bfe80
SP
22321 [BZ #14872]
22322 * manual/conf.texi (Limits on File System Capacity): Mention if
22323 terminating null is included in the max size.
22324
188f0adf
AJ
223252012-12-10 Andreas Jaeger <aj@suse.de>
22326
22327 * po/cs.po: Update from translation team.
22328
56e7d3ad
SP
223292012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22330
22331 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22332 void pointer and cast to uintptr_t.
22333 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22334 path.
22335 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22336 * sysdeps/s390/s390-64/memset.S: Likewise.
22337
76f2d2ea 223382012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22339
22340 [BZ #14833]
22341 * menual/message.texi (Message Translation): Fix typos.
22342 (Helper programs for gettext): Likewise.
22343
67cbf9a2
AS
223442012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22345
22346 [BZ #14898]
22347 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22348 Change to -1.
22349
682d0e9a
DM
223502012-12-07 David S. Miller <davem@davemloft.net>
22351
22352 * po/libc.pot: Update.
22353
573cd484
RH
223542012-12-07 Richard Henderson <rth@redhat.com>
22355
7e9da188 22356 [BZ #10114]
573cd484
RH
22357 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22358 normal/normal case to before the switch.
22359 (_FP_DIV): Likewise.
22360
e933a943
MF
223612012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22362 Mike Frysinger <vapier@gentoo.org>
22363
22364 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22365 check for __NR_fadvise64_64.
22366
82123268
CM
223672012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22368
22369 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22370 0, not just to plain "0" as a statement.
22371 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22372 with cw.
22373
d9814526
JM
223742012-12-06 Joseph Myers <joseph@codesourcery.com>
22375
22376 * NEWS: Use sourceware.org in Bugzilla URL.
22377
7728c574
SP
223782012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22379
f16946dd
SP
22380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22381 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22382
5704bbcb
SP
22383 * stdio-common/tst-put-error.c (do_test): Add newline to the
22384 padded test to ensure flush.
22385
17aa0516
JL
223862012-12-05 Jeff Law <law@redhat.com>
22387
22388 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22389
363313b5
JM
223902012-12-05 Joseph Myers <joseph@codesourcery.com>
22391
effbd42a
JM
22392 * README: Don't refer to ports add-on as distributed separately.
22393 Mention AArch64 in list of systems supported in the ports add-on.
22394
87600365
JM
22395 * LICENSES: Add more non-FSF copyright and license notices.
22396
a0d7066a
JM
22397 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22398 ((unused)).
22399
66ca5a5b
JM
22400 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22401
363313b5
JM
22402 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22403 10000 as width of padded output.
22404
b37984ad
JM
224052012-12-04 Joseph Myers <joseph@codesourcery.com>
22406
9003570a
JM
22407 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22408
b37984ad
JM
22409 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22410 variable LX with __attribute__ ((unused)).
22411 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22412 Likewise.
22413 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22414 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22415 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22416 with __attribute__ ((unused)).
22417
c8df52ec
DM
224182012-12-04 David S. Miller <davem@abraco.davemloft.net>
22419
22420 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22421
b3b099af
JM
224222012-12-04 Joseph Myers <joseph@codesourcery.com>
22423
c33aa6e3
JM
22424 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22425 (CFLAGS-nldbl-acos.c): New variable.
22426 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22427 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22428 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22429 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22430 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22431 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22432 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22433 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22434 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22435 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22436 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22437 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22438 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22439 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22440 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22441 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22442 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22443 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22444 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22445 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22446 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22447 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22448 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22449 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22450 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22451 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22452 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22453 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22454 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22455 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22456 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22457 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22458 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22459 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22460 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22461 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22462 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22463 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22464 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22465 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22466 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22467 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22468 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22469 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22470 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22471 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22472 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22473 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22474 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22475 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22476 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22477 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22478 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22479 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22480 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22481 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22482 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22483 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22484 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22485 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22486 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22487 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22488 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22489 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22490 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22491 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22492 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22493 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22494 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22495 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22496 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22497 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22498 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22499 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22500 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22501 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22502 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22503 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22504 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22505 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22506 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22507 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22508 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22509 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22510 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22511 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22512 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22513 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22514 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22515 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22516 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22517 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22518 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22519 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22520 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22521 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22522 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22523
20f0018d
JM
22524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22525 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22526
b3b099af
JM
22527 [BZ #14914]
22528 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22529 whole low double instead of just low 47 bits when splitting values
22530 into two parts.
22531
029264d1
AM
225322012-12-03 Allan McRae <allan@archlinux.org>
22533
22534 * manual/stdio.texi (Predefined Printf Handlers): Remove
22535 @hsep and @vsep usage.
22536
c9d6789e
MF
225372012-12-03 Mike Frysinger <vapier@gentoo.org>
22538
22539 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22540 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22541
4b7634a5
JL
225422012-12-03 Jeff Law <law@redhat.com>
22543
22544 * time/sys/time.h (settimeofday): Do not mark TV argument
22545 as __nonnull.
22546
eb6cbd24
MF
225472012-12-01 Mike Frysinger <vapier@gentoo.org>
22548
22549 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22550 when currently writing and seek to current position when not.
22551 * libio/Makefile (tests): Remove bug-fclose1.
22552 * libio/bug-fclose1.c: Delete.
22553
f638872a
JM
225542012-12-01 Joseph Myers <joseph@codesourcery.com>
22555
22556 * manual/arith.texi (feenableexcept): Fix typo.
22557 (fedisableexcept): Likewise.
22558
48085d14
RM
225592012-11-30 Roland McGrath <roland@hack.frob.com>
22560
22561 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22562 second, differently-typed declaration, rather than a cast.
22563
1a538b9f
SP
225642012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22565
22566 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22567 * include/rpc/svc.h: ... here.
22568
d07f2ff1 225692012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22570
22571 [BZ #13013]
22572 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22573 depending n and resplen2 to catch cases where answer
22574 equals answerp2.
22575
c93ec1f0
CD
225762012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22577
22578 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22579 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22580
37db69de
MF
225812012-11-29 Mike Frysinger <vapier@gentoo.org>
22582
22583 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22584
e10c4e4f
RM
225852012-11-29 Roland McGrath <roland@hack.frob.com>
22586
22587 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22588
2af1b328
JL
225892012-11-28 Jeff Law <law@redhat.com>
22590
22591 [BZ #13761]
22592 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22593 dataset_temporary. Track alloca usage into alloca_used.
22594 If dataset is large allocate and release it via malloc/free.
22595
111db5b1
FW
225962012-06-04 Florian Weimer <fweimer@redhat.com>
22597
f06cc227 22598 [BZ #14197]
111db5b1
FW
22599 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22600
dd694abd
DM
226012012-11-28 David S. Miller <davem@davemloft.net>
22602
22603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22604
9984dd01
JM
226052012-11-28 Joseph Myers <joseph@codesourcery.com>
22606
22607 [BZ #14803]
22608 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22609 of pi/2 rounded to nearest to 64 bits.
22610 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22611 nearest to 64 bits.
22612 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22613 bits.
22614
14bc93a9
JL
226152012-11-28 Jeff Law <law@redhat.com>
22616 Martin Osvald <mosvald@redhat.com>
22617
22618 [BZ #14889]
22619 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22620 * sunrpc/svc.c: Include time.h.
22621 (__svc_accept_failed): New function.
22622 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22623 any reason other than EINTR, call __svc_accept_failed.
22624 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22625 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22626
e3c6aa3a
AS
226272012-11-28 Andreas Schwab <schwab@suse.de>
22628
22629 * scripts/abilist.awk: Also handle indirect functions in .opd
22630 section.
22631
1bead169
JM
226322012-11-28 Joseph Myers <joseph@codesourcery.com>
22633
22634 [BZ #13881]
22635 * sysdeps/x86/fpu/powl_helper.c: New file.
22636 * sysdeps/x86/fpu/Makefile: Likewise.
22637 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22638 (p3): New object.
22639 (__ieee754_powl): Use __powl_helper for finite arguments except
22640 integer exponents below 8.
22641 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22642 (p3): New object.
22643 (__ieee754_powl): Use __powl_helper for finite arguments except
22644 integer exponents below 8.
22645 * math/libm-test.inc (pow_test): Add more tests and enable some
22646 previously disabled tests.
22647 * sysdeps/i386/fpu/libm-test-ulps: Update.
22648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22649
0817d63d
SP
226502012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22651 Carlos O'Donell <carlos_odonell@mentor.com>
22652
22653 * nss/makedb.c (is_prime): Assert that input is odd and greater
22654 than 4. Note that fact in a comment too.
22655 (next_prime): Add 4 to input.
22656
de2fd463
SP
226572012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22658
22659 [BZ #11741]
22660 * libio/Makefile (tests): Add test case tst-fwrite-error.
22661 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22662 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22663 * libio/tst-fwrite-error.c: New test case.
22664
c515fb51
L
226652012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22666
22667 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22668 before casting to void *.
22669 * include/libc-internal.h (__pointer_type): New macro.
22670 (__integer_if_pointer_type_sub): Likewise.
22671 (__integer_if_pointer_type): Likewise.
22672 (cast_to_integer): Likewise.
22673 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22674 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22675 before casting to atomic64_t.
22676 (atomic_exchange_acq): Likewise.
22677 (__arch_exchange_and_add_body): Likewise.
22678 (__arch_add_body): Likewise.
22679 (atomic_add_negative): Likewise.
22680 (atomic_add_zero): Likewise.
22681
4cf77aa9
JM
226822012-11-26 Joseph Myers <joseph@codesourcery.com>
22683
22684 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22685 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22686 (add_fdes): Likewise.
22687 (linear_search_fdes): Likewise.
22688 (binary_search_unencoded_fdes): Likewise.
22689
d260b3b4
AS
226902012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22691
22692 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22693
67060746
AC
226942012-11-24 Adam Conrad <adconrad@0c3.net>
22695
22696 * configure.in: Autodetect C++ header directories.
22697 * configure: Regenerated.
22698
800938a1
MF
226992012-11-23 Mike Frysinger <vapier@gentoo.org>
22700
22701 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22702
4e6e34e6
AS
227032012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22704
22705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22706
7c7feb47
JM
227072012-11-22 Joseph Myers <joseph@codesourcery.com>
22708
7184dcdf
JM
22709 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22710 LDBL_MANT_DIG == 106]: Disable some tests.
22711 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22712 Likewise.
22713 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22714 Likewise.
22715
0a42601f
JM
22716 [BZ #14871]
22717 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22718 input for small inputs. Return +/- pi/2 for large inputs.
22719 * math/libm-test.inc (atan_test): Add more tests.
22720
79c9b9fe
JM
22721 * sysdeps/generic/unwind-dw2-fde-glibc.c
22722 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22723 __attribute__ ((unused)).
22724
c60d3bf2
JM
22725 [BZ #14645]
22726 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22727 x * y if x and y are nonzero and z is zero.
22728
ef1e0867
JM
22729 [BZ #14811]
22730 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22731 nonzero exponents with absolute value below 0x1p-117 to +/-
22732 0x1p-117.
22733
1468ded3
JM
22734 [BZ #14869]
22735 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22736 up arguments below 2**-450, not just those below 2**-500.
22737 * math/libm-test.inc (hypot_test): Add another test.
22738
8e27e3cc
JM
22739 [BZ #14868]
22740 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22741 Return a+b for ratio over 2**120, not 2**60.
22742 * math/libm-test.inc (hypot_test): Add another test.
22743
c9c0279b
JM
22744 * math/libm-test.inc (clog_test): Use
22745 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22746 (clog10_test): Likewise.
22747
7c7feb47
JM
22748 [BZ #6778]
22749 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22750
fff1530e
AS
227512012-11-22 Andreas Schwab <schwab@suse.de>
22752
22753 * sysdeps/i386/fpu/libm-test-ulps: Update.
22754
94558d30
PT
227552012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22756
22757 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22758 printf output with newline.
22759
7e1be741
L
227602012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22761
6bfea974
L
22762 [BZ #14865]
22763 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22764 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22765 -z nodlopen, -z initfirst and -z execstack support.
22766 * configure: Regenerated.
22767
7e1be741
L
22768 * elf/elf.h (DF_1_NODIRECT): New macro.
22769 (DF_1_IGNMULDEF): Likewise.
22770 (DF_1_NOKSYMS): Likewise.
22771 (DF_1_NOHDR): Likewise.
22772 (DF_1_EDITED): Likewise.
22773 (DF_1_NORELOC): Likewise.
22774 (DF_1_SYMINTPOSE): Likewise.
22775 (DF_1_GLOBAUDIT): Likewise.
22776 (DF_1_SINGLETON): Likewise.
22777 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22778 DT_1_SUPPORTED_MASK bits.
22779 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22780
105ce2ce
CD
227812012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22782
22783 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22784
123be9de
TS
227852012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22786
d072f3f7
TS
22787 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22788 macro.
22789
123be9de
TS
22790 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22791 (sendmmsg): Move declarations...
22792 * socket/sys/socket.h: ... here.
22793 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22794 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22795 include it from...
22796 * socket/recvmmsg.c: ... this new file.
22797 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22798 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22799 definition of __sendmmsg hidden.
22800 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22801 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22802 Move ENOSYS stub into and include it from...
22803 * socket/sendmmsg.c: ... this new file.
22804 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22805 (sysdep_routines): Move recvmmsg and sendmmsg...
22806 * socket/Makefile (routines): ... here.
22807 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22808 (GLIBC_PRIVATE): Add __sendmmsg.
22809 * include/sys/socket.h (__sendmmsg): Add declarations.
22810 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22811 sendmmsg.
22812
cf9a5d18
JM
228132012-11-20 Joseph Myers <joseph@codesourcery.com>
22814
22815 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22816 variable I1 with __attribute__ ((unused)).
22817 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22818
ecd4caf9
JM
228192012-11-19 Joseph Myers <joseph@codesourcery.com>
22820
be14d48f
JM
22821 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22822 DUMMY variables with __attribute__ ((unused)).
22823
ecd4caf9
JM
22824 * bits/byteswap.h: Include <bits/types.h>.
22825 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22826
986cab95
PT
228272012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22828
22829 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22830 string_t. Do not manually set errno.
22831 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22832 length with __strnlen. Make sure to both set errno and return it on
22833 failure.
22834
6d33cc9d
DM
228352012-11-19 David S. Miller <davem@davemloft.net>
22836
22837 With help from Joseph Myers.
22838 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22839 very large arguments properly.
22840 * math/libm-test.inc (atan_test): New tests.
22841 (atan2_test): New tests.
22842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22844
ee663277
JM
228452012-11-19 Joseph Myers <joseph@codesourcery.com>
22846
877f2d8e
JM
22847 [BZ #14856]
22848 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22849 Define to 3.
22850
116fc08a
JM
22851 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22852 [POSIX] (EADDRNOTAVAIL): Likewise.
22853 [POSIX] (EAFNOSUPPORT): Likewise.
22854 [POSIX] (EALREADY): Likewise.
22855 [POSIX] (ECONNABORTED): Likewise.
22856 [POSIX] (ECONNREFUSED): Likewise.
22857 [POSIX] (ECONNRESET): Likewise.
22858 [POSIX] (EDESTADDRREQ): Likewise.
22859 [POSIX] (EDQUOT): Likewise.
22860 [POSIX] (EHOSTUNREACH): Likewise.
22861 [POSIX] (EIDRM): Likewise.
22862 [POSIX] (EISCONN): Likewise.
22863 [POSIX] (ELOOP): Likewise.
22864 [POSIX] (EMULTIHOP): Likewise.
22865 [POSIX] (ENETDOWN): Likewise.
22866 [POSIX] (ENETUNREACH): Likewise.
22867 [POSIX] (ENOBUFS): Likewise.
22868 [POSIX] (ENODATA): Likewise.
22869 [POSIX] (ENOLINK): Likewise.
22870 [POSIX] (ENOMSG): Likewise.
22871 [POSIX] (ENOPROTOOPT): Likewise.
22872 [POSIX] (ENOSR): Likewise.
22873 [POSIX] (ENOSTR): Likewise.
22874 [POSIX] (ENOTCONN): Likewise.
22875 [POSIX] (ENOTSOCK): Likewise.
22876 [POSIX] (EOPNOTSUPP): Likewise.
22877 [POSIX] (EOVERFLOW): Likewise.
22878 [POSIX] (EPROTO): Likewise.
22879 [POSIX] (EPROTONOSUPPORT): Likewise.
22880 [POSIX] (EPROTOTYPE): Likewise.
22881 [POSIX] (ESTALE): Likewise.
22882 [POSIX] (ETIME): Likewise.
22883 [POSIX] (ETXTBSY): Likewise.
22884 [POSIX] (EWOULDBLOCK): Likewise.
22885 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22886 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22887 [POSIX] (SEEK_CUR): Likewise.
22888 [POSIX] (SEEK_END): Likewise.
22889 [POSIX || UNIX98] (mode_t): Do not require.
22890 [POSIX] (off_t): Likewise.
22891 [POSIX] (pid_t): Likewise.
22892 [POSIX] (sys/stat.h): Do not allow header.
22893 [POSIX] (unistd.h): Likewise.
22894 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22895 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22896 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22897 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22898 require.
22899 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22900 sigevent): Specify elements.
22901 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22902 entry.
22903 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22904 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22905
a483863f
JM
22906 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22907 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22908 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22909 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22910 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22911 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22912 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22913 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22914 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22915 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22916 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22917 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22918 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22919 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22920 Likewise.
22921 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22922 Likewise.
22923 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22924 Likewise.
22925 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22926 Likewise.
22927 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22928 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22929 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22930 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22931 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22932 Specify lower bound on value.
22933 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22934 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22935 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22936 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22937 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22938 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22939 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22940 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22941 value.
22942 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22943 as optional.
22944 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22945 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22946 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22947 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22948 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22949 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22950 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22951 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22952 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22953 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22954 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22955 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22956 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22957 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22958 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22959 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22960 entry.
22961 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22962 optional.
22963 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22964 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22965 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22966 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22967 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22968 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22969 Likewise.
22970 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22971 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22972 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22973 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22974 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22975 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22976 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22977 as optional.
22978 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22979 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22980 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22981 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22982 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22983 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22984 specify as optional.
22985 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22986 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22987 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22988 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22989 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22990 [XPG3] (NL_LANGMAX): Likewise.
22991 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22992 [POSIX || XPG3] (NL_NMAX): Likewise.
22993 [POSIX || XPG3] (NL_SETMAX): Likewise.
22994 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22995 [XPG3] (NZERO): Likewise.
22996 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22997 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22998 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22999 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23000 (REG_ERANGE): Expect.
23001 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23002 optional-constant.
23003 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23004 Use (void) in prototype.
23005 [POSIX] (*_t): Allow.
23006 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23007 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23008 (WRDE_BADVAL): Expect.
23009
5ba924e3
JM
23010 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23011 expect.
23012 [XPG3 || XPG4] (O_RSYNC): Likewise.
23013 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23014 Likewise.
23015 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23016 [XPG3 || XPG4] (sigqueue): Likewise.
23017 [XPG3 || XPG4] (sigtimedwait): Likewise.
23018 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23019 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23020 [XPG3 || XPG4] (vsnprintf): Likewise.
23021 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23022 Likewise.
23023 [XPG3 || XPG4] (blksize_t): Likewise.
23024 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23025 Likewise.
23026 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23027 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23028 [XPG3 || XPG4] (struct itimerspec): Likewise.
23029 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23030 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23031 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23032 [XPG3 || XPG4] (clockid_t): Likewise.
23033 [XPG3 || XPG4] (timer_t): Likewise.
23034 [XPG3 || XPG4] (clock_getres): Likewise.
23035 [XPG3 || XPG4] (clock_gettime): Likewise.
23036 [XPG3 || XPG4] (clock_settime): Likewise.
23037 [XPG3 || XPG4] (nanosleep): Likewise.
23038 [XPG3 || XPG4] (timer_create): Likewise.
23039 [XPG3 || XPG4] (timer_delete): Likewise.
23040 [XPG3 || XPG4] (timer_gettime): Likewise.
23041 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23042 [XPG3 || XPG4] (timer_settime): Likewise.
23043 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23044 [XPG3 || XPG4] (getlogin_r): Likewise.
23045 [XPG3 || XPG4] (pread): Likewise.
23046 [XPG3 || XPG4] (pthread_atfork): Likewise.
23047 [XPG3 || XPG4] (pwrite): Likewise.
23048
ee663277
JM
23049 [BZ #14835]
23050 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23051 <bits/siginfo.h>.
23052
942caa16
PT
230532012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23054
e19af380
PT
23055 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23056 finalizing MALLSTREAM.
23057
942caa16
PT
23058 * sysdeps/mach/hurd/syncfs.c: New file.
23059
cfde9b46
SP
230602012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23061
23062 [BZ #14719]
23063 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23064 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23065 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23066 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23067 (_nss_dns_gethostbyname4_r): Likewise.
23068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23069 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23070
f6da27e5
PH
230712012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23072
23073 [BZ #13763]
23074 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23075
6665d4a2
SM
230762012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23077
1f51ee92
SM
23078 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23079 * elf/cache.c (print_entry): Print ",AArch64" for
23080 FLAG_AARCH64_LIB64
23081
6665d4a2
SM
23082 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23083 * elf/cache.c (print_entry): Print ",hard-float" for
23084 FLAG_ARM_LIBHF.
23085
05b227bd
DM
230862012-11-18 David S. Miller <davem@davemloft.net>
23087
23088 With help from Joseph Myers.
23089 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23090 cutoff to 2**-13.
23091 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23092 cutoff to 2**-25.
23093 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23094 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23095 small.
23096 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23097 * math/libm-test.inc (y0_test): New tests.
23098 (y1_test): New tests.
23099 * sysdeps/i386/fpu/libm-test-ulps: Update.
23100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23102
786b0b67
AS
231032012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23104
23105 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23106 64-bit targets.
23107 * configure: Regenerated.
23108
8e18b86d
DM
231092012-11-17 David S. Miller <davem@davemloft.net>
23110
23111 [BZ #14811]
23112 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23113 nonzero exponents with absolute value below 0x1p-128 to +/-
23114 0x1p-128.
23115
531f1ae0
JM
231162012-11-17 Joseph Myers <joseph@codesourcery.com>
23117
12df29e2
JM
23118 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23119
150dc1a0
JM
23120 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23121
531f1ae0
JM
23122 * posix/getconf-speclist.c: New file.
23123 * posix/posix-envs.def: Likewise.
23124 * posix/confstr.c (START_ENV_GROUP): New macro.
23125 (END_ENV_GROUP): Likewise.
23126 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23127 (KNOWN_PRESENT_ENV_STRING): Likewise.
23128 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23129 (UNKNOWN_ENVIRONMENT): Likewise.
23130 (confstr): Include posix-envs.def instead of handling
23131 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23132 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23133 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23134 (END_ENV_GROUP): Likewise.
23135 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23136 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23137 (UNKNOWN_ENVIRONMENT): Likewise.
23138 (__sysconf): Include posix-envs.def instead of handling associated
23139 cases directly here.
23140 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23141 preprocessing getconf-speclist.c rather than running getconf or
23142 generating empty file.
23143
a93f9cbc
PT
231442012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23145
23146 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23147
d64d9f87
AL
231482012-11-16 Andrej Lajovic <natrij@gmail.com>
23149
23150 [BZ #14672]
23151 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23152
447885eb
DM
231532012-11-16 David S. Miller <davem@davemloft.net>
23154
23155 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23156 smaller than LDBL_EPSILON/2.0L, just return xm1.
23157
bcbf9830
L
231582012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23159
23160 * elf/tst-array1.c (init): Set constructor priority to 1000.
23161 (fini): Set destructor priority to 1000.
23162 * elf/tst-array2dep.c: Likewise.
23163
2b766585
SP
231642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23165
23166 [BZ #11741]
23167 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23168 (_IO_new_file_xsputn): Also return EOF if none of the input
23169 data was written when overflow failed.
23170 * libio/iopadn.c (_IO_padn): Likewise.
23171 * libio/iowpadn.c (_IO_wpadn): Likewise.
23172 * stdio-common/tst-put-error.c: Add copyright notice.
23173 (do_test): Add case for printing padded string.
23174 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23175 _IO_padn returned error.
23176 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23177 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23178 return EOF.
23179
b1848fde
SP
231802012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23181
23182 * libio/libioP.h: Add comment note that the references to C++
23183 bits are now obsolete.
23184
2fd89785
MS
231852012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23186
23187 * math/libm-test.inc (check_complex): Use asprintf.
23188
e3ea5409
JM
231892012-11-14 Joseph Myers <joseph@codesourcery.com>
23190
23191 * debug/pcprofiledump.c (print_version): Update copyright year.
23192 * malloc/memusagestat.c (print_version): Likewise.
23193
2e64d265
L
231942012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23195
23196 [BZ #14831]
23197 * elf/Makefile (tests): Add tst-audit8.
23198 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23199 ($(objpfx)tst-audit8.out): New target.
23200 (tst-audit8-ENV): New variable.
23201 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23202 audit if l_reloc_result is NULL.
23203 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23204 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23205 * elf/tst-audit8.c: New file.
23206
c485e4d2
MS
232072012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23208
23209 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23210 * misc/Makefile (CFLAGS-select.c): Define.
23211 * posix/Makefile (CFLAGS-pause.c): Define.
23212
3a0d900a
DM
232132012-11-13 David S. Miller <davem@davemloft.net>
23214
23215 * crypt/Makefile: Move test targets after toplevel Rules
23216 inclusion. Grab any necessary sysdep routines when linking.
23217 * crypt/md5.c (md5_process_block): Remove define, we will always
23218 name it __md5_process_block.
23219 (md5_finish_ctx): Update md5_process_block call.
23220 (md5_stream): Likewise.
23221 (md5_process_bytes): Likewise.
23222 (md5_process_block): Rename to __md5_process_block and move to ...
23223 * crypt/md5-block.c: ... here.
23224 * crypt/sha256.c (sha256_process_block): Move to ...
23225 * crypt/sha256-block.c: ... here.
23226 * crypt/sha512.c (sha512_process_block): Move to ...
23227 * crypt/sha512-block.c: ... here.
23228 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23229 path.
23230 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23231 * sysdeps/sparc/sparc64/multiarch/Makefile
23232 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23233 crypt subdir.
23234 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23235 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23236 multiarch changes.
23237 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23238 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23239 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23240 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23241 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23242 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23243 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23244 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23245 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23246 file.
23247 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23248 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23249 file.
23250 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23251
8ca89318
JM
232522012-11-13 Joseph Myers <joseph@codesourcery.com>
23253
e27d476a
JM
23254 * timezone/tzselect.ksh: Update from tzcode git revision
23255 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23256 * timezone/zdump.c: Likewise.
23257 * timezone/zic.c: Likewise.
23258 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23259 in TZVERSION setting, not $(PKGVERSION).
23260 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23261 REPORT_BUGS_TO settings.
23262
8ca89318
JM
23263 [BZ #14838]
23264 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23265 macro.
23266
47594329
MS
232672012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23268
23269 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23270 detection to immediately after _FP_ROUND().
23271 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23272 bits are 0.
23273
640ac3f1
DM
232742012-11-11 David S. Miller <davem@davemloft.net>
23275
23276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23277 inttypes.h
23278 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23279 __close rather than their public counterparts.
23280
3d2577bb
JM
232812012-11-10 Joseph Myers <joseph@codesourcery.com>
23282
23283 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23284 file.
23285 [UNIX98] (sem_timedwait): Do not expect.
23286 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23287 [XPG4 || UNIX98] (sockatmark): Do not expect.
23288 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23289 (clock_getcpuclockid): Do not expect.
23290 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23291 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23292 Do not expect.
23293 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23294 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23295 [UNIX98] (vwscanf): Likewise.
23296 [UNIX98] (vswscanf): Likewise.
23297
fb1ae1ee
JM
232982012-11-09 Joseph Myers <joseph@codesourcery.com>
23299
9ec6f8bd
JM
23300 * timezone/version.h: Remove file.
23301 * timezone/README: Do not refer to version.h.
23302 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23303 $(objpfx)version.h.
23304 ($(objpfx)zdump.o): Likewise.
c3f81911 23305 ($(objpfx)version.h): New target.
9ec6f8bd 23306
0aa8f8a1
JM
23307 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23308 2012i.
23309 * timezone/README: Don't mention modification to tzselect.ksh.
23310 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23311 work on unmodified tzselect.ksh. Substitute version numbers in
23312 tzselect.ksh.
23313
4e87147f
JM
23314 * Makefile (format-me): Remove.
23315 (INSTALL): Adjust indentation. Use commands directly instead of
23316 using $(format-me).
23317
8b748aed
JM
23318 * aclocal.m4 (ACX_PKGVERSION): New macro.
23319 (ACX_BUGURL): Likewise.
23320 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23321 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23322 (REPORT_BUGS_TO): Likewise.
23323 * configure: Regenerated.
23324 * config.h.in (PKGVERSION): New macro.
23325 (REPORT_BUGS_TO): Likewise.
23326 * config.make.in (PKGVERSION): New variable.
23327 (PKGVERSION_TEXI): Likewise.
23328 (REPORT_BUGS_TO): Likewise.
23329 (REPORT_BUGS_TEXI): Likewise.
23330 * Makefile (format-me): Use -I$(common-objpfx)manual.
23331 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23332 ($(common-objpfx)manual/%): New target.
23333 (manual/%): Remove target.
23334 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23335 (print_version): Use PKGVERSION.
23336 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23337 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23338 and REPORT_BUGS_TO.
23339 ($(objpfx)xtrace): Likewise.
23340 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23341 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23342 (print_version): Use PKGVERSION.
23343 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23344 (do_version): Use PKGVERSION.
23345 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23346 REPORT_BUGS_TO.
23347 (common-ldd-rewrite): Likewise.
23348 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23349 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23350 (print_version): Use PKGVERSION.
23351 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23352 * elf/pldd.c (argp_program_bug_address): Remove variable.
23353 (more_help): New function.
23354 (argp): Use more_help.
23355 (print_version): Use PKGVERSION.
23356 * elf/sln.c (main): Use PKGVERSION.
23357 (usage): Use REPORT_BUGS_TO.
23358 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23359 (top level): Use PKGVERSION.
23360 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23361 (print_version): Use PKGVERSION.
23362 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23363 (print_version): Use PKGVERSION.
23364 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23365 (print_version): Use PKGVERSION.
23366 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23367 (print_version): Use PKGVERSION.
23368 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23369 (print_version): Use PKGVERSION.
23370 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23371 (print_version): Use PKGVERSION.
23372 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23373 and BUGURL.
23374 ($(objpfx)memusage): Likewise.
23375 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23376 (do_version): Use PKGVERSION.
23377 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23378 (print_version): Use PKGVERSION.
23379 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23380 ($PKGVERSION): New variable.
23381 ($REPORT_BUGS_TO): Likewise.
23382 (usage): Use $REPORT_BUGS_TO.
23383 (top level): Use $PKGVERSION.
23384 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23385 ($(objpfx)pkgvers.texi): New rule.
23386 ($(objpfx)stamp-pkgvers): Likewise.
23387 * manual/install.texi: Include pkgvers.texi.
23388 (--with-pkgversion): Document new configure option.
23389 (--with-bugurl): Likewise.
23390 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23391 than necessarily for this particular distribution. Use
23392 REPORT_BUGS_TO for where to report bugs.
23393 * INSTALL: Regenerated.
23394 * manual/libc.texinfo: Include pkgvers.texi.
23395 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23396 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23397 (print_version): Use PKGVERSION.
23398 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23399 (print_version): Use PKGVERSION.
23400 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23401 (print_version): Use PKGVERSION.
23402 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23403 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23404 macro.
23405 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23406 (print_version): Use PKGVERSION.
23407 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23408 (print_version): Use PKGVERSION.
23409 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23410 and PKGVERSION.
23411
92e4b6a9
JM
23412 * timezone/checktab.awk: Update from tzcode 2012i.
23413 * timezone/ialloc.c: Likewise.
23414 * timezone/private.h: Likewise.
23415 * timezone/scheck.c: Likewise.
23416 * timezone/tzfile.h: Likewise.
23417 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23418 (TZVERSION): Hardcode tzcode version number.
23419 * timezone/zdump.c: Update from tzcode 2012i.
23420 * timezone/zic.c: Likewise.
23421 * timezone/version.h: New file.
23422 * timezone/README: Describe version.h. Update upstream location.
23423
9bde902c
JM
23424 [BZ #14824]
23425 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23426 (mktemp): Enable declaration.
23427 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23428 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23429 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23431 Likewise.
23432 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23433 Likewise.
23434 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23435 Likewise.
23436 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23437 Likewise.
23438 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23439 Likewise.
23440 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23441 Likewise.
23442
fb1ae1ee
JM
23443 [BZ #14821]
23444 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23445 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23446 for copies of such integer values.
23447 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23448 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23449
2c1adbcb
AJ
234502012-11-09 Andreas Jaeger <aj@suse.de>
23451
23452 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23453 definitions and declarations that are provided by
23454 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23455
d0f8457e
AK
234562012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23457
3a235abb 23458 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
23459 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23460 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23461 definition.
23462
57241e26
MS
234632012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23464
23465 * elf/elf.h: Update comment before AArch64 relocations.
23466
60e8270d
DM
234672012-11-07 David S. Miller <davem@davemloft.net>
23468
23469 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23470 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23471 (__start_context): Declare.
23472 (__makecontext_ret): Delete.
23473 (__makecontext): Hook up __start_context instead of
23474 __makecontext_ret.
23475 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23476 (sysdep_routines): Add __start_context when in stdlib.
23477
0fbb0fbc
JM
234782012-11-07 Joseph Myers <joseph@codesourcery.com>
23479
23480 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23481 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23482 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23483 hardcoded "nm".
23484 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23485 (READELF): New variable. Use it instead of hardcoded "readelf".
23486
eb48db7e
L
234872012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23488
23489 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23490 * sysdeps/x86/Makefile: Here.
23491 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23492 * sysdeps/x86/tst-xmmymm.sh: This.
23493
05bcf62a
JM
234942012-11-07 Joseph Myers <joseph@codesourcery.com>
23495
c4b6cf53
JM
23496 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23497 expectations.
23498 [UNIX98] (pthread_barrier_t): Do not expect.
23499 [UNIX98] (pthread_barrierattr_t): Likewise.
23500 [UNIX98] (pthread_spinlock_t): Likewise.
23501 [UNIX98] (pthread_barrier_destroy): Likewise.
23502 [UNIX98] (pthread_barrier_init): Likewise.
23503 [UNIX98] (pthread_barrier_wait): Likewise.
23504 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23505 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23506 [UNIX98] (pthread_barrierattr_init): Likewise.
23507 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23508 [UNIX98] (pthread_getcpuclockid): Likewise.
23509 [UNIX98] (pthread_mutex_timedlock): Likewise.
23510 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23511 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23512 [UNIX98] (pthread_sigmask): Likewise.
23513 [UNIX98] (pthread_spin_destroy): Likewise.
23514 [UNIX98] (pthread_spin_init): Likewise.
23515 [UNIX98] (pthread_spin_lock): Likewise.
23516 [UNIX98] (pthread_spin_trylock): Likewise.
23517 [UNIX98] (pthread_spin_unlock): Likewise.
23518 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23519 Do not expect.
23520 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23521 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23522 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23523 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23524 [XPG3 || XPG4] (pthread_key_t): Likewise.
23525 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23526 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23527 [XPG3 || XPG4] (pthread_once_t): Likewise.
23528 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23529 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23530 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23531 [XPG3 || XPG4] (pthread_t): Likewise.
23532
cbe6e120
JM
23533 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23534 not expect.
23535 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23536
1b126443
JM
23537 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23538 Change function return type to int.
23539
b961a573
JM
23540 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23541 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23542 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23543 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23544 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23545 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23546 [!POSIX] (posix_madvise): Likewise.
23547 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23548 && !UNIX98].
23549 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23550 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23551 (mode_t): Likewise.
23552 (posix_mem_offset): Likewise.
23553 (posix_typed_mem_get_info): Likewise.
23554 (posix_typed_mem_open): Likewise.
23555
9e188909
JM
23556 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23557 Change condition to [XOPEN2K8].
23558
05bcf62a
JM
23559 * conform/conformtest.pl: Preprocess allow-header data with -x c
23560 instead of from stdin.
23561 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23562 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23563 [C99-based standards] (cerfc): Likewise.
23564 [C99-based standards] (cexp2): Likewise.
23565 [C99-based standards] (cexpm1): Likewise.
23566 [C99-based standards] (clog10): Likewise.
23567 [C99-based standards] (clog1p): Likewise.
23568 [C99-based standards] (clog2): Likewise.
23569 [C99-based standards] (clgamma): Likewise.
23570 [C99-based standards] (ctgamma): Likewise.
23571 [C99-based standards] (cerff): Likewise.
23572 [C99-based standards] (cerfcf): Likewise.
23573 [C99-based standards] (cexp2f): Likewise.
23574 [C99-based standards] (cexpm1f): Likewise.
23575 [C99-based standards] (clog10f): Likewise.
23576 [C99-based standards] (clog1pf): Likewise.
23577 [C99-based standards] (clog2f): Likewise.
23578 [C99-based standards] (clgammaf): Likewise.
23579 [C99-based standards] (ctgammaf): Likewise.
23580 [C99-based standards] (cerfl): Likewise.
23581 [C99-based standards] (cerfcl): Likewise.
23582 [C99-based standards] (cexp2l): Likewise.
23583 [C99-based standards] (cexpm1l): Likewise.
23584 [C99-based standards] (clog10l): Likewise.
23585 [C99-based standards] (clog1pl): Likewise.
23586 [C99-based standards] (clog2l): Likewise.
23587 [C99-based standards] (clgammal): Likewise.
23588 [C99-based standards] (ctgammal): Likewise.
23589 * conform/data/inttypes.h-data [C99-based standards]: Include
23590 stdint.h-data. Remove all expectations for stdint.h contents.
23591 [C99-based standards] (PRI*): Do not allow.
23592 [C99-based standards] (SCN*): Likewise.
23593 [C99-based standards] (*_t): Likewise.
23594 [C99-based-standards] (PRId8): Expect macro.
23595 [C99-based-standards] (PRIi8): Likewise.
23596 [C99-based-standards] (PRIo8): Likewise.
23597 [C99-based-standards] (PRIu8): Likewise.
23598 [C99-based-standards] (PRIx8): Likewise.
23599 [C99-based-standards] (PRIX8): Likewise.
23600 [C99-based-standards] (SCNd8): Likewise.
23601 [C99-based-standards] (SCNi8): Likewise.
23602 [C99-based-standards] (SCNo8): Likewise.
23603 [C99-based-standards] (SCNu8): Likewise.
23604 [C99-based-standards] (SCNx8): Likewise.
23605 [C99-based-standards] (PRIdLEAST8): Likewise.
23606 [C99-based-standards] (PRIiLEAST8): Likewise.
23607 [C99-based-standards] (PRIoLEAST8): Likewise.
23608 [C99-based-standards] (PRIuLEAST8): Likewise.
23609 [C99-based-standards] (PRIxLEAST8): Likewise.
23610 [C99-based-standards] (PRIXLEAST8): Likewise.
23611 [C99-based-standards] (SCNdLEAST8): Likewise.
23612 [C99-based-standards] (SCNiLEAST8): Likewise.
23613 [C99-based-standards] (SCNoLEAST8): Likewise.
23614 [C99-based-standards] (SCNuLEAST8): Likewise.
23615 [C99-based-standards] (SCNxLEAST8): Likewise.
23616 [C99-based-standards] (PRIdFAST8): Likewise.
23617 [C99-based-standards] (PRIiFAST8): Likewise.
23618 [C99-based-standards] (PRIoFAST8): Likewise.
23619 [C99-based-standards] (PRIuFAST8): Likewise.
23620 [C99-based-standards] (PRIxFAST8): Likewise.
23621 [C99-based-standards] (PRIXFAST8): Likewise.
23622 [C99-based-standards] (SCNdFAST8): Likewise.
23623 [C99-based-standards] (SCNiFAST8): Likewise.
23624 [C99-based-standards] (SCNoFAST8): Likewise.
23625 [C99-based-standards] (SCNuFAST8): Likewise.
23626 [C99-based-standards] (SCNxFAST8): Likewise.
23627 [C99-based-standards] (PRId16): Likewise.
23628 [C99-based-standards] (PRIi16): Likewise.
23629 [C99-based-standards] (PRIo16): Likewise.
23630 [C99-based-standards] (PRIu16): Likewise.
23631 [C99-based-standards] (PRIx16): Likewise.
23632 [C99-based-standards] (PRIX16): Likewise.
23633 [C99-based-standards] (SCNd16): Likewise.
23634 [C99-based-standards] (SCNi16): Likewise.
23635 [C99-based-standards] (SCNo16): Likewise.
23636 [C99-based-standards] (SCNu16): Likewise.
23637 [C99-based-standards] (SCNx16): Likewise.
23638 [C99-based-standards] (PRIdLEAST16): Likewise.
23639 [C99-based-standards] (PRIiLEAST16): Likewise.
23640 [C99-based-standards] (PRIoLEAST16): Likewise.
23641 [C99-based-standards] (PRIuLEAST16): Likewise.
23642 [C99-based-standards] (PRIxLEAST16): Likewise.
23643 [C99-based-standards] (PRIXLEAST16): Likewise.
23644 [C99-based-standards] (SCNdLEAST16): Likewise.
23645 [C99-based-standards] (SCNiLEAST16): Likewise.
23646 [C99-based-standards] (SCNoLEAST16): Likewise.
23647 [C99-based-standards] (SCNuLEAST16): Likewise.
23648 [C99-based-standards] (SCNxLEAST16): Likewise.
23649 [C99-based-standards] (PRIdFAST16): Likewise.
23650 [C99-based-standards] (PRIiFAST16): Likewise.
23651 [C99-based-standards] (PRIoFAST16): Likewise.
23652 [C99-based-standards] (PRIuFAST16): Likewise.
23653 [C99-based-standards] (PRIxFAST16): Likewise.
23654 [C99-based-standards] (PRIXFAST16): Likewise.
23655 [C99-based-standards] (SCNdFAST16): Likewise.
23656 [C99-based-standards] (SCNiFAST16): Likewise.
23657 [C99-based-standards] (SCNoFAST16): Likewise.
23658 [C99-based-standards] (SCNuFAST16): Likewise.
23659 [C99-based-standards] (SCNxFAST16): Likewise.
23660 [C99-based-standards] (PRId32): Likewise.
23661 [C99-based-standards] (PRIi32): Likewise.
23662 [C99-based-standards] (PRIo32): Likewise.
23663 [C99-based-standards] (PRIu32): Likewise.
23664 [C99-based-standards] (PRIx32): Likewise.
23665 [C99-based-standards] (PRIX32): Likewise.
23666 [C99-based-standards] (SCNd32): Likewise.
23667 [C99-based-standards] (SCNi32): Likewise.
23668 [C99-based-standards] (SCNo32): Likewise.
23669 [C99-based-standards] (SCNu32): Likewise.
23670 [C99-based-standards] (SCNx32): Likewise.
23671 [C99-based-standards] (PRIdLEAST32): Likewise.
23672 [C99-based-standards] (PRIiLEAST32): Likewise.
23673 [C99-based-standards] (PRIoLEAST32): Likewise.
23674 [C99-based-standards] (PRIuLEAST32): Likewise.
23675 [C99-based-standards] (PRIxLEAST32): Likewise.
23676 [C99-based-standards] (PRIXLEAST32): Likewise.
23677 [C99-based-standards] (SCNdLEAST32): Likewise.
23678 [C99-based-standards] (SCNiLEAST32): Likewise.
23679 [C99-based-standards] (SCNoLEAST32): Likewise.
23680 [C99-based-standards] (SCNuLEAST32): Likewise.
23681 [C99-based-standards] (SCNxLEAST32): Likewise.
23682 [C99-based-standards] (PRIdFAST32): Likewise.
23683 [C99-based-standards] (PRIiFAST32): Likewise.
23684 [C99-based-standards] (PRIoFAST32): Likewise.
23685 [C99-based-standards] (PRIuFAST32): Likewise.
23686 [C99-based-standards] (PRIxFAST32): Likewise.
23687 [C99-based-standards] (PRIXFAST32): Likewise.
23688 [C99-based-standards] (SCNdFAST32): Likewise.
23689 [C99-based-standards] (SCNiFAST32): Likewise.
23690 [C99-based-standards] (SCNoFAST32): Likewise.
23691 [C99-based-standards] (SCNuFAST32): Likewise.
23692 [C99-based-standards] (SCNxFAST32): Likewise.
23693 [C99-based-standards] (PRId64): Likewise.
23694 [C99-based-standards] (PRIi64): Likewise.
23695 [C99-based-standards] (PRIo64): Likewise.
23696 [C99-based-standards] (PRIu64): Likewise.
23697 [C99-based-standards] (PRIx64): Likewise.
23698 [C99-based-standards] (PRIX64): Likewise.
23699 [C99-based-standards] (SCNd64): Likewise.
23700 [C99-based-standards] (SCNi64): Likewise.
23701 [C99-based-standards] (SCNo64): Likewise.
23702 [C99-based-standards] (SCNu64): Likewise.
23703 [C99-based-standards] (SCNx64): Likewise.
23704 [C99-based-standards] (PRIdLEAST64): Likewise.
23705 [C99-based-standards] (PRIiLEAST64): Likewise.
23706 [C99-based-standards] (PRIoLEAST64): Likewise.
23707 [C99-based-standards] (PRIuLEAST64): Likewise.
23708 [C99-based-standards] (PRIxLEAST64): Likewise.
23709 [C99-based-standards] (PRIXLEAST64): Likewise.
23710 [C99-based-standards] (SCNdLEAST64): Likewise.
23711 [C99-based-standards] (SCNiLEAST64): Likewise.
23712 [C99-based-standards] (SCNoLEAST64): Likewise.
23713 [C99-based-standards] (SCNuLEAST64): Likewise.
23714 [C99-based-standards] (SCNxLEAST64): Likewise.
23715 [C99-based-standards] (PRIdFAST64): Likewise.
23716 [C99-based-standards] (PRIiFAST64): Likewise.
23717 [C99-based-standards] (PRIoFAST64): Likewise.
23718 [C99-based-standards] (PRIuFAST64): Likewise.
23719 [C99-based-standards] (PRIxFAST64): Likewise.
23720 [C99-based-standards] (PRIXFAST64): Likewise.
23721 [C99-based-standards] (SCNdFAST64): Likewise.
23722 [C99-based-standards] (SCNiFAST64): Likewise.
23723 [C99-based-standards] (SCNoFAST64): Likewise.
23724 [C99-based-standards] (SCNuFAST64): Likewise.
23725 [C99-based-standards] (SCNxFAST64): Likewise.
23726 [C99-based-standards] (PRIdMAX): Likewise.
23727 [C99-based-standards] (PRIiMAX): Likewise.
23728 [C99-based-standards] (PRIoMAX): Likewise.
23729 [C99-based-standards] (PRIuMAX): Likewise.
23730 [C99-based-standards] (PRIxMAX): Likewise.
23731 [C99-based-standards] (PRIXMAX): Likewise.
23732 [C99-based-standards] (SCNdMAX): Likewise.
23733 [C99-based-standards] (SCNiMAX): Likewise.
23734 [C99-based-standards] (SCNoMAX): Likewise.
23735 [C99-based-standards] (SCNuMAX): Likewise.
23736 [C99-based-standards] (SCNxMAX): Likewise.
23737 [C99-based-standards] (PRIdPTR): Likewise.
23738 [C99-based-standards] (PRIiPTR): Likewise.
23739 [C99-based-standards] (PRIoPTR): Likewise.
23740 [C99-based-standards] (PRIuPTR): Likewise.
23741 [C99-based-standards] (PRIxPTR): Likewise.
23742 [C99-based-standards] (PRIXPTR): Likewise.
23743 [C99-based-standards] (SCNdPTR): Likewise.
23744 [C99-based-standards] (SCNiPTR): Likewise.
23745 [C99-based-standards] (SCNoPTR): Likewise.
23746 [C99-based-standards] (SCNuPTR): Likewise.
23747 [C99-based-standards] (SCNxPTR): Likewise.
23748 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23749 allow.
23750 * conform/data/stdint.h-data: Update comments to clarify
23751 requirements.
23752 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23753 type.
23754 [C99-based standards] (INT8_MAX): Likewise.
23755 [C99-based standards] (INT16_MIN): Likewise.
23756 [C99-based standards] (INT16_MAX): Likewise.
23757 [C99-based standards] (INT32_MIN): Likewise.
23758 [C99-based standards] (INT32_MAX): Likewise.
23759 [C99-based standards] (INT64_MIN): Likewise.
23760 [C99-based standards] (INT64_MAX): Likewise.
23761 [C99-based standards] (UINT8_MAX): Likewise.
23762 [C99-based standards] (UINT16_MAX): Likewise.
23763 [C99-based standards] (UINT32_MAX): Likewise.
23764 [C99-based standards] (UINT64_MAX): Likewise.
23765 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23766 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23767 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23768 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23769 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23770 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23771 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23772 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23773 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23774 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23775 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23776 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23777 [C99-based standards] (INT_FAST8_MIN): Likewise.
23778 [C99-based standards] (INT_FAST8_MAX): Likewise.
23779 [C99-based standards] (INT_FAST16_MIN): Likewise.
23780 [C99-based standards] (INT_FAST16_MAX): Likewise.
23781 [C99-based standards] (INT_FAST32_MIN): Likewise.
23782 [C99-based standards] (INT_FAST32_MAX): Likewise.
23783 [C99-based standards] (INT_FAST64_MIN): Likewise.
23784 [C99-based standards] (INT_FAST64_MAX): Likewise.
23785 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23786 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23787 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23788 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23789 [C99-based standards] (INTPTR_MIN): Likewise.
23790 [C99-based standards] (INTPTR_MAX): Likewise.
23791 [C99-based standards] (UINTPTR_MAX): Likewise.
23792 [C99-based standards] (INTMAX_MIN): Likewise.
23793 [C99-based standards] (INTMAX_MAX): Likewise.
23794 [C99-based standards] (UINTMAX_MAX): Likewise.
23795 [C99-based standards] (PTRDIFF_MIN): Likewise.
23796 [C99-based standards] (PTRDIFF_MAX): Likewise.
23797 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23798 [C99-based standards] (SIZE_MAX): Likewise.
23799 [C99-based standards] (WCHAR_MAX): Likewise.
23800 [C99-based standards] (WINT_MAX): Likewise.
23801 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23802 constraint on value.
23803 [C99-based standards] (WCHAR_MIN): Likewise.
23804 [C99-based standards] (WINT_MIN): Likewise.
23805 [C99-based standards] (*_t): Allow.
23806 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23807 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23808 Include math.h-data and complex.h-data. Remove all expectations
23809 of math.h and complex.h contents.
23810 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23811 at end of line.
23812 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23813 (struct tm): Expect tag.
23814 [C99-based-standards] (wcstof): Expect function.
23815 [C99-based-standards] (wcstold): Likewise.
23816 [C99-based-standards] (wcstoll): Likewise.
23817 [C99-based-standards] (wcstoull): Likewise.
23818 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23819 macro-int-constant. Specify type.
23820 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23821 constraint on value.
23822 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23823 Specify type.
23824 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23825 Specify value.
23826 [ISO C standards]: Do not allow headers.
23827 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23828 wcs[abcdefghijklmnopqrstuvwxyz]*.
23829 [ISO C standards] (*_t): Do not allow.
23830 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23831 Expect function.
23832 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23833 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23834 Specify type.
23835 [ISO C standards]: Do not allow headers.
23836 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23837 is[abcdefghijklmnopqrstuvwxyz]*.
23838 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23839 to[abcdefghijklmnopqrstuvwxyz]*.
23840 [ISO C standards] (*_t): Do not allow.
23841 * conform/data/stdalign.h-data: New file.
23842 * conform/data/stdbool.h-data: Likewise.
23843 * conform/data/stdnoreturn.h-data: Likewise.
23844
7514feb8
RM
238452012-11-07 Roland McGrath <roland@hack.frob.com>
23846
23847 [BZ #14815]
23848 * manual/filesys.texi (Directory Entries): Typo fix.
23849 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23850
19b2ecfc
MS
238512012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23852
23853 * elf/elf.h (EM_AARCH64): New macro.
23854 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23855 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23856 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23857 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23858 (R_AARCH64_TLSDESC): Likewise.
23859 (NT_ARM_TLS): Likewise.
23860 (NT_ARM_HW_BREAK): Likewise.
23861 (NT_ARM_HW_WATCH): Likewise.
23862
60e235ee
JM
238632012-11-07 Joseph Myers <joseph@codesourcery.com>
23864
23865 [BZ #14811]
23866 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23867 (__ieee754_powl): Saturate nonzero exponents with absolute value
23868 below 0x1p-79 to +/- 0x1p-79.
23869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23870 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23871 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23872 nonzero exponents with absolute value below 0x1p-32 to +/-
23873 0x1p-32.
23874 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23875 (__ieee754_powl): Saturate nonzero exponents with absolute value
23876 below 0x1p-79 to +/- 0x1p-79.
23877 * math/libm-test.inc (pow_test): Add more tests.
23878
0ab234b7
AK
238792012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23880
23881 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23882 _dl_s390_cap_flags with kernel. Increase string length.
23883 (_dl_s390_platforms): Add z196 and zEC12.
23884
45832f74
JM
238852012-11-07 Joseph Myers <joseph@codesourcery.com>
23886
23887 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23888 Change XOPEN21K to XOPEN2K.
23889
19218757
MK
238902012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23891
23892 * string/memmove.c: Use memcpy when possible.
23893
c5f45721
AJ
238942012-11-06 Andreas Jaeger <aj@suse.de>
23895
23896 * po/eo.po: Update from translation team.
23897
82477c28
JM
238982012-11-06 Joseph Myers <joseph@codesourcery.com>
23899
23900 [BZ #14793]
23901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23902 exponent and small x and y exponents, scale x or y up. Increase
23903 by 2 the exponent used in scaling up.
23904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23905 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23906 * math/libm-test.inc (fma_test): Add more tests.
23907 (fma_test_towardzero): Likewise.
23908 (fma_test_downward): Likewise.
23909 (fma_test_upward): Likewise.
23910
99252c8c
JM
239112012-11-05 Joseph Myers <joseph@codesourcery.com>
23912
acfa885f
JM
23913 [BZ #14805]
23914 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23915 fenv_t *.
23916
99252c8c
JM
23917 [BZ #14801]
23918 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23919 namespace for names of struct fields.
23920 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23921 fenv_t fields.
23922 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23923 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23924
d6d98dea
ST
239252012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23926
23927 [BZ #3665]
23928 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23929
e10bb107
TS
239302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23931
23932 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23933 PTR_DEMANGLE.
23934
23935 [BZ #5246]
23936 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23937 PTR_DEMANGLE.
23938
a0c2940d
JM
239392012-11-04 Joseph Myers <joseph@codesourcery.com>
23940
23941 [BZ #14797]
23942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23943 definitely overflow as x * y not x * y + z.
23944 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23945 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23946 * math/libm-test.inc (fma_test): Add more tests.
23947 (fma_test_towardzero): Likewise.
23948 (fma_test_downward): Likewise.
23949 (fma_test_upward): Likewise.
23950
b830319d
TS
239512012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23952
23953 [BZ #157]
23954
23955 * include/stub-tag.h: Remove file.
23956 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23957 '#include' of it.
23958 * manual/maint.texi (Porting): Don't reference it.
23959 * Makerules ($(objpfx)stubs): Likewise.
23960 * dirent/closedir.c: Don't include <stub-tag.h>.
23961 * dirent/dirfd.c: Likewise.
23962 * dirent/fdopendir.c: Likewise.
23963 * dirent/getdents.c: Likewise.
23964 * dirent/getdents64.c: Likewise.
23965 * dirent/opendir.c: Likewise.
23966 * dirent/readdir.c: Likewise.
23967 * dirent/readdir64.c: Likewise.
23968 * dirent/readdir64_r.c: Likewise.
23969 * dirent/readdir_r.c: Likewise.
23970 * dirent/rewinddir.c: Likewise.
23971 * dirent/seekdir.c: Likewise.
23972 * dirent/telldir.c: Likewise.
23973 * gmon/profil.c: Likewise.
23974 * grp/setgroups.c: Likewise.
23975 * inet/if_index.c: Likewise.
23976 * io/access.c: Likewise.
23977 * io/chdir.c: Likewise.
23978 * io/chmod.c: Likewise.
23979 * io/chown.c: Likewise.
23980 * io/close.c: Likewise.
23981 * io/dup.c: Likewise.
23982 * io/dup2.c: Likewise.
23983 * io/dup3.c: Likewise.
23984 * io/euidaccess.c: Likewise.
23985 * io/faccessat.c: Likewise.
23986 * io/fchdir.c: Likewise.
23987 * io/fchmod.c: Likewise.
23988 * io/fchmodat.c: Likewise.
23989 * io/fchown.c: Likewise.
23990 * io/fchownat.c: Likewise.
23991 * io/fcntl.c: Likewise.
23992 * io/flock.c: Likewise.
23993 * io/fstatfs.c: Likewise.
23994 * io/fstatfs64.c: Likewise.
23995 * io/fstatvfs.c: Likewise.
23996 * io/fstatvfs64.c: Likewise.
23997 * io/futimens.c: Likewise.
23998 * io/fxstat.c: Likewise.
23999 * io/fxstat64.c: Likewise.
24000 * io/fxstatat.c: Likewise.
24001 * io/fxstatat64.c: Likewise.
24002 * io/getcwd.c: Likewise.
24003 * io/isatty.c: Likewise.
24004 * io/lchmod.c: Likewise.
24005 * io/lchown.c: Likewise.
24006 * io/link.c: Likewise.
24007 * io/linkat.c: Likewise.
24008 * io/lseek.c: Likewise.
24009 * io/lseek64.c: Likewise.
24010 * io/lxstat64.c: Likewise.
24011 * io/mkdir.c: Likewise.
24012 * io/mkdirat.c: Likewise.
24013 * io/mkfifo.c: Likewise.
24014 * io/mkfifoat.c: Likewise.
24015 * io/open.c: Likewise.
24016 * io/open64.c: Likewise.
24017 * io/openat.c: Likewise.
24018 * io/openat64.c: Likewise.
24019 * io/pipe.c: Likewise.
24020 * io/pipe2.c: Likewise.
24021 * io/poll.c: Likewise.
24022 * io/posix_fadvise.c: Likewise.
24023 * io/posix_fadvise64.c: Likewise.
24024 * io/posix_fallocate.c: Likewise.
24025 * io/posix_fallocate64.c: Likewise.
24026 * io/read.c: Likewise.
24027 * io/readlink.c: Likewise.
24028 * io/readlinkat.c: Likewise.
24029 * io/rmdir.c: Likewise.
24030 * io/sendfile.c: Likewise.
24031 * io/sendfile64.c: Likewise.
24032 * io/statfs.c: Likewise.
24033 * io/statfs64.c: Likewise.
24034 * io/statvfs.c: Likewise.
24035 * io/statvfs64.c: Likewise.
24036 * io/symlink.c: Likewise.
24037 * io/symlinkat.c: Likewise.
24038 * io/ttyname.c: Likewise.
24039 * io/ttyname_r.c: Likewise.
24040 * io/umask.c: Likewise.
24041 * io/unlink.c: Likewise.
24042 * io/unlinkat.c: Likewise.
24043 * io/utime.c: Likewise.
24044 * io/utimensat.c: Likewise.
24045 * io/write.c: Likewise.
24046 * io/xmknod.c: Likewise.
24047 * io/xmknodat.c: Likewise.
24048 * io/xstat.c: Likewise.
24049 * io/xstat64.c: Likewise.
24050 * login/getpt.c: Likewise.
24051 * login/grantpt.c: Likewise.
24052 * login/unlockpt.c: Likewise.
24053 * math/e_acoshl.c: Likewise.
24054 * math/e_acosl.c: Likewise.
24055 * math/e_asinl.c: Likewise.
24056 * math/e_atan2l.c: Likewise.
24057 * math/e_atanhl.c: Likewise.
24058 * math/e_coshl.c: Likewise.
24059 * math/e_expl.c: Likewise.
24060 * math/e_fmodl.c: Likewise.
24061 * math/e_gammal_r.c: Likewise.
24062 * math/e_hypotl.c: Likewise.
24063 * math/e_j0l.c: Likewise.
24064 * math/e_j1l.c: Likewise.
24065 * math/e_jnl.c: Likewise.
24066 * math/e_lgammal_r.c: Likewise.
24067 * math/e_log10l.c: Likewise.
24068 * math/e_log2l.c: Likewise.
24069 * math/e_logl.c: Likewise.
24070 * math/e_powl.c: Likewise.
24071 * math/e_rem_pio2l.c: Likewise.
24072 * math/e_sinhl.c: Likewise.
24073 * math/e_sqrtl.c: Likewise.
24074 * math/fclrexcpt.c: Likewise.
24075 * math/fedisblxcpt.c: Likewise.
24076 * math/feenablxcpt.c: Likewise.
24077 * math/fegetenv.c: Likewise.
24078 * math/fegetexcept.c: Likewise.
24079 * math/fegetround.c: Likewise.
24080 * math/feholdexcpt.c: Likewise.
24081 * math/fesetenv.c: Likewise.
24082 * math/fesetround.c: Likewise.
24083 * math/feupdateenv.c: Likewise.
24084 * math/fgetexcptflg.c: Likewise.
24085 * math/fraiseexcpt.c: Likewise.
24086 * math/fsetexcptflg.c: Likewise.
24087 * math/ftestexcept.c: Likewise.
24088 * math/k_cosl.c: Likewise.
24089 * math/k_rem_pio2l.c: Likewise.
24090 * math/k_sinl.c: Likewise.
24091 * math/k_tanl.c: Likewise.
24092 * math/s_asinhl.c: Likewise.
24093 * math/s_atanl.c: Likewise.
24094 * math/s_cbrtl.c: Likewise.
24095 * math/s_erfl.c: Likewise.
24096 * math/s_expm1l.c: Likewise.
24097 * math/s_log1pl.c: Likewise.
24098 * math/s_tanhl.c: Likewise.
24099 * misc/acct.c: Likewise.
24100 * misc/brk.c: Likewise.
24101 * misc/chflags.c: Likewise.
24102 * misc/chroot.c: Likewise.
24103 * misc/fchflags.c: Likewise.
24104 * misc/fgetxattr.c: Likewise.
24105 * misc/flistxattr.c: Likewise.
24106 * misc/fremovexattr.c: Likewise.
24107 * misc/fsetxattr.c: Likewise.
24108 * misc/fsync.c: Likewise.
24109 * misc/ftruncate.c: Likewise.
24110 * misc/futimes.c: Likewise.
24111 * misc/futimesat.c: Likewise.
24112 * misc/getdomain.c: Likewise.
24113 * misc/getdtsz.c: Likewise.
24114 * misc/gethostid.c: Likewise.
24115 * misc/gethostname.c: Likewise.
24116 * misc/getloadavg.c: Likewise.
24117 * misc/getpagesize.c: Likewise.
24118 * misc/getsysstats.c: Likewise.
24119 * misc/getxattr.c: Likewise.
24120 * misc/gtty.c: Likewise.
24121 * misc/ioctl.c: Likewise.
24122 * misc/lgetxattr.c: Likewise.
24123 * misc/listxattr.c: Likewise.
24124 * misc/llistxattr.c: Likewise.
24125 * misc/lremovexattr.c: Likewise.
24126 * misc/lsetxattr.c: Likewise.
24127 * misc/lutimes.c: Likewise.
24128 * misc/madvise.c: Likewise.
24129 * misc/mincore.c: Likewise.
24130 * misc/mlock.c: Likewise.
24131 * misc/mlockall.c: Likewise.
24132 * misc/mmap.c: Likewise.
24133 * misc/mprotect.c: Likewise.
24134 * misc/msync.c: Likewise.
24135 * misc/munlock.c: Likewise.
24136 * misc/munlockall.c: Likewise.
24137 * misc/munmap.c: Likewise.
24138 * misc/preadv.c: Likewise.
24139 * misc/preadv64.c: Likewise.
24140 * misc/ptrace.c: Likewise.
24141 * misc/pwritev.c: Likewise.
24142 * misc/pwritev64.c: Likewise.
24143 * misc/readv.c: Likewise.
24144 * misc/reboot.c: Likewise.
24145 * misc/remap_file_pages.c: Likewise.
24146 * misc/removexattr.c: Likewise.
24147 * misc/revoke.c: Likewise.
24148 * misc/select.c: Likewise.
24149 * misc/setdomain.c: Likewise.
24150 * misc/setegid.c: Likewise.
24151 * misc/seteuid.c: Likewise.
24152 * misc/sethostid.c: Likewise.
24153 * misc/sethostname.c: Likewise.
24154 * misc/setregid.c: Likewise.
24155 * misc/setreuid.c: Likewise.
24156 * misc/setxattr.c: Likewise.
24157 * misc/sstk.c: Likewise.
24158 * misc/stty.c: Likewise.
24159 * misc/swapoff.c: Likewise.
24160 * misc/swapon.c: Likewise.
24161 * misc/sync.c: Likewise.
24162 * misc/syncfs.c: Likewise.
24163 * misc/syscall.c: Likewise.
24164 * misc/truncate.c: Likewise.
24165 * misc/ualarm.c: Likewise.
24166 * misc/usleep.c: Likewise.
24167 * misc/ustat.c: Likewise.
24168 * misc/utimes.c: Likewise.
24169 * misc/vhangup.c: Likewise.
24170 * misc/writev.c: Likewise.
24171 * posix/_exit.c: Likewise.
24172 * posix/alarm.c: Likewise.
24173 * posix/execve.c: Likewise.
24174 * posix/fexecve.c: Likewise.
24175 * posix/fork.c: Likewise.
24176 * posix/fpathconf.c: Likewise.
24177 * posix/getaddrinfo.c: Likewise.
24178 * posix/getegid.c: Likewise.
24179 * posix/geteuid.c: Likewise.
24180 * posix/getgid.c: Likewise.
24181 * posix/getgroups.c: Likewise.
24182 * posix/getlogin.c: Likewise.
24183 * posix/getlogin_r.c: Likewise.
24184 * posix/getpgid.c: Likewise.
24185 * posix/getpid.c: Likewise.
24186 * posix/getppid.c: Likewise.
24187 * posix/getresgid.c: Likewise.
24188 * posix/getresuid.c: Likewise.
24189 * posix/getsid.c: Likewise.
24190 * posix/getuid.c: Likewise.
24191 * posix/glob64.c: Likewise.
24192 * posix/nanosleep.c: Likewise.
24193 * posix/pathconf.c: Likewise.
24194 * posix/pause.c: Likewise.
24195 * posix/posix_madvise.c: Likewise.
24196 * posix/pread.c: Likewise.
24197 * posix/pread64.c: Likewise.
24198 * posix/pwrite.c: Likewise.
24199 * posix/pwrite64.c: Likewise.
24200 * posix/sched_getaffinity.c: Likewise.
24201 * posix/sched_getp.c: Likewise.
24202 * posix/sched_gets.c: Likewise.
24203 * posix/sched_primax.c: Likewise.
24204 * posix/sched_primin.c: Likewise.
24205 * posix/sched_rr_gi.c: Likewise.
24206 * posix/sched_setaffinity.c: Likewise.
24207 * posix/sched_setp.c: Likewise.
24208 * posix/sched_sets.c: Likewise.
24209 * posix/sched_yield.c: Likewise.
24210 * posix/setgid.c: Likewise.
24211 * posix/setlogin.c: Likewise.
24212 * posix/setpgid.c: Likewise.
24213 * posix/setresgid.c: Likewise.
24214 * posix/setresuid.c: Likewise.
24215 * posix/setsid.c: Likewise.
24216 * posix/setuid.c: Likewise.
24217 * posix/sleep.c: Likewise.
24218 * posix/spawni.c: Likewise.
24219 * posix/sysconf.c: Likewise.
24220 * posix/times.c: Likewise.
24221 * posix/wait.c: Likewise.
24222 * posix/wait3.c: Likewise.
24223 * posix/wait4.c: Likewise.
24224 * posix/waitpid.c: Likewise.
24225 * resolv/gai_sigqueue.c: Likewise.
24226 * resource/getpriority.c: Likewise.
24227 * resource/getrlimit.c: Likewise.
24228 * resource/getrusage.c: Likewise.
24229 * resource/nice.c: Likewise.
24230 * resource/setpriority.c: Likewise.
24231 * resource/setrlimit.c: Likewise.
24232 * resource/ulimit.c: Likewise.
24233 * rt/aio_cancel.c: Likewise.
24234 * rt/aio_fsync.c: Likewise.
24235 * rt/aio_read.c: Likewise.
24236 * rt/aio_sigqueue.c: Likewise.
24237 * rt/aio_suspend.c: Likewise.
24238 * rt/aio_write.c: Likewise.
24239 * rt/clock_getres.c: Likewise.
24240 * rt/clock_gettime.c: Likewise.
24241 * rt/clock_nanosleep.c: Likewise.
24242 * rt/clock_settime.c: Likewise.
24243 * rt/lio_listio.c: Likewise.
24244 * rt/mq_close.c: Likewise.
24245 * rt/mq_getattr.c: Likewise.
24246 * rt/mq_notify.c: Likewise.
24247 * rt/mq_open.c: Likewise.
24248 * rt/mq_receive.c: Likewise.
24249 * rt/mq_send.c: Likewise.
24250 * rt/mq_setattr.c: Likewise.
24251 * rt/mq_timedreceive.c: Likewise.
24252 * rt/mq_timedsend.c: Likewise.
24253 * rt/mq_unlink.c: Likewise.
24254 * rt/shm_open.c: Likewise.
24255 * rt/shm_unlink.c: Likewise.
24256 * rt/timer_create.c: Likewise.
24257 * rt/timer_delete.c: Likewise.
24258 * rt/timer_getoverr.c: Likewise.
24259 * rt/timer_gettime.c: Likewise.
24260 * rt/timer_settime.c: Likewise.
24261 * setjmp/__longjmp.c: Likewise.
24262 * setjmp/setjmp.c: Likewise.
24263 * signal/kill.c: Likewise.
24264 * signal/killpg.c: Likewise.
24265 * signal/raise.c: Likewise.
24266 * signal/sigaction.c: Likewise.
24267 * signal/sigaltstack.c: Likewise.
24268 * signal/sigblock.c: Likewise.
24269 * signal/sigignore.c: Likewise.
24270 * signal/sigintr.c: Likewise.
24271 * signal/signal.c: Likewise.
24272 * signal/sigpause.c: Likewise.
24273 * signal/sigpending.c: Likewise.
24274 * signal/sigqueue.c: Likewise.
24275 * signal/sigreturn.c: Likewise.
24276 * signal/sigset.c: Likewise.
24277 * signal/sigsetmask.c: Likewise.
24278 * signal/sigstack.c: Likewise.
24279 * signal/sigsuspend.c: Likewise.
24280 * signal/sigtimedwait.c: Likewise.
24281 * signal/sigvec.c: Likewise.
24282 * signal/sigwait.c: Likewise.
24283 * signal/sigwaitinfo.c: Likewise.
24284 * signal/sysv_signal.c: Likewise.
24285 * socket/accept.c: Likewise.
24286 * socket/accept4.c: Likewise.
24287 * socket/bind.c: Likewise.
24288 * socket/connect.c: Likewise.
24289 * socket/getpeername.c: Likewise.
24290 * socket/getsockname.c: Likewise.
24291 * socket/getsockopt.c: Likewise.
24292 * socket/isfdtype.c: Likewise.
24293 * socket/listen.c: Likewise.
24294 * socket/recv.c: Likewise.
24295 * socket/recvfrom.c: Likewise.
24296 * socket/recvmsg.c: Likewise.
24297 * socket/send.c: Likewise.
24298 * socket/sendmsg.c: Likewise.
24299 * socket/sendto.c: Likewise.
24300 * socket/setsockopt.c: Likewise.
24301 * socket/shutdown.c: Likewise.
24302 * socket/sockatmark.c: Likewise.
24303 * socket/socket.c: Likewise.
24304 * socket/socketpair.c: Likewise.
24305 * stdio-common/ctermid.c: Likewise.
24306 * stdio-common/cuserid.c: Likewise.
24307 * stdio-common/remove.c: Likewise.
24308 * stdio-common/rename.c: Likewise.
24309 * stdio-common/renameat.c: Likewise.
24310 * stdio-common/tempname.c: Likewise.
24311 * stdlib/getcontext.c: Likewise.
24312 * stdlib/makecontext.c: Likewise.
24313 * stdlib/setcontext.c: Likewise.
24314 * stdlib/swapcontext.c: Likewise.
24315 * stdlib/system.c: Likewise.
24316 * streams/fattach.c: Likewise.
24317 * streams/fdetach.c: Likewise.
24318 * streams/getmsg.c: Likewise.
24319 * streams/getpmsg.c: Likewise.
24320 * streams/putmsg.c: Likewise.
24321 * streams/putpmsg.c: Likewise.
24322 * sysdeps/unix/bsd/getpt.c: Likewise.
24323 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24324 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24325 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24327 Likewise.
24328 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24329 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24330 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24331 * sysvipc/msgctl.c: Likewise.
24332 * sysvipc/msgget.c: Likewise.
24333 * sysvipc/msgrcv.c: Likewise.
24334 * sysvipc/msgsnd.c: Likewise.
24335 * sysvipc/semctl.c: Likewise.
24336 * sysvipc/semget.c: Likewise.
24337 * sysvipc/semop.c: Likewise.
24338 * sysvipc/semtimedop.c: Likewise.
24339 * sysvipc/shmat.c: Likewise.
24340 * sysvipc/shmctl.c: Likewise.
24341 * sysvipc/shmdt.c: Likewise.
24342 * sysvipc/shmget.c: Likewise.
24343 * termios/tcdrain.c: Likewise.
24344 * termios/tcflow.c: Likewise.
24345 * termios/tcflush.c: Likewise.
24346 * termios/tcgetattr.c: Likewise.
24347 * termios/tcgetpgrp.c: Likewise.
24348 * termios/tcsendbrk.c: Likewise.
24349 * termios/tcsetattr.c: Likewise.
24350 * termios/tcsetpgrp.c: Likewise.
24351 * time/adjtime.c: Likewise.
24352 * time/clock.c: Likewise.
24353 * time/getitimer.c: Likewise.
24354 * time/gettimeofday.c: Likewise.
24355 * time/setitimer.c: Likewise.
24356 * time/settimeofday.c: Likewise.
24357 * time/stime.c: Likewise.
24358 * time/time.c: Likewise.
24359
243602012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24361
a20492cf
PT
24362 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24363 /usr/old/bin.
24364
72e182e3
PT
24365 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24366 instead of spaces.
24367 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24368
fbeafede
JM
243692012-11-03 Joseph Myers <joseph@codesourcery.com>
24370
5b5b04d6
JM
24371 [BZ #14796]
24372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24373 FE_TONEAREST before applying Dekker multiplication and Knuth
24374 addition. Clear inexact exceptions and check for exact zero
24375 results afterwards.
24376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24377 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24379 * math/libm-test.inc (fma_test): Add more tests.
24380 (fma_test_towardzero): Likewise.
24381 (fma_test_downward): Likewise.
24382 (fma_test_upward): Likewise.
24383 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24384 function.
24385 (libc_fesetround): New macro.
24386 (libc_fesetroundf): Likewise.
24387 (libc_fesetroundl): Likewise.
24388 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24389 function.
24390 (libc_fesetround_387): Likewise.
24391 (libc_fesetroundf): New macro.
24392 (libc_fesetround): Likewise.
24393 (libc_fesetroundl): Likewise.
24394 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24395 function.
24396 (libc_fesetroundf): New macro.
24397 (libc_fesetround): Likewise.
24398 (libc_fesetroundl): Likewise.
24399 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24400 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24401 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24402 libm_hidden_ver.
24403 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24404 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24405 libm_hidden_def.
24406 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24407 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24408 libm_hidden_ver.
24409 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24410 libm_hidden_def.
24411
fbeafede
JM
24412 [BZ #3439]
24413 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24414 integer constant usable in #if and use that to give value to enum
24415 constant.
24416 (FE_DIVBYZERO): Likewise.
24417 (FE_UNDERFLOW): Likewise.
24418 (FE_OVERFLOW): Likewise.
24419 (FE_INVALID): Likewise.
24420 (FE_INVALID_SNAN): Likewise.
24421 (FE_INVALID_ISI): Likewise.
24422 (FE_INVALID_IDI): Likewise.
24423 (FE_INVALID_ZDZ): Likewise.
24424 (FE_INVALID_IMZ): Likewise.
24425 (FE_INVALID_COMPARE): Likewise.
24426 (FE_INVALID_SOFTWARE): Likewise.
24427 (FE_INVALID_SQRT): Likewise.
24428 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24429 (FE_TONEAREST): Likewise.
24430 (FE_TOWARDZERO): Likewise.
24431 (FE_UPWARD): Likewise.
24432 (FE_DOWNWARD): Likewise.
24433 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24434 (FE_DIVBYZERO): Likewise.
24435 (FE_OVERFLOW): Likewise.
24436 (FE_UNDERFLOW): Likewise.
24437 (FE_INEXACT): Likewise.
24438 (FE_TONEAREST): Likewise.
24439 (FE_DOWNWARD): Likewise.
24440 (FE_UPWARD): Likewise.
24441 (FE_TOWARDZERO): Likewise.
24442 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24443 (FE_UNDERFLOW): Likewise.
24444 (FE_OVERFLOW): Likewise.
24445 (FE_DIVBYZERO): Likewise.
24446 (FE_INVALID): Likewise.
24447 (FE_TONEAREST): Likewise.
24448 (FE_TOWARDZERO): Likewise.
24449 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24450 (FE_OVERFLOW): Likewise.
24451 (FE_UNDERFLOW): Likewise.
24452 (FE_DIVBYZERO): Likewise.
24453 (FE_INEXACT): Likewise.
24454 (FE_TONEAREST): Likewise.
24455 (FE_TOWARDZERO): Likewise.
24456 (FE_UPWARD): Likewise.
24457 (FE_DOWNWARD): Likewise.
24458 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24459 (FE_DIVBYZERO): Likewise.
24460 (FE_OVERFLOW): Likewise.
24461 (FE_UNDERFLOW): Likewise.
24462 (FE_INEXACT): Likewise.
24463 (FE_TONEAREST): Likewise.
24464 (FE_DOWNWARD): Likewise.
24465 (FE_UPWARD): Likewise.
24466 (FE_TOWARDZERO): Likewise.
24467
105ca950
CM
244682012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24469
24470 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24471
a542b389
AS
244722012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24473
24474 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24475 commands. Quote $PWD.
24476 (blacklist_exports): Don't use remove_newlines. Replace "declare
24477 -x" by "export".
24478 (remove_newlines): Remove.
24479
f62c8abc
L
244802012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24481
24482 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24483 * stdlib/stdlib.h (atof): Moved to ...
24484 * include/bits/stdlib-float.h: Here. New file.
24485 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24486 * stdlib/bits/stdlib-float.h: New file.
24487 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24488 -mno-sse -mno-mmx.
24489 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24490 <xmmintrin.h>.
24491
0155d5b2
JM
244922012-11-02 Joseph Myers <joseph@codesourcery.com>
24493
a68d0680
JM
24494 * conform/conformtest.pl (@headers): Add fenv.h.
24495 * conform/data/fenv.h-data: New file.
24496 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24497 include of <math/fenv.h>.
24498
caf7f573
JM
24499 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24500 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24501 && !UNIX98]. Enables tests for XOPEN2K8.
24502 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24503 POSIX2008]: Likewise.
24504
6c073ad6
JM
24505 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24506 (struct rusage): Do not expect type or its members.
24507
0155d5b2
JM
24508 [BZ #3439]
24509 * math/math.h (FP_NAN): Define macro to integer constant usable in
24510 #if and use that to give value to enum constant.
24511 (FP_INFINITE): Likewise.
24512 (FP_ZERO): Likewise.
24513 (FP_SUBNORMAL): Likewise.
24514 (FP_NORMAL): Likewise.
24515
b5dcacb4
AS
245162012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24517
24518 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24519 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24520 arguments.
24521
f7934be8
RM
245222012-11-02 Roland McGrath <roland@hack.frob.com>
24523
24524 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24525 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24526 autoconf-time if not.
24527 * configure.in: Remove AC_PREREQ.
24528
d7d08bde
TMQMF
245292012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24530
24531 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24532 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24533 of the internal implementation.
24534
dcdae19a
JM
245352012-11-02 Joseph Myers <joseph@codesourcery.com>
24536
24537 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24538 except include of <misc/sys/syslog.h>.
24539
d6cffd3e
AS
245402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24541
24542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24543 function returns with a NULL context exit with zero.
24544
b3563932
TMQMF
245452012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24546
24547 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24548
b288a93d
L
245492012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24550
24551 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24552 (run_program_cmd): This.
24553 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24554 (tst_langinfo): New variable. Use it.
24555
a2421a68
SAS
245562012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24557
24558 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24559 floating point opcodes.
24560
6f796e1b
TS
245612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24562
7402596b
TS
24563 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24564 variable.
24565
d0d4f868
TS
24566 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24567
6f796e1b
TS
24568 * sysdeps/mach/hurd/powerpc: Remove directory.
24569 * sysdeps/mach/powerpc: Likewise.
24570
4da224a2
AS
245712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24572
24573 * scripts/check-local-headers.sh: Ignore c++ headers.
24574
341dd673
TS
245752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24576
24577 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24578 __libc_cleanup_region_start argument.
24579
473611b2
JM
245802012-11-01 Joseph Myers <joseph@codesourcery.com>
24581
24582 [BZ #14784]
24583 [BZ #14785]
24584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24585 x * y using scaling, not as x * y + z.
24586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24587 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24588 * math/libm-test.inc (fma_test): Add more tests.
24589 (fma_test_towardzero): Likewise.
24590 (fma_test_downward): Likewise.
24591 (fma_test_upward): Likewise.
24592
4078da3d
TS
245932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24594
24595 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24596
903252aa
JM
245972012-10-31 Joseph Myers <joseph@codesourcery.com>
24598
24599 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24600 New variable.
24601
cbc818d0
TS
246022012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24603
24604 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24605
5a03cb1e
AS
246062012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24607
24608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24609 Fix sort order.
24610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24611 Likewise.
24612
90aff2ff
TMQMF
246132012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24614
24615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24616 Fix the order of the list for glibc 2.17.
24617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24618 Likewise.
24619
1818fcb7
AS
246202012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24621
24622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24623
ef82f4da
JM
246242012-10-31 Joseph Myers <joseph@codesourcery.com>
24625
16a0e2ec
JM
24626 [BZ #14610]
24627 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24628 for low part of x being zero before using __atanl (y).
24629 * math/libm-test.inc (atan2_test): Add another test.
24630
0eb69512
JM
24631 * manual/install.texi (Configuring and compiling): Document
24632 general use of test-wrapper and test-wrapper-env.
24633 * INSTALL: Regenerated.
24634
ef82f4da
JM
24635 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24636 (__fma): Do not extract and scale down low bits on after-rounding
24637 systems when result rounded to normal precision would have normal
24638 exponent.
24639 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24640 (__fmal): Do not extract and scale down low bits on after-rounding
24641 systems when result rounded to normal precision would have normal
24642 exponent.
24643 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24644 (__fmal): Do not extract and scale down low bits on after-rounding
24645 systems when result rounded to normal precision would have normal
24646 exponent.
24647 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24648 macro.
24649 (fma_test): Add more tests.
24650 (fma_test_towardzero): Likewise.
24651 (fma_test_downward): Likewise.
24652 (fma_test_upward): Likewise.
24653
954ef0d9
L
246542012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24655
24656 * sysdeps/i386/tininess.h: Renamed to ...
24657 * sysdeps/x86/tininess.h: This.
24658 * sysdeps/x86_64/tininess.h: Removed.
24659
df61ffb2
JM
246602012-10-30 Joseph Myers <joseph@codesourcery.com>
24661
24662 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24663 input. Use $(build-program-cmd).
24664 ($(objpfx)tst-array1-static.out): Likewise.
24665 ($(objpfx)tst-array2.out): Likewise.
24666 ($(objpfx)tst-array3.out): Likewise.
24667 ($(objpfx)tst-array4.out): Likewise.
24668 ($(objpfx)tst-array5.out): Likewise.
24669 ($(objpfx)tst-array5-static.out): Likewise.
24670
01767843
CM
246712012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24672
47cc1490
CM
24673 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24674 if defined.
24675
01767843
CM
24676 * nss/nsswitch.h (nss_interface_function): Provide new
24677 macro for use with NSS functions.
24678 * grp/initgroups.c: Use new macro.
24679 * nss/getXXbyYY.c: Likewise.
24680 * nss/getXXbyYY_r.c: Likewise.
24681 * nss/getXXent.c: Likewise.
24682 * nss/getXXent_r.c: Likewise.
24683 * sysdeps/posix/getaddrinfo.c: Likewise.
24684
8321aa97
AJ
246852012-10-30 Andreas Jaeger <aj@suse.de>
24686
24687 * po/ru.po: Update Russion translation from translation project.
24688
2a27fd6d
JM
246892012-10-30 Joseph Myers <joseph@codesourcery.com>
24690
8627a232
JM
24691 [BZ #14152]
24692 [BZ #14783]
24693 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24694 result and shift together with sticky bit instead of replicating
24695 round-to-nearest rounding.
24696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24698 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24699 missing underflow exceptions.
24700 (fma_test_towardzero): Add more tests.
24701 (fma_test_downward): Likewise.
24702 (fma_test_upward): Likewise.
24703
2a27fd6d
JM
24704 [BZ #14047]
24705 * sysdeps/generic/tininess.h: New file.
24706 * sysdeps/i386/tininess.h: Likewise.
24707 * sysdeps/sh/tininess.h: Likewise.
24708 * sysdeps/x86_64/tininess.h: Likewise.
24709 * stdlib/tst-strtod-underflow.c: Likewise.
24710 * stdlib/tst-tininess.c: Likewise.
24711 * stdlib/strtod_l.c: Include <tininess.h>.
24712 (round_and_return): Do not set errno for exact underflow cases.
24713 Force an underflow exception when setting errno for underflow.
24714 Determine underflow based on rounding to normal precision if
24715 TININESS_AFTER_ROUNDING.
24716 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24717 ERANGE for exact underflow cases.
24718 * stdlib/Makefile (tests): Add tst-tininess and
24719 tst-strtod-underflow.
24720 ($(objpfx)tst-tininess): Use $(link-libm).
24721 ($(objpfx)tst-strtod-underflow): Likewise.
24722
e7170363
AJ
247232012-10-30 Andreas Jaeger <aj@suse.de>
24724
e5088dc6
AJ
24725 [BZ#14767]
24726 * elf/Makefile (tests): Remove conditional for have-initfini-array
24727 since this is now always required and the variable does not exist
24728 anymore.
24729 (tests-static): Likewise.
24730 (modules-names): Likewise.
24731
e7170363 24732 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24733
24734 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24735 merged with constructor/destructor.
24736 (init_array): Likewise.
24737 * elf/tst-array2dep.c (fini_array): Likewise.
24738 (init_array): Likewise.
24739
60457d8a
MF
247402012-10-29 Mike Frysinger <vapier@gentoo.org>
24741
24742 * manual/message.texi: Delete @cartouche tags.
24743
8bece752
PT
247442012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24745
94ce799f
PT
24746 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24747 EOPNOTSUPP.
24748 * sysdeps/mach/hurd/fsync.c: Likewise.
24749
8bece752
PT
24750 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24751 [_POSIX_REALTIME_SIGNALS]: Change condition to
24752 [_POSIX_REALTIME_SIGNALS > 0].
24753
86ebe6b1
AJ
247542012-10-27 Andreas Jaeger <aj@suse.de>
24755
24756 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24757 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24759 [__WORDSIZE != 64]: Likewise.
24760
54399c08
L
247612012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24762
24763 * iconvdata/tst-table.sh: Remove ${SHELL}.
24764 * iconvdata/tst-tables.sh: Likewise.
24765
e2211bed
DM
247662012-10-25 David S. Miller <davem@davemloft.net>
24767
24768 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24769 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24770 of strtoull.
24771
f303f97c
DM
24772 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24773 ifunc-impl-list.c
24774 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24775 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24776 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24777 file.
24778
1e9d84cd
RM
247792012-10-25 Roland McGrath <roland@hack.frob.com>
24780
24781 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24782 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24783 __getdirentries.
24784
df381762
JM
247852012-10-25 Joseph Myers <joseph@codesourcery.com>
24786 Jim Blandy <jimb@codesourcery.com>
24787
24788 * scripts/cross-test-ssh.sh: New file.
24789 * manual/install.texi (Configuring and compiling): Document use of
24790 cross-test-ssh.sh.
24791 * INSTALL: Regenerated.
24792
bff64913
PT
247932012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24794
24795 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24796 EOPNOTSUPP.
24797
25fe8932
JM
247982012-10-25 Joseph Myers <joseph@codesourcery.com>
24799
24800 * Makeconfig (run-program-prefix): Fix comment.
24801
cc1290d0
JM
248022012-10-24 Joseph Myers <joseph@codesourcery.com>
24803 Jim Blandy <jimb@codesourcery.com>
24804
24805 * Makeconfig (test-wrapper): New variable,
24806 (test-wrapper-env): Likewise.
24807 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24808 (run-built-tests): Define to yes.
24809 (run-program-prefix): Use $(test-wrapper).
24810 (built-program-cmd): Likewise.
24811 * Rules (make-test-out): Use $(test-wrapper-env) and
24812 $(host-built-program-cmd).
24813 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24814 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24815 tst-pathopt.sh.
24816 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24817 $(test-wrapper-env) to tst-rtld-load-self.sh.
24818 ($(objpfx)order2.out): Use $(test-wrapper).
24819 ($(objpfx)tst-initorder.out): Likewise.
24820 ($(objpfx)tst-initorder2.out): Likewise.
24821 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24822 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24823 (test_wrapper_env): New variable. Use it to run ld.so.
24824 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24825 Use it to run ld.so.
24826 (test_wrapper_env): Likewise.
24827 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24828 $(test-wrapper) to run-iconv-test.sh.
24829 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24830 (ICONV): Use $test_wrapper.
24831 * posix/Makefile ($(objpfx)globtest.out): Pass
24832 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24833 globtest.sh, not $(run-program-prefix).
24834 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24835 (test_wrapper): Likewise.
24836 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24837 set together with run_via_rtld_prefix.
24838 (run_program_prefix): Define in terms of test_wrapper and
24839 run_via_rtld_prefix.
24840
6e6249d0
RM
248412012-10-24 Roland McGrath <roland@hack.frob.com>
24842
24843 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24844 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24845 Targets removed.
24846
24847 [BZ #14743]
24848 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24849 Declare __clock_getres, __clock_gettime, __clock_settime,
24850 __clock_nanosleep, and __clock_getcpuclockid.
24851 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24852 Remove librt_hidden_def (clock_gettime).
24853 * sysdeps/unix/clock_gettime.c: Likewise.
24854 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24855 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24856 * rt/clock_getres.c: Define __clock_getres as an alias.
24857 * sysdeps/posix/clock_getres.c: Likewise.
24858 * rt/clock_settime.c: Define __clock_settime as an alias.
24859 * sysdeps/unix/clock_settime.c: Likewise.
24860 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24861 * sysdeps/unix/clock_nanosleep.c: Likewise.
24862 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24863 * rt/clock-compat.c: New file.
24864 * rt/Makefile (librt-routines): Add clock-compat and move
24865 $(clock-routines) to ...
24866 (routines): ... here, new variable.
24867 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24868 Don't add get_clockfreq here.
24869 * rt/Versions (libc: GLIBC_2.17): New version set.
24870 Add clock_* symbols here.
24871 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24872 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24873 (GLIBC_2.17): Add clock_* symbols.
24874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24878 Likewise.
24879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24880 Likewise.
24881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24885 * NEWS: Mention the move.
24886
24887 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24888 Use __open, __read, __close rather than their public counterparts.
24889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24890 (__get_clockfreq_via_cpuinfo): Likewise.
24891 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24892 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24893
24894 * config.h.in (HAVE_IFUNC): New #undef.
24895 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24896 was successful.
24897 * configure: Regenerated.
24898
0cae3f4b
MF
248992012-10-24 Mike Frysinger <vapier@gentoo.org>
24900
24901 * configure.in: Move READELF check to start of file.
24902 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24903 libc_cv_asm_gnu_indirect_function in the process.
24904 * configure: Regenerated.
24905
8175a253
MF
249062012-10-24 Mike Frysinger <vapier@gentoo.org>
24907
24908 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24909 send the output to /dev/null.
24910 (libc_cv_cc_with_libunwind): Likewise.
24911 (libc_cv_as_noexecstack): Likewise.
24912 * configure: Regenerate.
24913
0708a7d1
JM
249142012-10-24 Joseph Myers <joseph@codesourcery.com>
24915
10b40d85
JM
24916 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24917
0708a7d1
JM
24918 * posix/globtest.sh (TMPDIR): Do not set.
24919 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24920 (testout): Likewise.
24921
9fddec1a
AJ
249222012-10-24 Andreas Jaeger <aj@suse.de>
24923
3a8db22f
AJ
24924 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24925 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24926 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24927 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24928 posix_fadvise64, posix_fallocate64.
24929
9fddec1a
AJ
24930 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24931 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24932 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24933 Likewise.
24934 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24935 Likewise.
24936 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24937
24938 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24939 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24940 <bits/fcntl-linux.h>.
24941 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24942
24943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24944 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24945 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24946 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24947 [__WORDSIZE != 64]: Likewise.
24948
ebfd1bbd
JM
249492012-10-23 Joseph Myers <joseph@codesourcery.com>
24950
03ac099f
JM
24951 * Makeconfig (run-built-tests): New variable.
24952 * Rules [$(cross-compiling) = yes]: Change condition to
24953 [$(run-built-tests) = no].
24954 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24955 to [$(run-built-tests) = yes].
24956 * elf/Makefile [$(cross-compiling) = no]: Likewise
24957 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24958 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24959 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24960 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24961 * io/Makefile [$(cross-compiling) = no]: Likewise.
24962 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24963 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24964 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24965 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24966 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24967 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24968 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24969 * string/Makefile [$(cross-compiling) = no]: Likewise.
24970
ebfd1bbd
JM
24971 * posix/Makefile ($(objpfx)globtest.out): Pass
24972 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24973 $(rtld-installed-name).
24974 * posix/globtest.sh (elf_objpfx): Remove variable.
24975 (rtld_installed_name): Likewise.
24976 (library_path): Likewise.
24977 (run_program_prefix): New variable. Use for running globtest
24978 binary.
24979
166bca24
JB
249802012-10-23 Jim Blandy <jimb@codesourcery.com>
24981 Joseph Myers <joseph@codesourcery.com>
24982
24983 * Makeconfig (host-built-program-cmd): New variable.
24984 * elf/Makefile (tst-stackguard1-ARGS): Use
24985 $(host-built-program-cmd).
24986 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24987 (tst-spawn-ARGS): Likewise.
24988 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24989
88866099
JM
249902012-10-23 Joseph Myers <joseph@codesourcery.com>
24991 Jim Blandy <jimb@codesourcery.com>
24992
24993 * Makeconfig (run-via-rtld-prefix): New variable.
24994 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24995 (built-program-cmd): Likewise.
24996
b4b4c296
AJ
249972012-10-22 Andreas Jaeger <aj@suse.de>
24998
24999 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25000 __O_RSYNC if it exists, otherwise to O_SYNC.
25001
6fb54a22
JB
250022012-10-22 Jim Blandy <jimb@codesourcery.com>
25003 Joseph Myers <joseph@codesourcery.com>
25004
25005 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25006 /dev/null.
25007 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25008 from /dev/null
25009 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25010 /dev/null.
25011
481b90b9
AJ
250122012-10-22 Andreas Jaeger <aj@suse.de>
25013
2a0e2669
AJ
25014 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25015 Define always.
25016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25017
76e38f9a
AJ
25018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25019 bits/fcntl-linux.h.
25020
7cd37b43
AJ
25021 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25022 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25023
481b90b9
AJ
25024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25025 to __O_LARGEFILE.
25026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25027 to __O_LARGEFILE.
25028
aba75984
JB
250292012-10-21 Jim Blandy <jimb@codesourcery.com>
25030 Joseph Myers <joseph@codesourcery.com>
25031
25032 * config.make.in (NM): New variable.
25033
88d4247f
AJ
250342012-10-21 Andreas Jaeger <aj@suse.de>
25035
25036 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25037 definitions and declarations that are provided by
25038 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25039
f2eed205
L
250402012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25041
25042 [BZ #14683]
25043 * elf/Makefile (tests-static): Add tst-leaks1-static.
25044 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25045 ($(objpfx)tst-leaks1-static): New rule.
25046 ($(objpfx)tst-leaks1-static-mem): Likewise.
25047 (tst-leaks1-static-ENV): New macro.
25048 * elf/dl-open.c (dl_open_worker): Check the main application
25049 only if SHARED is defined.
25050 * elf/tst-leaks1-static.c: New file.
25051
335e6931
AJ
250522012-10-20 Andreas Jaeger <aj@suse.de>
25053
25054 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25055 generic values for Linux.
25056 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25057 and declarations that are provided by <bits/fcntl-linux.h> and
25058 include <bits/fcntl-linux.h>.
25059 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25061
ac5c94d3
RM
250622012-10-20 Roland McGrath <roland@hack.frob.com>
25063
25064 * io/fcntl.h: Move include of <bits/types.h> to the top and
25065 include it unconditionally.
25066
de54b33a
L
250672012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25068
228cfb01
L
25069 * wcsmbs/Makefile (tests-ifunc): New variable.
25070 (tests): Add $(tests-ifunc).
25071 * wcsmbs/test-wcschr-ifunc.c: New file.
25072 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25073 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25074 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25075 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25076 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25077
69f07e5f
L
25078 * string/Makefile (tests-ifunc): New variable.
25079 (tests): Add $(tests-ifunc).
25080 * string/test-memccpy.c (TEST_NAME): New macro.
25081 * string/test-memchr.c (TEST_NAME): Likewise.
25082 * string/test-memcmp.c (TEST_NAME): Likewise.
25083 * string/test-memcpy.c (TEST_NAME): Likewise.
25084 * string/test-memmem.c (TEST_NAME): Likewise.
25085 * string/test-memmove.c (TEST_NAME): Likewise.
25086 * string/test-memset.c (TEST_NAME): Likewise.
25087 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25088 * string/test-stpcpy.c (TEST_NAME): Likewise.
25089 * string/test-stpncpy.c (TEST_NAME): Likewise.
25090 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25091 * string/test-strcasestr.c (TEST_NAME): Likewise.
25092 * string/test-strcat.c (TEST_NAME): Likewise.
25093 * string/test-strchr.c (TEST_NAME): Likewise.
25094 * string/test-strcmp.c(TEST_NAME): Likewise.
25095 * string/test-strcpy.c (TEST_NAME): Likewise.
25096 * string/test-strcspn.c (TEST_NAME): Likewise.
25097 * string/test-strlen.c (TEST_NAME): Likewise.
25098 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25099 * string/test-strncmp.c (TEST_NAME): Likewise.
25100 * string/test-strncpy.c (TEST_NAME): Likewise.
25101 * string/test-strnlen.c (TEST_NAME): Likewise.
25102 * string/test-strpbrk.c (TEST_NAME): Likewise.
25103 * string/test-strrchr.c (TEST_NAME): Likewise.
25104 * string/test-strspn.c (TEST_NAME): Likewise.
25105 * string/test-strstr.c (TEST_NAME): Likewise.
25106 * string/test-bcopy-ifunc.c: New file.
25107 * string/test-bzero-ifunc.c: Likewise.
25108 * string/test-memccpy-ifunc.c: Likewise.
25109 * string/test-memchr-ifunc.c: Likewise.
25110 * string/test-memcmp-ifunc.c: Likewise.
25111 * string/test-memcpy-ifunc.c: Likewise.
25112 * string/test-memmem-ifunc.c: Likewise.
25113 * string/test-memmove-ifunc.c: Likewise.
25114 * string/test-mempcpy-ifunc.c: Likewise.
25115 * string/test-memset-ifunc.c: Likewise.
25116 * string/test-rawmemchr-ifunc.c: Likewise.
25117 * string/test-stpcpy-ifunc.c: Likewise.
25118 * string/test-stpncpy-ifunc.c: Likewise.
25119 * string/test-strcasecmp-ifunc.c: Likewise.
25120 * string/test-strcasestr-ifunc.c: Likewise.
25121 * string/test-strcat-ifunc.c: Likewise.
25122 * string/test-strchr-ifunc.c: Likewise.
25123 * string/test-strchrnul-ifunc.c: Likewise.
25124 * string/test-strcmp-ifunc.c: Likewise.
25125 * string/test-strcpy-ifunc.c: Likewise.
25126 * string/test-strcspn-ifunc.c: Likewise.
25127 * string/test-strlen-ifunc.c: Likewise.
25128 * string/test-strncasecmp-ifunc.c: Likewise.
25129 * string/test-strncat-ifunc.c: Likewise.
25130 * string/test-strncmp-ifunc.c: Likewise.
25131 * string/test-strncpy-ifunc.c: Likewise.
25132 * string/test-strnlen-ifunc.c: Likewise.
25133 * string/test-strpbrk-ifunc.c: Likewise.
25134 * string/test-strrchr-ifunc.c: Likewise.
25135 * string/test-strspn-ifunc.c: Likewise.
25136 * string/test-strstr-ifunc.c: Likewise.
25137
de54b33a
L
25138 * debug/Makefile (tests-ifunc): New variable.
25139 (tests): Add $(tests-ifunc).
25140 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25141 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25142 * debug/test-stpcpy_chk-ifunc.c: New file.
25143 * debug/test-strcpy_chk-ifunc.c: Likewise.
25144
88481c16
SP
251452012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25146
25147 [BZ #13601]
25148 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25149 header is not read in.
25150
135948bd
JM
251512012-10-19 Joseph Myers <joseph@codesourcery.com>
25152
89f1c388
JM
25153 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25154 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25155 directly. Pass built executable to script as
25156 $(built-program-cmd).
25157 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25158 $testprogram without using LD_LIBRARY_PATH and $ldso.
25159
e40a0d21
JM
25160 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25161 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25162 $(rtld-installed-name).
25163 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25164 (rtld_installed_name): Likewise.
25165 (library_path): Likewise.
25166 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25167 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25168 $(run-program-prefix) to tst-tables.sh.
25169 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25170 it to run tst-table-from and tst-table-to.
25171 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25172 Pass it to tst-table.sh.
25173 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25174 $(run-program-prefix) to tst-gettext.sh.
25175 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25176 tst-translit.sh.
25177 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25178 tst-gettext2.sh.
25179 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25180 to run tst-gettext.
25181 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25182 to run tst-gettext2.
25183 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25184 to run tst-translit.
25185 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25186 $(run-program-prefix) to tst-mtrace.sh.
25187 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25188 to run tst-mtrace.
25189 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25190 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25191 $(rtld-installed-name).
25192 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25193 (rtld_installed_name): Likewise.
25194 (run_program_prefix): New variable. Use it to run wordexp-test.
25195
728e272a
JM
25196 * Makeconfig (ARCH): Remove all definitions.
25197 (machine): Likewise.
25198 [ARCH]: Remove conditional code.
25199 [!objdir]: Give error.
25200 [!objdir] (objpfx): Remove.
25201 [!objdir] (common-objpfx): Likewise.
25202 [!objdir] (common-objdir): Likewise.
25203 * configure.in (config_makefile): Remove. Hardcode Makefile in
25204 AC_CONFIG_FILES call.
25205 * configure: Regenerated.
25206
d528cdcf
JM
25207 [BZ #13888]
25208 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25209 or TMPDIR.
25210 (testout): Likewise.
25211
135948bd
JM
25212 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25213 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25214 $(rtld-installed-name).
25215 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25216 (rtld_installed_name): Likwise.
25217 (runit): Remove function.
25218 (run_getconf): New variable, Use it for running getconf binary.
25219
38c78296
L
252202012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25221
25222 [BZ #14716]
25223 * string/test-memmem.c (check_result): New function.
25224 (do_one_test): Use it.
25225 (check1): New function.
25226 (test_main): Use it.
25227
d077f65f
MT
252282012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25229
25230 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25231
ced52c71
JM
252322012-10-18 Joseph Myers <joseph@codesourcery.com>
25233
25234 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25235 (_G_LSEEK64): Likewise.
25236 (_G_MMAP64): Likewise.
25237 (_G_FSTAT64): Likewise.
25238 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25239 (_G_LSEEK64): Likewise.
25240 (_G_MMAP64): Likewise.
25241 (_G_FSTAT64): Likewise.
25242 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25243 unconditional. Call __mmap64 directly.
25244 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25245 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25246 __lseek64 directly.
25247 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25248 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25249 __mmap64 directly.
25250 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25251 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25252 __lseek64 directly.
25253 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25254 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25255 __lseek64 directly.
25256 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25257 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25258 __lseek64 directly.
25259 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25260 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25261 __fxstat64 directly.
25262 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25263 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25264 unconditional.
25265 (freopen64) [!_G_OPEN64]: Remove conditional code.
25266 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25267 unconditional.
25268 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25269 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25270 unconditional.
25271 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25272 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25273 unconditional.
25274 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25275 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25276 unconditional.
25277 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25278 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25279 unconditional.
25280 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25281 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25282 unconditional.
25283 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25284 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25285 unconditional.
25286 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25287
b741de23
SP
252882012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25289
25290 [BZ #12140]
25291 * manual/memory.texi (Malloc Tunable Parameters): Add note
25292 about free list pointers overwriting some perturb bytes.
25293 Wording suggested by Roland McGrath.
25294
f9b9d9c9
JM
252952012-10-17 Joseph Myers <joseph@codesourcery.com>
25296
25297 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25298 (lgamma_test): Likewise.
25299 (tgamma_test): Likewise.
25300
172a631a
FW
253012012-10-16 Florian Weimer <fweimer@redhat.com>
25302
25303 [BZ #14700]
25304 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25305 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25306
e9f37252
MK
253072012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25308
25309 * NEWS: Mention BZ #14716.
25310 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25311 when removing AVAILABLE1_USES_J macro.
25312
d394eb74
L
253132012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25314
25315 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25316 (__bswap_64): __uint64_t for unsigned 64-bit int.
25317
ca38dc17
AS
253182012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25319
25320 * include/string.h (memmem): Declare libc hidden alias.
25321 * string/memmem.c (memmem): Define libc hidden alias.
25322 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25323 __read, __close instead of open, read, close.
25324
9a387d1f
L
253252012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25326
ac49ecaf
L
25327 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25328 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25329 global and hidden.
25330 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25331 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25332 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25333 Likewise.
25334 (__rawmemchr_sse2): Likewise.
25335 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25336 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25337 (__strchr_sse2): Likewise.
25338 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25339 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25340 (__strcasecmp_sse2): Likewise.
25341 (__strncasecmp_sse2): Likewise.
25342 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25343 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25344 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25345 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25346 (__strrchr_sse2): Likewise.
25347 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25348 ifunc-impl-list.c.
25349 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25350 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25351 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25352 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25353 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25354 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25355 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25356 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25357 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25358 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25359 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25360 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25361 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25362 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25363 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25364 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25365 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25366 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25367 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25368 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25369 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25370 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25371 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25372 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25373 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25374 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25375 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25376 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25377 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25378 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25379
b090e8ea
L
25380 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25381 global and hidden.
25382 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25383 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25384 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25385 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25386 Likewise.
25387 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25388 Likewise.
25389 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25390 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25391 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25392 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25393 ifunc-impl-list.c.
25394 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25395 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25396 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25397 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25398 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25399 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25400 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25401 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25402 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25403 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25404 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25405 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25406 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25407 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25408 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25409 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25410 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25411 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25412 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25413 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25414 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25415 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25416 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25417 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25418 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25419 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25420 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25421 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25422 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25423 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25424 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25425 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25426 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25427 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25428 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25429 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25430 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25431 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25432 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25433 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25434 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25435
11dd4af6
L
25436 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25437 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25438 * include/ifunc-impl-list.h: New file.
25439 * misc/ifunc-impl-list.c: Likewise.
25440 * misc/Makefile (routines): Add ifunc-impl-list.
25441 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25442 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
25443 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25444 TEST_NAME]: New variables.
11dd4af6
L
25445 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25446 are defined.
25447 (test_init): Call __libc_ifunc_impl_list to initialize
25448 func_list if TEST_IFUNC and TEST_NAME are defined.
25449
9a387d1f
L
25450 * string/Makefile (strop-tests): Add bcopy and bzero.
25451 * string/test-bcopy.c: New file.
25452 * string/test-bzero.c: Likewise.
25453 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25454 defined.
25455 * string/test-memset.c: Support bzero test if TEST_BZERO is
25456 defined.
25457 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25458 __libc_memmove.
25459 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25460 __libc_memset.
25461 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25462 of memset.
25463
472371b9
JM
254642012-10-10 Joseph Myers <joseph@codesourcery.com>
25465
1e4a9536
JM
25466 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25467 * configure: Regenerated.
25468
d173d12e
JM
25469 * Makeconfig (+link-static-before-libc): Don't include
25470 $(link-static-libc).
25471
472371b9
JM
25472 * libio/libio.h (_IO_pos_t): Remove.
25473
89a3ad0b
AO
254742012-10-10 Alexandre Oliva <aoliva@redhat.com>
25475
25476 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25477 McGrath.
25478
e7451425
AO
254792012-10-10 Alexandre Oliva <aoliva@redhat.com>
25480
25481 * crypt/crypt-entry.c: Include fips-private.h.
25482 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25483 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25484 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25485 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25486
4ba74a35
AO
254872012-10-10 Alexandre Oliva <aoliva@redhat.com>
25488
25489 * crypt/crypt-private.h: Include stdbool.h.
25490 (_ufc_setup_salt_r): Return bool.
25491 * crypt/crypt-entry.c: Include errno.h.
25492 (__crypt_r): Return NULL with EINVAL for bad salt.
25493 * crypt/crypt_util.c (bad_for_salt): New.
25494 (_ufc_setup_salt_r): Check that salt is long enough and within
25495 the specified alphabet.
25496 * crypt/badsalttest.c: New file.
25497 * crypt/Makefile (tests): Add it.
25498 ($(objpfx)badsalttest): New.
25499
f96f1242
MK
255002012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25501
25502 * NEWS: Add entry for BZ #14602.
25503
0e8e0c1c
JM
255042012-10-09 Joseph Myers <joseph@codesourcery.com>
25505
25506 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25507 type-generic.
25508 * math/libm-test.inc: Update comment listing what functions and
25509 macros are tested.
25510 (isgreater_test): New function.
25511 (isgreaterequal_test): Likewise.
25512 (isless_test): Likewise.
25513 (islessequal_test): Likewise.
25514 (islessgreater_test): Likewise.
25515 (isunordered_test): Likewise.
25516 (main): Call the new functions.
25517
273edc5e
RM
255182012-10-09 Roland McGrath <roland@hack.frob.com>
25519
b8493de0
RM
25520 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25521 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25522 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25523 * sysdeps/i386/configure: Regenerated.
25524 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25525 * sysdeps/mach/configure: Regenerated.
25526 * sysdeps/mach/hurd/configure: Regenerated.
25527 * sysdeps/powerpc/configure: Regenerated.
25528 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25529 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25530 * sysdeps/s390/s390-32/configure: Regenerated.
25531 * sysdeps/s390/s390-64/configure: Regenerated.
25532 * sysdeps/sh/configure: Regenerated.
25533 * sysdeps/sparc/configure: Regenerated.
25534 * sysdeps/unix/sysv/linux/configure: Regenerated.
25535 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25536 * sysdeps/x86_64/configure: Regenerated.
25537
273edc5e
RM
25538 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25539 defined. Don't check if MAP is NULL.
25540
c8450f70
JM
255412012-10-09 Joseph Myers <joseph@codesourcery.com>
25542
25543 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25544 (_G_stat64): Likewise.
25545 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25546 (_G_stat64): Likewise.
25547 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25548 instead of struct _G_stat64.
25549 * libio/fileops.c (mmap_remap_check): Likewise.
25550 (decide_maybe_mmap): Likewise.
25551 (_IO_new_file_seekoff): Likewise.
25552 (_IO_file_stat): Likewise.
25553 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25554 _G_off64_t.
25555 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25556 instead of struct _G_stat64.
25557 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25558
57e605ba
MK
255592012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25560
25561 [BZ #14602]
25562 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25563 Replace with ...
25564 (CHECK_EOL): New macro.
25565 (two_way_short_needle): Check beginning of haystack for EOL. Use
25566 CHECK_EOL.
25567 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25568 Replace with CHECK_EOL.
25569 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25570 Replace with CHECK_EOL.
25571
ef1bb361
JM
255722012-10-08 Joseph Myers <joseph@codesourcery.com>
25573
25574 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25575 type-generic.
25576 * math/libm-test.inc: Update comment listing what functions and
25577 macros are tested.
25578 (finite_test): New function.
25579 (isinf_test): Likewise.
25580 (isnan_test): Likewise.
25581 (fpclassify_test): Test subnormal input.
25582 (isfinite_test): Likewise.
25583 (isnormal_test): Likewise.
25584 (main): Call the new functions.
25585
55f11534
JN
255862012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25587
25588 [BZ #14660]
25589 * Makerules (%.dynsym): Force C locale when running
25590 $(OBJDUMP) --dynamic-syms.
25591
1ab29350
AS
255922012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25593
25594 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25595 <stdint.h>.
25596
f1ecb7ef
DM
255972012-10-06 David S. Miller <davem@davemloft.net>
25598
25599 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25600 upper 32-bits of the length value in %o2 since we use branch-on-register
25601 tests which consider the entire 64-bit register.
25602
5d41d91a
L
256032012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25604
25605 * string/test-strstr.c (check2): Add a test for page boundary.
25606
3baddb72
DM
256072012-10-05 David S. Miller <davem@davemloft.net>
25608
25609 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25610 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25611 file.
25612 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25613 sysdep_routines.
25614 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25615 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25616 and bzero when HWCAP_SPARC_CRYPTO is present.
25617
9cee5585
L
256182012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25619
d7e0dab9
L
25620 [BZ #14602]
25621 * string/test-strstr.c (check2): New function.
25622 (test_main): Call check2.
25623
03759f47
L
25624 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25625 and bug-strchr1.
25626 * string/bug-strcasestr1.c (do_test): Moved to ...
25627 * string/test-strcasestr.c (check1): Here. New function.
25628 (do_one_test): Break out result checking code into ...
25629 (check_result): This. New function.
25630 (do_one_test): Call check_result.
25631 (test_main): Call check1.
25632 * string/bug-strchr1.c (do_test): Moved to ...
25633 * string/test-strchr.c (check1): Here. New function.
25634 (do_one_test): Break out result checking code into ...
25635 (check_result): This. New function.
25636 (do_one_test): Call check_result.
25637 (test_main): Call check1.
25638 * string/bug-strstr1.c (main): Moved to ...
046f153e 25639 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25640 (do_one_test): Break out result checking code into ...
25641 (check_result): This. New function.
25642 (do_one_test): Call check_result.
25643 (test_main): Call check1.
25644 * string/bug-strcasestr1.c: Removed.
25645 * string/bug-strchr1.c: Likewise.
25646 * string/bug-strstr1.c: Likewise.
25647
53cea63e
L
25648 * elf/Makefile (dl-routines): Add hwcaps.
25649 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25650 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25651 (_dl_important_hwcaps): Moved to ...
25652 * elf/dl-hwcaps.c: Here. New file.
25653 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25654
9cee5585 25655 [BZ #14557]
bb859b06
L
25656 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25657 if IS_IN_rtld isn't defined.
25658
9cee5585
L
25659 * elf/dl-support.c (_dl_sysinfo_map): New.
25660 Include "get-dynamic-info.h" and "setup-vdso.h".
25661 (_dl_non_dynamic_init): Call setup_vdso.
25662 * elf/dynamic-link.h: Don't include <assert.h>.
25663 (elf_get_dynamic_info): Moved to ...
25664 * elf/get-dynamic-info.h: Here. New file.
25665 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25666 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25667 * elf/setup-vdso.h: Here. New file.
25668 * elf/rtld.c: Include "setup-vdso.h".
25669 (dl_main): Call setup_vdso.
25670
23c31b76
JM
256712012-10-05 Joseph Myers <joseph@codesourcery.com>
25672
28234b07
JM
25673 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25674 creal in comment listing functions tested. List finite, isinf,
25675 isnan, isless, islessequal, isgreater, isgreaterequal,
25676 islessgreater, isunordered, lgamma_r and pow10 as functions and
25677 macros not tested. Mention which functions not tested are aliases
25678 for other functions. Fix typo. Note that signs of NaNs are not
25679 tested.
25680
23c31b76
JM
25681 * scripts/config.guess: Update from config.git.
25682 * scripts/config.sub: Likewise.
25683
9043e228
RM
256842012-10-04 Roland McGrath <roland@hack.frob.com>
25685
25686 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25687 * misc/madvise.c (madvise): Renamed to __madvise.
25688 Make madvise a weak alias.
25689 * include/sys/mman.h: Declare __madvise.
25690 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25691 * sysdeps/unix/syscalls.list
25692 (madvise): Make __madvise the strong name, and madvise a weak alias.
25693 * sysdeps/unix/sysv/linux/syscalls.list
25694 (madvise, mmap): Remove redundant entries.
25695 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25696 * malloc/malloc.c (mtrim): Likewise.
25697 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25698
f57f8055
RM
256992012-10-03 Roland McGrath <roland@hack.frob.com>
25700
25701 * sysdeps/mach/hurd/dl-cache.c: File removed.
25702 * config.h.in (USE_LDCONFIG): New #undef.
25703 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25704 * configure: Regenerated.
25705 * elf/Makefile (dl-routines): Add dl-cache only under
25706 [$(use-ldconfig) = yes].
25707 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25708 cache on [USE_LDCONFIG].
25709 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25710 [USE_LDCONFIG].
25711 * elf/rtld.c (dl_main): Likewise.
25712
5bb0c10a
PT
257132012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25714
25715 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25716 _SC_LEVEL4_CACHE_LINESIZE.
25717
010188c6
RM
257182012-10-03 Roland McGrath <roland@hack.frob.com>
25719
25720 * sysdeps/unix/bsd/confstr.h: File removed.
25721
b6c5ec07
AO
257222012-10-02 Alexandre Oliva <aoliva@redhat.com>
25723
25724 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25725 sys/sdt-config.h.
25726
408223d4
RM
257272012-10-02 Roland McGrath <roland@hack.frob.com>
25728
25729 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25730 Make 'mapoff' field ElfW(Off) rather than off_t.
25731
bb9510dc
DL
257322012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25733
fc997c6e
DL
25734 * nscd/Makefile: Remove nscd-cflags and all its users.
25735 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25736 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25737
bb9510dc
DL
25738 [BZ #10631]
25739 * malloc.c (malloc_printerr): Clarify error message.
25740
05699367
L
257412012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25742
25743 [BZ #14648]
25744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25745 Set bit_FMA_Usable if FMA is supported.
25746 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25747 macro.
25748 (bit_FMA4_Usable): Updated.
25749 (index_FMA_Usable): New macro.
25750 (CPUID_FMA): Likewise
25751 (HAS_FMA): Defined with bit_FMA_Usable.
25752
51367701
RM
257532012-10-01 Roland McGrath <roland@hack.frob.com>
25754
25755 * bits/types.h (__swblk_t): Type removed.
25756 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25757 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25759 (__SWBLK_T_TYPE): Likewise.
25760 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25761 (__SWBLK_T_TYPE): Likewise.
25762 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25763 (__SWBLK_T_TYPE): Likewise.
25764 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25765 (__SWBLK_T_TYPE): Likewise.
25766
4d57bf63 257672012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25768 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25769
25770 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25771 (xdr_mapname): Use YPMAXMAP as maxsize.
25772 (xdr_peername): Use YPMAXPEER as maxsize.
25773 (xdr_keydat): Use YPAXRECORD as maxsize.
25774 (xdr_valdat): Use YPMAXRECORD as maxsize.
25775
93c65d43
RM
257762012-10-01 Roland McGrath <roland@hack.frob.com>
25777
497a03d6
RM
25778 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25779
93c65d43
RM
25780 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25781 * csu/init-first.c: ... here.
25782 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25783 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25784 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25785 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25786 * sysdeps/i386/init-first.c: File removed.
25787 * sysdeps/sh/init-first.c: File removed.
25788
bec749fd
JM
257892012-10-01 Joseph Myers <joseph@codesourcery.com>
25790
25791 [BZ #14645]
25792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25793 if x * y might underflow to zero and z is zero.
25794 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25795 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25796 * math/libm-test.inc (min_subnorm_value): New variable.
25797 (fma_test): Add more tests.
25798 (fma_test_towardzero): Likewise.
25799 (fma_test_downward): Likewise
25800 (fma_test_upward): Likewise.
25801 (initialize): Set min_subnorm_value.
25802
8ec5b013
JM
258032012-09-29 Joseph Myers <joseph@codesourcery.com>
25804
25805 [BZ #14638]
25806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25807 0 + 0.
25808 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25809 mode for addition resulting in exact zero.
25810 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25812 exact 0 + 0.
25813 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25814 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25815 * math/libm-test.inc (fma_test): Add more tests.
25816 (fma_test_towardzero): New function.
25817 (fma_test_downward): Likewise.
25818 (fma_test_upward): Likewise.
25819 (main): Call the new functions.
25820
b1fa802e
DM
258212012-09-28 David S. Miller <davem@davemloft.net>
25822
25823 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25824
d3b9fd9e
RM
258252012-09-28 Roland McGrath <roland@hack.frob.com>
25826
ea4d37b3
RM
25827 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25828 instead of SIGALRM.
25829
ac51c949
RM
25830 * sysdeps/gnu/_G_config.h: Moved to ...
25831 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25832 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25833 * sysdeps/generic/_G_config.h: ... here.
25834
28c195f7
RM
25835 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25836
848917f9
RM
25837 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25838
6bacf05b
RM
25839 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25840 Conditionalize target on [libnss_test1.so-version].
25841
91363dbb
RM
25842 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25843
cc87f7d8
RM
25844 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25845 (elfobjdir): Move out of conditionals.
25846
b1c608fe
RM
25847 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25848 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25849 (__nss_lookup_function): Conditionalize label remove_from_tree on
25850 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25851
1d9a6d96
DM
258522012-09-28 David S. Miller <davem@davemloft.net>
25853
25854 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25855 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25856 file.
25857 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25858 sysdep_routines.
25859 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25861 when HWCAP_SPARC_CRYPTO is present.
25862
72581615
PT
258632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25864
25865 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25866
715a900c
JL
258672012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25868
25869 [BZ #6530]
25870 * stdio-common/vfprintf.c (process_string_arg): Revert
25871 2000-07-22 change.
25872
258732011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25874
25875 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25876 for testcase.
25877 * stdio-common/tst-sprintf.c: Include <locale.h>
25878 (main): Test sprintf's handling of incomplete multibyte
25879 characters.
25880
9bac1d86
L
258812012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25882
25883 * elf/dl-runtime.c (VERSYMIDX): Removed.
25884 * elf/dl-version.c (VERSYMIDX): Likewise.
25885 * elf/do-rel.h (VERSYMIDX): Likewise.
25886 (VALIDX): Likewise.
25887 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25888 * elf/rtld.c (VALIDX): Likewise.
25889 (ADDRIDX): Likewise.
9bac1d86
L
25890 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25891 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25892 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25893 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25894 (VALIDX): Likewise.
25895 (ADDRIDX): Likewise.
9bac1d86 25896
b31606c0
PT
258972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25898
25899 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25900
11541177
JL
259012012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25902
25903 [BZ #11438]
25904 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25905 to global scope.
25906 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25907 addresses are in the same scope as 192.0.2/24.
25908 * posix/gai.conf: Document new scope table defaults.
25909
adb26fae
SP
259102012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25911
25912 [BZ #5298]
25913 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25914 for ftell. Compute offsets from write pointers instead.
25915 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25916
4573c6b0
SP
259172012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25918
25919 [BZ #14543]
25920 * libio/Makefile (tests): New test case tst-fseek.
25921 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25922 combination works in wide mode.
25923 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25924 state when the external buffer state changes.
25925
aa9bbfe6
DM
259262012-09-27 David S. Miller <davem@davemloft.net>
25927
25928 [BZ #14376]
25929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25930 pass reloc->r_addend in as the 'high' argument to
25931 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25932
784421e7
DM
25933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25934
c39bc8b8
PT
259352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25936
25937 * rt/tst-aio2.c: Include <pthread.h>.
25938 * rt/tst-aio3.c: Likewise.
25939
1ccc2399
SE
259402012-09-27 Steve Ellcey <sellcey@mips.com>
25941
25942 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25943
31ed4153
L
259442012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25945
25f5f885
L
25946 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25947 contents on [SHARED].
31ed4153 25948
b7bfe116
MP
259492012-09-26 Marek Polacek <polacek@redhat.com>
25950
25951 [BZ #14530]
25952 [BZ #13741]
25953 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25954 for C++ and GCC <4.3 as well as for non GCC compilers.
25955
43c4edba
MT
259562012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25957
25958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25959
6a1bf82f
RM
259602012-09-25 Roland McGrath <roland@hack.frob.com>
25961
25962 * Makefile.in (all, install): Declare with .PHONY.
25963 Reported by Michael Hope <michael.hope@linaro.org>.
25964
8ad11b9a
TMQMF
259652012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25966
25967 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25968 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25969 system header.
25970 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25971 Likewise.
25972 (sydep_routines): Add the new and the internal functions.
25973 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25974 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25976 (GLIBC_2.17): Add the new function.
25977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25978 (GLIBC_2.17): Likewise.
25979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25980 (GLIBC_2.17): Likewise.
25981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25982 (GLIBC_2.17): Likewise.
25983 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25984
7e2fca8d
AM
259852012-09-25 Alan Modra <amodra@gmail.com>
25986
25987 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25988 Add release barrier before setting once_control to say
25989 initialisation is done. Add hints on lwarx. Use macro in
25990 place of isync.
25991 (clear_once_control): Add release barrier.
25992
b87c4b24
JM
259932012-09-25 Joseph Myers <joseph@codesourcery.com>
25994
d032e0d2
JM
25995 [BZ #13629]
25996 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25997 specially.
25998 * math/s_clog10.c (__clog10): Likewise.
25999 * math/s_clog10f.c (__clog10f): Likewise.
26000 * math/s_clog10l.c (__clog10l): Likewise.
26001 * math/s_clogf.c (__clogf): Likewise.
26002 * math/s_clogl.c (__clogl): Likewise.
26003 * math/Makefile (libm-calls): Add x2y2m1.
26004 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26005 (__x2y2m1): Likewise.
26006 (__x2y2m1l): Likewise.
26007 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26008 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26009 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26010 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26011 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26012 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26013 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26014 * sysdeps/i386/fpu/libm-test-ulps: Update.
26015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26016
b87c4b24
JM
26017 [BZ #14621]
26018 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26019 int as type of variable DEPTH.
26020 (glob): Use size_t instead of int as type of variables NEWCOUNT
26021 and OLD_PATHC.
26022
6d3bf199
LD
260232012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26024
22bf5c17
LD
26025 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26026 Add s_sincosf-sse2.
26027 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26028 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26029 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26030 macros for using routine as __sincosf_ia32.
26031 Use macro for function declaration and weak_alias.
26032 * sysdeps/i386/fpu/libm-test-ulps: Update.
26033
26034 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26036
26037 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26038 subnormal argument.
26039 * math/s_cexpf.c (__cexpf): Likewise.
26040 * math/s_csinf.c (__csinf): Likewise.
26041 * math/s_csinhf.c (__csinhf): Likewise.
26042 * math/s_ctanf.c (__ctanf): Likewise.
26043 * math/s_ctanhf.c (__ctanhf): Likewise.
26044 * math/s_ccosh.c (__ccoshf): Likewise.
26045 * math/s_cexp.c (__cexpl): Likewise.
26046 * math/s_csin.c (__csin): Likewise.
26047 * math/s_csinh.c (__csinh): Likewise.
26048 * math/s_ctan.c (__ctan): Likewise.
26049 * math/s_ctanh.c (ctanh): Likewise.
26050 * math/s_ccoshl.c (__ccoshl): Likewise.
26051 * math/s_cexpl.c (__cexpl): Likewise.
26052 * math/s_csinl.c (__csinl): Likewise.
26053 * math/s_csinhl.c (__csinhl): Likewise.
26054 * math/s_ctanl.c (__ctanl): Likewise.
26055 * math/s_ctanhl.c (__ctanhl): Likewise.
26056
203e5603
JM
260572012-09-25 Joseph Myers <joseph@codesourcery.com>
26058
26059 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26060 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26061 (_IO_off_t): Define to __off_t, not _G_off_t.
26062 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26063 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26064 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26065 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26066 type of __dummy and __dummy2 fields.
26067 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26068 (_G_ssize_t): Likewise.
26069 (_G_off_t): Likewise.
26070 (_G_pid_t): Likewise.
26071 (_G_uid_t): Likewise.
26072 (_G_wchar_t): Likewise.
26073 (_G_wint_t): Likewise.
26074 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26075 (_G_ssize_t): Likewise.
26076 (_G_off_t): Likewise.
26077 (_G_pid_t): Likewise.
26078 (_G_uid_t): Likewise.
26079 (_G_wchar_t): Likewise.
26080 (_G_wint_t): Likewise.
26081 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26082 (_G_ssize_t): Likewise.
26083 (_G_off_t): Likewise.
26084 (_G_pid_t): Likewise.
26085 (_G_uid_t): Likewise.
26086 (_G_wchar_t): Likewise.
26087 (_G_wint_t): Likewise.
26088
9fab36eb
SP
260892012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26090
26091 * malloc/arena.c: Include malloc-sysdep.h.
26092 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26093 is sufficient to shrink the heap or an unmap is needed.
26094 * sysdeps/generic/malloc-sysdep.h: New file. Define
26095 new function check_may_shrink_heap.
26096 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26097 new function check_may_shrink_heap.
26098
2b4f00d1
SP
260992012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26100
26101 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26102 comments.
26103
9a9028b1
DL
261042012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26105
57c69bef
DL
26106 * catgets/test-gencat.sh: Add "set -e".
26107 * elf/tst-pathopt.sh: Likewise.
26108 * grp/tst_fgetgrent.sh: Likewise.
26109 * iconvdata/run-iconv-test.sh: Likewise.
26110 * intl/tst-gettext.sh: Likewise.
26111 * intl/tst-gettext2.sh: Likewise.
26112 * intl/tst-gettext4.sh: Likewise.
26113 * intl/tst-gettext6.sh: Likewise.
26114 * intl/tst-translit.sh: Likewise.
26115 * io/ftwtest-sh: Likewise.
26116 * libio/test-freopen.sh: Likewise.
26117 * malloc/tst-mtrace.sh: Likewise.
26118 * posix/globtest.sh: Likewise.
26119 * posix/tst-getconf.sh: Likewise.
26120 * posix/wordexp-tst.sh: Likewise.
26121 * stdio-common/tst-printf.sh: Likewise.
26122 * stdio-common/tst-unbputc.sh: Likewise.
26123 * stdlib/tst-fmtmsg.sh: Likewise.
26124 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26125 * catgets/Makefile: Do not specify -e option when running
26126 testsuite shell scripts.
26127 * elf/Makefile: Likewise.
26128 * grp/Makefile: Likewise.
26129 * iconvdata/Makefile: Likewise.
26130 * intl/Makefile: Likewise.
26131 * io/Makefile: Likewise.
26132 * libio/Makefile: Likewise.
26133 * malloc/Makefile: Likewise.
26134 * posix/Makefile: Likewise.
26135 * stdio-common/Makefile: Likewise.
26136 * stdlib/Makefile: Likewise.
26137 * sysdeps/x86_64/Makefile: Likewise.
26138
9a9028b1
DL
26139 * io/ftwtest-sh: Add copyright header.
26140 * posix/globtest.sh: Likewise.
26141 * posix/tst-getconf.sh: Likewise.
26142 * posix/wordexp-tst.sh: Likewise.
26143 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26144
ced6f16e
L
261452012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26146
94b32c39
L
26147 [BZ #13679]
26148 * Makeconfig (+link): Defined as $(+link-static) if
26149 $(build-shared) isn't yes.
26150 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26151 isn't yes.
26152 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26153
189e935b
L
26154 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26155
ced6f16e
L
26156 [BZ #14562]
26157 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26158 new chunk size with MALLOC_ALIGN_MASK.
26159
a9f8e53a
JM
261602012-09-24 Joseph Myers <joseph@codesourcery.com>
26161
26162 [BZ #5044]
26163 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26164 <rounding-mode.h>.
26165 (__printf_fphex): Determine rounding using get_rounding_mode and
26166 round_away.
26167 * stdio-common/tst-printf-round.c (struct hex_test): New
26168 structure.
26169 (hex_tests): New variable.
26170 (test_hex_in_one_mode): New function.
26171 (do_test): Also run tests for hex float output.
26172
43153109
JM
261732012-09-21 Joseph Myers <joseph@codesourcery.com>
26174
26175 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26176 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26177 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26178 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26179 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26180 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26181 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26182 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26183
8a26625d
JM
261842012-09-20 Joseph Myers <joseph@codesourcery.com>
26185
26186 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26187 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26188 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26189 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26190
f3fd569c
DL
261912012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26192
26193 [BZ #14579]
26194 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26195 mode only.
26196 * elf/tst-rtld-load-self.sh: New test.
26197 * elf/Makefile: Run it.
26198
63bbedd4
JM
261992012-09-18 Joseph Myers <joseph@codesourcery.com>
26200
26201 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26202 (tst-writev-ENV): Remove.
26203 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26204
626f8b6a
CM
262052012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26206
26207 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26208
b7aaa4d6
JM
262092012-09-17 Joseph Myers <joseph@codesourcery.com>
26210
26211 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26212 unconditional.
26213 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26214 Likewise.
26215 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26216 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26217 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26218 Likewise.
26219
65513990
L
262202012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26221
26222 [BZ #14587]
26223 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26224 * config.make.in (have-cpp-asm-debuginfo): Removed.
26225 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26226 * configure: Regenerated.
26227
784761be
JM
262282012-09-14 Joseph Myers <joseph@codesourcery.com>
26229
26230 [BZ #5044]
26231 * stdio-common/printf_fp.c: Include <stdbool.h> and
26232 <rounding-mode.h>.
26233 (___printf_fp): Determine rounding using get_rounding_mode and
26234 round_away.
26235 * stdio-common/tst-printf-round.c: New file.
26236 * stdio-common/Makefile (tests): Add tst-printf-round.
26237 (link-libm): New variable.
26238 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26239
9503345f
L
262402012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26241
26242 [BZ #14576]
26243 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26244 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26245 Likewise.
26246 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26247 Likewise.
26248
ad35fc00
JM
262492012-09-13 Joseph Myers <joseph@codesourcery.com>
26250
26251 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26252 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26253 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26254 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26255
6c9b0f68
JM
262562012-09-12 Joseph Myers <joseph@codesourcery.com>
26257
26258 [BZ #14518]
26259 * include/rounding-mode.h: New file.
26260 * sysdeps/generic/get-rounding-mode.h: Likewise.
26261 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26262 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26263 (MAX_VALUE): New macro.
26264 (MIN_VALUE): Likewise.
26265 (overflow_value): New function.
26266 (underflow_value): Likewise.
26267 (round_and_return): Use overflow_value and underflow_value to
26268 determine return values in overflow and underflow cases. Use
26269 round_away to determine rounding depending on rounding mode.
26270 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26271 determine return values in overflow and underflow cases.
26272 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26273 (struct test_results): New structure.
26274 (struct test): Use struct test_results to store expected results
26275 for all rounding modes.
26276 (TEST): Include expected results for all rounding modes.
26277 (test_in_one_mode): New function.
26278 (do_test): Use test_in_one_mode to compute and check results.
26279 Check results for all rounding modes.
26280 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26281 $(link-libm).
26282
19fcedd5
AM
262832012-12-09 Allan McRae <allan@archlinux.org>
26284
1e9d84cd 26285 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26286
8bbfd2f1
JM
262872012-09-11 Joseph Myers <joseph@codesourcery.com>
26288
26289 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26290 (_G_int32_t): Likewise.
26291 (_G_uint16_t): Likewise.
26292 (_G_uint32_t): Likewise.
26293 (_G_HAVE_BOOL): Likewise.
26294 (_G_HAVE_ATEXIT): Likewise.
26295 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26296 (_G_HAVE_IO_FILE_OPEN): Likewise.
26297 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26298 (_G_int32_t): Likewise.
26299 (_G_uint16_t): Likewise.
26300 (_G_uint32_t): Likewise.
26301 (_G_HAVE_BOOL): Likewise.
26302 (_G_HAVE_ATEXIT): Likewise.
26303 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26304 (_G_HAVE_IO_FILE_OPEN): Likewise.
26305 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26306 (_G_int32_t): Likewise.
26307 (_G_uint16_t): Likewise.
26308 (_G_uint32_t): Likewise.
26309 (_G_HAVE_BOOL): Likewise.
26310 (_G_HAVE_ATEXIT): Likewise.
26311 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26312 (_G_HAVE_IO_FILE_OPEN): Likewise.
26313
b1dc5912
L
263142012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26315
26316 * csu/libc-tls.c: Update copyright years.
26317
0e886ef9
JM
263182012-09-10 Joseph Myers <joseph@codesourcery.com>
26319
28361c5e
JM
26320 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26321 [!_G_USING_THUNKS]: Remove conditional code.
26322 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26323 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26324
0e886ef9
JM
26325 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26326 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26327 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26328 (_G_VTABLE_LABEL_PREFIX): Likewise.
26329 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26330 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26331 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26332 (_G_VTABLE_LABEL_PREFIX): Likewise.
26333 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26334 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26335 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26336 (_G_VTABLE_LABEL_PREFIX): Likewise.
26337 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26338
bcba7aa2
L
263392012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26340
26341 * libio/Makefile: Include ../Makeconfig before tests.
26342 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26343 only if $(build-shared) is yes.
26344
06585ee8
L
26345 * iconv/gconv_db.c: Update copyright years.
26346
80ccd52c
LD
263472012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26348
26349 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26350 unwind info if defined PIC. Fix special cases description.
26351 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26352
26353 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26354 DP_HI_MASK entry.
26355 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26356
691bc9c1
L
263572012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26358
3d9b46b3
L
26359 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26360
de2139a9
L
26361 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26362 is NULL.
26363
5ca78dd0
L
26364 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26365 (LDLIBS-tst-chk4): This.
26366 (LDFLAGS-tst-chk5): Renamed to ...
26367 (LDLIBS-tst-chk5): This.
26368 (LDFLAGS-tst-chk6): Renamed to ...
26369 (LDLIBS-tst-chk6): This.
26370 (LDFLAGS-tst-lfschk4): Renamed to ...
26371 (LDLIBS-tst-lfschk4): This.
26372 (LDFLAGS-tst-lfschk5): Renamed to ...
26373 (LDLIBS-tst-lfschk5): This.
26374 (LDFLAGS-tst-lfschk6): Renamed to ...
26375 (LDLIBS-tst-lfschk6): This.
26376
691bc9c1
L
26377 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26378 on $(common-objpfx)soversions.mk.
26379
65cafb1c
JM
263802012-09-07 Joseph Myers <joseph@codesourcery.com>
26381
26382 [BZ #10014]
26383 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26384 example host name.
26385
c78ab094
SP
263862012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26387
26388 * malloc/arena.c (arena_get_retry): New function that gets
26389 another arena for the caller to try its request on.
26390 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26391 current arena cannot fulfill the request.
26392 (__libc_memalign): Likewise.
26393 (__libc_memalign): Likewise.
26394 (__libc_pvalloc): Likewise.
26395 (__libc_calloc): Likewise.
26396
01f49f59
JT
263972012-09-05 John Tobey <john.tobey@gmail.com>
26398
26399 [BZ #13542]
26400 * manual/arith.texi (Operations on Complex): Fix description
26401 of carg branch cut.
26402
4c23fed5
JM
264032012-09-06 Joseph Myers <joseph@codesourcery.com>
26404
1d3c8572
JM
26405 [BZ #10014]
26406 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26407 host name.
26408
4c23fed5
JM
26409 [BZ #10038]
26410 * manual/memory.texi (Memory): Make order of menu items match
26411 order of sections.
26412
04570aaa
L
264132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26414
26415 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26416 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26417 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26418
b80af2f4
L
264192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26420
26421 * csu/libc-tls.c (static_dtv): Renamed to ...
26422 (_dl_static_dtv): This. Make it global.
26423 (_dl_initial_dtv): Removed.
26424 (__libc_setup_tls): Updated.
26425 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26426 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26427 DL_INITIAL_DTV.
26428
2abe9f15
PM
264292012-09-06 Petr Machata <pmachata@redhat.com>
26430
26431 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26432 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26433 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26434 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26435
0948c3af
L
264362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26437
26438 [BZ #14545]
26439 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26440 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26441 freeing dtv[-1].
26442
a5055ad1
L
264432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26444
26445 [BZ #14544]
26446 * Makeconfig (link-static-before-libc): Replace $(+prector)
26447 with $(+prectorT).
26448 (link-static-after-libc): Replace $(+postctor) with
26449 $(+postctorT).
26450 (link-bounded): Replace $(+prector)/$(+postctor) with
26451 $(+prectorT)/$(+postctorT).
26452 (+prectorT): New macro.
26453 (+postctorT): Likewise.
26454
ed8c2ecd
JM
264552012-09-06 Joseph Myers <joseph@codesourcery.com>
26456
26457 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26458 (round_str): Handle values above the maximum for IBM long double
26459 as inexact.
26460 * stdlib/tst-strtod-round.c (tests): Regenerated.
26461
14c996c8
AK
264622012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26463
26464 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26465 assembler flag.
26466 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26467 zarch_nohighgprs around the zarch optimized routines.
26468 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26469 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26470 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26471 for zarch.
26472
430d6ce6
DM
264732012-09-05 David S. Miller <davem@davemloft.net>
26474
26475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26476
57f41c40
AS
26477 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26478 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26479 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26480 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26481 entries.
26482
24d4e01b
AO
264832012-09-05 Alexandre Oliva <aoliva@redhat.com>
26484
26485 * malloc/arena.c: Fold copyright years.
26486 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26487
61d58174
AO
264882012-09-05 Alexandre Oliva <aoliva@redhat.com>
26489
26490 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26491
20196a5e
AO
264922012-09-05 Alexandre Oliva <aoliva@redhat.com>
26493
26494 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26495
5c447383
AO
264962012-09-05 Alexandre Oliva <aoliva@redhat.com>
26497
26498 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26499 change internal state upon failure.
26500
fad64255
AO
265012012-09-05 Alexandre Oliva <aoliva@redhat.com>
26502
26503 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26504 * malloc/memusage.c (mmap): Likewise.
26505 (mmap64, mremap): Likewise. Adjust name in comment.
26506
1ffb8c90
SP
265072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26508
26509 * libio/fileops.c: Fix typos in comments.
26510 * libio/oldfileops.c: Likewise.
26511 * libio/wfileops.c: Likewise.
26512
6ef9cc37
SP
265132012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26514
26515 [BZ #1349]
26516 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26517 (tst-malloc-usable-ENV): Set environment for test case.
26518 * malloc/hooks.c (malloc_check_get_size): New function to get
26519 requested size.
26520 * malloc/malloc.c (musable): Use malloc_check_get_size.
26521 * malloc/tst-malloc-usable.c: New test case.
26522
4d038ae3
AS
265232012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26524
26525 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26526
c4e85184
AM
265272012-09-05 Allan McRae <allan@archlinux.org>
26528
b9dafc56 26529 [BZ #13966]
c4e85184
AM
26530 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26531 determine header location.
26532 * configure: Regenerated.
26533
e1343020
AS
265342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26535
26536 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26537 float format.
26538 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
26539 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26540 format.
e1343020
AS
26541 (test): Regenerate.
26542
0a9f1987
DM
265432012-09-04 David S. Miller <davem@davemloft.net>
26544
26545 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26546 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26547 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26548
29237804
FW
265492012-09-04 Florian Weimer <fweimer@redhat.com>
26550
26551 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26552 failures.
26553
edb3cb88
FW
26554 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26555
60160d83
JM
265562012-09-04 Joseph Myers <joseph@codesourcery.com>
26557
26558 [BZ #9914]
26559 * libio/iogetdelim.c: Include <limits.h>.
26560 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26561 + len + 1 would overflow.
26562
bcd6c8dc
AJ
265632012-09-03 Andreas Jaeger <aj@suse.de>
26564
26565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26566 * sysdeps/i386/fpu/libm-test-ulps: Update.
26567
4ffffbd2
LD
265682012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26569
26570 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26571 Add s_sinf-sse2, s_conf-sse2.
26572
26573 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26574 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26575 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26576 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26577
26578 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26579 for using routine as __sinf_ia32.
26580 Use macro for function declaration and weak_alias.
26581 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26582 for using routine as __cosf_ia32.
26583 Use macro for function declaration and weak_alias.
26584
26585 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26586 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26587
26588 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26589 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26591
26592 * math/libm-test.inc (cos_test): Add more test cases.
26593 (sin_test): Likewise.
26594 (sincos_test): Likewise.
26595
511fa286
AK
265962012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26597
26598 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26599 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26600 hidden.
26601 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26602
5f30cfec
L
266032012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26604
26605 [BZ #14538]
26606 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26607 first element of the GOT.
26608 (elf_machine_load_address): Return the difference between
26609 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26610
0786794f
AM
266112012-09-01 Allan McRae <allan@archlinux.org>
26612
5f30cfec
L
26613 [BZ #13412]
26614 * configure.in (AWK): Require gawk version 3.0 or later.
26615 * configure: Regenerated.
0786794f 26616
26889eac
JM
266172012-09-01 Joseph Myers <joseph@codesourcery.com>
26618
26619 * sysdeps/unix/sysv/linux/kernel-features.h
26620 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26621 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26622 [__NR_clock_getres]: Make code unconditional.
26623 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26624 (clock_getcpuclockid): Remove code left unreachable by removal of
26625 conditionals.
26626 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26627 code unconditional.
26628 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26629 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26630 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26631 Make code unconditional.
26632 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26633 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26634 * sysdeps/unix/sysv/linux/clock_settime.c
26635 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26636 conditional code.
26637 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26638 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26639
d22e28b0
L
266402012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26641
26642 [BZ #14476]
26643 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26644 scripts/test-installation.pl.
26645
26646 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26647 and $ld_so_version if it is set.
26648
050af9c4
SP
266492012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26650
26651 [BZ #14516]
26652 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26653 failure if reading from procfs failed.
26654 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26655
ad845c0b
JM
266562012-08-27 Joseph Myers <joseph@codesourcery.com>
26657
26658 * sysdeps/unix/sysv/linux/kernel-features.h
26659 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26660 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26661 Remove conditional code.
26662 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26663 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26664 Remove conditional code.
26665 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26666 * sysdeps/unix/sysv/linux/i386/fxstat.c
26667 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26668 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26669 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26670 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26671 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26672 * sysdeps/unix/sysv/linux/i386/lxstat.c
26673 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26674 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26675 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26676 Remove conditional code.
26677 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26678 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26679 Remove conditional code.
26680 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26681 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26682 <kernel-features.h>.
26683 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26684 Remove.
26685 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26686 Remove conditional code.
26687 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26688 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26689 Remove conditional.
26690
5dbf56af
MF
266912012-08-27 Mike Frysinger <vapier@gentoo.org>
26692
26693 [BZ #5400]
26694 * NEWS: Add fixed bug number.
26695
d6e70f43
JM
266962012-08-27 Joseph Myers <joseph@codesourcery.com>
26697
7efb4737
JM
26698 [BZ #14519]
26699 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26700 underflowing exponent in case of negative sign.
26701 * stdlib/tst-strtod-round-data: Add more tests.
26702 * stdlib/tst-strtod-round.c (tests): Regenerated.
26703
af92131a
JM
26704 [BZ #3479]
26705 * stdlib/strtod_l.c (NDIG): Remove.
26706 (HEXNDIG): Likewise.
26707 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26708 smallest representable value.
26709 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26710 lie within an exact representation of 1/2 ulp of the result.
26711 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26712 unconditionally.
26713 (TENS_P9_IDX): Define unconditionally.
26714 (TENS_P9_SIZE): Likewise.
26715 (TENS_P10_IDX): Likewise.
26716 (TENS_P10_SIZE): Likewise.
26717 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26718 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26719 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26720 entries for 10^2^13 and 10^2^14.
26721 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26722 (TENS_P13_IDX): Define.
26723 (TENS_P13_SIZE): Likewise.
26724 (TENS_P14_IDX): Likewise.
26725 (TENS_P14_SIZE): Likewise.
26726 (_fpioconst_pow10): Change array size to
26727 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26728 unconditional.
26729 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26730 1024]: Add entries for 10^2^13 and 10^2^14.
26731 [LAST_POW10 > _LAST_POW10]: Remove #error.
26732 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26733 (_fpioconst_pow10): Change array size to
26734 FPIOCONST_POW10_ARRAY_SIZE.
26735 * stdlib/gen-fpioconst.c: New file.
26736 * stdlib/gen-tst-strtod-round.c: Likewise.
26737 * stdlib/tst-strtod-round-data: Likewise.
26738 * stdlib/tst-strtod-round.c: Likewise.
26739 * stdlib/Makefile (tests): Add tst-strtod-round.
26740
d6e70f43
JM
26741 [BZ #14459]
26742 * stdlib/strtod_l.c: Include <stdint.h>.
26743 (NDEBUG): Do not define.
26744 (round_and_return): Change EXPONENT parameter to type intmax_t.
26745 Rearrange calculations to avoid internal overflow possibilities.
26746 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26747 Rearrange calculations to avoid internal overflow possibilities.
26748 Assert that number fits inside MPNSIZE limbs.
26749 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26750 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26751 calculations and add assertions to avoid internal overflow
26752 possibilities. Add casts to avoid signed/unsigned operations.
26753 * stdlib/tst-strtod-overflow.c: New file.
26754 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26755
1f529f7d
MP
267562012-08-25 Marek Polacek <polacek@redhat.com>
26757
26758 * time/time.h: Fix some typos in comments.
26759
59a629f1
RM
267602012-08-23 Roland McGrath <roland@hack.frob.com>
26761
26762 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26763 * posix/tst-rfc3484-2.c: Likewise.
26764 * posix/tst-rfc3484-3.c: Likewise.
26765
d3bafbc9
SM
267662012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26767
26768 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26769 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26770
4efcc022
JM
267712012-08-23 Joseph Myers <joseph@codesourcery.com>
26772
26773 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26774 #include of fxstatat64.c.
26775
3cc3ef96
RM
267762012-08-22 Roland McGrath <roland@hack.frob.com>
26777
f04e2132
RM
26778 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26779 * shadow/getspent_r.c: Likewise.
26780 * shadow/getspnam.c: Likewise.
26781 * shadow/getspnam_r.c: Likewise.
26782 * gshadow/getsgent.c: Likewise.
26783 * gshadow/getsgent_r.c: Likewise.
26784 * gshadow/getsgnam.c: Likewise.
26785 * gshadow/getsgnam_r.c: Likewise.
26786 * inet/getnetbyad.c: Likewise.
26787 * inet/getnetbyad_r.c: Likewise.
26788 * inet/getnetbynm.c: Likewise.
26789 * inet/getnetbynm_r.c: Likewise.
26790 * inet/getnetent.c: Likewise.
26791 * inet/getnetent_r.c: Likewise.
26792 * inet/getproto.c: Likewise.
26793 * inet/getproto_r.c: Likewise.
26794 * inet/getprtent.c: Likewise.
26795 * inet/getprtent_r.c: Likewise.
26796 * inet/getprtname.c: Likewise.
26797 * inet/getprtname_r.c: Likewise.
26798 * inet/getrpcbyname.c: Likewise.
26799 * inet/getrpcbyname_r.c: Likewise.
26800 * inet/getrpcbynumber.c: Likewise.
26801 * inet/getrpcbynumber_r.c: Likewise.
26802 * inet/getrpcent.c: Likewise.
26803 * inet/getrpcent_r.c: Likewise.
26804 * inet/getaliasent.c: Likewise.
26805 * inet/getaliasent_r.c: Likewise.
26806 * inet/getaliasname.c: Likewise.
26807 * inet/getaliasname_r.c: Likewise.
26808 * nscd/getgrgid_r.c: Likewise.
26809 * nscd/getgrnam_r.c: Likewise.
26810 * nscd/gethstbyad_r.c: Likewise.
26811 * nscd/gethstbynm3_r.c: Likewise.
26812 * nscd/getpwnam_r.c: Likewise.
26813 * nscd/getpwuid_r.c: Likewise.
26814 * nscd/getsrvbynm_r.c: Likewise.
26815 * nscd/getsrvbypt_r.c: Likewise.
26816 * nscd/gai.c: Likewise.
26817
c53d909c
RM
26818 * configure.in (build_nscd): New substituted variable, set
26819 by --disable-build-nscd and defaults to $use_nscd.
26820 * configure: Regenerated.
26821 * config.make.in (build-nscd): New substituted variable.
26822 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26823 Change conditional to require [$(build-nscd) = yes] as well.
26824 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26825
3cc3ef96
RM
26826 [BZ# 13696]
26827 * configure.in (use_nscd): New substituted variable, set by
26828 --disable-nscd. If enabled, define USE_NSCD.
26829 * configure: Regenerated.
26830 * config.h.in: Add USE_NSCD.
26831 * config.make.in (use-nscd): New substituted variable.
26832 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26833 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26834 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26835 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26836 (CFLAGS-getgrnam_r.c): Likewise.
26837 (CFLAGS-initgroups.c): Likewise.
26838 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26839 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26840 Variables removed.
26841 * inet/getnetgrent_r.c
26842 (nscd_setnetgrent): New function, broken out of ...
26843 (setnetgrent): ... here. Call it.
26844 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26845 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26846 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26847 * nscd/Makefile (routines, aux): Move definitions after include of
26848 Makeconfig. Conditionalize on [$(use-nscd) != no].
26849 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26850 Conditionalize on [USE_NSCD].
26851 (is_nscd, nscd_init_cb): Likewise.
26852 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26853 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26854 * nss/nss_db/db-init.c: Likewise.
26855 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26856 [USE_NSCD].
26857 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26858 (make_request): Use it.
26859 (cache_valid_p): New function.
26860 (__check_pf): Use it.
26861 * NEWS: Add item for --disable-nscd.
26862
07e51550
DL
268632012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26864
26865 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26866 to support sed >= 4.2.1-20-ga9bf076.
26867 * configure: Regenerated.
26868
35a5b08b
RM
268692012-08-22 Roland McGrath <roland@hack.frob.com>
26870
26871 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26872 Conditionalize whole body on [IREL].
26873
8479f23a
JL
268742012-08-22 Jeff Law <law@redhat.com>
26875
26876 [BZ #14505]
26877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26878 if the family is PF_UNSPEC.
26879
48da0b21
MF
268802012-08-22 Mike Frysinger <vapier@gentoo.org>
26881
26882 * Makerules (lib-version): Rename from V.
26883 (install-lib-nosubdir): Change V to lib-version.
26884
15d0da8c
WS
268852012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26886
26887 [BZ #14252]
26888 * powerpc32/power6/wcschr.c: New file.
26889 * powerpc32/power6/wcscpy.c: New file.
26890 * powerpc32/power6/wcsrchr.c: New file.
26891 * powerpc64/power6/wcschr.c: New file.
26892 * powerpc64/power6/wcscpy.c: New file.
26893 * powerpc64/power6/wcsrchr.c: New file.
26894
bcca0895
MK
268952012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26896
26897 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26898 (two_way_short_needle): Use it.
5a4aaa33
RM
26899 * string/strstr.c (AVAILABLE1_USES_J): Define.
26900 * string/strcasestr.c: Likewise.
99677e57
MK
26901
26902 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26903 array references.
26904 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26905
400726de
MK
26906 [BZ #11607]
26907 * NEWS: Add an entry.
26908 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26909 define their defaults.
26910 (two_way_short_needle): Detect end-of-string on-the-fly.
26911 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26912 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26913 * string/bug-strcasestr1.c: New test.
26914 * string/Makefile: Run it.
26915
20a71f2c
MK
269162012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26917
26918 [BZ #11607]
26919 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26920 the first character.
26921
21ad0558
RM
269222012-08-21 Roland McGrath <roland@hack.frob.com>
26923
26924 * csu/elf-init.c (__libc_csu_irel): Function removed.
26925 * csu/libc-start.c (apply_irel): New function.
26926 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26927
0e1d9911
JM
269282012-08-21 Joseph Myers <joseph@codesourcery.com>
26929
26930 * sysdeps/unix/sysv/linux/kernel-features.h
26931 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26932 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26933 <kernel-features.h>.
26934 [__NR_fadvise64_64]: Make code unconditional.
26935 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26936 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26937 !__NR_fadvise64_64)]: Likewise.
26938 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26939 !__NR_fadvise64_64))]: Likewise.
26940 [__NR_fadvise64]: Make code unconditional.
26941 [!__NR_fadvise64]: Remove conditional code.
26942 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26943 <kernel-features.h>.
26944 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26945 unconditional.
26946 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26947 conditional code.
26948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26949 not include <kernel-features.h>.
26950 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26951 unconditional.
26952 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26953 conditional code.
26954 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26955 include <kernel-features.h>.
26956 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26957 unconditional.
26958 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26959 conditional code.
26960
14a50c9d
WS
269612012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26962
26963 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26964 slight instruction rearrangements per scrollpipe analysis.
26965 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26966
c0f4faf0
RM
269672012-08-20 Roland McGrath <roland@hack.frob.com>
26968
696da859
RM
26969 * manual/syslog.texi (syslog; vsyslog, closelog):
26970 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26971 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26972
c0f4faf0
RM
26973 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26974 DSOCAPS to match condition on defining it.
26975
348363b2
JM
269762012-08-20 Joseph Myers <joseph@codesourcery.com>
26977
a35cbf28
JM
26978 * sysdeps/unix/sysv/linux/kernel-features.h
26979 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26981 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26982 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26984 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26985 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26987 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26988 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26989
445f7ecd
JM
26990 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26991 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26992
348363b2
JM
26993 * sysdeps/unix/sysv/linux/kernel-features.h
26994 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26995 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26996 unconditional.
26997 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26998 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26999 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27000 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27001 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27002 Make code unconditional.
27003 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27004 (__mmap64) [!__NR_mmap2]: Likewise.
27005 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27006 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27007 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27008 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27009 [__NR_mmap2]: Make code unconditional.
27010 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27011 (__mmap64) [!__NR_mmap2]: Likewise.
27012
bc5bc0e5
AK
270132012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27014
27015 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27016
88d506de
AJ
270172012-08-18 Andreas Jaeger <aj@suse.de>
27018
27019 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27020
493387d2
MF
270212012-08-18 Mike Frysinger <vapier@gentoo.org>
27022
27023 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27024 * include/unistd.h (__have_sock_cloexec): Likewise.
27025 (__have_pipe2): Likewise.
27026 (__have_dup3): Likewise.
27027
a277af22
MF
270282012-08-18 Mike Frysinger <vapier@gentoo.org>
27029
27030 [BZ #9685]
27031 * include/unistd.h (__have_pipe2): Change define into an extern int.
27032 (__have_dup3): Likewise.
27033 * socket/have_sock_cloexec.c: Include fcntl.h.
27034 (__have_pipe2): New variable.
27035 (__have_dup3): Likewise.
27036
fdab8fd3
MF
270372012-08-17 Mike Frysinger <vapier@gentoo.org>
27038
27039 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27040
31035e80
MP
270412012-08-17 Marek Polacek <polacek@redhat.com>
27042
27043 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27044 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27045
3bd9e993
RM
270462012-08-17 Roland McGrath <roland@hack.frob.com>
27047
c91c505f
RM
27048 * configure.in: Add AC_SUBST for sysheaders.
27049 * configure: Regenerated.
27050 * config.make.in (sysheaders): New substituted variable.
27051
7c6f9d53
RM
27052 * sysdeps/unix/mkfifo.c: Moved ...
27053 * sysdeps/posix/mkfifo.c: ... here.
27054 * sysdeps/unix/mkfifoat.c: Moved ...
27055 * sysdeps/posix/mkfifoat.c: ... here.
27056
27057 * sysdeps/unix/utime.c: Moved ...
27058 * sysdeps/posix/utime.c: ... here.
27059
27060 * sysdeps/unix/time.c: Moved ...
27061 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27062 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27063 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27064
27065 * sysdeps/unix/nice.c: Moved ...
27066 * sysdeps/posix/nice.c: ... here.
27067
27068 * sysdeps/unix/alarm.c: Moved ...
27069 * sysdeps/posix/alarm.c: ... here.
27070
3bd9e993
RM
27071 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27072
d1f09384
JL
270732012-08-17 Jeff Law <law@redhat.com>
27074
27075 * intl/Makefile (codeset_mo): New variable.
27076 ($(codeset_mo)): New target.
27077 (tst-codeset.out): Depend on that. Remove explicit rule.
27078 (tst-gettext3.out, tst-gettext5.out): Likewise.
27079 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27080 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27081 * intl/tst-codeset.sh: Remove.
27082 * intl/tst-gettext3.sh: Likewise.
27083 * intl/tst-gettext5.sh: Likewise.
27084
2ae1ae5c
RM
270852012-08-17 Roland McGrath <roland@hack.frob.com>
27086
c31fdb83
RM
27087 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27088 * sysdeps/unix/syscalls.list: ... here.
27089
a0844057
RM
27090 * sysdeps/posix/getaddrinfo.c
27091 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27092 (gaiconf_init, gaiconf_reload): Use them.
27093 [!_STATBUF_ST_NSEC]
27094 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27095 Define using time_t rather than struct timespec.
27096
750c1f2a
RM
27097 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27098 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27099 Macros removed.
27100 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27101 [!NO_THREADS].
27102 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27103 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27104 Likewise.
27105
2ae1ae5c
RM
27106 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27107 __libc_cleanup_push argument.
27108
e66a42f5
RM
27109 * bits/param.h: New file.
27110 * misc/sys/param.h: New file.
27111 * include/sys/param.h: New file.
27112 * misc/Makefile (headers): Add bits/param.h.
27113 * sysdeps/generic/sys/param.h: File removed.
27114 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27115 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27116 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27117 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27118
b7c08a66
RM
27119 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27120 last change.
27121
b2e1c562
RM
27122 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27123 [_IO_MTSAFE_IO].
27124 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27125 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27126 New macros.
27127
c75ccd4c
RM
27128 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27129 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27130 rather than -D_IO_MTSAFE_IO conditionally.
27131 * stdio-common/Makefile (CPPFLAGS): Likewise.
27132 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27133 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27134 Use $(libio-mtsafe).
27135 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27136 of -D_IO_MTSAFE_IO.
27137 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27138 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27139 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27140 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27141 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27142 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27143 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27144 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27145 (CFLAGS-fread_u_chk.c): Likewise.
27146 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27147 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27148 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27149 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27150 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27151 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27152 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27153 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27154 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27155
27156 * libio/Makefile: Test [$(libc-reentrant) = yes]
27157 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27158
27159 * Makeconfig
27160 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27161 * sysdeps/pthread/configure: File removed.
27162 * sysdeps/pthread/Makeconfig: New file.
27163 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27164 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27165
d9195db8
GB
271662012-08-16 Gary Benson <gbenson@redhat.com>
27167
27168 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27169 unmapping the first object in a namespace.
27170
86466cd9
RM
271712012-08-16 Roland McGrath <roland@hack.frob.com>
27172
27173 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27174 (__internal_setnetgrent): ... this. Add internal_function to
27175 definition. Add libc_hidden_def.
27176 (setnetgrent): Update caller.
27177 (internal_endnetgrent): Renamed to ...
27178 (__internal_endnetgrent): ... this. Add internal_function to
27179 definition. Add libc_hidden_def.
27180 (endnetgrent): Update caller.
27181 (internal_getnetgrent_r): Renamed to ...
27182 (__internal_getnetgrent_r): ... this. Add internal_function to
27183 definition. Add libc_hidden_def.
27184 (__getnetgrent_r): Update caller.
27185 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27186
c3c8283c
JM
271872012-08-16 Joseph Myers <joseph@codesourcery.com>
27188
27189 * stdlib/longlong.h: Update from GCC.
27190
db1ee0a8
RM
271912012-08-16 Roland McGrath <roland@hack.frob.com>
27192
27193 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27194 on _QL, which is set by umul_ppmm but never used.
27195 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27196 variables, which are set by GMP macros but never used.
27197 * stdio-common/_itowa.c (_itowa): Likewise.
27198 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27199 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27200
30f69637
CD
272012012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27202
27203 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27204 struct La_sh_regs is not constant.
27205 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27206 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27207 and struct La_sparc64_regs are not constant.
27208
93a78ac4
JM
272092012-08-16 Joseph Myers <joseph@codesourcery.com>
27210
27211 * sysdeps/unix/sysv/linux/kernel-features.h
27212 (__ASSUME_POSIX_TIMERS): Remove.
27213 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27214 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27215 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27216 Make code unconditional.
27217 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27218 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27219 Make code unconditional.
27220 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27221 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27222 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27223 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27224 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27225 Make code unconditional.
27226 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27227 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27228 (__libc_missing_posix_timers): Remove.
27229
dd924cd7
RM
272302012-08-15 Roland McGrath <roland@hack.frob.com>
27231
4b4f2771
RM
27232 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27233 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27234
601c888b
RM
27235 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27236
176790a7
RM
27237 * elf/dl-sym.c: Include <stdlib.h>.
27238
329bc018
RM
27239 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27240 constants, which avoids warnings in 32-bit builds.
27241
e04e272d
RM
27242 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27243 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27244
952bf94a
RM
27245 * misc/lseek.c: File moved to ...
27246 * io/lseek.c: ... here.
27247
7c99b50a
RM
27248 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27249
dd924cd7
RM
27250 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27251 shifting LEN more than 31 bits at once.
27252
b3f479a8
LD
272532012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27254
27255 [BZ #14195]
8c4ae0d4
RM
27256 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27257 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27258 * string/test-strncasecmp.c (check1): Renamed to...
27259 (bz12205): ...this.
27260 (bz14195): Add new testcase for two empty input strings and N > 0.
27261 (test_main): Call new testcase, adapt for renamed function.
27262
9c55864e
AJ
272632012-08-15 Andreas Jaeger <aj@suse.de>
27264
27265 [BZ #14090]
27266 * crypt/md5test2.c: New test, based on test supplied by Serge
27267 Belyshev <belyshev@depni.sinp.msu.ru>.
27268 * crypt/Makefile (xtests): Add md5test-giant..
27269 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27270
02dcb6c5
PE
272712012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27272
27273 [BZ #14090]
27274 * crypt/md5.c (md5_process_block): Don't assume the buffer
27275 length is less than 2**32.
27276 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27277 length is less than 2**64.
27278
a3f95dcc
RM
272792012-08-15 Roland McGrath <roland@hack.frob.com>
27280
be75d758
RM
27281 * string/str-two-way.h: Include <sys/param.h>.
27282 (MAX): Macro removed.
27283
7312ca90
RM
27284 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27285 Move #define and #undef of memmove to just before and after
27286 including <string.h>.
27287
9a0a5486
RM
27288 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27289 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27290 and after including <string.h>. Move declarations of
27291 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27292 to before #include "string/memmove.c".
27293
67cc348d
RM
27294 * include/dirent.h: Declare __getdirentries.
27295
a3f95dcc
RM
27296 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27297 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27298
ca98e171
MF
272992012-08-14 Mike Frysinger <vapier@gentoo.org>
27300
27301 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27302 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27303 * sysdeps/i386/configure: Regenerated.
27304 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27305 STABS_CURRENT_FILE, and STABS_FUN.
27306 (END): Remove call to STABS_FUN_END.
27307 (STABS_CURRENT_FILE1): Delete.
27308 (STABS_CURRENT_FILE): Likewise.
27309 (STABS_FUN): Likewise.
27310 (STABS_FUN_END): Likewise.
27311 (STABS_FUN2): Likewise.
27312 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27313 * sysdeps/x86_64/configure: Regenerated.
27314
5908bf46
RM
273152012-08-14 Roland McGrath <roland@hack.frob.com>
27316
27317 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27318 * elf/dl-lookup.c: Likewise.
5908bf46 27319
f2c05b9e
JM
273202012-08-14 Joseph Myers <joseph@codesourcery.com>
27321
27322 * sysdeps/unix/sysv/linux/kernel-features.h
27323 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27324 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27325 unconditionally.
27326 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27327 unconditionally.
27328 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27329 condition on __ASSUME_CLONE_THREAD_FLAGS.
27330
e11f5155
AJ
273312012-08-14 Andreas Jaeger <aj@suse.de>
27332
27333 * sysdeps/i386/fpu/libm-test-ulps: Update.
27334
51a9ba86
MK
273352012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27336
2fdd4f78
AJ
27337 * include/atomic.h (atomic_exchange_and_add): Split into ...
27338 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27339 New atomic macros.
51a9ba86 27340
ba6cba9e
MT
273412012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27342
27343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27344
42443a47
JL
273452012-08-13 Jeff Law <law@redhat.com>
27346
27347 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27348 null byte in the output string.
27349
121dce05
JM
273502012-08-10 Joseph Myers <joseph@codesourcery.com>
27351
27352 * sysdeps/unix/sysv/linux/kernel-features.h
27353 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27354 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27355 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27356 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27357 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27358 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27359 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27360
bf51f568
JL
273612012-08-09 Jeff Law <law@redhat.com>
27362
27363 [BZ #13939]
27364 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27365 When avoid_arena is set, don't retry in the that arena. Pick the
27366 next one, whatever it might be.
27367 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27368 (arena_lock): Pass in new parameter to arena_get2.
27369 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27370 arena_get2.
27371 (__libc_malloc): Unify retrying after main arena failure with
27372 __libc_memalign version.
27373 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27374
f85fa270
L
273752012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27376
27377 [BZ #14166]
27378 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27379 to __redirect_strstr.
27380 (__strstr_sse42): Use typeof __redirect_strstr.
27381 (__strstr_ia32): Likewise.
27382 (__libc_strstr): New prototype.
27383 (strstr): Renamed to ...
27384 (__libc_strstr): This.
27385 (strstr): New strong alias of __libc_strstr.
27386 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27387 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27388 __redirect_time.
27389 Include <time.h>.
27390 (__libc_time): New prototype.
27391 (time_ifunc): Replace time with __libc_time.
27392 (time): New strong alias and hidden definition of __libc_time.
27393 (__GI_time): Remove strong alias.
27394 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27395 Include <stddef.h>.
27396 (memmove): Redefined to __redirect_memmove.
27397 (__memmove_sse2): Use typeof __redirect_memmove.
27398 (__memmove_ssse3): Likewise.
27399 (__memmove_ssse3_back): Likewise.
27400 (__libc_memmove): New prototype.
27401 (memmove): Renamed to ...
27402 (__libc_memmove): This.
27403 (memmove): New strong alias of __libc_memmove.
27404
33b4a91e
MS
274052012-08-08 Mark Salter <msalter@redhat.com>
27406
27407 * elf/elf.h
27408 (R_MN10300_TLS_GD): Define.
27409 (R_MN10300_TLS_LD): Likewise.
27410 (R_MN10300_TLS_LDO): Likewise.
27411 (R_MN10300_TLS_GOTIE): Likewise.
27412 (R_MN10300_TLS_IE): Likewise.
27413 (R_MN10300_TLS_LE): Likewise.
27414 (R_MN10300_TLS_DTPMOD): Likewise.
27415 (R_MN10300_TLS_DTPOFF): Likewise.
27416 (R_MN10300_TLS_TPOFF): Likewise.
27417 (R_MN10300_SYM_DIFF): Likewise.
27418 (R_MN10300_ALIGN): Likewise.
27419 (R_MN10300_NUM): Update.
27420
b36137f1
JM
274212012-08-08 Joseph Myers <joseph@codesourcery.com>
27422
27423 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27424 Remove.
27425
cdd915fd
RM
274262012-08-08 Roland McGrath <roland@hack.frob.com>
27427
a2433aac
RM
27428 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27429
cdd915fd
RM
27430 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27431 sysdeps/unix -> sysdeps/posix move.
27432 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27433
bf9b740a
AM
274342012-08-07 Allan McRae <allan@archlinux.org>
27435
27436 [BZ #14303]
27437 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27438 (SUNOS_CPP): Likewise.
27439 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27440 not found.
27441 (open_input): Call CPP using execvp.
27442
93df14ee
JM
274432012-08-07 Joseph Myers <joseph@codesourcery.com>
27444
27445 * sysdeps/unix/sysv/linux/kernel-features.h
27446 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27447 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27448 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27449 (__ASSUME_WAITID_SYSCALL): Likewise.
27450 * sysdeps/unix/sysv/linux/dl-execstack.c
27451 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27452 code unconditional.
27453 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27454 conditional code.
27455 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27456 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27457 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27458 code.
27459 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27460 unconditional.
27461 [__ASSUME_WAITID_SYSCALL]: Likewise.
27462 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27463
d34689de
RM
274642012-08-07 Roland McGrath <roland@hack.frob.com>
27465
a281decc
RM
27466 * sysdeps/unix/closedir.c: Renamed to ...
27467 * sysdeps/posix/closedir.c: ... here.
27468 * sysdeps/unix/dirfd.c: Renamed to ...
27469 * sysdeps/posix/dirfd.c: ... here.
27470 * sysdeps/unix/dirstream.h: Renamed to ...
27471 * sysdeps/posix/dirstream.h: ... here.
27472 * sysdeps/unix/fdopendir.c: Renamed to ...
27473 * sysdeps/posix/fdopendir.c: ... here.
27474 * sysdeps/unix/opendir.c: Renamed to ...
27475 * sysdeps/posix/opendir.c: ... here.
27476 * sysdeps/unix/readdir.c: Renamed to ...
27477 * sysdeps/posix/readdir.c: ... here.
27478 * sysdeps/unix/readdir_r.c: Renamed to ...
27479 * sysdeps/posix/readdir_r.c: ... here.
27480 * sysdeps/unix/rewinddir.c: Renamed to ...
27481 * sysdeps/posix/rewinddir.c: ... here.
27482 * sysdeps/unix/seekdir.c: Renamed to ...
27483 * sysdeps/posix/seekdir.c: ... here.
27484 * sysdeps/unix/telldir.c: Renamed to ...
27485 * sysdeps/posix/telldir.c: ... here.
27486 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27487 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27488 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27489 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27490
22895b47
RM
27491 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27492 * bits/fcntl.h: ... here.
27493
707a53b6
RM
27494 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27495 not 0.
27496 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27497 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27498 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27499 (struct flock): Move l_start, l_len to the beginning.
27500 Use __pid_t for l_pid.
27501 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27502 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27503 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27504 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27505 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27506 [__USE_LARGEFILE64] (struct flock64): New type.
27507 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27508
f0bd3e25
RM
27509 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27510 * bits/dirent.h: ... here.
27511
d34689de
RM
27512 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27513 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27514
6dad2c06
JM
275152012-08-07 Joseph Myers <joseph@codesourcery.com>
27516
27517 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27518 Change from 2.6.0 to 2.6.16.
27519 * sysdeps/unix/sysv/linux/configure: Regenerated.
27520 * sysdeps/unix/sysv/linux/kernel-features.h
27521 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27522 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27523 version.
27524 (__ASSUME_UTIMES): Likewise.
27525 (__ASSUME_CLONE_STOPPED): Remove.
27526 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27527 architectures, not kernel version.
27528 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27529 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27530 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27531 (__ASSUME_WAITID_SYSCALL): Likewise.
27532 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27533 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27534 * README: State 2.6.16 as minimum Linux kernel version. Do not
27535 refer to older versions.
27536
03af9520
RM
275372012-08-06 Roland McGrath <roland@hack.frob.com>
27538
8e49df1d
RM
27539 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27540 Define alphasort64 as an alias.
27541 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27542 Define versionsort64 as an alias.
27543 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27544 Define scandir64 as an alias.
27545 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27546 Define scandirat64 as an alias.
27547 * dirent/alphasort64.c (alphasort64):
27548 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27549 * dirent/versionsort64.c: Likewise.
27550 * dirent/scandir64.c: Likewise.
27551 * dirent/scandirat64.c: Likewise.
27552 * sysdeps/wordsize-64/alphasort.c: File removed.
27553 * sysdeps/wordsize-64/alphasort64.c: File removed.
27554 * sysdeps/wordsize-64/scandir.c: File removed.
27555 * sysdeps/wordsize-64/scandir64.c: File removed.
27556 * sysdeps/wordsize-64/scandirat.c: File removed.
27557 * sysdeps/wordsize-64/scandirat64.c: File removed.
27558 * sysdeps/wordsize-64/versionsort.c: File removed.
27559 * sysdeps/wordsize-64/versionsort64.c: File removed.
27560 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27561 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27562 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27563 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27564 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27565 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27566 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27567 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27568
27569 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27570 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27571 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27572 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27573 [defined __arch64__ || defined __sparcv9]
27574 (__INO_T_MATCHES_INO64_T): New macro.
27575 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27576 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27577 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27578 * sysdeps/unix/sysv/linux/bits/dirent.h
27579 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27580 (_DIRENT_MATCHES_DIRENT64): New macro.
27581
03af9520
RM
27582 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27583 Define lockf64 as an alias.
27584 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27585 Define fseeko64 as an alias.
27586 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27587 Define ftello64 as an alias.
27588 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27589 Define _IO_fgetpos64 and fgetpos64 as aliases.
27590 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27591 Define _IO_fsetpos64 and fsetpos64 as aliases.
27592 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27593 Conditionalize body on this.
27594 * libio/fseeko64.c: Likewise.
27595 * libio/ftello64.c: Likewise.
27596 * libio/iofgetpos64.c: Likewise.
27597 * libio/iofsetpos64.c: Likewise.
27598 * sysdeps/wordsize-64/lockf.c: File removed.
27599 * sysdeps/wordsize-64/lockf64.c: File removed.
27600 * sysdeps/wordsize-64/fseeko.c: File removed.
27601 * sysdeps/wordsize-64/fseeko64.c: File removed.
27602 * sysdeps/wordsize-64/ftello.c: File removed.
27603 * sysdeps/wordsize-64/ftello64.c: File removed.
27604 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27605 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27606 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27607 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27608 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27609 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27610 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27611 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27612 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27613 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27614 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27615 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27616 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27617 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27618
27619 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27620 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27621 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27623 [defined __arch64__ || defined __sparcv9]
27624 (__OFF_T_MATCHES_OFF64_T): New macro.
27625 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27626 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27627 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27628 (__OFF_T_MATCHES_OFF64_T): New macro.
27629
c5757acd
L
276302012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27631
27632 * stdlib/secure-getenv.c (__secure_getenv): Replace
27633 GLIBC_2_16 with GLIBC_2_17.
27634
3a31811e
L
276352012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27636
27637 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27638 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27639
faa2bccb
DM
276402012-08-03 David S. Miller <davem@davemloft.net>
27641
27642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27643
85fe1997
JM
276442012-08-03 Joseph Myers <joseph@codesourcery.com>
27645
27646 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27647 Remove.
27648 (__ASSUME_CORRECT_SI_PID): Likewise.
27649 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27650 (__ASSUME_TMPFS_NAME): Likewise.
27651 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27652 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27653 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27654 (HAVE_AUX_SECURE): Make definition unconditional.
27655 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27656 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27657
4f75b7a0
RM
276582012-08-03 Roland McGrath <roland@hack.frob.com>
27659
27660 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27661 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27662 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27663 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27664 __eloop_threshold instead of SYMLOOP_MAX.
27665
27666 * sysdeps/generic/eloop-threshold.h: New file.
27667 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27668 of MAXSYMLINKS.
27669 * elf/chroot_canon.c (chroot_canon): Likewise.
27670
7aab07e4
JM
276712012-08-03 Joseph Myers <joseph@codesourcery.com>
27672
27673 [BZ #13717]
27674 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27675 Change to 2.6.0 everywhere.
27676 * sysdeps/unix/sysv/linux/configure: Regenerated.
27677 * sysdeps/unix/sysv/linux/kernel-features.h
27678 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27679 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27680 kernel versions.
27681 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27682 (__ASSUME_FUTEX_REQUEUE): Remove.
27683 (__ASSUME_STATFS64): Define unconditionally.
27684 (__ASSUME_AT_SECURE): Likewise.
27685 (__ASSUME_CORRECT_SI_PID): Likewise.
27686 (__ASSUME_TGKILL): Define without depending on kernel version for
27687 i386.
27688 (__ASSUME_UTIMES): Likewise.
27689 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27690 kernel version.
27691 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27692 (__ASSUME_TMPFS_NAME): Likewise.
27693 * README: Update reference to Linux kernel versions.
27694
b67e9372
MP
276952012-08-02 Marek Polacek <polacek@redhat.com>
27696
1f529f7d 27697 [BZ# 14150]
b67e9372
MP
27698 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27699 libc_cv_asm_type_prefix with %.
27700 * configure: Regenerated.
d2441631
RM
27701 * include/libc-symbols.h: Remove comment about
27702 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27703 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27704 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27705 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27706 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27707 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27708 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27709 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27710 * elf/tst-unique2mod1.c: Likewise.
27711 * elf/tst-unique1mod2.c: Likewise.
27712 * elf/tst-unique1mod1.c: Likewise.
27713 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27714 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27715 Replace ASM_TYPE_DIRECTIVE with .type.
27716 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27717 * sysdeps/i386/sysdep.h: Likewise.
27718 * sysdeps/x86_64/sysdep.h: Likewise.
27719 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27721 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27722 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27723 * sysdeps/powerpc/powerpc32/sysdep.h:
27724 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27725 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27726 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27727 * sysdeps/i386/fpu/e_powf.S: Likewise.
27728 * sysdeps/i386/fpu/e_expl.S: Likewise.
27729 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27730 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27731 * sysdeps/i386/fpu/e_pow.S: Likewise.
27732 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27733 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27734 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27735 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27736 * sysdeps/i386/fpu/e_log2.S: Likewise.
27737 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27738 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27739 * sysdeps/i386/fpu/e_powl.S: Likewise.
27740 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27741 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27742 * sysdeps/i386/fpu/e_logl.S: Likewise.
27743 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27744 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27745 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27746 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27747 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27748 * sysdeps/i386/fpu/e_log.S: Likewise.
27749 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27750 * sysdeps/i386/fpu/e_logf.S: Likewise.
27751 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27752 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27753 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27754 * sysdeps/i386/fpu/e_log10.S: Likewise.
27755 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27756 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27757 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27758 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27759 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27760 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27761 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27762 * sysdeps/i386/i686/strtok.S: Likewise.
27763 * sysdeps/i386/i386-mcount.S: Likewise.
27764 * sysdeps/i386/strtok.S: Likewise.
27765 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27766 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27767 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27768 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27769 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27770 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27771 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27772 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27773 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27774 * sysdeps/x86_64/_mcount.S: Likewise.
27775 * sysdeps/x86_64/strtok.S: Likewise.
27776 * sysdeps/sh/_mcount.S: Likewise.
27777
2747bf9a
RM
277782012-08-01 Roland McGrath <roland@hack.frob.com>
27779
27780 * libio/iofopen.c: Include <fcntl.h>.
27781 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27782 (_IO_fopen64, fopen64): Define as aliases.
27783 * libio/iofopen64.c: Include <fcntl.h>.
27784 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27785 Conditionalize body on this.
27786 * sysdeps/wordsize-64/iofopen.c: File removed.
27787 * sysdeps/wordsize-64/iofopen64.c: File removed.
27788
3fb791b8
MP
277892012-08-01 Marek Polacek <polacek@redhat.com>
27790
27791 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27792 Use dlfcn directly instead of a variable.
27793 (binfmt-subdir): Do not define.
27794 (dlfcn): Likewise.
27795
a9f1039f
JM
277962012-08-01 Joseph Myers <joseph@codesourcery.com>
27797
23bddc06
JM
27798 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27799 Remove all definitions.
27800 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27801 <kernel-features.h>.
27802 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27803 (miss_F_GETOWN_EX): Remove all definitions.
27804 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27805 macro definition.
27806 [!__ASSUME_FCNTL64]: Remove conditional code.
27807 [__ASSUME_FCNTL64]: Make code unconditional.
27808 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27809 <kernel-features.h>.
27810 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27811 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27812 (lockf64) [__NR_fcntl64]: Make code unconditional.
27813 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27814
a9f1039f
JM
27815 * sysdeps/unix/sysv/linux/kernel-features.h
27816 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27817 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27818 Make code unconditional.
27819 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27820 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27822 [__NR_vfork]: Make code unconditional.
27823 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27824 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27826 [__NR_vfork]: Make code unconditional.
27827 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27828 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27829
09c0ee5f
RM
278302012-08-01 Roland McGrath <roland@hack.frob.com>
27831
48aec5b9
RM
27832 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27833 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27834
cd97c966
RM
27835 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27836 Define mkstemp64 as an alias.
3f55550c
RM
27837 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27838 Define mkstemps64 as an alias.
cd97c966
RM
27839 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27840 Define mkostemp64 as an alias.
b8625cfc
RM
27841 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27842 Define mkostemps64 as an alias.
cd97c966
RM
27843 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27844 Conditionalize body on this.
27845 * misc/mkostemp64.c: Likewise.
b8625cfc 27846 * misc/mkostemps64.c: Likewise.
3f55550c 27847 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27848 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27849 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27850 * sysdeps/wordsize-64/mkostemp.c: File removed.
27851 * sysdeps/wordsize-64/mkstemp.c: File removed.
27852 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27853 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27854 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27855 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27856
09c0ee5f
RM
27857 [BZ #14138]
27858 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27859 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27860 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27861 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27862
27863 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27864 compat_symbol macros from <shlib-compat.h> rather than the underlying
27865 default_symbol_version and symbol_version macros, so that DEFAULT
27866 lines in shlib-versions are respected.
27867 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27868
7e66ee51
FW
278692012-08-01 Florian Weimer <fweimer@redhat.com>
27870
27871 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27872 Declare with warn_unused_result.
27873 (setgid, setregid, setegid, setresgid): Likewise.
27874 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27875 Likewise.
27876 * WUR-REPORT: Remove set*id functions.
27877
d2a54255
PT
278782012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27879
27880 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27881
7ecdb005
RM
278822012-07-31 Roland McGrath <roland@hack.frob.com>
27883
b4180a5e 27884 [BZ #10191]
789bd351
RM
27885 * include/sys/socket.h (__libc_accept, __libc_accept4):
27886 Add attribute_hidden.
27887 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27888
40ce302d
RM
27889 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27890 use of PTR_MANGLE.
27891 * inet/getnetgrent_r.c (setup): Likewise.
27892
7ecdb005
RM
27893 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27894
e2eabb2c
DM
278952012-07-31 David S. Miller <davem@davemloft.net>
27896
27897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27898
d0419dbf
JM
278992012-07-31 Joseph Myers <joseph@codesourcery.com>
27900
27901 [BZ #13629]
27902 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27903 value between 1.0 and 2.0 and smaller part has absolute value less
27904 than 1.0.
27905 * math/s_clog10.c (__clog10): Likewise.
27906 * math/s_clog10f.c (__clog10f): Likewise.
27907 * math/s_clog10l.c (__clog10l): Likewise.
27908 * math/s_clogf.c (__clogf): Likewise.
27909 * math/s_clogl.c (__clogl): Likewise.
27910 * math/libm-test.inc (clog_test): Add more tests.
27911 (clog10_test): Likewise.
27912 * sysdeps/i386/fpu/libm-test-ulps: Update.
27913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27914
2bc13872
FW
279152012-07-31 Florian Weimer <fweimer@redhat.com>
27916
27917 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27918 Exit with zero in case no suitable GID is found, and write a
27919 message to standard error.
27920
bea9b193
RM
279212012-07-30 Roland McGrath <roland@hack.frob.com>
27922
27923 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27924 rather than to 1.
27925 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27926 (MAXPATHLEN): Removed.
27927 (NOGROUP, NODEV): New macros.
27928 (setbit, clrbit, isset, isclr): New macros.
27929 (howmany, roundup, powerof2): New macros.
27930 (DEV_BSIZE): New macro.
27931
27932 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27933 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27934
27935 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27936 definition on [!__NO_LONG_DOUBLE_MATH].
27937
27938 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27939 PTR_MANGLE and PTR_DEMANGLE.
27940
27941 * socket/accept4.c (accept4): Rename to __libc_accept4.
27942 Define accept4 as a weak alias.
27943
27944 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27945 on [_DIRENT_HAVE_D_TYPE].
27946 * io/ftw.c (ftw_dir): Likewise.
27947
27948 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27949
27950 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27951
27952 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27953 Use the BSD numbers rather than the arbitrary ones we had.
27954 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27955 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27956 (SIGXCPU, SIGXFSZ): New macros.
27957 (_NSIG): Now 32.
27958
27959 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27960 initializer on [_LIBC_REENTRANT].
27961
27962 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27963 definitions inside [_POSIX_MAPPED_FILES].
27964
27965 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27966
27967 * dirent/opendir.c: Include <fcntl.h>.
27968
27969 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27970 (__libc_getspecific): Likewise.
27971 (__libc_key_create): Likewise.
27972
27973 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27974 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27975 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27976 (tmpfile64): Define as alias.
27977 * sysdeps/wordsize-64/tmpfile.c: File removed.
27978 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27979 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27980 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27981
27982 * stdio-common/vfscanf.c: Include <stdbool.h>.
27983 * nss/makedb.c: Likewise.
27984 * stdio-common/_i18n_number.h: Likewise.
27985 * argp/argp-help.c: Likewise.
27986 * posix/wordexp.c: Likewise.
27987 * sysdeps/posix/spawni.c: Likewise.
27988 * nss/nss_files/files-initgroups.c: Likewise.
27989 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27990 * nss/nss_files/files-initgroups.c: Likewise.
27991 * nss/nss_db/db-netgrp.c: Likewise.
27992 * nss/nss_db/db-initgroups.c: Likewise.
27993 * io/fchmodat.c: Include <sys/stat.h>.
27994
27995 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27996 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27997
27998 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27999 [HAVE_MMAP].
28000
28001 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28002 Add multiple inclusion protection.
28003
e5abc686
DM
280042012-07-27 David S. Miller <davem@davemloft.net>
28005
28006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28007
815e6fa3
GB
280082012-07-27 Gary Benson <gbenson@redhat.com>
28009
28010 [BZ #14298]
28011 * elf/rtld.c: Include <stap-probe.h>.
28012 (dl_main): Added static probes "init_start" and "init_complete".
28013 * elf/dl-load.c: Include <stap-probe.h>.
28014 (lose): Take new parameter "nsid".
28015 Added static probe "map_failed".
28016 (_dl_map_object_from_fd): Pass namespace id to lose.
28017 Added static probe "map_start".
28018 (open_verify): Pass namespace id to lose.
28019 * elf/dl-open.c: Include <stap-probe.h>.
28020 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28021 and "reloc_complete".
28022 * elf/dl-close.c: Include <stap-probe.h>.
28023 (_dl_close_worker): Added static probes "unmap_start" and
28024 "unmap_complete".
28025 * elf/rtld-debugger-interface.txt: New file documenting the above.
28026
9f98c16c
RM
280272012-07-26 Roland McGrath <roland@hack.frob.com>
28028
28029 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28030 rather than a string variable.
28031 * sunrpc/rpc_main.c (h_output): Likewise.
28032 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28033
f3c22df3
PT
280342012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28035
28036 * inet/check_native.c: New file.
28037
3129cfc6
JM
280382012-07-26 Joseph Myers <joseph@codesourcery.com>
28039
da865e95
JM
28040 [BZ #13629]
28041 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28042 if larger part has absolute value 1.0.
28043 * math/s_clog10.c (__clog10): Likewise.
28044 * math/s_clog10f.c (__clog10f): Likewise.
28045 * math/s_clog10l.c (__clog10l): Likewise.
28046 * math/s_clogf.c (__clogf): Likewise.
28047 * math/s_clogl.c (__clogl): Likewise.
28048 * math/libm-test.inc (clog_test): Add more tests.
28049 (clog10_test): Likewise.
28050 * sysdeps/i386/fpu/libm-test-ulps: Update.
28051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28052
3129cfc6
JM
28053 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28054 (pltexit): Likewise.
28055 (La_regs): Likewise.
28056 (La_retval): Likewise.
28057 (int_retval): Likewise.
28058 Update #error for removed macros to refer only to definitions in
28059 tst-audit.h.
28060 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28061 macro.
28062 (pltexit): Likewise.
28063 (La_regs): Likewise.
28064 (La_retval): Likewise.
28065 (int_retval): Likewise.
28066 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28067 macro.
28068 (pltexit): Likewise.
28069 (La_regs): Likewise.
28070 (La_retval): Likewise.
28071 (int_retval): Likewise.
28072 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28073 macro.
28074 (pltexit): Likewise.
28075 (La_regs): Likewise.
28076 (La_retval): Likewise.
28077 (int_retval): Likewise.
28078 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28079 macro.
28080 (pltexit): Likewise.
28081 (La_regs): Likewise.
28082 (La_retval): Likewise.
28083 (int_retval): Likewise.
28084 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28085 macro.
28086 (pltexit): Likewise.
28087 (La_regs): Likewise.
28088 (La_retval): Likewise.
28089 (int_retval): Likewise.
28090 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28091 macro.
28092 (pltexit): Likewise.
28093 (La_regs): Likewise.
28094 (La_retval): Likewise.
28095 (int_retval): Likewise.
28096 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28097 macro definitions in tst-audit.h.
28098 * sysdeps/i386/tst-audit.h: New file.
28099 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28100 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28101 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28102 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28103 * sysdeps/sh/tst-audit.h: Likewise.
28104 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28105 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28106 * sysdeps/x86_64/tst-audit.h: Likewise.
28107
bfc07087
AJ
281082012-07-26 Andreas Jaeger <aj@suse.de>
28109
b1b2aaf8
AJ
28110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28111 ptrace.
28112
28113 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28114 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28115 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28116 PTRACE_O_MASK.
28117 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28118 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28119 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28120
bfc07087
AJ
28121 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28122 value.
28123
28124 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28125 _sigsys.
28126 (si_call_addr, si_syscall, si_arch): Define new macro.
28127 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28128 _sigsys.
28129 (si_call_addr, si_syscall, si_arch): Define new marcro.
28130 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28131 _sigsys.
28132 (si_call_addr, si_syscall, si_arch): Define new macro.
28133 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28134 _sigsys.
28135 (si_call_addr, si_syscall, si_arch): Define new macro.
28136
89b4b02f
JM
281372012-07-25 Joseph Myers <joseph@codesourcery.com>
28138
28139 [BZ #13717]
28140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28141 Change to 2.4.21 where previously 2.4.1.
28142 * sysdeps/unix/sysv/linux/configure: Regenerated.
28143 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28144 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28145 Linux kernel version.
28146 (__ASSUME_STD_AUXV): Remove.
28147 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28148 kernel version.
28149 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28150 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28151 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28152 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28153 (__ASSUME_NETLINK_SUPPORT): Likewise.
28154 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28155 (__no_netlink_support): Remove conditional definition.
28156 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28157 Remove.
28158 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28159 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28160 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28161 (if_nameindex_ioctl): Remove.
28162 (if_nameindex_netlink): Do not handle __no_netlink_support.
28163 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28164 code.
28165 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28166 Remove conditional code.
28167 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28168 code.
28169 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28170 unconditional.
28171 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28172 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28173 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28174 Remove.
28175 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28176 [!__ASSUME_STD_AUXV]: Remove conditional code.
28177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28178 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28179 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28181 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28182 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28183 code.
28184 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28186 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28187 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28188 conditional code.
28189 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28191 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28192 code.
28193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28194 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28195 conditional code.
28196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28197 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28198 code unconditional.
28199 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28200 conditional code.
28201 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28202 unconditional.
28203 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28204 conditional code.
28205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28206 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28207 unconditional.
28208 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28209 conditional code.
28210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28211 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28212 code unconditional.
28213 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28214 conditional code.
28215 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28216 unconditional.
28217 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28218 conditional code.
28219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28220 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28221 code unconditional.
28222 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28223 conditional code.
28224 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28225 unconditional.
28226 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28227 conditional code.
28228
842a39cd
AS
282292012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28230
28231 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28232 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28233 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28234 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28235 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28236 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28237 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28238 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28239 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28240 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28241 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28242 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28243 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28244 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28245 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28246 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28247 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28248 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28249 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28251 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28252 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28253 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28254
84b3fd84
FW
282552012-07-25 Florian Weimer <fweimer@redhat.com>
28256
28257 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28258 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28259 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28260 Introduce __libc_secure_getenv.
0c7936d5
FW
28261 * stdlib/Versions (2.17): Add secure_getenv
28262 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28263 * stdlib/secure-getenv.c: Rename __secure_getenv to
28264 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28265 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28266 * stdlib/tst-secure-getenv.c: New.
28267 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28268 * manual/startup.texi (Environment Access): Document
28269 secure_getenv.
84b3fd84
FW
28270 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28271 __libc_secure_getenv.
28272 * inet/ruserpass.c (ruserpass): Likewise.
28273 * malloc/mtrace.c (mtrace): Likewise.
28274 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28275 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28276 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28277 * sysdeps/posix/tempname.c: Likewise. Evaluate
28278 HAVE_SECURE_GETENV.
28279 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28280 __secure_getenv to __libc_secure_getenv.
84b3fd84 28281 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28283 Likewise.
28284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28285 Likewise.
28286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28288 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28293
56e49b71
JM
282942012-07-25 Joseph Myers <joseph@codesourcery.com>
28295
28296 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28297 (struct La_i86_retval): Likewise.
28298 (struct La_x86_64_regs): Likewise.
28299 (struct La_x86_64_retval): Likewise.
28300 (struct La_x32_regs): Likewise.
28301 (struct La_x32_retval): Likewise.
28302 (struct La_ppc32_regs): Likewise.
28303 (struct La_ppc32_retval): Likewise.
28304 (struct La_ppc64_regs): Likewise.
28305 (struct La_ppc64_retval): Likewise.
28306 (struct La_sh_regs): Likewise.
28307 (struct La_sh_retval): Likewise.
28308 (struct La_s390_32_regs): Likewise.
28309 (struct La_s390_32_retval): Likewise.
28310 (struct La_s390_64_regs): Likewise.
28311 (struct La_s390_64_retval): Likewise.
28312 (struct La_sparc32_regs): Likewise.
28313 (struct La_sparc32_retval): Likewise.
28314 (struct La_sparc64_regs): Likewise.
28315 (struct La_sparc64_retval): Likewise.
28316 (struct audit_ifaces): Remove architecture-specific pltenter and
28317 pltexit members.
28318 * sysdeps/i386/ldsodefs.h: New file.
28319 * sysdeps/powerpc/ldsodefs.h: Likewise.
28320 * sysdeps/s390/ldsodefs.h: Likewise.
28321 * sysdeps/sh/ldsodefs.h: Likewise.
28322 * sysdeps/sparc/ldsodefs.h: Likewise.
28323 * sysdeps/x86_64/ldsodefs.h: Likewise.
28324
354691b7
MP
283252012-07-25 Marek Polacek <polacek@redhat.com>
28326
28327 [BZ #6808]
28328 * math/libm-test.inc (yn_test): Add another test.
28329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28330 to ERANGE when the result is +-Inf.
28331 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28332 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28333 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28334 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28335
bf9e2071
JM
283362012-07-24 Joseph Myers <joseph@codesourcery.com>
28337
28338 * conform/data/time.h-data (NULL): Use macro-constant. Require
28339 equal to 0.
28340 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28341 clock_t.
28342 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28343
57633811
TS
283442012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28345
28346 * configure.in <sysdeps resolving>: Correct printing
28347 Implies_before.
28348 * configure: Regenerate.
28349
c23c33b0
TS
283502012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28351
28352 * math/w_ilogb.c: Include <limits.h>.
28353 * math/w_ilogbl.c: Likewise.
28354
b5982523
JM
283552012-07-20 Joseph Myers <joseph@codesourcery.com>
28356
28357 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28358 va_copy. Document allowing for unavailable va_copy only as
28359 pre-C99 compatibility.
28360 * manual/string.texi (Copying and Concatenation): Use va_copy
28361 instead of __va_copy in concat example.
28362
ac4ea442
PT
283632012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28364
28365 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28366 (__sendto): Use create_address_port. Initialize APORT and deallocate
28367 it if not null.
28368
f98eafbd
PT
28369 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28370 with O_NOLINK passed to __file_name_lookup.
28371
898c7aab
PT
28372 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28373 with O_NOLINK passed to __file_name_lookup.
28374
0ced335a
PT
28375 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28376 negative N or less than NGIDS.
28377
b3404dbd
PT
28378 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28379 type to string_t. Set ERANGE as errno and return it if NAME is not big
28380 enough. Use memcpy instead of strncpy.
28381
0f48659e
JM
283822012-07-20 Joseph Myers <joseph@codesourcery.com>
28383
28384 * elf/Makefile (check-data): Remove.
28385 (localplt.data): New vpath directive.
28386 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28387 instead of $(check-data).
28388 * scripts/data/localplt-generic.data: Move to ...
28389 * sysdeps/generic/localplt.data: ... here.
28390 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28391 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28392 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28394 ... here.
28395 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28397 ... here.
28398 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28400 ... here.
28401 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28403 ... here.
28404 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28406 ... here.
28407 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28409 ... here.
28410
d37cbdaa
AZ
284112012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28412
28413 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28414 PPC32 and PPC64 files.
28415 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28416 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28417
46f85fc2
AK
284182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28419
28420 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28421 __makecontext_ret to ...
28422 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28423 ... here and call exit if uc_link is NULL. New file.
28424 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28425 __makecontext_ret.S.
28426 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28427 __makecontext_ret to ...
28428 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28429 ... here and call exit if uc_link is NULL. New file.
28430 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28431 __makecontext_ret.S.
28432
08f43f9b
AK
284332012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28434
28435 * elf/elf.h (R_390_IRELATIVE): New definition.
28436 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28437 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28438 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28439 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28440 (elf_machine_lazy_rel): Likewise.
28441 * sysdeps/s390/dl-irel.h: New file.
28442 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28443 * sysdeps/s390/s390-64/memset.S: New asm code.
28444 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28445 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28446 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28447 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28448 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28449 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28450 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28451 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28452 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28453 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28454 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28455 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28456 * sysdeps/s390/s390-32/memset.S: New asm code.
28457 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28458
3b05db33
MP
284592012-07-17 Marek Polacek <polacek@redhat.com>
28460
28461 [BZ #14349]
28462 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28463 * sysdeps/s390/s390-64/configure.in: Likewise.
28464 * sysdeps/sparc/configure.in: Likewise.
28465 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28466 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28467 * sysdeps/i386/configure.in: Likewise.
28468 * sysdeps/x86_64/configure.in: Likewise.
28469 * sysdeps/sh/configure.in: Likewise.
28470 * sysdeps/s390/s390-32/configure: Regenerated.
28471 * sysdeps/s390/s390-64/configure: Likewise.
28472 * sysdeps/x86_64/configure: Likewise.
28473 * sysdeps/sh/configure: Likewise.
28474 * sysdeps/powerpc/powerpc64/configure: Likewise.
28475 * sysdeps/powerpc/powerpc32/configure: Likewise.
28476 * sysdeps/sparc/configure: Likwise.
28477 * sysdeps/i386/configure: Likewise.
28478
a66877c6
MP
28479 * elf/dl-open.c: Comment fixes.
28480
cfc82fd8
JM
284812012-07-17 Joseph Myers <joseph@codesourcery.com>
28482
bd29910a
JM
28483 * Makefile [CXX] (check-data): Remove.
28484 [CXX] (c++-types.data): New vpath directive.
28485 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28486 vpath. Do not allow for C++ type data being missing.
28487 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28488 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28489 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28490 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28491 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28492 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28493 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28495 ... here.
28496 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28498 ... here.
28499 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28501 ... here.
28502 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28504 ... here.
28505 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28507 ... here.
28508 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28510 ... here.
28511 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28513 ... here.
28514 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28516
cfc82fd8
JM
28517 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28518 definitions to architecture-specific files.
28519 (TLS_IE): Likewise.
28520 (TLS_LD): Likewise.
28521 (TLS_GD): Likewise.
28522 * sysdeps/i386/tls-macros.h: New file.
28523 * sysdeps/powerpc/tls-macros.h: Likewise.
28524 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28525 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28526 * sysdeps/sh/tls-macros.h: Likewise.
28527 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28528 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28529 * sysdeps/x86_64/tls-macros.h: Likewise.
28530
f7db3170
TS
285312012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28532
07cbfc23
TS
28533 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28534 zero value for regular exit case.
28535
f7db3170
TS
28536 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28537 (__start_context): Preserve zero value for regular exit case.
28538
dc97c227
TS
285392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28540 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28541
28542 * manual/setjmp.texi (setcontext): Clarify normal process
28543 termination when uc_link is the null pointer.
28544 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28545 exit call.
28546
d0cd7d02
AS
285472012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28548
28549 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28550 preprocessor. Test for each exception mask separately.
28551
dd318934
AJ
285522012-07-16 Andreas Jaeger <aj@suse.de>
28553
28554 * po/ru.po: Update from translation team.
28555
8048311a
JM
285562012-07-15 Joseph Myers <joseph@codesourcery.com>
28557
28558 * conform/data/string.h-data (NULL): Use macro-constant. Require
28559 equal to 0.
28560 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28561 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28562 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28563 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28564 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28565
b637d46e
AJ
285662012-07-13 Andreas Jaeger <aj@suse.de>
28567
28568 * po/fr.po: Update from translation team.
28569
541428fe
MP
285702012-07-12 Marek Polacek <polacek@redhat.com>
28571
28572 [BZ #14173]
28573 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28574 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28575 loop condition.
28576
ec332e94
JM
285772012-07-12 Joseph Myers <joseph@codesourcery.com>
28578
28579 [BZ #13717]
28580 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28581 Change to 2.4.1 where previously 2.4.0.
28582 * sysdeps/unix/sysv/linux/configure: Regenerated.
28583 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28584 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28585 version.
28586 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28587 (__ASSUME_AT_CLKTCK): Remove.
28588 (__ASSUME_AT_PAGESIZE): Likewise.
28589 (__ASSUME_AT_XID): Likewise.
28590 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28591 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28592 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28593 unconditionally.
28594 (HAVE_AUX_PAGESIZE): Likewise.
28595 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28596 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28597 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28598
7b6e99be
JB
285992012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28600
28601 [BZ #14307]
28602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28603 the temporary buffer used to invoke __gethostbyname2_r,
28604 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28605 host_data / struct gaih_addrtuple.
28606 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28607 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28608 header file nss/nsswitch.h.
28609 * nss/nsswitch.h (global scope): Add definition of implementation
28610 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28611 resolv/nss_dns/dns-host.c).
28612
608404eb
AJ
286132012-07-11 Andreas Jaeger <aj@suse.de>
28614
28615 * po/fr.po: Update from translation team.
28616
71220aca
AJ
28617 * po/sv.po: Update from translation team
28618 * po/fr.po: Another update from translation team.
28619
28cfe843
AZ
286202012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28621
28622 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28623 for subnormals or multiply small sinh result by itself.
28624 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28626
6b90f981
DM
286272012-07-11 David S. Miller <davem@davemloft.net>
28628
28629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28630
c6825772
AS
286312012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28632
28633 [BZ #14347]
28634 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28635 (INTERNAL_MARK): Shift it here.
28636
7b8e0d49
MP
286372012-07-10 Marek Polacek <polacek@redhat.com>
28638
28639 [BZ #14151]
28640 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28641 libc_cv_asm_global_directive with .globl.
28642 * configure: Regenerated.
28643 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28644 with .globl.
28645 * sysdeps/i386/configure: Regenerated.
28646 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28647 with .globl.
28648 * sysdeps/x86_64/configure: Regenerated.
28649 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28650 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28651 * elf/tst-unique2mod2.c: Likewise.
28652 * elf/tst-unique2mod1.c: Likewise.
28653 * elf/tst-unique1mod2.c: Likewise.
28654 * elf/tst-unique1mod1.c: Likewise.
28655 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28656 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28657 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28658 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28659 * sysdeps/mach/sysdep.h: Likewise.
28660 * sysdeps/i386/sysdep.h: Likewise.
28661 * sysdeps/i386/i386-mcount.S: Likewise.
28662 * sysdeps/x86_64/_mcount.S: Likewise.
28663 * sysdeps/x86_64/sysdep.h: Likewise.
28664 * sysdeps/sh/_mcount.S: Likewise.
28665 * sysdeps/sh/sysdep.h: Likewise.
28666 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28667 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28668 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28669 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28670 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28671 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28672 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28673 * locale/localeinfo.h: Likewise.
28674 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28675 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28676
6c55cda3
RM
286772012-07-09 Roland McGrath <roland@hack.frob.com>
28678
28679 [BZ #14336]
28680 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28681 system".
28682 * manual/message.texi (The Uniforum approach): Likewise.
28683 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28684 (glibc iconv Implementation): Likewise.
28685
638a572e
JM
286862012-07-09 Joseph Myers <joseph@codesourcery.com>
28687
28688 [BZ #14337]
28689 * math/s_clog.c (__clog): Avoid scaling a value down where that
28690 could result in underflow.
28691 * math/s_clog10.c (__clog10): Likewise.
28692 * math/s_clog10f.c (__clog10f): Likewise.
28693 * math/s_clog10l.c (__clog10l): Likewise.
28694 * math/s_clogf.c (__clogf): Likewise.
28695 * math/s_clogl.c (__clogl): Likewise.
28696 * math/libm-test.inc (clog_test): Add more tests.
28697 (clog10_test): Likewise.
28698 * sysdeps/i386/fpu/libm-test-ulps: Update.
28699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28700
261f4859
AS
287012012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28702
0abaf3e4
AS
28703 [BZ #14283]
28704 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28705 by 7 not 8 to examine high bit of fractional part.
28706
261f4859
AS
28707 [BZ #14042]
28708 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28709 for call to __mcount_internal.
28710 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28711 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28712 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28713
f17ac40d
JM
287142012-07-06 Joseph Myers <joseph@codesourcery.com>
28715
9ad63c23
JM
28716 [BZ #14154]
28717 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28718 approximation for values within 0x1p-13f of an odd multiple of
28719 pi/4.
28720 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28721 exception. Add more tests.
28722 * sysdeps/i386/fpu/libm-test-ulps: Update.
28723
f17ac40d
JM
28724 [BZ #6778]
28725 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28726 inputs and return -1 for them. Do not check for +Inf in case not
28727 reachable for +Inf.
28728 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28729 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28730 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28731 and return -1 for them. Do not check for +Inf in case not
28732 reachable for +Inf.
28733 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28734 define.
28735 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28736 and return -1 for them. Do not check for +Inf in case not
28737 reachable for +Inf.
28738 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28739 spurious underflow.
28740 * sysdeps/i386/fpu/libm-test-ulps: Update.
28741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28742
fb21f89b
MF
287432012-07-06 Mike Frysinger <vapier@gentoo.org>
28744
28745 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28746
cdfe2c5e
JM
287472012-07-05 Joseph Myers <joseph@codesourcery.com>
28748
28749 [BZ #14157]
28750 [BZ #14331]
28751 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28752 could result in spurious underflow. Scale down values above
28753 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28754 * math/s_csqrtf.c (__csqrtf): Likewise.
28755 * math/s_csqrtl.c (__csqrtl): Likewise.
28756 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28757 spurious underflow.
28758 * sysdeps/i386/fpu/libm-test-ulps: Update.
28759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28760
70d35b67
AS
287612012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28762
704bc459
AS
28763 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28764 xopen-msg.sed.
28765 * catgets/xopen-msg.awk: New file.
28766 * catgets/xopen-msg.sed: Removed.
28767
70d35b67
AS
28768 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28769 po2text.sed.
28770 * intl/po2test.awk: New file.
28771 * intl/po2test.sed: Removed.
28772
ca61cf32
JM
287732012-07-04 Joseph Myers <joseph@codesourcery.com>
28774
28775 [BZ #14328]
28776 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28777 or multiply small sinh result by itself.
28778 * math/s_ctanf.c (__ctanf): Likewise.
28779 * math/s_ctanh.c (__ctanh): Likewise.
28780 * math/s_ctanhf.c (__ctanhf): Likewise.
28781 * math/s_ctanhl.c (__ctanhl): Likewise.
28782 * math/s_ctanl.c (__ctanl): Likewise.
28783 * math/libm-test.inc (ctan_test_tonearest): New function.
28784 (ctan_test_towardzero): Likewise.
28785 (ctan_test_downward): Likewise.
28786 (ctan_test_upward): Likewise.
28787 (ctanh_test_tonearest): Likewise.
28788 (ctanh_test_towardzero): Likewise.
28789 (ctanh_test_downward): Likewise.
28790 (ctanh_test_upward): Likewise.
28791 (main): Call these new functions.
28792 * sysdeps/i386/fpu/libm-test-ulps: Update.
28793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28794
ca48a46a
MF
287952012-07-03 Mike Frysinger <vapier@gentoo.org>
28796
28797 * .gitignore: Delete /ports entry.
28798
9d63d37d
AJ
287992012-07-03 Andreas Jaeger <aj@suse.de>
28800
28801 * po/bg.po: Update from translation team.
28802 * po/cs.po: Likewise.
28803 * po/de.po: Likewise.
28804 * po/hr.po: Likewise.
28805 * po/nl.pl: Likewise.
28806 * po/pl.po: Likewise.
28807 * po/vi.po: Likewise.
28808
370ca3d2
JM
288092012-07-03 Joseph Myers <joseph@codesourcery.com>
28810
95f5a9a8
JM
28811 * Makeconfig [!+link] (+link-before-libc): New variable.
28812 [!+link] (+link-after-libc): Likewise.
28813 [!+link] (+link-tests): Likewise.
28814 [!+link] (+link): Define in terms of $(+link-before-libc) and
28815 $(+link-after-libc).
28816 [!+link-static] (+link-static-before-libc): New variable.
28817 [!+link-static] (+link-static-after-libc): Likewise.
28818 [!+link-static] (+link-static-tests): Likewise.
28819 [!+link-static] (+link-static): Define in terms of
28820 $(+link-static-before-libc) and $(+link-static-after-libc).
28821 [build-shared] (link-libc-before-gnulib): New variable.
28822 [build-shared] (link-libc-tests): Likewise.
28823 [build-shared] (link-libc): Define in terms of
28824 $(link-libc-before-gnulib).
28825 [!build-shared] (link-libc-tests): New variable.
28826 (link-libc-static-tests): New variable.
28827 [!gnulib] (gnulib-arch): New variable.
28828 [!gnulib] (gnulib-tests): Likewise.
28829 [!gnulib] (static-gnulib-arch): Likewise.
28830 [!gnulib] (static-gnulib-tests): Likewise.
28831 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28832 Define with "=" instead of ":=".
28833 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28834 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28835 * Rules (binaries-all-notests): New variable.
28836 (binaries-all-tests): Likewise.
28837 (binaries-static-notests): Likewise.
28838 (binaries-static-tests): Likewise.
28839 (binaries-all): Define using $(binaries-all-notests) and
28840 $(binaries-all-tests).
28841 (binaries-static): Define using $(binaries-static-notests) and
28842 $(binaries-static-tests).
28843 (binaries-shared-tests): New variable.
28844 (binaries-shared-notests): Likewise.
28845 (binaries-shared): Remove variable.
28846 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28847 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28848 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28849 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28850 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28851 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28852 * elf/Makefile (sln-modules): New variable.
28853 (extra-objs): Add $(sln-modules:=.o).
28854 (ldconfig-modules): Add static-stubs.
28855 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28856 * elf/static-stubs.c: New file.
28857
7a845b2c
JM
28858 [BZ #14283]
28859 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28860 by 7 not 8 to examine high bit of fractional part. Use volatile
28861 variables when splitting into final array of floats if
28862 __FLT_EVAL_METHOD__ != 0.
28863 * math/libm-test.inc (cos_test): Add another test.
28864 (sin_test): Likewise.
28865 * sysdeps/i386/fpu/libm-test-ulps: Update.
28866
e2283f38
JM
28867 [BZ #14273]
28868 * math/libm-test.inc (cosh_test): Add more tests.
28869
370ca3d2
JM
28870 * version.h (RELEASE): Set to "development".
28871 (VERSION): Set to "2.16.90".
28872
ee9247c3
CD
288732012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28874
28875 * NEWS: Update copyright. Remove last-updated date.
28876 Mention math library bug fixes and timezone data changes.
28877 * README: Mention GNU/Hurd, x32, and HPPA support status.
28878
4648c381
TS
288792012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28880
28881 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28882
aac78a43
AJ
288832012-06-27 Andreas Jaeger <aj@suse.de>
28884
28885 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28886
ed3dbfad
AJ
288872012-06-25 Andreas Jaeger <aj@suse.de>
28888
28889 * sysdeps/s390/fpu/libm-test-ulps: Update.
28890
4d0ee855
AS
288912012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28892 Thomas Schwinge <thomas@codesourcery.com>
28893
28894 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28895 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28896 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28897 fanotify_mark.
28898
af1bce34
TS
288992012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28900
a9fa33ba
TS
28901 * sysdeps/mach/start.c: Remove file.
28902 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28903 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28904 * sysdeps/sh/init-first.c: Likewise.
28905
58f902b8
TS
28906 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28907 registers for frame unwinding purposes, add CFI directives.
28908 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28909 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28910 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28911 Likewise.
28912
1518f58b
TS
28913 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28914 __fortify_fail returning.
28915 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28916
db9b5059
TS
28917 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28918 sysdeps/sh/____longjmp_chk.S.
28919 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28920 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28921 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28922 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28923
967705fe
TS
28924 * sysdeps/sh/abort-instr.h: New file.
28925 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28926 process in case exit returns.
28927
a9def8c4
TS
28928 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28929 initialize the GOT register before use.
28930
2a649725
TS
28931 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28932 calculation of ARGC > 4.
28933
af1bce34
TS
28934 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28935 meaningful names to some local labels.
28936
d230f50a
KK
289372012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28938 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28939
28940 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28941 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28942 (__arch_compare_and_exchange_val_16_acq): Likewise.
28943 (__arch_compare_and_exchange_val_32_acq): Likewise.
28944 (atomic_exchange_and_add): Fix gUSA sequence.
28945 (atomic_add): Likewise.
28946 (atomic_add_negative): Likewise.
28947 (atomic_add_zero): Likewise.
28948 (atomic_bit_test_set): Likewise.
28949
0479b305
AS
289502012-06-22 Andreas Schwab <schwab@redhat.com>
28951
28952 [BZ #13579]
28953 * include/link.h (struct link_map): Add l_free_initfini.
28954 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28955 l_initfini.
28956 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28957 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28958 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28959 set.
28960
0e3933b9
CD
289612012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28962
28963 * configure.in: Use AC_LANG_SOURCE.
28964 * configure: Regenerate.
28965
4248b1b1
RM
289662012-06-22 Roland McGrath <roland@hack.frob.com>
28967
28968 * configure.in (libc_cv_localstatedir): New substituted variable.
28969 * configure: Regenerated.
28970 * config.make.in (localstatedir): New variable, substituted from
28971 libc_cv_localstatedir.
28972 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28973 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28974 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28975 * sysdeps/gnu/configure: Regenerated.
28976
006dd861
JL
289772012-06-21 Jeff Law <law@redhat.com>
28978
28979 [BZ #14277]
28980 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28981 free. Simplify list management for _LIBC case.
28982
79662d42
JM
289832012-06-21 Joseph Myers <joseph@codesourcery.com>
28984
b7abb4bf
JM
28985 [BZ #14273]
28986 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28987 Clear sign bit of 64-bit integer value before comparing against
28988 overflow value.
28989
79662d42
JM
28990 * sysdeps/mach/configure: Regenerated.
28991
1f150908
L
289922012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28993
28994 [BZ #14278]
28995 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28996
28363bbf
JL
289972012-06-21 Jeff Law <law@redhat.com>
28998
28999 [BZ #13882]
29000 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29001 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29002 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29003 * elf/dl-open.c (dl_open_worker): Likewise.
29004
09615db4
CD
290052012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29006
29007 * scripts/list-sources.sh: Scan PORTS for translations.
29008 * po/libc.pot: Regenerated.
29009
2174c6dd
AJ
290102012-06-21 Andreas Jaeger <aj@suse.de>
29011
29012 [BZ #12194]
29013 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29014 warning.
29015 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29016 * bits/byteswap-16.h (__bswap_16): Likewise.
29017 * bits/byteswap.h (__bswap_constant_16): Likewise.
29018
3ee947b1
L
290192012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29020
29021 [BZ #14117]
a2f34833
L
29022 * sysdeps/i386/fpu_control.h: Removed.
29023 * sysdeps/x86_64/fpu_control.h: Moved to ...
29024 * sysdeps/x86/fpu_control.h: Here.
29025
3ee947b1
L
29026 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29027 (_FPU_SETCW): Likewise.
29028
ed1825f8
L
290292012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29030
25f1282a
L
29031 [BZ #14117]
29032 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29033 * sysdeps/x86/fpu/bits/mathinline.h: This.
29034 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29035
ed1825f8
L
29036 [BZ #14050]
29037 [BZ #14117]
29038 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29039 functions if __x86_64__ is defined.
29040
36d54b74
CLT
290412012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29042
29043 * string/endian.h: Add !__ASSEMBLER__ condition for including
29044 conversion interfaces.
29045
10285c21
JM
290462012-06-15 Joseph Myers <joseph@codesourcery.com>
29047
29048 [BZ #14241]
29049 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29050 of ABS(x) in calculating zero to negative powers other than odd
29051 integers.
29052 * math/libm-test.inc (pow_test): Add more tests.
29053
06c5abbd
AJ
290542012-06-15 Andreas Jaeger <aj@suse.de>
29055
29056 * manual/contrib.texi (Contributors): Update entry of Liubov
29057 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29058 Machado Filho.
29059
a3aeac40
CH
290602012-06-15 Cyril Hrubis <metan@ucw.cz>
29061
29062 * string/string.h: Add __wur to GNU version of strerror_r.
29063
49bdf4c1
L
290642012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29065
29066 [BZ #14229]
29067 * string/Makefile (tests): Add tst-strtok_r.
29068 * string/tst-strtok_r.c: New file.
29069 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29070 RAX_LP/RDX_LP on SAVE_PTR.
29071
834f9b8d
RM
290722012-06-14 Roland McGrath <roland@hack.frob.com>
29073
29074 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29075
75fa1921
JM
290762012-06-14 Joseph Myers <joseph@codesourcery.com>
29077
29078 * libm_test.inc (csqrt_test): Allow more spurious underflow
29079 exceptions.
29080 (j0_test): Likewise.
29081 (j1_test): Likewise.
29082 (y0_test): Likewise.
29083 (y1_test): Likewise.
29084
771766df
CD
290852012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29086
29087 * po/Makefile (libc.pot): Use UTF-8 charset.
29088
ceb9e56b
PP
290892012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29090
29091 [BZ #14210]
29092 Suppress sign-conversion warning from FD_SET.
29093 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29094 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29095 not unsigned long int.
29096 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29097
ddb28975
L
290982012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29099
29100 [BZ #14050]
29101 [BZ #14117]
29102 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29103 __extern_always_inline instead of __extern_inline.
29104 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29105 (__signbit): Likewise.
29106 (__signbitl): Support C++ namespace.
29107 (lrintf): New inline function.
29108 (lrint): Likewise.
29109 (llrintf): Likewise.
29110 (llrint): Likewise.
29111 (fmaxf): Likewise.
29112 (fmax): Likewise.
29113 (fminf): Likewise.
29114 (fmin): Likewise.
29115 (rint): Likewise.
29116 (rintf): Likewise.
29117 (ceil): Likewise.
29118 (ceilf): Likewise.
29119 (floor): Likewise.
29120 (floorf): Likewise.
29121 (nearbyint): Likewise.
29122 (nearbyintf): Likewise.
29123
d7b4fb26
TS
291242012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29125
29126 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29127 non-default versions.
29128
eb55f5c2
RM
291292012-06-11 Roland McGrath <roland@hack.frob.com>
29130
29131 [BZ #14218]
29132 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29133
366af02c
TS
291342012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29135
99ff6e5c
TS
29136 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29137 (FE_UPWARD, FE_DOWNWARD): Don't define.
29138 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29139 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29140
366af02c
TS
29141 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29142 reading it.
29143 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29144 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29145
793ea851
KK
291462012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29147
29148 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29149 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29150 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29151 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29152
a728a38f
L
291532012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29154
29155 [BZ #14117]
c08010c7
L
29156 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29157 * sysdeps/i386/fpu/Implies: New file.
29158 * sysdeps/x86_64/fpu/Implies: Likewise.
29159 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29160 * sysdeps/x86/fpu/bits/fenv.h: This.
29161
a728a38f
L
29162 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29163 __SSE_MATH__.
29164
6e230d11
SP
291652012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29166
29167 [BZ #14134]
29168 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29169 character 0xffff that matches the last element of the
29170 conversion table.
29171
1b671feb
AZ
291722012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29173
29174 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29175 fmodl commit.
29176
6043738b
AZ
291772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29178
29179 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29180 values higher than 25.6283.
29181
34ae0b32
AZ
291822012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29183
29184 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29185 subnormal exponent extraction and add some __builtin_expect.
29186 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29187 Fix for subnormal mantissa calculation.
29188
1214ec8f
MF
291892012-06-04 Mike Frysinger <vapier@gentoo.org>
29190
29191 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29192 cpu2 is -1 and errno is not ENOSYS.
29193
f3d1f93c
L
291942012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29195
29196 [BZ #14117]
0e4a3cd7
L
29197 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29198 * sysdeps/x86/bits/string.h: This.
29199 * sysdeps/x86_64/bits/string.h: Removed.
29200
6704c645
L
29201 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29202 if not compiling for x86-64, but compiling for >= i486.
29203
48495318
L
29204 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29205 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29206
14adcbfc
L
29207 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29208 New macro from Linux kernel 3.4.0.
29209 (FP_XSTATE_MAGIC2): Likewise.
29210 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29211 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29212 (struct _fpx_sw_bytes): New struct.
29213 (struct _xsave_hdr): Likewise.
29214 (struct _ymmh_state): Likewise.
29215 (struct _xstate): Likewise.
29216
68e408ab
L
29217 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29218 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29219 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29220 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29221 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29222 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29223
f3d1f93c
L
29224 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29225 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29226 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29227 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29228 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29229 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29230
d9dc34cd
TMQMF
292312012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29232
29233 [BZ #13743]
29234 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29235 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29236 (sysdep_headers): Include sys/platform/ppc.h.
29237 * sysdeps/powerpc/test-gettimebase.c: Test for
29238 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29239 * manual/Makefile (appendices): Include platform.texi.
29240 * manual/contrib.texi (Contributors): Update @node pointers.
29241 * manual/maint.texi (Maintenance): Likewise.
29242 (Platform): New node.
29243 * manual/platform.texi: New file. Document the new features.
29244
4af3879c
SP
292452012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29246 Jakub Jelinek <jakub@redhat.com>
29247
29248 [BZ #14188]
29249 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29250 where __builtin_expect is unavailable.
29251
2fd6ff13
DM
292522012-06-03 David S. Miller <davem@davemloft.net>
29253
29254 * stdlib/longlong.h: Updated from GCC.
29255
173f7220
AS
292562012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29257
29258 [BZ #14042]
29259 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29260 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29261 __mcount_internal.
29262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29263 (GLIBC_2.16): Likewise.
29264
f34a1c6f
L
292652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29266
29267 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29268
88a4576f
JM
292692012-06-01 Joseph Myers <joseph@codesourcery.com>
29270
ea32bcdd
JM
29271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29272 (default-abi): New variable.
29273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29274 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29275 variable.
29276 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29277 Likewise.
29278 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29279 Likewise.
29280 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29281 Likewise.
29282
88a4576f
JM
29283 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29284 definition. Document in comment.
29285
402fe938
DM
292862012-06-01 David S. Miller <davem@davemloft.net>
29287
29288 * stdlib/longlong.h: Updated from GCC.
29289
3553723f
L
292902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29291
29292 [BZ #14117]
3bd872c4
L
29293 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29294 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29295 sys/debugreg.h sys/io.h here.
29296 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29297 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29298 sys/io.h.
29299 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29300 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29301 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29302 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29303 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29304 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29305
3553723f
L
29306 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29307 Define only if __x86_64__ is defined.
29308
4842e4fe
JM
293092012-06-01 Joseph Myers <joseph@codesourcery.com>
29310
c5bfe3d5
JM
29311 [BZ #14048]
29312 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29313 Use int64_t for variable i.
29314 * math/libm-test.inc (fmod_test): Add more tests.
29315
4842e4fe
JM
29316 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29317 z computation is not scheduled after fetestexcept.
29318 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29319 Use math_force_eval instead of asm to ensure calculation scheduled
29320 before exception test.
29321 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29322 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29323
efb73488
AJ
293242012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29325
29326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29327 computation is not scheduled after fetestexcept.
29328
29bcce7c
L
293292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29330
29331 [BZ #14117]
29332 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29333 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29334
73a68f94
AZ
293352012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29336
29337 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29338 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29339
67b6df78
L
293402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29341
edf2933a 29342 [BZ #14117]
ebc64a18
L
29343 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29344 <bits/wordsize.h>.
29345 (__WCHAR_MIN): Support __WORDSIZE == 64.
29346 (__WCHAR_MAX): Likewise.
29347
edf2933a
L
29348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29349 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29350
57c6cf40
L
29351 [BZ #14183]
29352 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29353 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29354
67b6df78 29355 [BZ #14117]
8eb6281e
L
29356 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29357 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29358
aac639f4
L
29359 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29360 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29361
67b6df78
L
29362 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29363 Defined to 1 if __x86_64__ isn't defined.
29364 (_STAT_VER_LINUX_OLD): New.
29365 (st_atime): Remove duplicate.
29366 (st_mtime): Likewise.
29367 (st_ctime): Likewise.
29368
1c2cfe81
DM
293692012-05-31 David S. Miller <davem@davemloft.net>
29370
29371 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29372 entries.
29373
5be8418c
AS
293742012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29375
e7725326
AS
29376 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29377 gen-libm-test.pl.
29378
5be8418c
AS
29379 [BZ #14132]
29380 * elf/dl-reloc.c: Include <_itoa.h>.
29381 (_dl_reloc_bad_type): Remove use of INTUSE.
29382 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29383 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29384 * stdio-common/psiginfo.c (psiginfo): Likewise.
29385 * stdio-common/psignal.c (psignal): Likewise.
29386 * string/strsignal.c (strsignal): Likewise.
29387 * include/signal.h (_sys_siglist): Declare hidden proto.
29388 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29389 INTVARDEF with libc_hidden_data_def.
29390 * stdio-common/itoa-udigits.c: Likewise.
29391 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29392 (_itoa_lower_digits_internal): Remove declaration.
29393 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29394 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29395 (_sys_sigabbrev_internal): Remove aliases.
29396 (_sys_siglist): Define hidden alias.
29397
507352f1
MT
293982012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29399
29400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29401 bits/sysctl.h.
29402
42bbb1c3
L
294032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29404
29405 [BZ #14117]
6bd784b6
L
29406 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29407 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29408
8bca20f0
L
29409 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29410 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29411 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29412 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29413 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29414 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29415
f9e890a9
L
29416 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29417 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29418 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29419
471101a1
L
29420 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29421 with __addr.
29422 (insw): Likewise.
29423 (insl): Likewise.
29424 (outsb): Likewise.
29425 (outsw): Likewise.
29426 (outsl): Likewise.
29427
6451c862
L
29428 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29429 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29430 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29431
a254b8c9
L
29432 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29433 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29434 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29435 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29436 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29437 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29438
b8dfdd92
L
29439 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29440 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29441
578cd270
L
29442 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29443 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29444
de662f5f
L
29445 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29446 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29447 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29448
25653439
L
29449 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29450 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29451 to ...
29452 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29453
6bad24a0
L
29454 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29455 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29456 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29457
42bbb1c3
L
29458 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29459 for x86-64.
29460 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29461
2d10d547
JM
294622012-05-31 Joseph Myers <joseph@codesourcery.com>
29463
29464 * math/math.h (M_El): Use two more decimal places.
29465 (M_LOG2El): Likewise.
29466 (M_LOG10El): Likewise.
29467 (M_LN2l): Likewise.
29468 (M_LN10l): Likewise.
29469 (M_PIl): Likewise.
29470 (M_PI_2l): Likewise.
29471 (M_PI_4l): Likewise.
29472 (M_1_PIl): Likewise.
29473 (M_2_PIl): Likewise.
29474 (M_2_SQRTPIl): Likewise.
29475 (M_SQRT2l): Likewise.
29476 (M_SQRT1_2l): Likewise.
29477
f230c29b
DM
294782012-05-31 David S. Miller <davem@davemloft.net>
29479
29480 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29481 values between float registers.
29482 * sysdeps/sparc/sparc64/memset.S: Likewise.
29483 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29484
fed806c3
MF
294852012-05-31 Mike Frysinger <vapier@gentoo.org>
29486
29487 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29488 -D_FORTIFY_SOURCE=1.
29489 (CPPFLAGS-tst-longjmp_chk.c): Define.
29490 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29491 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29492 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29493 CFLAGS-tst-wchar-h.c.
29494
30917259
MP
294952012-05-31 Marek Polacek <polacek@redhat.com>
29496
29497 [BZ #14132]
29498 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29499 __endmntent_internal): Remove declaration.
29500 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29501 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29502 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29503
1c58d5dc
DM
295042012-05-30 David S. Miller <davem@davemloft.net>
29505
29506 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29507 (___Q_simulate_exceptions): Use real FP ops rather than writing
29508 into the %fsr.
29509 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29510 Likewise.
29511
7dc00e0d
L
295122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29513
29514 [BZ #14117]
0bd53985
L
29515 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29516 * sysdeps/x86/bits/xtitypes.h: This.
29517
3a257e66
L
29518 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29519 * sysdeps/x86/bits/wordsize.h: This.
29520
62f62904
L
29521 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29522 * sysdeps/x86/bits/huge_vall.h: This.
29523
404fe9d9
L
29524 * sysdeps/i386/bits/select.h: Removed.
29525 * sysdeps/x86_64/bits/select.h: Renamed to ...
29526 * sysdeps/x86/bits/select.h: This.
29527
d48d0446
L
29528 * sysdeps/i386/bits/setjmp.h: Removed.
29529 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29530 * sysdeps/x86/bits/setjmp.h: This.
29531
7dc00e0d
L
29532 * sysdeps/i386/bits/mathdef.h: Removed.
29533 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29534 * sysdeps/x86/bits/mathdef.h: This.
29535
03277f8f
AS
295362012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29537
29538 [BZ #14132]
29539 * include/sys/socket.h (__connect_internal)
29540 (__libc_sa_len_internal): Remove declaration.
29541 (__connect, __libc_sa_len): Declare hidden_proto.
29542 (SA_LEN): Remove use of INTUSE.
29543 * socket/connect.c: Add libc_hidden_def.
29544 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29545 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29546 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29547 alias.
29548 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29549 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29550 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29551 of adding _internal alias.
29552
13764867
L
295532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29554
29555 [BZ #14117]
6bd97696
L
29556 * sysdeps/i386/bits/link.h: Removed.
29557 * sysdeps/i386/bits/linkmap.h: Likewise.
29558 * sysdeps/x86_64/bits/link.h: Renamed to ...
29559 * sysdeps/x86/bits/link.h: This.
29560 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29561 * sysdeps/x86/bits/linkmap.h: This.
29562
f726f0bb
L
29563 * sysdeps/i386/bits/endian.h: Removed.
29564 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29565 * sysdeps/x86/bits/endian.h: This.
29566
13764867
L
29567 * sysdeps/i386/bits/byteswap.h: Removed.
29568 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29569 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29570 * sysdeps/x86/bits/byteswap.h: This.
29571 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29572 * sysdeps/x86/bits/byteswap-16.h: This.
29573 * sysdeps/i386/Implies: Add x86.
29574 * sysdeps/x86_64/Implies: Likewise.
29575
ae251b0b
DM
295762012-05-30 David S. Miller <davem@davemloft.net>
29577
29578 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29579 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29580 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29581 (FP_TRAPPING_EXCEPTIONS): Define.
29582 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29583 (FP_TRAPPING_EXCEPTIONS): Define.
29584 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29585 subnormals only when inexact has been signalled or underflow
29586 exceptions are enabled.
29587 (_FP_PACK_CANONICAL): Likewise.
29588
d5c90867
L
295892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29590
29591 [BZ #14183]
29592 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29593 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29594
63f1549e
RH
295952012-05-30 Richard Henderson <rth@twiddle.net>
29596
8d8f2279
RH
29597 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29598 with #ifndef NOT_IN_libc.
29599
63f1549e
RH
29600 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29601 marked to avoid plt entry.
29602
0ab0291b
L
296032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29604
29605 [BZ #14112]
29606 * Makeconfig (default-abi): New macro.
29607 (abi-includes): Likewise.
29608 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29609 $(abi-$(default-abi)-lib-soname) for soname if defined.
29610 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29611 abi-variants.
29612 * Makefile (installed-stubs): Likewise.
29613 * include/stubs-biarch.h: Removed.
29614 * scripts/lib-names.awk: Only handle one library at a time.
29615 * scripts/soversions.awk: Remove WORDSIZE support.
29616 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29617 entries.
29618 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29619 Removed.
29620 (syscall-list-default-condition): Likewise.
29621 (syscall-list-default-condition): Likewise.
29622 (syscall-list-includes): Likewise.
29623 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29624 syscall-list-* with abi-*. Handle undefined abi-variants.
29625 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29626 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29627 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29628 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29629 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29630 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29631 Removed.
29632 (syscall-list-32-options): Likewise.
29633 (syscall-list-32-condition): Likewise.
29634 (syscall-list-64-options): Likewise.
29635 (syscall-list-64-condition): Likewise.
29636 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29637 macro.
29638 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29639 Renamed to ...
29640 (abi-*): This.
29641 (abi-64-ld-soname): New macro.
29642 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29643 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29644 Renamed to ...
29645 (abi-*): This.
29646 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29647 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29648
4da0431d
JM
296492012-05-30 Joseph Myers <joseph@codesourcery.com>
29650
3a85279c
JM
29651 * sysdeps/unix/sysv/linux/kernel-features.h
29652 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29653 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29654 include <kernel-features.h>.
29655 [!__NR_ftruncate64]: Remove conditional code.
29656 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29657 [__NR_ftruncate64]: Make code unconditional.
29658 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29659 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29660 include <kernel-features.h>.
29661 [!__NR_ftruncate64]: Remove conditional code.
29662 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29663 [__NR_ftruncate64]: Make code unconditional.
29664 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29666 include <kernel-features.h>.
29667 [!__NR_ftruncate64]: Remove conditional code.
29668 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29669 [__NR_ftruncate64]: Make code unconditional.
29670 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29672 include <kernel-features.h>.
29673 [!__NR_ftruncate64]: Remove conditional code.
29674 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29675 [__NR_ftruncate64]: Make code unconditional.
29676 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29677
4da0431d
JM
29678 * configure.in (libc_cv_fpie): Weaken to a compile test using
29679 LIBC_TRY_CC_OPTION.
29680 * configure: Regenerated.
29681
11ef492c
AK
296822012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29683
29684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29688 Refreshed.
29689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29695 Refreshed.
29696
d66ef399
DM
296972012-05-27 David S. Miller <davem@davemloft.net>
29698
29699 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29700 (___Q_zero): New.
29701 (__Q_simulate_exceptions): Return void. Change to simulate
29702 exceptions by writing into the %fsr.
29703 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29704 (__Qp_handle_exceptions): Likewise.
29705 (numbers): Delete.
29706 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29707 __Qp_handle_exceptions.
29708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29709 __Qp_handle_exceptions.
29710 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29711 as unused and give dummy FP_RND_NEAREST initializer.
29712 (FP_INHIBIT_RESULTS): Define.
29713 (___Q_simulate_exceptions): Update declaration.
29714 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29715 formatting.
29716 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29717 as unused and give dummy FP_RND_NEAREST initializer.
29718 (__Qp_handle_exceptions): Update declaration.
29719 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29720 formatting.
29721
04fb54b5
TS
297222012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29723
29724 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29725 the temporary FPU control word.
29726 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29727 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29728 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29729 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29730 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29731 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29732 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29733 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29734 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29735 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29736 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29737
3f99608f
KK
297382012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29739
29740 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29741 fields.
29742
65a4de4e
CLT
297432012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29744
29745 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29746 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29747 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29748 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29749 Likewise.
29750 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29751 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29752 Likewise.
29753
15749d40
UD
297542012-05-27 Ulrich Drepper <drepper@gmail.com>
29755
29756 * po/h.po: Update from translation team.
29757
25dbcb27
AS
297582012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29759
3d3f8e55
AS
29760 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29761
25dbcb27
AS
29762 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29763 handling of denormals.
29764 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29765 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29766 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29767 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29768 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29770 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29771 Likewise.
29772
7ad47a80 297732012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29774
29775 [BZ #14152]
29776 * math/libm-test.inc (fma_test): Don't always expect underflow
29777 exception.
29778
9c6ea9fa
SP
297792012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29780
29781 [BZ #12416]
29782 * elf/tst-execstack.c: Include stackinfo.h.
29783 (do_test): Adjust test case to ensure that pthread_getattr_np
29784 behaviour remains the same after marking stack executable.
29785
a8239222
JM
297862012-05-25 Joseph Myers <joseph@codesourcery.com>
29787
29788 * sysdeps/unix/sysv/linux/kernel-features.h
29789 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29790 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29791 kernel-features.h.
29792 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29793 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29794 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29795 kernel-features.h.
29796 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29797 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29798
918b5606
L
297992012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29800
29801 * configure.in: Define the default includes to being none.
29802 * configure: Regenerated.
29803
3a097cc7
RM
298042012-05-25 Roland McGrath <roland@hack.frob.com>
29805
8422c9a5
RM
29806 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29807 * sysdeps/x86_64/setjmp.S: Likewise.
29808 * sysdeps/i386/bsd-setjmp.S: Likewise.
29809 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29810 * sysdeps/i386/setjmp.S: Likewise.
29811 * sysdeps/i386/__longjmp.S: Likewise.
29812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29813 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29814
3a097cc7
RM
29815 * include/stap-probe.h: New file.
29816 * configure.in: Handle --enable-systemtap.
29817 * configure: Regenerated.
29818 * config.h.in (USE_STAP_PROBE): New #undef.
29819 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29820 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29821 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29822
21708942
JM
298232012-05-25 Joseph Myers <joseph@codesourcery.com>
29824
29825 [BZ #13717]
29826 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29827 to 2.4.0 where earlier.
29828 * sysdeps/unix/sysv/linux/configure: Regenerated.
29829 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29830 <kernel-features.h>.
29831 [__ASSUME_32BITUIDS]: Make code unconditional.
29832 [!__ASSUME_32BITUIDS]: Remove conditional code.
29833 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29834 <kernel-features.h>.
29835 [__ASSUME_32BITUIDS]: Make code unconditional.
29836 [!__ASSUME_32BITUIDS]: Remove conditional code.
29837 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29838 [__ASSUME_32BITUIDS]: Make code unconditional.
29839 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29840 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29841 <kernel-features.h>.
29842 [__ASSUME_32BITUIDS]: Make code unconditional.
29843 [!__ASSUME_32BITUIDS]: Remove conditional code.
29844 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29845 <kernel-features.h>.
29846 [__ASSUME_32BITUIDS]: Make code unconditional.
29847 [!__ASSUME_32BITUIDS]: Remove conditional code.
29848 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29849 <kernel-features.h>.
29850 [__ASSUME_32BITUIDS]: Make code unconditional.
29851 [!__ASSUME_32BITUIDS]: Remove conditional code.
29852 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29853 <kernel-features.h>.
29854 [__ASSUME_32BITUIDS]: Make code unconditional.
29855 [!__ASSUME_32BITUIDS]: Remove conditional code.
29856 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29857 <kernel-features.h>.
29858 [__ASSUME_32BITUIDS]: Make code unconditional.
29859 [!__ASSUME_32BITUIDS]: Remove conditional code.
29860 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29861 <kernel-features.h>.
29862 [__ASSUME_32BITUIDS]: Make code unconditional.
29863 [!__ASSUME_32BITUIDS]: Remove conditional code.
29864 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29865 <kernel-features.h>.
29866 [__ASSUME_32BITUIDS]: Make code unconditional.
29867 [!__ASSUME_32BITUIDS]: Remove conditional code.
29868 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29869 <kernel-features.h>.
29870 [__ASSUME_32BITUIDS]: Make code unconditional.
29871 [!__ASSUME_32BITUIDS]: Remove conditional code.
29872 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29873 <kernel-features.h>.
29874 [__ASSUME_32BITUIDS]: Make code unconditional.
29875 [!__ASSUME_32BITUIDS]: Remove conditional code.
29876 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29877 <kernel-features.h>.
29878 [__ASSUME_32BITUIDS]: Make code unconditional.
29879 [!__ASSUME_32BITUIDS]: Remove conditional code.
29880 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29881 <kernel-features.h>.
29882 [__NR_setresgid] (__setresgid): Do not declare.
29883 [__ASSUME_32BITUIDS]: Make code unconditional.
29884 [!__ASSUME_32BITUIDS]: Remove conditional code.
29885 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29886 <kernel-features.h>.
29887 [__NR_setresuid] (__setresuid): Do not declare.
29888 [__ASSUME_32BITUIDS]: Make code unconditional.
29889 [!__ASSUME_32BITUIDS]: Remove conditional code.
29890 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29891 <kernel-features.h>.
29892 [__ASSUME_32BITUIDS]: Make code unconditional.
29893 [!__ASSUME_32BITUIDS]: Remove conditional code.
29894 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29895 <kernel-features.h>.
29896 [__ASSUME_32BITUIDS]: Make code unconditional.
29897 [!__ASSUME_32BITUIDS]: Remove conditional code.
29898 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29899 <kernel-features.h>.
29900 [__ASSUME_32BITUIDS]: Make code unconditional.
29901 [!__ASSUME_32BITUIDS]: Remove conditional code.
29902 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29903 <kernel-features.h>.
29904 [__ASSUME_32BITUIDS]: Make code unconditional.
29905 [!__ASSUME_32BITUIDS]: Remove conditional code.
29906 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29907 <kernel-features.h>.
29908 [__ASSUME_32BITUIDS]: Make code unconditional.
29909 [!__ASSUME_32BITUIDS]: Remove conditional code.
29910 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29911 <kernel-features.h>.
29912 [__ASSUME_32BITUIDS]: Make code unconditional.
29913 [!__ASSUME_32BITUIDS]: Remove conditional code.
29914 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29915 <kernel-features.h>.
29916 [__ASSUME_32BITUIDS]: Make code unconditional.
29917 [!__ASSUME_32BITUIDS]: Remove conditional code.
29918 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29919 <kernel-features.h>.
29920 [__ASSUME_32BITUIDS]: Make code unconditional.
29921 [!__ASSUME_32BITUIDS]: Remove conditional code.
29922 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29923 <kernel-features.h>.
29924 [__ASSUME_32BITUIDS]: Make code unconditional.
29925 [!__ASSUME_32BITUIDS]: Remove conditional code.
29926 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29927 <kernel-features.h>.
29928 [__ASSUME_32BITUIDS]: Make code unconditional.
29929 [!__ASSUME_32BITUIDS]: Remove conditional code.
29930 * sysdeps/unix/sysv/linux/kernel-features.h
29931 (__ASSUME_SETRESUID_SYSCALL): Remove.
29932 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29933 (__ASSUME_32BITUIDS): Likewise.
29934 (__ASSUME_LDT_WORKS): Likewise.
29935 (__ASSUME_O_DIRECTORY): Likewise.
29936 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29937 architecture but not kernel version.
29938 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29939 (__ASSUME_MMAP2_SYSCALL): Likewise.
29940 (__ASSUME_STAT64_SYSCALL): Likewise.
29941 (__ASSUME_IPC64): Likewise.
29942 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29943 <kernel-features.h>.
29944 [__ASSUME_32BITUIDS]: Make code unconditional.
29945 [!__ASSUME_32BITUIDS]: Remove conditional code.
29946 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29947 <kernel-features.h>.
29948 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29949 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29950 132096]: Remove conditional code.
29951 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29952 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29953 <kernel-features.h>.
29954 [__ASSUME_32BITUIDS]: Make code unconditional.
29955 [!__ASSUME_32BITUIDS]: Remove conditional code.
29956 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29957 <kernel-features.h>.
29958 [__ASSUME_32BITUIDS]: Make code unconditional.
29959 [!__ASSUME_32BITUIDS]: Remove conditional code.
29960 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29961 <kernel-features.h>.
29962 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29963 unconditional.
29964 (__setresgid): Do not declare.
29965 [__ASSUME_32BITUIDS]: Make code unconditional.
29966 [!__ASSUME_32BITUIDS]: Remove conditional code.
29967 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29968 <kernel-features.h>.
29969 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29970 unconditional.
29971 (__setresuid): Do not declare.
29972 [__ASSUME_32BITUIDS]: Make code unconditional.
29973 [!__ASSUME_32BITUIDS]: Remove conditional code.
29974 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29975 <kernel-features.h>.
29976 [__ASSUME_32BITUIDS]: Make code unconditional.
29977 [!__ASSUME_32BITUIDS]: Remove conditional code.
29978 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29979 <kernel-features.h>.
29980 [__ASSUME_32BITUIDS]: Make code unconditional.
29981 [!__ASSUME_32BITUIDS]: Remove conditional code.
29982
a386f1cc
RH
299832012-05-25 Richard Henderson <rth@twiddle.net>
29984
29985 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29986 dl_hwcap to ifunc resolver.
29987 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29988 elf_ifunc_invoke.
29989 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29990 dl_hwcap to ifunc resolver.
29991 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29992
b6550497
JM
299932012-05-24 Joseph Myers <joseph@codesourcery.com>
29994
29995 [BZ #14153]
29996 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29997 for |x| <= 2**-26, not 2**-57.
29998 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29999 exception.
30000
b0bc23a1
JL
300012012-05-24 Jeff Law <law@redhat.com>
30002
30003 * stdio-common/Makefile (tests): Add bug25.
30004 * stdio-common/bug25.c: New test.
30005
347c92e9
L
300062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30007
30008 [BZ #13576]
30009 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30010 multiple of MALLOC_ALIGNMENT in size.
30011 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30012
6bcc8b3f
JM
300132012-05-24 Joseph Myers <joseph@codesourcery.com>
30014
30015 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30016 Require >= 256.
30017 (FILENAME_MAX): Use macro-int-constant.
30018 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30019 (_IOFBF): Use macro-int-constant.
30020 (_IOLBF): Likewise.
30021 (_IONBF): Likewise.
30022 (SEEK_CUR): Likewise.
30023 (SEEK_END): Likewise.
30024 (SEEK_SET): Likewise.
30025 (TMP_MAX): Likewise.
30026 (EOF): Use macro-int-constant. Require < 0.
30027 (NULL): Use macro-constant. Require == 0.
30028 (stdin): Require type to be FILE *.
30029 (stdout): Likewise.
30030 (stderr): Likewise.
30031 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30032 macro-int-constant.
30033 (EXIT_SUCCESS): Likewise.
30034 (NULL): Use macro-constant. Require == 0.
30035 (RAND_MAX): Use macro-int-constant.
30036 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30037 [C99-based standards] (strtof): Require function.
30038 [C99-based standards] (strtold): Likewise.
30039 [C99-based standards] (strtoll): Likewise.
30040 [C99-based standards] (strtoull): Likewise.
30041 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30042 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30043 [ISO || ISO99 || ISO11] (math.h): Likewise.
30044 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30045 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30046 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30047
d18ea0c5
AS
300482012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30049
30050 [BZ #14132]
56d25bb8
AS
30051 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30052 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30053 * intl/dgettext.c (DCGETTEXT): Likewise.
30054 * intl/gettext.c (DCGETTEXT): Likewise.
30055 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30056 * posix/regex_internal.h (gettext): Likewise.
30057 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30058 Remove declaration.
30059 * include/argz.h (__argz_count_internal)
30060 (__argz_stringify_internal): Remove declaration.
30061 (__argz_count, __argz_stringify): Declare hidden proto.
30062 * intl/dcgettext.c: Remove use of INTDEF.
30063 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30064 * string/argz-stringify.c: Likewise.
30065 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30066 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30067 Declare hidden proto.
d18ea0c5
AS
30068 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30069 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30070 Declare hidden proto.
30071 * include/stdio.h (__asprintf_internal): Don't declare.
30072 (__asprintf): Don't define as macro. Declare hidden proto.
30073 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30074 (__fsetlocking): Declare hidden proto.
30075 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30076 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30077 hidden proto.
30078 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30079 (_IO_setlinebuf): Remove use of INTUSE.
30080 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30081 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30082 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30083 Remove declaration.
30084 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30085 (_IO_do_flush): Remove use of INTUSE.
30086 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30087 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30088 (_IO_adjust_column, _IO_least_wmarker)
30089 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30090 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30091 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30092 (_IO_default_doallocate, _IO_wdefault_doallocate)
30093 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30094 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30095 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30096 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30097 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30098 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30099 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30100 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30101 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30102 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30103 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30104 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30105 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30106 proto.
30107 (_IO_flush_all_internal, _IO_adjust_column_internal)
30108 (_IO_default_uflow_internal, _IO_default_finish_internal)
30109 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30110 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30111 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30112 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30113 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30114 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30115 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30116 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30117 (_IO_file_close_internal, _IO_file_close_it_internal)
30118 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30119 (_IO_file_init_internal, _IO_file_attach_internal)
30120 (_IO_file_fopen_internal, _IO_file_read_internal)
30121 (_IO_file_sync_internal, _IO_file_seek_internal)
30122 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30123 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30124 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30125 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30126 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30127 (_IO_list_all_internal, _IO_link_in_internal)
30128 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30129 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30130 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30131 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30132 (_IO_do_write_internal, _IO_padn_internal)
30133 (_IO_getline_info_internal, _IO_getline_internal)
30134 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30135 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30136 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30137 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30138 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30139 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30140 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30141 with libc_hidden_ver, remove use of INTUSE.
30142 * libio/genops.c: Likewise.
30143 * libio/freopen.c: Likewise.
30144 * libio/freopen64.c: Likewise.
30145 * libio/iofclose.c: Likewise.
30146 * libio/iofdopen.c: Likewise.
30147 * libio/iofflush.c: Likewise.
30148 * libio/iofflush_u.c: Likewise.
30149 * libio/iofgets.c: Likewise.
30150 * libio/iofgets_u.c: Likewise.
30151 * libio/iofopen.c: Likewise.
30152 * libio/iofopncook.c: Likewise.
30153 * libio/iofread.c: Likewise.
30154 * libio/iofread_u.c: Likewise.
30155 * libio/ioftell.c: Likewise.
30156 * libio/iofwrite.c: Likewise.
30157 * libio/iogetline.c: Likewise.
30158 * libio/iogets.c: Likewise.
30159 * libio/iogetwline.c: Likewise.
30160 * libio/iopadn.c: Likewise.
30161 * libio/iopopen.c: Likewise.
30162 * libio/ioseekoff.c: Likewise.
30163 * libio/ioseekpos.c: Likewise.
30164 * libio/iosetbuffer.c: Likewise.
30165 * libio/iosetvbuf.c: Likewise.
30166 * libio/ioungetc.c: Likewise.
30167 * libio/ioungetwc.c: Likewise.
30168 * libio/iovdprintf.c: Likewise.
30169 * libio/iovsprintf.c: Likewise.
30170 * libio/iovsscanf.c: Likewise.
30171 * libio/memstream.c: Likewise.
30172 * libio/obprintf.c: Likewise.
30173 * libio/oldfileops.c: Likewise.
30174 * libio/oldiofclose.c: Likewise.
30175 * libio/oldiofdopen.c: Likewise.
30176 * libio/oldiofopen.c: Likewise.
30177 * libio/oldiopopen.c: Likewise.
30178 * libio/oldstdfiles.c: Likewise.
30179 * libio/putc.c: Likewise.
30180 * libio/setbuf.c: Likewise.
30181 * libio/setlinebuf.c: Likewise.
30182 * libio/stdfiles.c: Likewise.
30183 * libio/strops.c: Likewise.
30184 * libio/vasprintf.c: Likewise.
30185 * libio/vscanf.c: Likewise.
30186 * libio/vsnprintf.c: Likewise.
30187 * libio/vswprintf.c: Likewise.
30188 * libio/wfiledoalloc.c: Likewise.
30189 * libio/wfileops.c: Likewise.
30190 * libio/wgenops.c: Likewise.
30191 * libio/wmemstream.c: Likewise.
30192 * libio/wstrops.c: Likewise.
30193 * libio/__fpurge.c: Likewise.
30194 * libio/__fsetlocking.c: Likewise.
30195 * assert/assert.c: Likewise.
30196 * debug/fgets_chk.c: Likewise.
30197 * debug/fgets_u_chk.c: Likewise.
30198 * debug/fread_chk.c: Likewise.
30199 * debug/fread_u_chk.c: Likewise.
30200 * debug/gets_chk.c: Likewise.
30201 * debug/obprintf_chk.c: Likewise.
30202 * debug/vasprintf_chk.c: Likewise.
30203 * debug/vdprintf_chk.c: Likewise.
30204 * debug/vsnprintf_chk.c: Likewise.
30205 * debug/vsprintf_chk.c: Likewise.
30206 * malloc/mtrace.c: Likewise.
30207 * misc/error.c: Likewise.
30208 * misc/syslog.c: Likewise.
30209 * stdio-common/asprintf.c: Likewise.
30210 * stdio-common/fxprintf.c: Likewise.
30211 * stdio-common/getw.c: Likewise.
30212 * stdio-common/isoc99_fscanf.c: Likewise.
30213 * stdio-common/isoc99_scanf.c: Likewise.
30214 * stdio-common/isoc99_vfscanf.c: Likewise.
30215 * stdio-common/isoc99_vscanf.c: Likewise.
30216 * stdio-common/isoc99_vsscanf.c: Likewise.
30217 * stdio-common/printf-prs.c: Likewise.
30218 * stdio-common/printf_fp.c: Likewise.
30219 * stdio-common/printf_fphex.c: Likewise.
30220 * stdio-common/printf_size.c: Likewise.
30221 * stdio-common/putw.c: Likewise.
30222 * stdio-common/scanf.c: Likewise.
30223 * stdio-common/sprintf.c: Likewise.
30224 * stdio-common/tmpfile.c: Likewise.
30225 * stdio-common/vfprintf.c: Likewise.
30226 * stdio-common/vfscanf.c: Likewise.
30227 * stdlib/strfmon_l.c: Likewise.
30228 * sunrpc/openchild.c: Likewise.
30229 * sunrpc/xdr_stdio.c: Likewise.
30230 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30231 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30232
d6c33fda
RM
302332012-05-24 Roland McGrath <roland@hack.frob.com>
30234
c1487492
RM
30235 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30236
30237 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30238 in the third column, to generate for the shared library an IFUNC
30239 that uses _dl_vdso_vsym.
30240 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30241 * Makeconfig (object-suffixes-noshared): New variable.
30242
30243 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30244 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30245 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30246 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30247
d6c33fda
RM
30248 [BZ #14132]
30249 * include/sys/time.h (__gettimeofday): Remove macro.
30250 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30251 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30252 Remove INTDEF.
30253 (__gettimeofday): Add libc_hidden_def.
30254 (gettimeofday): Add libc_hidden_weak.
30255 * sysdeps/mach/gettimeofday.c: Likewise.
30256 * sysdeps/posix/gettimeofday.c: Likewise.
30257 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30258 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30259 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30260 (__gettimeofday_internal): Remove strong_alias.
30261 (__gettimeofday): Add libc_hidden_def.
30262 (gettimeofday): Add libc_hidden_weak.
30263 * sysdeps/unix/syscalls.list (gettimeofday):
30264 Remove __gettimeofday_internal alias.
30265
b5a2bbe6
L
302662012-05-24 Daniel Jacobowitz <drow@false.org>
30267 H.J. Lu <hongjiu.lu@intel.com>
30268
30269 [BZ #12495]
30270 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30271 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30272 (largebin_index_32_big): New.
30273 (largebin_index): Use it for 16-byte alignment.
30274 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30275 correction with front_misalign.
30276
cfba4fda
L
302772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30278
7f907421
L
30279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30281 Likewise.
30282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30283 Likewise.
30284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30285 Likewise.
30286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30287 Likewise.
30288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30289 Likewise.
30290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30291 Likewise.
30292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30293 Likewise.
30294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30295 Likewise.
30296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30297 Likewise.
30298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30299 Likewise.
30300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30301 Likewise.
30302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30303 Likewise.
30304
cfba4fda
L
30305 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30306 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30307
80bad0cc
JM
303082012-05-24 Joseph Myers <joseph@codesourcery.com>
30309
7a25eb06
JM
30310 [BZ #10846]
30311 [BZ #14036]
30312 * math/libm-test.inc (exp_test): Add test from bug 14036.
30313 (pow_test): Add test from bug 10846.
30314
795405f9
JM
30315 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30316 and other flags.
30317 (special_function): Do not include flags in test name.
30318 (parse_args): Likewise.
30319 * sysdeps/i386/fpu/libm-test-ulps: Update.
30320 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30321 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30322 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30324
80bad0cc
JM
30325 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30326 exceptions.
30327 * math/libm-test.inc ("Philosophy"): Update comment about
30328 exception testing.
30329 (UNDERFLOW_EXCEPTION): New macro.
30330 (UNDERFLOW_EXCEPTION_OK): Likewise.
30331 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30332 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30333 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30334 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30335 (INVALID_EXCEPTION_OK): Update value.
30336 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30337 (OVERFLOW_EXCEPTION_OK): Likewise.
30338 (IGNORE_ZERO_INF_SIGN): Likewise.
30339 (test_exceptions): Handle underflow exceptions.
30340 (acos_test): Update for underflow exception expectations.
30341 (cexp_test): Likewise.
30342 (clog_test): Likewise.
30343 (clog10_test): Likewise.
30344 (csqrt_test): Likewise.
30345 (ctan_test): Likewise.
30346 (ctanh_test): Likewise.
30347 (exp_test): Likewise.
30348 (exp10_test): Likewise.
30349 (exp2_test): Likewise.
30350 (expm1_test): Likewise.
30351 (fma_test): Likewise.
30352 (j0_test): Likewise.
30353 (jn_test): Likewise.
30354 (nexttoward_test): Likewise.
30355 (pow_test): Likewise.
30356 (scalbn_test): Likewise.
30357 (scalbln_test): Likewise.
30358 (tan_test): Likewise.
30359 (y1_test): Likewise.
30360 * sysdeps/i386/fpu/libm-test-ulps: Update.
30361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30362
9e0e3d0b
DM
303632012-05-23 David S. Miller <davem@davemloft.net>
30364
30365 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30366 (__libc_sigaction): Remove unused local variables.
30367
ccd0a08f
L
303682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30369
30370 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30371
62bdf9a6
PE
303722012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30373
f8591f80
PE
30374 mktime: avoid signed integer overflow
30375 * time/mktime.c (__mktime_internal): Do not mishandle the case
30376 where diff == INT_MIN.
30377
94c7d826
PE
30378 mktime: simplify computation of average
30379 * time/mktime.c (ranged_convert): Use new time_t_avg function
30380 instead of rolling our own (probably-slower) code.
30381
ce73d683
PE
30382 mktime: do not assume signed right shift propagates sign bit
30383 * time/mktime.c (isdst_differ): New static function.
30384 (__mktime_internal): No need to normalize tm_isdst now.
30385 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30386 tm_isdst values.
30387
72a22e59
PE
30388 mktime: merge another wrapv change from gnulib
30389 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30390 from some compilers.
30391
68605433
PE
30392 mktime: remove incorrect attempt at unusual arithmetics
30393 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30394 The code didn't really work on such machines anyway.
30395 (TYPE_MINIMUM): Assume two's complement.
30396 (twos_complement_arithmetic): Verify that long_int and time_t
30397 are two's complement (or unsigned, in the latter case).
30398
03cf7fe3
PE
30399 mktime: check signed shifts on long_int and time_t, too
30400 * time/mktime.c (SHR): Check that shifts work as desired
30401 on the types long_int and time_t too, as SHR is used on
30402 such types.
30403
f04dfbc2
PE
30404 mktime: do not assume 'long' is wide enough
30405 * time/mktime.c (verify): Move decl up.
30406 (long_int): New type.
30407 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30408 to remove assumption in the code that 'long' is wide enough to
30409 store year values. This assumption is not true on x32 and on
30410 some non-glibc platforms.
30411
62bdf9a6
PE
30412 mktime: merge wrapv change from gnulib
30413 * time/mktime.c (WRAPV): New macro.
30414 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30415 (guess_time_tm, __mktime_internal): Do not assume that signed
30416 integer overflow wraps around; modern compilers generate code
30417 where this assumption is no longer valid.
30418
5e292e4f
L
304192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30420
30421 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30422 Replace "jmp L(pseudo_end)" with "ret".
30423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30424 Likewise.
30425
8caf8c87
AJ
304262012-05-23 Andreas Jaeger <aj@suse.de>
30427
30428 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30429 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30430
1a09dc56
AJ
304312012-05-23 Andreas Jaeger <aj@suse.de>
30432 Maximilian Attems <max@stro.at>
30433
30434 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30435 New macros.
30436
1c87aba0
L
304372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30438
30439 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30440 code so that pseudo_end is just ret and the stack pointer is
30441 correct also for static library in error case.
30442
40e45bd5
JM
304432012-05-23 Joseph Myers <joseph@codesourcery.com>
30444
c2670533
JM
30445 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30446 move to syscalls.list.
30447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30451
40e45bd5
JM
30452 * manual/install.texi (Running make install): Do not mention Linux
30453 kernel version for which pt_chown is not needed.
30454 (Linux): Do not mention problems with nscd with 2.0 kernels.
30455 * INSTALL: Regenerated.
30456
be08eda5
AJ
304572012-05-23 Andreas Jaeger <aj@suse.de>
30458
30459 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30460 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30461 macro.
30462 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30463 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30464 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30465 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30466 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30467 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30468 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30469 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30470 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30471 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30472 * sysdeps/unix/sysv/linux/bits/in.h
30473 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30474
a6a056bb
RM
304752012-05-22 Roland McGrath <roland@hack.frob.com>
30476
30477 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30478 (PREPARE_VERSION): Just use assert instead, it will be elided
30479 under [NDEBUG] anyway.
30480
c9009328
L
304812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30482
30483 * sysdeps/unix/sysv/linux/Makefile: Include
30484 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 30485 (sysdep_routines): Remove sysctl.
c9009328
L
30486 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30487 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30488 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30489 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30490 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30491
73338355
AJ
304922012-05-22 Andreas Jaeger <aj@suse.de>
30493
30494 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30495 that pseudo_end is just ret and the stack pointer is correct also
30496 for static library in error case.
30497
d44638b0
PP
304982012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30499
30500 [BZ #14122]
30501 * nss/nsswitch.c (defconfig_entries): New variable.
30502 (__nss_database_lookup): Don't leak defconfig entries.
30503 (nss_parse_service_list): Don't leak on error paths.
30504 (free_database_entries): New function.
30505 (free_defconfig): New function.
30506 (free_mem): Move common code to free_database_entries.
30507
31a39bd8
L
305082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30509
da0331a8
L
30510 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30511 Add arch_prctl.
30512 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30513
31a39bd8
L
30514 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30515 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30517 New macro.
30518 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30519 (INTERNAL_SYSCALL_TYPES): Likewise.
30520 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30521 (LOAD_REGS_TYPES_[1-6]): Likewise.
30522 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30523 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30524
45470df3
AZ
305252012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30526
30527 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30528 copysignl for GLIBC_2_0.
30529 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30530 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30531 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30532 logbl for GLIBC_2_0.
30533 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30534 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30535
98a61bcb
L
305362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30537
a4f6e481
L
30538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30539 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30540
f63d5db6
L
30541 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30542 Use "neg %eax".
30543
98a61bcb
L
30544 * time/mktime.c: Update copyright years.
30545
95770f14
PE
305462012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30547
6226efbd
PE
30548 mktime: merge comment-quoting-style change from gnulib
30549 * time/mktime.c: Quote 'like this' in comments.
30550 The GNU coding standards suggest that we no longer quote `like this',
30551 as "`" and "'" are typically rendered asymmetrically nowadays.
30552 The typical gnulib style is to quote 'like this' when quoting
30553 code, and "like this" when quoting English.
30554
b99e4f78
PE
30555 * time/mktime.c (compile-command): Add "-I.".
30556
643e01e6
PE
30557 mktime: merge mktime-internal.h change from gnulib
30558 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30559
2554247d
PE
30560 mktime: merge time_r change from gnulib
30561 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30562
826dd0ab
PE
30563 mktime: merge DEBUG change from gnulib
30564 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30565 case system <time.h> has a #define.
30566
bd83aabe
PE
30567 mktime: merge <sys/types.h> change from gnulib
30568 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30569 since <time.t> is now guaranteed to define time_t.
30570
95770f14
PE
30571 mktime: merge HAVE_CONFIG_H change from gnulib
30572 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30573
5e1a27a9
L
305742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30575
0e44a77e
L
30576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30577 Use "neg %eax".
30578
5e1a27a9
L
30579 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30580 __rlim_t cast.
30581 (struct rusage): Use anonymous union to pad each field to
30582 __syscall_slong_t.
30583
46259bec
DM
305842012-05-21 David S. Miller <davem@davemloft.net>
30585
30586 * Makefules (o-iterator): Remove .s cases.
30587 (compile-command.s): Delete.
30588 (COMPILE.s): Delete.
30589 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30590
59f0c22e
JM
305912012-05-21 Joseph Myers <joseph@codesourcery.com>
30592
30593 * configure.in (libc_cv_predef_stack_protector): Only consider
30594 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30595 * configure: Regenerated.
30596
20c07380
L
305972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30598
bbb3154b
L
30599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30600 New macro. Use R*LP on int and pointer.
30601 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30602 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30603 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30604 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30605
20c07380
L
30606 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30607 [__WORDSIZE_TIME64_COMPAT32] instead of
30608 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30609 (struct utmp): Likewise.
30610 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30611 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30612 Renamed to ...
30613 (__WORDSIZE_TIME64_COMPAT32): This.
30614 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30615 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30616 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30617 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30618 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30619 (__WORDSIZE_TIME64_COMPAT32): New macro.
30620
d8d1017e
AJ
306212012-05-21 Andreas Jaeger <aj@suse.de>
30622
30623 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30624 only if [SHARED]. Add prototype for __wcschr_ia32.
30625
6c7fb145
RM
306262012-05-21 Roland McGrath <roland@hack.frob.com>
30627
30628 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30629 of %rbp unmolested in the jmp_buf while mangling the low bits.
30630 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30631 unmolested high bits of %rbp while demangling the low bits.
30632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30633
66274218
AJ
306342012-05-21 Andreas Jaeger <aj@suse.de>
30635
07c58f8f
AJ
30636 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30637 * sunrpc/svc_simple.c: Use it for registerrpc.
30638 * sunrpc/xcrypt.c: Use it for passwd2des.
30639
66274218
AJ
30640 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30641
61f65140
L
306422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30643
30644 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30645 Don't define if [__SYSCALL_WORDSIZE != 32].
30646 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30647 New macro.
30648
5fefb436
AJ
306492012-05-21 Bruno Haible <bruno@clisp.org>
30650 Andreas Jaeger <aj@suse.de>
30651
30652 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30653 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30654 inptr and inend for must_buffer_ch.
30655 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30656 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30657 * stdio-common/Makefile (tests): Remove bug15.
30658 (bug15-ENV): Remove macro.
30659 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30660 anymore.
30661
d8e272ab
AJ
306622012-05-19 Andreas Jaeger <aj@suse.de>
30663 Roland McGrath <roland@hack.frob.com>
30664
30665 * manual/contrib.texi: Completely rewritten. It contains now an
30666 alphabetical list of contributors and their contributions.
30667
4a56a162
RH
306682012-05-21 Richard Henderson <rth@twiddle.net>
30669
30670 * misc/getauxval.c (__getauxval): Use unsigned long int.
30671 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30672 (getauxval): Use unsigned long int.
30673
d024d23c
L
306742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30675
30676 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30677
cbc00a03
RM
306782012-05-21 Roland McGrath <roland@hack.frob.com>
30679
30680 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30681 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30682 __alignof__ (long double).
30683
478143fa
AZ
306842012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30685
30686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30687
c7683a6d
RH
306882012-05-20 Richard Henderson <rth@twiddle.net>
30689
30690 * misc/getauxval.c: New file.
30691 * misc/sys/auxv.h: New file.
30692 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30693 (routines): Add getauxval.
30694 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30695 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30696 * elf/dl-sysdep.c (_dl_auxv): Remove.
30697 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30698 * elf/dl-support.c (_dl_auxv): New variable.
30699 (_dl_aux_init): Initialize it.
30700 * manual/startup.texi (Auxiliary Vector): New node.
30701 * sysdeps/generic/bits/hwcap.h: New file.
30702 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30703 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30704 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30705 * sysdeps/sparc/sysdep.h: ... here. Include it.
30706 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30707 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30709 Update.
c7683a6d
RH
30710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30718
a6f1845d
AZ
307192012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30720
30721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30722
cbcbe830
DM
307232012-05-19 David S. Miller <davem@davemloft.net>
30724
30725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30726
e0b16cc2
JM
307272012-05-19 Joseph Myers <joseph@codesourcery.com>
30728
30729 [BZ #14123]
30730 * math/s_ccosh.c: Include <float.h>
30731 (__ccosh): Avoid internal overflow calculating sinh and cosh
30732 values before multiplying by sin and cos values.
30733 * math/s_ccoshf.c: Likewise.
30734 * math/s_ccoshl.c: Likewise.
30735 * math/s_csin.c: Likewise.
30736 * math/s_csinf.c: Likewise.
30737 * math/s_csinl.c: Likewise.
30738 * math/s_csinh.c: Likewise.
30739 * math/s_csinhf.c: Likewise.
30740 * math/s_csinhl.c: Likewise.
30741 * math/libm-test.inc (ccos_test): Add more tests.
30742 (ccosh_test): Likewise.
30743 (csin_test): Likewise.
30744 (csinh_test): Likewise.
30745 * sysdeps/i386/fpu/libm-test-ulps: Update.
30746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30747
6ad13e08
L
307482012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30749
f66f0ce8
L
30750 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30751 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30752
6ad13e08
L
30753 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30754
b1d072a7
JM
307552012-05-19 Joseph Myers <joseph@codesourcery.com>
30756
30757 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30758 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30759 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30760 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30761 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30762 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30763 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30764 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30765 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30766 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30767 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30768 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30769 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30770 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30771 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30772 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30773 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30774 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30775 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30776 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30777 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30778 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30779 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30780 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30781 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30782 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30783 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30784 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30785 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30786 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30787 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30788
9eae47cb
AJ
307892012-05-18 Andreas Jaeger <aj@suse.de>
30790
30791 * csu/.gitignore: Delete.
30792
bb07f69f
L
307932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30794
30795 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30796 (timex): Use __syscall_slong_t.
30797
e6bdb741
AJ
307982012-05-18 Andreas Jaeger <aj@suse.de>
30799 Carlos O'Donell <carlos_odonell@mentor.com>
30800
30801 * manual/install.texi (Configuring and compiling): Update
30802 description about files modified in the source directory.
d6c33fda 30803 * INSTALL: Regenerated.
e6bdb741 30804
1b74487e
L
308052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30806
30807 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30808 value. Use "or" to set return value to -1.
30809 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30810 negate return value.
30811
a88b64b9
TMQMF
308122012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30813
57f41c40
AS
30814 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30815 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30816 failure if the compiler has Graphite support disabled.
30817 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30818 Likewise.
57f41c40
AS
30819 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30820 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30821 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30822 Likewise.
30823
3707636e
L
308242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30825
610b8622
L
30826 * sysdeps/x86_64/x32/_itoa.h: New file.
30827
7cd195df
L
30828 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30829 getdents system call only if kernel and user dirents have the
30830 same d_ino and d_off.
30831
94b07d20
L
30832 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30833 LLONG_MAX != LONG_MAX.
30834 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30835 (_fitoa_word): Likewise.
30836
18298070
L
30837 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30838 years.
30839 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30840 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30841 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30842
553c7ea4
L
30843 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30844 include <bits/wordsize.h>. Check __x86_64__ instead of
30845 __WORDSIZE.
30846 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30847 if __x86_64__ is defined. Use anonymous union on fpstate.
30848
3707636e
L
30849 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30850 anonymous union.
30851
b53ef01a
AS
308522012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30853
37fb1dc0
AS
30854 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30855 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30856 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30857 Refer to _rtld_local_ro instead of _rtld_global_ro.
30858 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30859 Likewise.
30860 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30861 Likewise.
30862 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30863 Likewise.
30864 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30865 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30866 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30867
b53ef01a
AS
30868 * sysdeps/powerpc/powerpc32/dl-machine.c
30869 (__elf_machine_runtime_setup) [PROF]: Don't reference
30870 _dl_prof_resolve.
30871
7a185db2
AJ
308722012-05-18 Andreas Jaeger <aj@suse.de>
30873
30874 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30875 function only available for GCCs before 3.4 since GCC 3.4
30876 introduced a builtin.
30877 (lrint): Likewise.
30878 (llrintf): Likewise.
30879 (llrint): Likewise.
30880 (fmaxf): Likewise.
30881 (fmax): Likewise.
30882 (fminf): Likewise.
30883 (fmin): Likewise.
30884 (rint): Likewise.
30885 (rintf): Likewise.
30886 (nearbyint): Likewise.
30887 (nearbyintf): Likewise.
30888 (ceil): Likewise.
30889 (ceilf): Likewise.
30890 (floor): Likewise.
30891 (floorf): Likewise.
30892
3e5aef87
L
308932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30894
428bd707
L
30895 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30896 on both fields and cast pointer to __syscall_ulong_t.
30897
3e5aef87
L
30898 * bits/types.h (__fsword_t): New type.
30899 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30900 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30902 (__FSWORD_T_TYPE): Likewise.
30903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30904 (__FSWORD_T_TYPE): Likewise.
30905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30906 (__FSWORD_T_TYPE): Likewise.
30907 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30908 (__FSWORD_T_TYPE): Likewise.
30909 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30910 __SWORD_TYPE with __fsword_t.
30911 (statfs64): Likewise.
30912
1ba7c3dc
DM
309132012-05-17 David S. Miller <davem@davemloft.net>
30914
30915 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30916
59910343
AJ
309172012-05-17 Andreas Jaeger <aj@suse.de>
30918
30919 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30920 warning.
30921
2e4c1e9e
L
309222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30923
30924 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30925
de7f5ce7
AJ
309262012-05-17 Andreas Jaeger <aj@suse.de>
30927
30928 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30929 when it is used.
30930
286abc3d
CM
309312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30932
30933 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30934
477cc68e
L
309352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30936
30937 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30938 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30939
1a0994f5
CD
309402012-05-17 Andreas Jaeger <aj@suse.de>
30941 Carlos O'Donell <carlos_odonell@mentor.com>
30942
30943 [BZ #14059]
30944 * sysdeps/x86_64/multiarch/init-arch.h
30945 (bit_YMM_Usable): Rename to...
30946 (bit_AVX_Usable): ... this.
30947 (bit_FMA4_Usable): New macro.
30948 (bit_XMM_state): New macro.
30949 (bit_YMM_state): New macro.
30950 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30951 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30952 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30953 (CPUID_OSXSAVE): New macro.
30954 (CPUID_AVX): New macro.
30955 (CPUID_FMA4): New macro.
30956 (index_YMM_Usable): Rename to...
30957 (index_AVX_Usable): ... this.
30958 (HAS_AVX): Use HAS_ARCH_FEATURE.
30959 (HAS_FMA4): Likewise.
30960 (HAS_YMM_USABLE): Remove.
30961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30962 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30963 are present.
30964 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30965 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30966 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30967 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30968 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30969
0af797de
CM
309702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30971
30972 * math/libm-test.c: Support platforms without multiple rounding modes.
30973 * math/bug-nextafter.c: Support platforms without FP exceptions.
30974 * math/bug-nexttoward.c: Likewise.
30975 * math/test-fenv.c: Likewise.
30976 * math/test-misc.c: Likewise.
30977 * stdlib/bug-getcontext.c: Likewise.
30978
e39745ff
AJ
309792012-05-17 Andreas Jaeger <aj@suse.de>
30980
30981 * manual/examples/search.c (critter_cmp): Change signature to
30982 avoid warnings.
30983 * manual/string.texi (Collation Functions): Likewise.
30984
48970aba
L
309852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30986
30987 * bits/types.h: Fold copyright years.
30988 * bits/typesizes.h: Likewise.
30989 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30990 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30992 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30993 * time/time.h: Likewise.
30994
bedee953
PP
309952012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30996
30997 [BZ #208]
30998 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30999 in instead of returning them. Return void.
31000 (__libc_mallinfo): Accumulate over all arenas.
31001 (__malloc_stats): Adjust for change in int_mallinfo interface.
31002
61653dfb
RM
310032012-05-16 Roland McGrath <roland@hack.frob.com>
31004
30b99d79
RM
31005 [BZ #10375]
31006 * configure.in (NM): Add AC_CHECK_TOOL for it.
31007 (libc_extra_cflags): New substituted variable.
31008 Check for -fstack-protector being used implicitly.
31009 * configure: Regenerated.
31010 * config.make.in (config-extra-cflags): New variable,
31011 gets @libc_extra_cflags@.
31012 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31013
61653dfb
RM
31014 [BZ #10375]
31015 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31016 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31017 * configure: Regenerated.
31018 * config.make.in (CPPUNDEFS): New substituted variable.
31019 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31020 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31021 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31022
661768bb
L
310232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31024
31025 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31026 (mq_attr): Use __syscall_slong_t.
31027
d4261567
L
310282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31029
31030 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31031 Check __x86_64__ instead of __WORDSIZE.
31032 (_STAT_VER_LINUX): Likewise.
31033 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31034 __syscall_ulong_t and __syscall_slong_t.
31035 (stat64): Likewise.
31036
cf3ff365
L
310372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31038
31039 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31040
76cf3e4d
L
310412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31042
31043 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31044
a637753a
L
310452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31046
31047 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31048 __syscall_ulong_t.
31049
d5e05119
L
31050 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31051 include <bits/wordsize.h>. Check __x86_64__ instead of
31052 __WORDSIZE.
31053 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31054 defined.
31055 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31056
f62ee380
L
31057 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31058 include <bits/wordsize.h>. Check __x86_64__ instead of
31059 __WORDSIZE.
31060 (user_regs_struct): Use "__extension__ unsigned long long"
31061 instead of "unsigned long" if __x86_64__ is defined.
31062 (user): Likewise. Pad after pointer field if __ILP32__ is
31063 defined.
31064
4e124ced
JM
310652012-05-16 Joseph Myers <joseph@codesourcery.com>
31066
6a3951a0
JM
31067 * configure.in (makeinfo): Require version 4.5 or later. Allow
31068 versions 5 to 9.
31069 * configure: Regenerated.
31070 * manual/install.texi (texinfo): Increase version requirement to
31071 4.5 or later.
31072 * INSTALL: Regenerated.
31073
4e124ced
JM
31074 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31075
953ca31a
L
310762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31077
31078 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31079
617aca05
L
31080 * sysdeps/x86_64/x32/ffs.c: New file.
31081
5762f7ae
L
31082 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31083 __syscall_ulong_t.
31084 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31085 defined. Use __syscall_ulong_t.
31086 (shminfo): Use __syscall_ulong_t.
31087 (shm_info): Likewise.
31088
a26b6856
L
31089 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31090 __syscall_ulong_t.
31091
cb2b9ef7
L
31092 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31093 <bits/wordsize.h>.
31094 (msgqnum_t): Use __syscall_ulong_t.
31095 (msglen_t): Likewise.
31096 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31097 __syscall_ulong_t.
31098
34683bb0
L
31099 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31100 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31101
84a68786
L
31102 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31103
48baa5f1
L
31104 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31105 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31106
180be88b
L
31107 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31108 __syscall_slong_t.
31109
5e90c8ad
L
31110 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31111 include <bits/wordsize.h>. Check __x86_64__ instead of
31112 __WORDSIZE.
31113
23dfb58b
L
31114 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31115 "unsigned long long int" if __x86_64__ is defined.
31116 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31117
ce5d54b0
L
31118 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31119 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31120 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31121
13dc9eac
L
31122 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31123 <stdint.h>.
31124 (GET_PC): Cast to uintptr_t first.
31125 (GET_FRAME): Likewise.
31126 (GET_STACK): Likewise.
31127
a7895d15
L
31128 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31129 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31130 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31131 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31132 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31133 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31134 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31135 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31136 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31137 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31138 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31139 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31140 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31141 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31142 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31143 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31144 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31145 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31146 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31147 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31148 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31149 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31150 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31151 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31152 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31153 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31154 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31155 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31156 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31157
656416c9
AS
311582012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31159
5bd66283
AS
31160 * Makerules (+depfiles): Also collect depfiles from .oS in
31161 $(extra-objs).
31162 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31163 .oS, $(libnldbl-routines)).
31164
656416c9
AS
31165 * Makerules (native-compile-mkdep-flags): Define.
31166 * sunrpc/Makefile (extra-objs): Add $(addprefix
31167 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31168 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31169 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31170 calling $(make-target-directory).
31171
a46f2169
L
311722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31173
31174 * bits/types.h (__snseconds_t): Removed.
31175 * time/time.h (struct timespec): Replace __snseconds_t with
31176 __syscall_slong_t.
31177 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31178 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31179 Likewise.
31180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31181 (__SNSECONDS_T_TYPE): Likewise.
31182 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31183 (__SNSECONDS_T_TYPE): Likewise.
31184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31185 (__SNSECONDS_T_TYPE): Likewise.
31186
6af6528b
L
311872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31188
31189 * sysdeps/mach/hurd/bits/typesizes.h
31190 (__SYSCALL_SLONG_TYPE): New macro.
31191 (__SYSCALL_ULONG_TYPE): Likewise.
31192
de986b56
L
311932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31194
31195 * bits/types.h (__syscall_slong_t): New type.
31196 (__syscall_ulong_t): Likewise.
31197
31198 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31199 (__SYSCALL_ULONG_TYPE): Likewise.
31200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31201 (__SYSCALL_SLONG_TYPE): Likewise.
31202 (__SYSCALL_ULONG_TYPE): Likewise.
31203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31204 (__SYSCALL_SLONG_TYPE): Likewise.
31205 (__SYSCALL_ULONG_TYPE): Likewise.
31206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31207 (__SYSCALL_SLONG_TYPE): Likewise.
31208 (__SYSCALL_ULONG_TYPE): Likewise.
31209
85736dc7
L
312102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31211
31212 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31213 Add sigaltstack-offsets.sym.
31214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31215 <sigaltstack-offsets.h>.
31216 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31217 longjmp_msg pointer.
31218 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31219 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31220 signal stack.
31221 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31222
cc03b296
JM
312232012-05-15 Joseph Myers <joseph@codesourcery.com>
31224
a9538892
JM
31225 * elf/stackguard-macros.h: Remove file.
31226 * sysdeps/generic/stackguard-macros.h: New file.
31227 * sysdeps/i386/stackguard-macros.h: Likewise.
31228 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31229 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31230 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31231 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31232 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31233 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31234 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31235 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31236 <elf/stackguard-macros.h>.
31237
cc03b296
JM
31238 [BZ #14109]
31239 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31240 __aligned__ in attribute.
31241 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31242 (gregset_t): Likewise.
31243
93171016
L
312442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31245
31246 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31247 * sysdeps/x86_64/64/Implies-after: Here. New file.
31248 * sysdeps/x86_64/x32/Implies-after: New file.
31249
d86813a0
L
312502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31251
31252 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31253 and access return value for _dl_profile_fixup. Use R10_LP to
31254 load frame size.
31255
2953ec75
L
312562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31257
31258 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31259
3b550e9e
L
312602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31261
31262 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31263 * sysdeps/x86_64/x32/sysdep.h: New file.
31264
eda41706
L
312652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31266
31267 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31268 * sysdeps/x86_64/setjmp.S: Likewise.
31269
9ea01d93
AZ
312702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31271
31272 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31273 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31274 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31275 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31276 remove unused global constant.
31277
02a91938
CM
312782012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31279
31280 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31281 include of <not-cancel.h>.
31282
6540185f
RM
312832012-05-15 Roland McGrath <roland@hack.frob.com>
31284
31285 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31286
509072a0
AJ
312872012-05-15 Jeff Law <law@redhat.com>
31288 Andreas Jaeger <aj@suse.de>
31289
31290 [BZ #13594]
31291 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31292 out from...
31293 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31294 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31295 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31296 code changing __hst_map_handle.map.
31297
ba75122d
RM
312982012-05-15 Roland McGrath <roland@hack.frob.com>
31299
31300 * configure.in (sysnames): Look for Implies-before and Implies-after
31301 files.
31302 * configure: Regenerated.
31303
890d8bd8
L
313042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31305
31306 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31307 8-byte data alignment with LP_SIZE alignment.
31308
f6ee6623
L
313092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31310
31311 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31312 into R10_LP.
31313
ea2626f6
L
313142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31315
31316 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31317
085f715e
L
313182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31319
31320 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31321 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31322 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31323 Likewise.
31324 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31325
be8498fc
L
313262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31327
31328 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31329 (stackinfo_sub_sp): Likewise.
31330
70bc83b9
L
313312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31332
31333 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31334 RAX_LP.
31335
9bc0b730
L
313362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31337
31338 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31339 into R*_LP.
31340
6d2850e7
L
313412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31342
31343 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31344 sizes into R*_LP.
31345
3cb84561
L
313462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31347
31348 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31349
54e2ed81
L
313502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31351
31352 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31353 into R11_LP and load __x86_64_shared_cache_size_half into
31354 R8_LP.
31355
8a17f349
L
313562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31357
31358 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31359 R8_LP.
31360
777b1eea
AZ
313612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31362
31363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31364 logb for POWER7.
31365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31366 logbf for POWER7.
31367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31368 logbl for POWER7.
31369 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31370 powerpc32/power7/fpu/s_logb.c via #include.
31371 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31372 powerpc32/power7/fpu/s_logbf.c via #include.
31373 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31374 powerpc32/power7/fpu/s_logbl.c via #include.
31375
d20d4ac2
JM
313762012-05-15 Joseph Myers <joseph@codesourcery.com>
31377
31378 * README.libm: Remove file.
31379
6cdef1ab
L
313802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31381
31382 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31383 count for x32. Use R*_LP and omit operand-size suffix.
31384
0b254d8f
L
313852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31386
31387 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31388 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31389 * sysdeps/x86_64/x32/shlib-versions: New file.
31390
ceb809dc
RM
313912012-05-14 Roland McGrath <roland@hack.frob.com>
31392
31393 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31394 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31395 Use _dl_fatal_printf instead.
31396
37f1abd4
JM
313972012-05-14 Joseph Myers <joseph@codesourcery.com>
31398
31399 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31400 set if not set by the user. Do not allow for being unset.
31401 * sysdeps/unix/sysv/linux/configure: Regenerated.
31402
11de3a33
L
314032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31404
31405 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31406 the `q' suffix from lea and replace .quad with ASM_ADDR.
31407
e02f153a
L
314082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31409
31410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31411 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31412 instead of $17.
31413 (PTR_DEMANGLE): Likewise.
31414
520ae0fd
L
314152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31416
31417 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31418 (LP_OP): Likewise.
31419 (ASM_ADDR): Likewise.
31420 (RAX_LP): Likewise.
31421 (RBP_LP): Likewise.
31422 (RBX_LP): Likewise.
31423 (RCX_LP): Likewise.
31424 (RDI_LP): Likewise.
31425 (RSI_LP): Likewise.
31426 (RSP_LP): Likewise.
31427 (R8_LP): Likewise.
31428 (R9_LP): Likewise.
31429 (R10_LP): Likewise.
31430 (R10_LP): Likewise.
31431 (R11_LP): Likewise.
31432 (R12_LP): Likewise.
31433 (R13_LP): Likewise.
31434 (R14_LP): Likewise.
31435 (R15_LP): Likewise.
31436
b985be81
L
314372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31438
31439 * sysdeps/x86_64/x32/dl-machine.h: New file.
31440
6a4888ff
AJ
314412012-05-14 Andreas Jaeger <aj@suse.de>
31442
31443 * manual/Makefile (subdir): Remove export of subdir.
31444 (all): Remove target.
31445 (.PHONY): Remove all from list.
31446 (mkinstalldirs): Remove.
31447 (.PHONY): Remove installdirs from list.
31448 ($(inst_infodir)/libc.info): Use make-target-directory.
31449 (installdirs): Remove.
31450 (subdir_%): Remove.
31451 (glibc-targets): Remove.
31452 (lib): Remove.
31453 (stubs): Remove.
31454 ($(objpfx)stubs ../po/manual.pot): Remove.
31455 ($(objpfx)stamp%): Remove.
31456 (make-target-directory): Remove.
31457 (subdir_install): Remove.
31458 (routines): Remove.
31459 (aux): Remove.
31460 (sources): Remove.
31461 (objects): Remove.
31462 (headers): Remove.
31463
31464 [BZ #13750]
31465 * manual/.gitignore: Remove, it's not needed anymore.
31466 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31467 all files in it.
31468 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31469 directory.
31470 (texis): Renamed to $(objpfx)texis.
31471 (texis-path): New, contains path to generated files.
31472 (chapters.%): Use texis-path for complete path, add extra argument
31473 libc-texinfo.sh.
31474 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31475 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31476 (summary,texi, stamp-summary): Use complete path of
31477 files. Generate files in build dir.
31478 (dir-add.texi): Build in build dir.
31479 (libm-err.texi,stamp-libm-err): Likewise.
31480 (version.texi, stamp-version): Likewise.
31481 (.%c.texi): Likewise.
31482 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31483 (mostlyclean): Remove target.
31484 (realclean): Remove target.
31485 (generated): Add new variable with contents from mostlyclean and
31486 realclean, remove entries duplicated in common-mostlyclean, add
31487 stamp-libm-err and stamp-version.
31488 (generated-dirs): Add libc directory.
31489 ($(inst_infodir)/libc.info): Install files from build dir.
31490
31491 * manual/install.texi (Configuring and compiling): Adjust since
31492 the info files are not part of the tar ball anymore.
31493
7ac77294
AJ
314942012-05-14 Andreas Jaeger <aj@suse.de>
31495
31496 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31497 variable.
31498
ffb7875d
JM
314992012-05-14 Joseph Myers <joseph@codesourcery.com>
31500
31501 [BZ #13717]
31502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31503 to 2.2.0 where earlier.
31504 * sysdeps/unix/sysv/linux/configure: Regenerated.
31505 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31506 Remove conditional code.
31507 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31508 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31509 Remove conditional code.
31510 [!__NR_lchown]: Likewise.
31511 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31512 [__NR_lchown]: Likewise.
31513 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31514 comment referencing __ASSUME_LCHOWN_SYSCALL.
31515 * sysdeps/unix/sysv/linux/i386/sigaction.c
31516 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31517 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31518 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31519 Remove conditional code.
31520 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31521 (__protocol_available): Remove #if 0 code.
31522 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31523 conditional code.
31524 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31525 * sysdeps/unix/sysv/linux/kernel-features.h
31526 (__ASSUME_GETCWD_SYSCALL): Don't define.
31527 (__ASSUME_REALTIME_SIGNALS): Likewise.
31528 (__ASSUME_PREAD_SYSCALL): Likewise.
31529 (__ASSUME_PWRITE_SYSCALL): Likewise.
31530 (__ASSUME_POLL_SYSCALL): Likewise.
31531 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31532 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31533 non-SPARC.
31534 (__ASSUME_SIOCGIFNAME): Don't define.
31535 (__ASSUME_MSG_NOSIGNAL): Likewise.
31536 (__ASSUME_SENDFILE): Define unconditionally.
31537 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31538 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31539 conditional code.
31540 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31541 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31542 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31543 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31544 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31545 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31546 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31548 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31551 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31554 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31555 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31557 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31560 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31563 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31564 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31566 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31569 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31571 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31572 Remove conditional code.
31573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31574 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31575 Remove conditional code.
31576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31577 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31578 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31579 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31580 Remove conditional code.
31581 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31582 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31583 Remove conditional code.
31584 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31585 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31586 Remove conditional code.
31587 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31588 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31589 Remove conditional code.
31590 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31591 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31592 Remove conditional code.
31593 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31594 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31595 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31596 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31597 * sysdeps/unix/sysv/linux/sigaction.c
31598 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31599 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31600 * sysdeps/unix/sysv/linux/sigpending.c
31601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31603 * sysdeps/unix/sysv/linux/sigprocmask.c
31604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31606 * sysdeps/unix/sysv/linux/sigsuspend.c
31607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31609 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31610 (__libc_missing_rt_sigs): Remove.
31611 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31612 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31613 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31614 Remove conditional code.
31615 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31616 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31617 return 1.
31618 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31619 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31620 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31621 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31622
1bfb7291
AJ
316232012-05-14 Andreas Jaeger <aj@suse.de>
31624
caae5a81
AJ
31625 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31626 it's not used in glibc.
31627 (__coshm1): Likewise.
31628 (__acosh1p): Likewise.
31629 (__sgn): Likewise.
31630
1bfb7291
AJ
31631 * manual/string.texi (Copying and Concatenation): Add missing
31632 variable in concat example.
31633 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31634
c044d724
L
316352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31636
144c5467 31637 [BZ #14103]
c044d724
L
31638 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31639 __builtin_clzl with __builtin_clzll.
31640
2523c62b
L
316412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31642
31643 [BZ #14104]
31644 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31645 libc_freeres_ptr.
31646
d7bb4c42
LD
316472012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31648
31649 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31650 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31651 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31652 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31653
9dc4e1fb
MF
316542012-05-14 Mike Frysinger <vapier@gentoo.org>
31655
31656 * NEWS: Update ia64 info.
31657
c7df0112
AS
316582012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31659
31660 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31661 used as bcopy.
31662
dc70356c
TS
316632012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31664
31665 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31666 * sysdeps/unix/syscalls.list (dup3): Likewise.
31667 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31668 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31669
9fb1a21f
L
316702012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31671
31672 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31673 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31674
4822a2a5
L
316752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31676
31677 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31678 thread pointer.
31679 (TLS_IE): Use mov/add instead of movq/addq to load thread
31680 pointer.
31681 (TLS_GD_PREFIX): New.
31682 (TLS_GD): Use it.
31683
842b81d6
DM
316842012-05-11 David S. Miller <davem@davemloft.net>
31685
31686 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31687 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31688 (_FPU_SETCW): Likewise.
31689
1cf463cd
L
316902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31691
31692 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31693 is 32-byte aligned.
31694
60cc4a18
AS
316952012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31696
31697 [BZ #11837]
31698 * iconvdata/gb18030.c: Update tables.
31699 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31700 characters specially.
31701 (BODY for TO_LOOP): Add encoding of missing ranges.
31702
febb44a4
TS
317032012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31704
31705 [BZ #13673]
31706 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31707 * sysdeps/mach/hurd/dup3.c: Likewise.
31708 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31709 * sysdeps/powerpc/memmove.c:: Likewise.
31710
0a10fb9e
L
317112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31712
31713 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31714 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31715
df8a552f
L
317162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31717
31718 * elf/elf.h (R_X86_64_RELATIVE64): New.
31719 (R_X86_64_NUM): Updated.
31720 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31721 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31722 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31723 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31724 tst-quad1pie tst-quad2pie
31725 (modules-names): Add tst-quadmod1 tst-quadmod2.
31726 ($(objpfx)tst-quad1): New dependency.
31727 ($(objpfx)tst-quad2): Likewise.
31728 ($(objpfx)tst-quad1pie): Likewise.
31729 ($(objpfx)tst-quad2pie): Likewise.
31730 * sysdeps/x86_64/tst-quad1.c: New file.
31731 * sysdeps/x86_64/tst-quad1pie.c: New file.
31732 * sysdeps/x86_64/tst-quad2.c: Likewise.
31733 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31734 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31735 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31736 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31737 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31738
f34d6f84
ST
317392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31740
f42d41d1
ST
31741 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31742 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31743 * streams/stropts.h (t_scalar_t): Define type.
31744
3c3571fc
ST
31745 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31746 (_PATH_PRESERVE): Set to "/var/lib".
31747 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31748
61f06bd3
ST
31749 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31750 instead of int.
31751
918d4d71
ST
31752 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31753 if __dir_mkfile succeeded.
31754
f34d6f84
ST
31755 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31756 checking for _hurd_dtablesize. Unlock it right after having
31757 finished _hurd_dtable allocation.
31758
10589b4a
TS
317592012-05-10 Thomas Schwinge <thomas@schwinge.name>
31760
674cdbc7
TS
31761 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31762 * sysdeps/mach/hurd/configure: Regenerated.
31763 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31764 special-casing to...
31765 * sysdeps/gnu/configure.in: ... this new file.
31766 * sysdeps/unix/sysv/linux/configure: Regenerated.
31767 * sysdeps/gnu/configure: New generated file.
31768
8e41b99f
TS
31769 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31770 for Linux: use nsec instead of usec, as well as:
31771 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31772 members of type struct timespec.
31773 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31774 New macros.
31775 (struct stat64): Likewise.
31776 (_STATBUF_ST_NSEC): New macro.
31777 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31778
10589b4a
TS
31779 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31780 __strtoul_internal rather than strtoul.
31781
63643c85
PT
317822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31783
31784 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31785 and reject them.
31786
3faebe6a
ST
317872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31788
31789 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31790 which preserves existing values.
31791 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31792
c6474b07
PT
317932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31794
31795 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31796 TIMEOUT values. Return EINVAL for NFDS values either negative or
31797 greater than FD_SETSIZE.
31798
1043890b
ST
317992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31800
31801 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31802 allocated, call __vm_protect to finish enabling the existing space, and
31803 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31804 allocate the remainder.
31805
37ed8b9b
PT
318062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31807
31808 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31809 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31810
db653660
ST
318112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31812
37ed8b9b
PT
31813 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31814 sysdeps/mach/hurd/readlink.c.
b29d4053 31815
db653660
ST
31816 * posix/tst-sysconf.c (posix_options): Only use
31817 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31818 _POSIX_SYNCHRONIZED_IO when they are defined
31819 * sysdeps/mach/hurd/bits/posix_opt.h:
31820 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31821 (_XOPEN_REALTIME): Undefine macro.
31822 (_XOPEN_REALTIME_THREADS): Undefine macro.
31823 (_XOPEN_SHM): Undefine macro.
31824 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31825 macro to -1.
31826 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31827 macro to -1.
31828 (_POSIX_ASYNC_IO): Undefine macro.
31829 (_POSIX_PRIORITIZED_IO): Undefine macro.
31830 (_POSIX_SPIN_LOCKS): Define macro to -1.
31831
ee16e894
ST
31832 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31833 SA_NODEFER, SA_RESETHAND.
31834 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31835 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31836 F_DUPFD_CLOEXEC.
31837
6103ae3b
TS
318382012-05-10 Thomas Schwinge <thomas@schwinge.name>
31839
31840 * elf/Makefile (pldd-modules): Define unconditionally.
31841
80b4e5f3
TS
318422012-05-10 Thomas Schwinge <thomas@schwinge.name>
31843
31844 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31845
edadcbd6
ST
318462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31847
31848 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31849 Return ENOENT when name is empty.
31850 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31851
80694780
TS
318522012-05-10 Thomas Schwinge <thomas@schwinge.name>
31853
1792c087
TS
31854 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31855
80694780
TS
31856 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31857
6b645f0d
ST
318582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31859
80694780
TS
31860 Fix mlock in all cases except non-readable pages.
31861 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31862 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31863
6b645f0d
ST
31864 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31865 (__mkdir): When path is `/', just fail with EEXIST.
31866 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31867
e468f8a3
TS
318682012-05-10 Thomas Schwinge <thomas@schwinge.name>
31869
31870 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31871 <sys/uio.h> (for writev).
31872 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31873 and <sys/param.h> (for MIN).
31874
a4186cff
PT
318752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31876
31877 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31878 REQUESTED_TIME. Properly set the remaining time and return EINTR
31879 if interrupted.
31880
510bbf14
TS
318812012-05-10 Thomas Schwinge <thomas@schwinge.name>
31882
31883 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31884 Depend on against $(link-rpcuserlibs).
31885
5d5722e8
ST
318862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31887
a4186cff
PT
31888 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31889 (__libc_stack_end): Do not use attribute_relro.
31890 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31891 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31892 to libthread-provided value.
a4186cff
PT
31893 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31894 attribute_relro.
5d5722e8 31895
37233df9
TS
318962012-05-10 Thomas Schwinge <thomas@schwinge.name>
31897
be971a2b
TS
31898 [BZ #3748]
31899 * bits/libc-lock.h (__libc_once_get): New macro.
31900 * sysdeps/mach/bits/libc-lock.h: Likewise.
31901 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31902 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31903 instead of using implementation details.
31904
37233df9
TS
31905 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31906 * libio/freopen.c: Likewise.
31907 * libio/freopen64.c: Likewise.
31908 * misc/syslog.c: Likewise.
31909 * nscd/connections.c: Likewise.
31910 * nscd/netgroupcache.c: Likewise.
31911 * sysdeps/posix/getcwd.c: Likewise.
31912
38de94a5
RM
319132012-05-10 Roland McGrath <roland@hack.frob.com>
31914
31915 * math/w_ilogbf.c: Add #include <limits.h>.
31916
67530489
ST
319172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31918
a4186cff 31919 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31920 path instead of returning without unlocking.
31921
67530489
ST
31922 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31923 immediate-write ioctls.
31924 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31925
5aa3a74a
TS
319262012-05-10 Thomas Schwinge <thomas@schwinge.name>
31927
18bad2ae
TS
31928 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31929 __builtin_frame_address instead of making assumptions about the
31930 location of the return address relative to DATA. Force early load of
31931 the return address.
31932 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31933 __builtin_frame_address.
31934
5aa3a74a
TS
31935 dup3 for GNU Hurd.
31936 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31937 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31938 implement dup3 and do some further code clean-ups.
31939 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31940 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31941
ecd0de9a
ST
319422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31943
cd9fa985
ST
31944 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31945
a4186cff
PT
31946 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31947 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31948 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31949 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31950 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31951 d->port.lock.
802ca5a5 31952
a4186cff
PT
31953 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31954 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31955 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31956
bcf55240
TS
319572012-05-10 Thomas Schwinge <thomas@schwinge.name>
31958
6960eb42
TS
31959 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31960 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31961 definitions.
31962
eb43375f
TS
31963 accept4 for GNU Hurd.
31964 * include/sys/socket.h (__libc_accept4): New prototype.
31965 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31966 to implement __libc_accept4.
31967 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31968 __libc_accept4.
31969 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31970
bcf55240
TS
31971 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31972 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31973 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31974 signal-defines.sym.
31975
6178c55b
ST
319762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31977
a4186cff 31978 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31979
6f080c2f
TS
319802012-05-10 Thomas Schwinge <thomas@schwinge.name>
31981
31982 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31983 assertion on O_CLOEXEC flag.
31984 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31985 * hurd/intern-fd.c: Likewise.
31986 * hurd/port2fd.c: Likewise.
31987
bcfe3a54
ST
319882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31989
31990 [BZ #3906]
31991 * bits/in.h (IPV6_PKTINFO): Define new macro.
31992 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31993
89c9aa49
AZ
319942012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31995
31996 [BZ #13954]
31997 [BZ #13955]
31998 [BZ #13956]
31999 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32000 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32001 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32002 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32003 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32004 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32005 * math/libm-test.inc (logb_test) : Additional logb tests.
32006
021db4be
AJ
320072012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32008 Andreas Jaeger <aj@suse.de>
32009
32010 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32011 * configure: Regenerated.
32012 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32013 * config.make.in (link-obsolete-rpc): New substituted variable.
32014 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32015 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32016 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32017 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32018 so that libc.a contains the symbols.
32019 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32020 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32021 * sunrpc/auth_none.c: Likewise.
32022 * sunrpc/auth_unix.c: Likewise.
32023 * sunrpc/authdes_prot.c: Likewise.
32024 * sunrpc/authuxprot.c: Likewise.
32025 * sunrpc/clnt_gen.c: Likewise.
32026 * sunrpc/clnt_perr.c: Likewise.
32027 * sunrpc/clnt_raw.c: Likewise.
32028 * sunrpc/clnt_simp.c: Likewise.
32029 * sunrpc/clnt_tcp.c: Likewise.
32030 * sunrpc/clnt_udp.c: Likewise.
32031 * sunrpc/clnt_unix.c: Likewise.
32032 * sunrpc/des_crypt.c: Likewise.
32033 * sunrpc/des_soft.c: Likewise.
32034 * sunrpc/get_myaddr.c: Likewise.
32035 * sunrpc/key_call.c: Likewise.
32036 * sunrpc/key_prot.c: Likewise.
32037 * sunrpc/netname.c: Likewise.
32038 * sunrpc/pm_getmaps.c: Likewise.
32039 * sunrpc/pm_getport.c: Likewise.
32040 * sunrpc/pmap_clnt.c: Likewise.
32041 * sunrpc/pmap_prot.c: Likewise.
32042 * sunrpc/pmap_prot2.c: Likewise.
32043 * sunrpc/pmap_rmt.c: Likewise.
32044 * sunrpc/publickey.c: Likewise.
32045 * sunrpc/rpc_cmsg.c: Likewise.
32046 * sunrpc/rpc_common.c: Likewise.
32047 * sunrpc/rpc_dtable.c: Likewise.
32048 * sunrpc/rpc_prot.c: Likewise.
32049 * sunrpc/rpc_thread.c: Likewise.
32050 * sunrpc/rtime.c: Likewise.
32051 * sunrpc/svc.c: Likewise.
32052 * sunrpc/svc_auth.c: Likewise.
32053 * sunrpc/svc_raw.c: Likewise.
32054 * sunrpc/svc_run.c: Likewise.
32055 * sunrpc/svc_tcp.c: Likewise.
32056 * sunrpc/svc_udp.c: Likewise.
32057 * sunrpc/svc_unix.c: Likewise.
32058 * sunrpc/svcauth_des.c: Likewise.
32059 * sunrpc/xcrypt.c: Likewise.
32060 * sunrpc/xdr.c: Likewise.
32061 * sunrpc/xdr_array.c: Likewise.
32062 * sunrpc/xdr_float.c: Likewise.
32063 * sunrpc/xdr_intXX_t.c: Likewise.
32064 * sunrpc/xdr_mem.c: Likewise.
32065 * sunrpc/xdr_rec.c: Likewise.
32066 * sunrpc/xdr_ref.c: Likewise.
32067 * sunrpc/xdr_sizeof.c: Likewise.
32068 * sunrpc/xdr_stdio.c: Likewise.
32069
b5c086a2
RM
320702012-05-10 Roland McGrath <roland@hack.frob.com>
32071
32072 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32073 change. Update copyright years.
32074
6d74dd09
JM
320752012-05-10 Joseph Myers <joseph@codesourcery.com>
32076
32077 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32078
28e72501
MK
320792012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32080 Joseph Myers <joseph@codesourcery.com>
32081 Paul Pluzhnikov <ppluzhnikov@google.com>
32082
32083 [BZ #14012]
32084 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32085 requiring rpcgen.
32086 [cross-compiling] (extra-libs): Likewise.
32087 [cross-compiling] (extra-libs-others): Likewise.
32088 [cross-compiling] (librpcsvc-routines): Likewise.
32089 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32090 [cross-compiling] (omit-deps): Likewise.
32091 (sunrpc-CPPFLAGS): New variable.
32092 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32093 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32094 (cross-rpcgen-objs): New variable.
32095 (extra-objs): Append $(cross-rpcgen-objs).
32096 ($(cross-rpcgen-objs)): New rule.
32097 ($(objpfx)cross-rpcgen): Likewise.
32098 (rpcgen-cmd): Define to use $(built-program-file). Expand
32099 comment.
32100 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32101 ($(objpfx)x%.stmp): Likewise.
32102 * sunrpc/proto.h [IS_IN_build] (_): Define.
32103 [IS_IN_build] (_libc_intl_domainname): Likewise.
32104
c8c59454
L
321052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32106
32107 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32108 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32109 and R_X86_64_TPOFF64.
32110
6f27cd16
JM
321112012-05-10 Joseph Myers <joseph@codesourcery.com>
32112
32113 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32114 sysdeps/unix/sysv/syscalls.list.
32115 (stime): Likewise.
32116 (utime): Likewise.
32117 * sysdeps/unix/sysv/syscalls.list: Remove file.
32118
02467e1c
PE
321192012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32120
32121 [BZ #3440]
32122 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32123 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32124 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32125 (__LC_IDENTIFICATION): Make these macros useful in #if
32126 expressions, as required by C99.
32127
da392631
AS
321282012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32129
32130 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32131 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32132 after this.
32133
8115f29b
L
321342012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32135
32136 * stdlib/longlong.h: Updated from GCC.
32137
bdd74070
AJ
321382012-05-09 Andreas Jaeger <aj@suse.de>
32139
edfe0dbe
AJ
32140 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32141 default is first entry.
32142 (run_mode): Set type.
32143 (main): Remove informal message about syslog.
32144 (options): Fix typo.
32145
bcfe3a54
ST
32146 [BZ #14053]
32147 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32148 to asm.
bcfe3a54
ST
32149 (lrint): Likewise.
32150 (llrintf): Likewise.
32151 (llrint): Likewise.
32152 (rint): Likewise.
32153 (rintf): Likewise.
32154 (nearbyint): Likewise.
32155 (nearbyintf): Likewise.
bdd74070 32156
91d8d69e
AJ
321572012-05-09 Andreas Jaeger <aj@suse.de>
32158 Pedro Alves <palves@redhat.com>
32159
32160 * nscd/nscd.c (run_mode): Use enum.
32161 (main): Cleanup coding style issue.
32162
bb90b80b
AJ
321632012-05-09 Alexandre Oliva <aoliva@redhat.com>
32164 Andreas Jaeger <aj@suse.de>
32165
bcfe3a54
ST
32166 * nscd/nscd.c (go_background): Replaced with...
32167 (run_mode): ... this.
bb90b80b 32168 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32169 (options): Add -F --foreground.
32170 (main): Implement it.
32171 (parse_opt): Parse it.
bb90b80b 32172
1a4b75a1
AJ
321732012-05-09 Andreas Jaeger <aj@suse.de>
32174
32175 [BZ #14083]
32176 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32177 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32178 -Wconversion warning.
32179 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32180 Likewise.
32181
b1cc2472
JM
321822012-05-09 Joseph Myers <joseph@codesourcery.com>
32183
32184 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32185 == 0.
32186 (LC_ALL): Use macro-int-constant.
32187 (LC_COLLATE): Likewise.
32188 (LC_CTYPE): Likewise.
32189 (LC_MESSAGES): Likewise.
32190 (LC_MONETARY): Likewise.
32191 (LC_NUMERIC): Likewise.
32192 (LC_TIME): Likewise.
32193 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32194 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32196 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32197 Specify type.
32198 [C99-based standards] (float_t): Expect type.
32199 [C99-based standards] (double_t): Expect type.
32200 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32201 type.
32202 [C99-based standards] (HUGE_VALL): Likewise.
32203 [C99-based standards] (INFINITY): Likewise.
32204 [C99-based standards] (NAN): Likewise.
32205 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32206 [C99-based standards] (FP_NAN): Likewise.
32207 [C99-based standards] (FP_NORMAL): Likewise.
32208 [C99-based standards] (FP_SUBNORMAL): Likewise.
32209 [C99-based standards] (FP_ZERO): Likewise.
32210 [C99-based standards] (FP_FAST_FMA): Use
32211 optional-macro-int-constant. Specify type. Require == 1.
32212 [C99-based standards] (FP_FAST_FMAF): Likewise.
32213 [C99-based standards] (FP_FAST_FMAL): Likewise.
32214 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32215 [C99-based standards] (FP_ILOGBNAN): Likewise.
32216 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32217 Specify type.
32218 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32219 [C99-based standards] (math_errhandling): Specify type.
32220 [ISO99 || ISO11] (signgam): Do not allow.
32221 [non-C99-based standards] (copysignf): Do not allow.
32222 [non-C99-based standards] (exp2f): Likewise.
32223 [non-C99-based standards] (log2f): Likewise.
32224 [non-C99-based standards] (modff): Allow.
32225 [non-C99-based standards] (erff): Do not allow.
32226 [non-C99-based standards] (erfcf): Likewise.
32227 [non-C99-based standards] (gammaf): Likewise.
32228 [non-C99-based standards] (hypotf): Likewise.
32229 [non-C99-based standards] (j0f): Likewise.
32230 [non-C99-based standards] (j1f): Likewise.
32231 [non-C99-based standards] (jnf): Likewise.
32232 [non-C99-based standards] (lgammaf): Likewise.
32233 [non-C99-based standards] (tgammaf): Likewise.
32234 [non-C99-based standards] (y0f): Likewise.
32235 [non-C99-based standards] (y1f): Likewise.
32236 [non-C99-based standards] (ynf): Likewise.
32237 [non-C99-based standards] (isnanf): Likewise.
32238 [non-C99-based standards] (acoshf): Likewise.
32239 [non-C99-based standards] (asinhf): Likewise.
32240 [non-C99-based standards] (atanhf): Likewise.
32241 [non-C99-based standards] (cbrtf): Likewise.
32242 [non-C99-based standards] (expm1f): Likewise.
32243 [non-C99-based standards] (ilogbf): Likewise.
32244 [non-C99-based standards] (log1pf): Likewise.
32245 [non-C99-based standards] (logbf): Likewise.
32246 [non-C99-based standards] (nextafterf): Likewise.
32247 [non-C99-based standards] (remainderf): Likewise.
32248 [non-C99-based standards] (rintf): Likewise.
32249 [non-C99-based standards] (scalbf): Likewise.
32250 [non-C99-based standards] (copysignl): Likewise.
32251 [non-C99-based standards] (exp2l): Likewise.
32252 [non-C99-based standards] (log2l): Likewise.
32253 [non-C99-based standards] (modfl): Allow.
32254 [non-C99-based standards] (erfl): Do not allow.
32255 [non-C99-based standards] (erfcl): Likewise.
32256 [non-C99-based standards] (gammal): Likewise.
32257 [non-C99-based standards] (hypotl): Likewise.
32258 [non-C99-based standards] (j0l): Likewise.
32259 [non-C99-based standards] (j1l): Likewise.
32260 [non-C99-based standards] (jnl): Likewise.
32261 [non-C99-based standards] (lgammal): Likewise.
32262 [non-C99-based standards] (tgammal): Likewise.
32263 [non-C99-based standards] (y0l): Likewise.
32264 [non-C99-based standards] (y1l): Likewise.
32265 [non-C99-based standards] (ynl): Likewise.
32266 [non-C99-based standards] (isnanl): Likewise.
32267 [non-C99-based standards] (acoshl): Likewise.
32268 [non-C99-based standards] (asinhl): Likewise.
32269 [non-C99-based standards] (atanhl): Likewise.
32270 [non-C99-based standards] (cbrtl): Likewise.
32271 [non-C99-based standards] (expm1l): Likewise.
32272 [non-C99-based standards] (ilogbl): Likewise.
32273 [non-C99-based standards] (log1pl): Likewise.
32274 [non-C99-based standards] (logbl): Likewise.
32275 [non-C99-based standards] (nextafterl): Likewise.
32276 [non-C99-based standards] (remainderl): Likewise.
32277 [non-C99-based standards] (rintl): Likewise.
32278 [non-C99-based standards] (scalbl): Likewise.
32279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32280 [non-C99-based standards] (FP_*): Do not allow.
32281 [C99-based standards] (FP_*): Change to
32282 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32283 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32284 allow.
32285 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32286 (SIG_ERR): Likewise.
32287 [X/Open-based standards] (SIG_HOLD): Likewise.
32288 (SIG_IGN): Likewise.
32289 (SIGABRT): Use macro-int-constant. Specify type. Require
32290 positive value.
32291 (SIGFPE): Likewise.
32292 (SIGILL): Likewise.
32293 (SIGINT): Likewise.
32294 (SIGSEGV): Likewise.
32295 (SIGTER): Likewise.
32296 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32297 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32298 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32299 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32300 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32301 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32302 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32303 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32304 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32305 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32306 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32307 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32308 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32309 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32310 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32311 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32312 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32313 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32314 [X/Open-based standards] (SIGTRAP): Likewise.
32315 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32316 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32317 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32318 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32319 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32320 allow.
32321
b9f1922d
IW
323222012-05-08 Ian Wienand <ianw@vmware.com>
32323
32324 [BZ #14080]
32325 * time/tzset.c (__tzset_parse_tz): Update default rules for
32326 daylight time changes in the Energy Policy Act of 2005.
32327
1db86e88
AJ
323282012-05-09 Andreas Jaeger <aj@suse.de>
32329
32330 [BZ #13983]
32331 * elf/ldconfig.c (parse_conf): Change string to make clear that
32332 ldconfig only issued a warning if ld.so.conf does not exist.
32333
dee4a4e3
DM
323342012-05-08 David S. Miller <davem@davemloft.net>
32335
ee0db190
DM
32336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32337 movxtod instead of popping the value on the stack.
32338
dee4a4e3
DM
32339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32340
6a43ec98
CD
323412012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32342
32343 * config.h.in: Add HAVE_ARM_PCS_VFP.
32344
05c2c961
RMG
323452012-05-08 Roland Mc Grath <roland@hack.frob.com>
32346
bcfe3a54
ST
32347 [BZ #13979]
32348 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32349 checking but the checks are disabled for any reason.
05c2c961 32350
4b30f61a
L
323512012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32352
32353 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32354 and ELF64_R_TYPE with ELFW(R_TYPE).
32355
eee2bc67
JM
323562012-05-08 Joseph Myers <joseph@codesourcery.com>
32357
7ea5391a
JM
32358 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32359 (ulimit): Likewise.
32360
eee2bc67
JM
32361 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32362 (settimeofday): Likewise.
32363
abb66a67
MF
323642012-05-08 Mike Frysinger <vapier@gentoo.org>
32365
32366 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32367 a struct th_u2 inside the union, and move tu_block/tu_code into
32368 a new th_u3 union of tu_block/tu_code inside of that. Move
32369 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32370 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32371 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32372 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32373 (th_stuff): Change to th_u1.tu_stuff.
32374 (th_data): Define.
32375 (th_msg): Change to th_u1.th_u2.tu_data.
32376
7f18b530
DM
323772012-05-07 David S. Miller <davem@davemloft.net>
32378
05760585
DM
32379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32380
7f18b530
DM
32381 [BZ #14074]
32382 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32383 (SETUP_PIC_REG): Use it.
32384 (SETUP_PIC_REG_LEAF): Use it.
32385
495fd99f
JM
323862012-05-07 Joseph Myers <joseph@codesourcery.com>
32387
32388 [BZ #13885]
32389 [BZ #13923]
32390 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32391 USE_AS_EXPM1L.
32392 (EXPL_FINITE): Likewise.
32393 (FLDLOG): Likewise.
32394 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32395 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32396 e_expl.S.
32397 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32398 USE_AS_EXPM1L.
32399 (EXPL_FINITE): Likewise.
32400 (FLDLOG): Likewise.
32401 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32402 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32403 e_expl.S.
32404 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32405 test of -max_value argument for long double.
32406 * sysdeps/i386/fpu/libm-test-ulps: Update.
32407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32408
6693d694
DM
324092012-05-06 David S. Miller <davem@davemloft.net>
32410
32411 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32412 quad soft-float symbols whose references which are compiler
32413 generated.
32414 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32415
6c23e11c
JM
324162012-05-06 Joseph Myers <joseph@codesourcery.com>
32417
d8b82cad
JM
32418 [BZ #13884]
32419 [BZ #13914]
32420 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32421 USE_AS_EXP10L.
32422 (EXPL_FINITE): Likewise.
32423 (FLDLOG): Likewise.
32424 (c0): Likewise.
32425 (c1): Likewise.
32426 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32427 Adjust comments for base varying.
32428 (__expl_finite): Change alias to EXPL_FINITE.
32429 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32430 e_expl.S.
32431 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32432 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32433 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32434 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32435 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32436 USE_AS_EXP10L.
32437 (EXPL_FINITE): Likewise.
32438 (FLDLOG): Likewise.
32439 (c0): Likewise.
32440 (c1): Likewise.
32441 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32442 Adjust comments for base varying.
32443 (__expl_finite): Change alias to EXPL_FINITE.
32444 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32445 tests for bugs.
32446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32447
6c23e11c
JM
32448 [BZ #14064]
32449 * math/libm-test.inc (check_float_internal): Correct ulp
32450 calculation for subnormal expected results.
32451
29ba805c
AJ
324522012-05-06 Andreas Jaeger <aj@suse.de>
32453
32454 * Makeconfig (+math-flags): New, set to -frounding-math.
32455 (+cflags): Add +math-flags so that all of glibc gets compiled with
32456 it.
32457
32458 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32459
7b17aeda
JM
324602012-05-05 Joseph Myers <joseph@codesourcery.com>
32461
5779f134
JM
32462 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32463 Disable one test.
32464
41498f4d
JM
32465 [BZ #13787]
32466 [BZ #13922]
32467 [BZ #14036]
32468 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32469 (__ieee754_expl): Allow for and saturate large arguments.
32470 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32471 (u_threshold): Likewise.
32472 (__exp): Call __ieee754_exp before checking for overflow and
32473 underflow.
32474 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32475 (u_threshold): Likewise.
32476 (__expf): Call __ieee754_expf before checking for overflow and
32477 underflow.
32478 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32479 (u_threshold): Likewise.
32480 (__expl): Call __ieee754_expl before checking for overflow and
32481 underflow.
32482 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32483 (__ieee754_expl): Allow for and saturate large arguments.
32484 * math/libm-test.inc (exp_test): Add another test. Do not allow
32485 missing overflow exception on overflow.
32486 (expm1_test): Do not allow missing overflow exception on overflow.
32487
6698b8bf
JM
32488 * sysdeps/i386/fpu/e_expl.c: Move to ...
32489 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32490 rather than using inline asm.
32491 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32492 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32493 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32494
7b17aeda
JM
32495 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32496 (nice): Likewise.
32497 (poll): Likewise.
32498 (signal): Likewise.
32499 (time): Likewise.
32500 (times): Likewise.
32501
f7c85819
JM
325022012-05-04 Joseph Myers <joseph@codesourcery.com>
32503
32504 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32505 sysdeps/unix/common/syscalls.list.
32506 (fchmod): Likewise.
32507 (fchown): Likewise.
32508 (ftruncate): Likewise.
32509 (getrusage): Likewise.
32510 (gettimeofday): Likewise.
32511 (setpgid): Likewise.
32512 (setregid): Likewise.
32513 (setreuid): Likewise.
32514 (sigaction): Likewise.
32515 (truncate): Likewise.
32516 (vhangup): Likewise.
32517 * sysdeps/unix/common/syscalls.list: Remove file.
32518 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32519 * sysdeps/unix/sysv/linux/Implies: Likewise.
32520
336270d0
L
325212012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32522
32523 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32525 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32526 Moved to ...
32527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32528 Here.
32529 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32530 to ...
32531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32532 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32533 to ...
32534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32535 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32536 to ...
32537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32538 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32539 to ...
32540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32541 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32542 to ...
32543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32544 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32545 to ...
32546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32547 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32548 to ...
32549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32550 Here.
32551 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32552 to ...
32553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32554 Here.
32555 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32556 to ...
32557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32558 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32559 Moved to ...
32560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32561 Here.
32562 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32563 to ...
32564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32565
d128e450
JM
325662012-05-04 Joseph Myers <joseph@codesourcery.com>
32567
fa8ee516
JM
32568 * sysdeps/unix/common/bits/dirent.h: Remove file.
32569 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32570
d128e450
JM
32571 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32572 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32573 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32574 * sysdeps/unix/bsd/isatty.c: Likewise.
32575 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32576 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32577 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32578
ff8faaf0 325792012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32580
62881be4 32581 [BZ #13563]
31dc8730
AZ
32582 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32583 long double comparison inaccuracies.
32584 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32586
6fef930c
AS
325872012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32588
32589 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32591
8f203e6c
JM
325922012-05-04 Joseph Myers <joseph@codesourcery.com>
32593
32594 [BZ #14049]
32595 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32596 nonzero digits before rounding a hex value.
32597 * stdlib/tst-strtod.c (tests): Add another test.
32598
5197d9c2
AK
325992012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32600
32601 * sysdeps/s390/fpu/libm-test-ulps: Update.
32602
f0c1dedf
AJ
326032012-05-03 Andreas Jaeger <aj@suse.de>
32604
32605 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32606 does not get optimized out.
32607 (malloc_opt_barrier): New.
32608
a65ef2ae 326092012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32610 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32611
2b942cb7 32612 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32613 intermediate file deletion.
2b942cb7 32614 (generated): Add .symlist files.
a65ef2ae 32615
54b71e02
JM
326162012-05-03 Joseph Myers <joseph@codesourcery.com>
32617
32618 [BZ #13775]
32619 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32620 Redirect under this condition.
32621 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32622 [__USE_GNU] (__dprintf_chk): Not under this condition.
32623 [__USE_GNU] (__vdprintf_chk): Likewise.
32624 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32625 under this condition.
32626 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32627 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32628 [__USE_XOPEN2K8] (vdprintf): Likewise.
32629 [__USE_GNU] (__dprintf_chk): Not under this condition.
32630 [__USE_GNU] (__vdprintf_chk): Likewise.
32631 [__USE_GNU] (dprintf): Likewise.
32632 [__USE_GNU] (vdprintf): Likewise.
32633
d3dfcc41
RM
326342012-05-03 Roland McGrath <roland@hack.frob.com>
32635
32636 * elf/Makefile (common-generated): Set this instead of generated for
32637 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32638 $(all-built-dso)-derived lists.
32639
7ac30cc5
AJ
326402012-05-03 Andreas Jaeger <aj@suse.de>
32641
0c51e550
AJ
32642 * sysdeps/i386/fpu/libm-test-ulps: Update.
32643
7ac30cc5
AJ
32644 * FAQ: Removed.
32645 * FAQ.in: Likewise.
32646 * scripts/gen-FAQ.pl: Likewise.
32647 * manual/install.texi (Installation): Point to online location of
32648 FAQ.
32649 * Makefile (files-for-dist): Remove FAQ.
32650 (FAQ): Remove.
32651
d4c2917f
AM
326522012-05-02 Allan McRae <allan@archlinux.org>
32653
32654 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32655 (LDFLAGS-reldepmod5.so): Likewise.
32656 (LDFLAGS-reldep6mod1.so): Likewise.
32657 (LDFLAGS-reldep6mod4.so): Likewise.
32658 (LDFLAGS-reldep8mod3.so): Likewise.
32659 (LDFLAGS-unload4mod1.so): Likewise.
32660 (LDFLAGS-unload4mod2.so): Likewise.
32661 (LDFLAGS-tst-initorder): Likewise.
32662 (LDFLAGS-tst-initordera2.so): Likewise.
32663 (LDFLAGS-tst-initordera3.so): Likewise.
32664 (LDFLAGS-tst-initordera4.so): Likewise.
32665 (LDFLAGS-tst-initorderb2.so): Likewise.
32666 (LDFLAGS-noload): Likewise.
32667 (LDFLAGS-next): Likewise.
32668 (LDFLAGS-order2mod1.so): Likewise.
32669 (LDFLAGS-order2mod2.so): Likewise.
32670 (LDFLAGS-tst-initorder2): Likewise.
32671 (LDFLAGS-tst-initorder2a.so): Likewise.
32672 (LDFLAGS-tst-initorder2b.so): Likewise.
32673 (LDFLAGS-tst-initorder2c.so): Likewise.
32674 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32675
d77f993f
DM
326762012-05-02 David S. Miller <davem@davemloft.net>
32677
32678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32679
171a70b4
PP
326802012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32681
32682 [BZ #14055]
32683 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32684
0be196ad
AJ
326852012-05-02 Andreas Jaeger <aj@suse.de>
32686
32687 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32688 since we manipulate rounding mode.
32689 (CPPFLAGS-test-idouble.c): Likewise.
32690 (CPPFLAGS-test-ifloat.c): Likewise.
32691 (CFLAGS-test-ldouble.c): Likewise.
32692 (CFLAGS-test-double.c): Likewise.
32693 (CFLAGS-test-float.c): Likewise.
32694 (CFLAGS-test-misc.c): Likewise.
32695 (CFLAGS-test-test-fenv.c): Likewise.
32696
4f9d04aa
AZ
326972012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32698
2b942cb7
RM
32699 [BZ #2550]
32700 [BZ #2570]
32701 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32702 comparisons to determine direction to adjust input.
4f9d04aa 32703
82a79e7d
RM
327042012-05-01 Roland McGrath <roland@hack.frob.com>
32705
f5a01ca9
RM
32706 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32707 output to the target.
32708
90fe4186
RM
32709 * scripts/localplt.awk: New file.
32710 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32711 (check-localplt-CFLAGS): Variable removed.
32712 ($(all-built-dso:=.jmprel)): New static pattern rule.
32713 (generated): Add those targets.
32714 (localplt-built-dso): New variable.
32715 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32716
32717 * elf/check-localplt.c: File removed.
32718
82397ed6
RM
32719 * scripts/check-execstack.awk: New file.
32720 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32721 (check-execstack-CFLAGS): Variable removed.
32722 ($(objpfx)check-execstack.h): Target removed.
32723 ($(objpfx)execstack-default): New target.
32724 (generated): Add that instead of check-execstack.h.
32725 ($(all-built-dso:=.phdr)): New static pattern rule.
32726 (generated): Add those targets.
32727 * elf/check-execstack.c: File removed.
32728
82a79e7d
RM
32729 * scripts/check-textrel.awk: New file.
32730 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32731 (check-textrel-CFLAGS): Variable removed.
32732 (all-built-dso): Use := to define.o
32733 ($(all-built-dso:=.dyn)): New static pattern rule.
32734 (generated): Add those targets.
32735 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32736 * config.make.in (READELF): New substituted variable.
32737 * elf/check-textrel.c: File removed.
32738
62fde54f 327392012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32740
615605c9
JM
32741 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32742 allow.
32743 * conform/data/ctype.h-data [C99-based standards] (isblank):
32744 Expect function.
32745 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32746 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32747 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32748 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32749 Specify type. Require positive value.
32750 (EILSEQ): Likewise.
32751 (ERANGE): Likewise.
32752 [ISO || POSIX] (EILSEQ): Do not expect.
32753 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32754 Specify type. Require positive value.
32755 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32756 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32757 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32758 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32759 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32760 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32761 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32762 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32763 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32764 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32765 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32766 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32767 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32768 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32769 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32770 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32771 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32772 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32773 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32774 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32775 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32776 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32777 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32778 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32779 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32780 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32781 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32782 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32783 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32784 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32785 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32786 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32787 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32788 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32789 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32790 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32791 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32792 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32793 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32794 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32795 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32796 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32797 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32798 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32799 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32800 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32801 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32802 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32803 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32804 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32805 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32806 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32807 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32808 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32809 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32810 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32811 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32812 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32813 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32814 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32815 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32816 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32817 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32818 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32819 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32820 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32821 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32822 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32823 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32824 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32825 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32826 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32827 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32828 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32829 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32830 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32831 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32832 Require >= 2.
32833 (FLT_ROUNDS): Expect as macro, not constant.
32834 (FLT_MANT_DIG): Use macro-int-constant.
32835 (DBL_MANT_DIG): Likewise.
32836 (LDBL_MANT_DIG): Likewise.
32837 (FLT_DIG): Likewise.
32838 (DBL_DIG): Likewise.
32839 (LDBL_DIG): Likewise.
32840 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32841 (DBL_MIN_EXP): Likewise.
32842 (LDBL_MIN_EXP): Likewise.
32843 (FLT_MAX_EXP): Use macro-int-constant.
32844 (DBL_MAX_EXP): Likewise.
32845 (LDBL_MAX_EXP): Likewise.
32846 (FLT_MAX_10_EXP): Likewise.
32847 (DBL_MAX_10_EXP): Likewise.
32848 (LDBL_MAX_10_EXP): Likewise.
32849 (FLT_MAX): Use macro-constant.
32850 (DBL_MAX): Likewise.
32851 (LDBL_MAX): Likewise.
32852 (FLT_EPSILON): Use macro-constant. Give upper bound.
32853 (DBL_EPSILON): Likewise.
32854 (LDBL_EPSILON): Likewise.
32855 (FLT_MIN): Likewise.
32856 (DBL_MIN): Likewise.
32857 (LDBL_MIN): Likewise.
32858 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32859 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32860 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32861 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32862 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32863 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32864 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32865 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32866 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32867 [ISO11] (FLT_TRUE_MIN): Likewise.
32868 [ISO11] (LDBL_TRUE_MIN): Likewise.
32869 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32870 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32871 (SCHAR_MIN): Use macro-int-constant. Specify type.
32872 (SCHAR_MAX): Likewise.
32873 (UCHAR_MAX): Likewise.
32874 (CHAR_MIN): Likewise.
32875 (CHAR_MAX): Likewise.
32876 (MB_LEN_MAX): Use macro-int-constant.
32877 (SHRT_MIN): Use macro-int-constant. Specify type.
32878 (SHRT_MAX): Likewise.
32879 (USHRT_MAX): Likewise.
32880 (INT_MAX): Likewise.
32881 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32882 bound negative.
32883 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32884 bound with "U".
32885 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32886 bound with "L".
32887 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32888 bound negative. Suffix upper bound with "L".
32889 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32890 bound with "UL".
32891 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32892 Specify type.
32893 [C99-based standards] (LLONG_MAX): Likewise.
32894 [C99-based standards] (ULLONG_MAX): Likewise.
32895 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32896 == 0.
32897 [ISO11] (max_align_t): Require type.
32898 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32899
c9140a62
JM
32900 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32901 from $CFLAGS, without defining away __attribute__ calls.
32902 (checknamespace): Use $CFLAGS_namespace.
32903
9af0bf29
JM
32904 * conform/conformtest.pl (@keywords): Only include C99 keywords
32905 for standards based on C99 or C11.
32906
343222a2
JM
32907 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32908 Disable tests.
32909 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32910 UNIX98]: Likewise.
32911
661f8cf0
JM
32912 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32913 usability of symbols in #if.
32914
ee74b9cb
JM
32915 * conform/conformtest.pl: If macro or constant types start
32916 "promoted:", expect the symbol to be of the following type
32917 promoted by the integer promotions.
62fde54f 32918
aafc49b3
JM
32919 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32920 in one place. Also handle "macro-constant".
32921
fefdf574
JM
32922 * conform/conformtest.pl: Only accept expected macro values with
32923 "==". Parse all "macro" lines in one place.
32924 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32925
f2d922fe
JM
32926 * conform/conformtest.pl: Handle braced types on "constant" lines
32927 instead of handling "typed-constant".
32928 * conform/data/signal.h-data: Use "constant" instead of
32929 "typed-constant".
32930
d22956c9
JM
32931 * conform/conformtest.pl: Handle "optional-" at start of lines in
32932 one place rather than duplicating several cases. Handle each
32933 format of "macro" line with initial "optional-".
32934
028e2e38
JM
32935 * conform/conformtest.pl: Only accept expected constant or
32936 optional-constant values with "==". Parse all "constant" lines in
32937 one place. Parse all "optional-constant" lines in one place.
32938 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32939 * conform/data/fmtmsg.h-data: Likewise.
32940 * conform/data/netinet/in.h-data: Likewise.
32941 * conform/data/tar.h-data: Likewise.
32942 * conform/data/limits.h-data: Use "==" form on "constant" and
32943 "optional-constant" lines.
32944
1b8f2850
JM
32945 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32946 Use -std=c99 for XOPEN2K.
32947 (@knownproblems): Remove.
32948 (newtoken): Don't check %isknown.
32949
a05a144b
JM
32950 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32951 Do not expect macro.
32952 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32953 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32954 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32955 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32956 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32957 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32958 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32959 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32960 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32961 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32962 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32963 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32964 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32965 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32966 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32967 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32968 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32969 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32970 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32971 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32972 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32973 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32974 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32975 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32976 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32977 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32978 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32979 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32980 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32981 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32982 [XPG3] (acosh): Likewise.
32983 [XPG3] (asinh): Likewise.
32984 [XPG3] (atanh): Likewise.
32985 [XPG3] (cbrt): Likewise.
32986 [XPG3] (expm1): Likewise.
32987 [XPG3] (ilogb): Likewise.
32988 [XPG3] (log1p): Likewise.
32989 [XPG3] (logb): Likewise.
32990 [XPG3] (nextafter): Likewise.
32991 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32992 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32993 [XPG3] (remainder): Likewise.
32994 [XPG3] (rint): Likewise.
32995 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32996 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32997 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32998 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32999 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33000 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33001 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33002 [UNIX98 || XOPEN2K] (scalb): Expect.
33003 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33004 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33005 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33006 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33007 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33008 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33009 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33010 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33011 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33012 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33013 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33014 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33015 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33016 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33017 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33018 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33019 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33020 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33021 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33022 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33023 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33024 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33025 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33026 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33027 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33028 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33029 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33030 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33031 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33032 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33033 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33034 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33035 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33036 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33037 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33038 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33039 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33040 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33041 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33042 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33043 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33044 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33045 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33046 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33047 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33048 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33049 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33050 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33051 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33052 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33053 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33054 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33055 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33056 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33057 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33058 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33059 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33060 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33061 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33062 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33063 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33064 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33065 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33066 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33067 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33068 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33069 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33070 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33071 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33072 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33073 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33074 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33075 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33076 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33077 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33078 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33079 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33080 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33081 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33082 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33083 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33084 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33085 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33086 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33087 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33088 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33089 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33090 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33091 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33092 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33093 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33094 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33095 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33096 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33097 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33098 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33099 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33100 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33101 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33102 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33103 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33104 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33105 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33106 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33107 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33108 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33109 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33110 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33111 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33112 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33113 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33114 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33115 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33116 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33117 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33118 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33119 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33120 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33121 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33122 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33123 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33124 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33125 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33126 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33127 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33128 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33129 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33130 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33131 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33132 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33133 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33134 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33135 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33136 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33137 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33138 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33139 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33140
73c5ebe3
JM
33141 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33142 _XOPEN_SOURCE_EXTENDED for XPG4.
33143
39c33b6c
JM
33144 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33145
62fde54f
JM
33146 * Makeconfig (localtime): Remove variable.
33147 (inst_localtime-file): Likewise.
33148
0741d64c
AS
331492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33150
33151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33152 Update.
33153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33154 Update.
33155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33156 Update.
33157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33158 Update.
33159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33160 Update.
33161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33162 Update.
33163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33164 Update.
33165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33166 Update.
33167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33168 Update.
33169
7cb029ee
JM
331702012-05-01 Joseph Myers <joseph@codesourcery.com>
33171
33172 [BZ #2550]
33173 [BZ #2570]
33174 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33175 comparisons to determine direction to adjust input.
33176 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33177 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33178 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33179 Likewise.
33180 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33181 Likewise.
33182 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33183 Likewise.
33184 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33185 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33186 Likewise.
33187 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33188 Likewise.
33189 * math/libm-test.inc (nexttoward_test): Add more tests.
33190
412bd966
AS
331912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33192
33193 [BZ #14040]
33194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33195 in version GLIBC_2.1, not GLIBC_2.0.
33196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33197 Likewise.
33198
9568c0c2
JM
331992012-04-30 Joseph Myers <joseph@codesourcery.com>
33200
adfbc8ac
JM
33201 [BZ #13942]
33202 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33203 (1 - x) * (1 + x).
33204 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33205 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33206 * math/libm-test.inc (acos_test): Add more tests.
33207 (asin_test): Likewise.
33208 * sysdeps/i386/fpu/libm-test-ulps: Update.
33209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33210
5ba3cc69
JM
33211 [BZ #14034]
33212 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33213 of square root.
33214 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33215 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33216 * math/libm-test.inc (acos_test_tonearest): New function.
33217 (acos_test_towardzero): Likewise.
33218 (acos_test_downward): Likewise.
33219 (acos_test_upward): Likewise.
33220 (asin_test_tonearest): Likewise.
33221 (asin_test_towardzero): Likewise.
33222 (asin_test_downward): Likewise.
33223 (asin_test_upward): Likewise.
33224 (main): Call the new functions.
33225 * sysdeps/i386/fpu/libm-test-ulps: Update.
33226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33227
9568c0c2
JM
33228 [BZ #13884]
33229 [BZ #13924]
33230 * math/e_exp10.c: Include <float.h>.
33231 (__ieee754_exp10): Handle underflow here rather than multiplying
33232 large negative argument by M_LN10.
33233 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33234 of __ieee754_expf.
33235 * math/e_exp10l.c: Include <float.h>.
33236 (__ieee754_exp10l): Handle underflow here rather than multiplying
33237 large negative argument by M_LN10l.
33238 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33239 spurious overflow exception on underflow.
33240
5ac3ea17
MP
332412012-04-29 Marek Polacek <polacek@redhat.com>
33242
33243 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33244 (__fortify_function): New macro.
33245 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33246 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33247 __extern_always_inline.
33248 * libio/bits/stdio2.h: Likewise.
33249 * libio/bits/stdio.h: Likewise.
33250 * string/string.h: Likewise.
33251 * string/bits/string3.h: Likewise.
33252 * include/stdio.h: Likewise.
33253 * stdlib/bits/stdlib.h: Likewise.
33254 * stdlib/stdlib.h: Likewise.
33255 * rt/bits/mqueue2.h: Likewise.
33256 * rt/mqueue.h: Likewise.
33257 * posix/bits/unistd.h: Likewise.
33258 * posix/unistd.h: Likewise.
33259 * io/bits/poll2.h: Likewise.
33260 * io/bits/fcntl2.h: Likewise.
33261 * io/fcntl.h: Likewise.
33262 * io/sys/poll.h: Likewise.
33263 * misc/bits/syslog.h: Likewise.
33264 * misc/bits/syslog-ldbl.h: Likewise.
33265 * misc/sys/syslog.h: Likewise.
33266 * socket/bits/socket2.h: Likewise.
33267 * socket/sys/socket.h: Likewise.
33268 * debug/tst-chk1.c: Likewise.
33269 * wcsmbs/bits/wchar2.h: Likewise.
33270 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33271 * wcsmbs/wchar.h: Likewise.
33272
ecf0ebfb
AJ
332732012-04-29 Andreas Jaeger <aj@suse.de>
33274
33275 * Makerules (tests): Remove enable-check-abi protection.
33276 (check-abi-warn): Remove.
33277 (check-abi-%): Remove check-abi-warn usage.
33278
33279 * configure.in: Remove check-abi configure option.
33280 * configure: Regenerated.
33281 * config.make.in (enable-check-abi): Remove.
33282
6d5c57fa
AS
332832012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33284
24c5d07e 33285 [BZ #14033]
ded5180a
AS
33286 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33287 double functions to double *_finite functions.
33288
7e0d315d
AS
33289 [BZ #13941]
33290 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33291 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33292 LDBL_MIN_EXP.
33293 * stdio-common/Makefile (tests): Add tst-sprintf3.
33294 * stdio-common/tst-sprintf3.c: New file.
33295
6d5c57fa
AS
33296 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33297 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33298
0749ff8b
JM
332992012-04-28 Joseph Myers <joseph@codesourcery.com>
33300
33301 * conform/conformtest.pl: Remove duplicate typed-constant
33302 handling.
33303
8dbd5d7b
DM
333042012-04-28 David S. Miller <davem@davemloft.net>
33305
33306 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33307 (check-abi-%): Remove AWK script prerequisite and explicit
33308 abilist directory.
33309 (check-abi): Rewrite to just diff the symlist with the abilist.
33310 (config-tls, config-abi-config): Delete, no longer used.
33311 (update-abi-%): Remove AWK script and explicit abilist directory.
33312 (update-abi): Rewrite to simply compare and conditionally copy the
33313 symlist and the sysdep abilist file. Remove update-abi-config
33314 checks.
33315 * abilist/ld.abilist: Remove.
33316 * abilist/libBrokenLocale.abilist: Remove.
33317 * abilist/libanl.abilist: Remove.
33318 * abilist/libcrypt.abilist: Remove.
33319 * abilist/libdl.abilist: Remove.
33320 * abilist/librt.abilist: Remove.
33321 * abilist/libthread_db.abilist: Remove.
33322 * abilist/libutil.abilist: Remove.
33323 * scripts/extract-abilist.awk: Remove.
33324 * scripts/merge-abilist.awk: Remove.
33325 * sysdeps/generic/libcidn.abilist: New file.
33326 * sysdeps/generic/libnss_compat.abilist: New file.
33327 * sysdeps/generic/libnss_db.abilist: New file.
33328 * sysdeps/generic/libnss_dns.abilist: New file.
33329 * sysdeps/generic/libnss_files.abilist: New file.
33330 * sysdeps/generic/libnss_hesiod.abilist: New file.
33331 * sysdeps/generic/libnss_nis.abilist: New file.
33332 * sysdeps/generic/libnss_nisplus.abilist: New file.
33333 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33334 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33335 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33336 file.
33337 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33338 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33339 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33340 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33341 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33342 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33343 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33344 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33345 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33346 file.
33347 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33348 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33349 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33350 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33351 file.
33352 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33353 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33354 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33355 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33356 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33357 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33358 file.
33359 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33360 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33361 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33362 file.
33363 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33365 New file.
33366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33367 New file.
33368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33369 New file.
33370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33371 New file.
33372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33373 New file.
33374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33375 New file.
33376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33377 New file.
33378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33379 New file.
33380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33381 New file.
33382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33383 New file.
33384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33385 New file.
33386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33387 New file.
33388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33389 New file.
33390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33391 file.
33392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33393 New file.
33394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33395 New file.
33396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33397 file.
33398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33399 New file.
33400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33401 New file.
33402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33403 file.
33404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33405 New file.
33406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33407 New file.
33408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33409 New file.
33410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33411 New file.
33412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33413 New file.
33414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33415 New file.
33416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33418 file.
33419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33420 New file.
33421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33422 file.
33423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33424 file.
33425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33426 file.
33427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33428 file.
33429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33430 file.
33431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33432 New file.
33433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33434 file.
33435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33436 file.
33437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33438 New file.
33439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33440 file.
33441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33443 file.
33444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33445 New file.
33446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33447 file.
33448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33449 file.
33450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33451 file.
33452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33453 file.
33454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33455 file.
33456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33457 New file.
33458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33459 file.
33460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33461 file.
33462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33463 New file.
33464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33465 file.
33466 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33467 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33468 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33469 file.
33470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33471 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33472 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33473 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33474 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33475 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33476 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33477 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33478 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33479 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33482 file.
33483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33484 New file.
33485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33486 file.
33487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33488 file.
33489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33490 file.
33491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33492 file.
33493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33494 file.
33495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33496 New file.
33497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33498 New file.
33499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33500 file.
33501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33502 New file.
33503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33504 file.
33505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33507 file.
33508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33509 New file.
33510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33511 file.
33512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33513 file.
33514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33515 file.
33516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33517 file.
33518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33519 file.
33520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33521 New file.
33522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33523 New file.
33524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33525 file.
33526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33527 New file.
33528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33529 file.
33530
41d73a1b
JM
335312012-04-28 Joseph Myers <joseph@codesourcery.com>
33532
33533 * conform/conformtest.pl: Fix typo in handling typed-constant from
33534 allow-header.
33535
28aeeda4
JM
335362012-04-27 Joseph Myers <joseph@codesourcery.com>
33537
adae8f5e
JM
33538 * README: Cut down references to pre-2.6 Linux kernels and
33539 Linuxthreads. Update lists of configurations in libc and ports
33540 and sort alphabetically. Say "or newer" with Linux kernel version
33541 requirements.
33542
28aeeda4
JM
33543 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33544
a462cb63
RA
335452012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33546
33547 [BZ #887]
33548 * math/libm-test.inc (logb_test_downward): New test to expose
33549 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33550 rounding mode.
33551
6ad3493e
JM
335522012-04-27 Joseph Myers <joseph@codesourcery.com>
33553
33554 [BZ #14027]
33555 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33556 to be done.
33557 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33558 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33559
2ce4f015
JM
335602012-04-26 Joseph Myers <joseph@codesourcery.com>
33561
5aeb141a
JM
33562 * sysdeps/unix/i386/brk.S: Remove file.
33563 * sysdeps/unix/i386/dl-brk.S: Likewise.
33564 * sysdeps/unix/i386/pipe.S: Likewise.
33565 * sysdeps/unix/i386/sigreturn.S: Likewise.
33566 * sysdeps/unix/i386/syscall.S: Likewise.
33567 * sysdeps/unix/i386/vfork.S: Likewise.
33568 * sysdeps/unix/i386/wait.S: Likewise.
33569
7143acae
JM
33570 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33571 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33572
2ce4f015
JM
33573 * configure.in (arm*-none*): Do not allow without
33574 --enable-hacker-mode.
33575 (netbsd*): Remove case setting base_os.
33576 (386bsd*): Likewise.
33577 (freebsd*): Likewise.
33578 (bsdi*): Likewise.
33579 (osf*): Likewise.
33580 (sunos*): Likewise.
33581 (ultrix*): Likewise.
33582 (newsos*): Likewise.
33583 (dynix*): Likewise.
33584 (*bsd*): Likewise.
33585 (sysv*): Likewise.
33586 (isc*): Likewise.
33587 (esix*): Likewise.
33588 (sco*): Likewise.
33589 (minix*): Likewise.
33590 (irix4*): Likewise.
33591 (irix6*): Likewise.
33592 (solaris[2-9]*): Likewise.
33593 (none): Likewise.
33594 * configure: Regenerated.
33595
0ac229c8
AZ
335962012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33597
33598 [BZ #11521]
33599 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33600 overflow or cancellation in calculating denominator.
33601 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33602 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33603 down expression to avoid unexpected rounding in newer GCCs.
33604 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33605
33f244f4
DM
336062012-04-26 David S. Miller <davem@davemloft.net>
33607
33608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33609 long-double compat symbols.
33610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33623
cfa1f3e8
DM
336242012-04-25 David S. Miller <davem@davemloft.net>
33625
33626 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33627 HWCAP_* values only after the memory barriers have been defined.
33628 (atomic_full_barrier): Define.
33629 (atomic_read_barrier): Define.
33630 (atomic_write_barrier): Define.
33631
6e236b92
SP
336322012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33633
33634 * shlib-versions: Add libgcc_s version information.
33635 * sysdeps/generic/libgcc_s.h: Remove.
33636 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33637 libgcc_s.h.
33638 * sysdeps/gnu/unwind-resume.c: Likewise.
33639 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33640
aab39a09
DM
336412012-04-25 David S. Miller <davem@davemloft.net>
33642
33643 * sysdeps/unix/sparc/brk.S: Delete.
33644 * sysdeps/unix/sparc/dl-brk.S: Delete.
33645 * sysdeps/unix/sparc/pipe.S: Delete.
33646 * sysdeps/unix/sparc/sysdep.S: Delete.
33647 * sysdeps/unix/sparc/sysdep.h: Delete.
33648 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33649 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33650 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33651 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33652 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33653 (JUMPTARGET): Remove.
33654 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33655 sysdeps/unix/sparc/sysdep.h
33656 (ENTRY, END): Remove.
33657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33658
a3cc4f48
JM
336592012-04-25 Joseph Myers <joseph@codesourcery.com>
33660
2ed8cda2
JM
33661 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33662 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33663 -DIS_IN_build.
33664
35d76d59
JM
33665 * timezone/README: Update upstream location and email address for
33666 tzcode and tzdata.
33667 * timezone/zdump.c: Update from tzcode 2012b.
33668 * timezone/zic.c: Likewise.
33669
a3cc4f48
JM
33670 * configure.in (libc_cv_as_needed): Remove test.
33671 * configure: Regenerated.
33672 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33673 conditional definition.
33674 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33675 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33676 * config.make.in (have-as-needed): Remove variable.
33677
ceab42c3
SP
336782012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33679 Paul Pluzhnikov <ppluzhnikov@google.com>
33680
33681 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33682 strings correctly.
33683
3ce2865f
CLT
336842012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33685
33686 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33687 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33688 * sysdeps/sh/strlen.S: Likewise.
33689
f37e0d68
JM
336902012-04-24 Joseph Myers <joseph@codesourcery.com>
33691
ae186e9a
JM
33692 * sysdeps/unix/fork.S: Remove file.
33693 * sysdeps/unix/i386/fork.S: Likewise.
33694 * sysdeps/unix/sparc/fork.S: Likewise.
33695
b96914af
JM
33696 * sysdeps/unix/system.c: Remove file.
33697 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33698
f37e0d68
JM
33699 * sysdeps/unix/getegid.S: Remove file.
33700 * sysdeps/unix/geteuid.S: Likewise.
33701
87ef29ca
RM
337022012-04-24 Roland McGrath <roland@hack.frob.com>
33703
83bcd236
RM
33704 * scripts/check-localplt.awk: New file.
33705 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33706 of diff.
33707 * scripts/data/localplt-generic.data: Add a comment.
33708
87ef29ca
RM
33709 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33710 NODE when __dir_mkfile failed.
33711 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33712 Reported by Ludovic Courtès <ludo@gnu.org>.
33713
e5a6e567
AJ
337142012-04-24 Andreas Jaeger <aj@suse.de>
33715
33716 * Makerules (common-clean): Also remove gen-as-const-headers
33717 files.
33718
c1820385
JM
337192012-04-24 Joseph Myers <joseph@codesourcery.com>
33720
33721 * Makerules (native-compile): Do not change working directory for
33722 build. Use $(OUTPUT_OPTION) in command.
33723 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33724
94e02fc4
AZ
337252012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33726
33727 [BZ #13886]
33728 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33729 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33730 * math/libm-test.inc (floor_test): Add more tests.
33731 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33732
3a533ca3
JM
337332012-04-24 Joseph Myers <joseph@codesourcery.com>
33734
940ab4b3
JM
33735 * sysdeps/unix/getdents.c: Remove file.
33736 * sysdeps/unix/sysv/getdents.c: Likewise.
33737 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33738
90e037bd
JM
33739 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33740 sysdeps/unix/mman/syscalls.list.
33741 (mmap): Likewise.
33742 (mprotect): Likewise.
33743 (msync): Likewise.
33744 (munmap): Likewise.
33745 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33746 * sysdeps/unix/mman/syscalls.list: Remove.
33747 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33748
3a533ca3
JM
33749 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33750 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33751 * configure: Regenerated.
33752 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33753 $(libgcc_s_suffix).
33754 * config.make.in (libgcc_s_suffix): Remove variable.
33755
1ad743de
JM
337562012-04-23 Joseph Myers <joseph@codesourcery.com>
33757
4ad451e2
JM
33758 * sysdeps/unix/sysv/gethostname.c: Move to ...
33759 * sysdeps/posix/gethostname.c: ... here.
33760
5e37ce39
JM
33761 * sysdeps/unix/execve.S: Remove file.
33762
1ad743de
JM
33763 * sysdeps/unix/_exit.S: Remove file.
33764
4e681b5b
AJ
337652012-04-23 Andreas Jaeger <aj@suse.de>
33766
33767 [BZ #13739]
33768 * manual/Makefile: Remove make dist support, there's no
33769 need for a stand-alone documentation tar ball.
33770 (TEXI2DVI): Define always, it's not in Makeconfig.
33771 (dist): Removed.
33772 (tar-it): Removed.
33773 (edition): Removed.
33774 (glibc-doc-$(edition).tar): Removed
33775 (%.Z): Removed.
33776 (%.gz): Removed.
33777 (%.uu): Removed.
33778 (ETAGS): Remove, it's in Makeconfig.
33779 (move-if-change): Remove, it's in Makeconfig.
33780
38686a03 337812012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33782
33783 [BZ #13970]
33784 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33785 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33786 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33787 (strtod_l, strtof_l, strtold_l): Remove __wur.
33788 It is not necessarily an error to ignore strtol's return value.
33789 One can reliably look at the stored endptr to decide whether
33790 the number had valid syntax.
33791
7c0616fa
AJ
337922012-04-21 Andreas Jaeger <aj@suse.de>
33793
803cb6b7 33794 [BZ #13739]
7c0616fa
AJ
33795 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33796
b0fe253f
JM
337972012-04-21 Joseph Myers <joseph@codesourcery.com>
33798
33799 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33800 * sysdeps/unix/sysv/Versions: Remove file.
33801
8280f22d
MT
338022012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33803
33804 [BZ #13927]
33805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33806
75ce411f 338072012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33808
33809 [BZ #7064]
33810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33811 version from __vm86.
33812
097d59fa
JM
338132012-04-20 Joseph Myers <joseph@codesourcery.com>
33814
a90f3bcb
JM
33815 * sysdeps/unix/common/lxstat.c: Remove file.
33816 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33817
edc7ea78
JM
33818 * sysdeps/unix/sysv/Makefile: Remove file.
33819
cb78c221
JM
33820 * sysdeps/unix/sysv/direct.h: Remove file.
33821
efa6a45f
JM
33822 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33823 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33824 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33825 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33826 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33827 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33828 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33829
9c9f2d0c
JM
33830 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33831
4541c83b
JM
33832 * sysdeps/unix/xmknod.c: Remove file.
33833 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33834
f5d153a0
JM
33835 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33836
aa746595
JM
33837 * sysdeps/unix/sysv/i386/time.S: Remove file.
33838
cce5905e
JM
33839 * sysdeps/unix/fxstat.c: Remove file.
33840 * sysdeps/unix/xstat.c: Likewise.
33841 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33842
37fa3841
JM
33843 * sysdeps/unix/sysv/sigaction.c: Remove file.
33844
ff1962a3
JM
33845 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33846 (sysdep_headers): Remove variable.
33847 [termio.h not in sysdep_headers] (generated): Likewise.
33848 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33849 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33850 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33851 * sysdeps/unix/sysv/tcflow.c: Likewise.
33852 * sysdeps/unix/sysv/tcflush.c: Likewise.
33853 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33854 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33855 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33856 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33857 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33858
e7740d31
JM
33859 * sysdeps/unix/siglist.c: Remove file.
33860
ee06f18b
JM
33861 * sysdeps/unix/getppid.S: Remove file.
33862
097d59fa
JM
33863 * sysdeps/unix/mkdir.c: Remove file.
33864 * sysdeps/unix/rmdir.c: Likewise.
33865
ff3d51ec
AS
338662012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33867
33868 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33869 ERR_MAX value.
33870 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33871 errlist-compat value.
33872
50f81fd7
DM
338732012-04-18 David S. Miller <davem@davemloft.net>
33874
33875 * sysdeps/generic/memcopy.h (reg_char): Delete.
33876 * debug/strcat_chk.c: Use char, not reg_char.
33877 * debug/strcpy_chk.c: Likewise.
33878 * debug/strncat_chk.c: Likewise.
33879 * debug/strncpy_chk.c: Likewise.
33880 * string/memchr.c: Likewise.
33881 * string/memrchr.c: Likewise.
33882 * string/rawmemchr.c: Likewise.
33883 * string/strcat.c: Likewise.
33884 * string/strchr.c: Likewise.
33885 * string/strchrnul.c: Likewise.
33886 * string/strcmp.c: Likewise.
33887 * string/strcpy.c: Likewise.
33888 * string/strncat.c: Likewise.
33889 * string/strncmp.c: Likewise.
33890 * string/strncpy.c: Likewise.
33891
8ff41c46
WS
338922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33893
33894 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33895 __builtin_memcopy is called when src and dest ranges are known to not
33896 overlap.
33897
6b652f46
WS
338982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33899
33900 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33901 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33902 fwd_align_merge macro call.
33903 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33904 bwd_align_merge macro call.
33905 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33906
b282631e
WS
339072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33908
33909 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33910 bwd_align_merge macros.
33911 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33912 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33913 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33914
95aa737c
DM
339152012-04-18 David S. Miller <davem@davemloft.net>
33916
33917 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33918
7a99a614
AJ
339192012-04-18 Andreas Jaeger <aj@suse.de>
33920
33921 [BZ# 6794]
33922 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33923 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33924 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33925
33926 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33927 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33928 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33929
33930 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33931 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33932 Adjust for changed ldbl-128 files.
33933
33934 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33935 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33936 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33937
e5270c23
DM
339382012-04-17 David S. Miller <davem@davemloft.net>
33939
33940 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33941
fb5e92c9
AS
339422012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33943
33944 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33945 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33946 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33947 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33948 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33949 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33950
76da7265
AZ
339512012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33952
33953 [BZ #6794]
33954 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33955 * math/libm-test.inc: Add ilogb errno and exception tests.
33956 * math/w_ilogb.c: New file: ilogb wrapper.
33957 * math/w_ilogbf.c: New file: ilogbf wrapper.
33958 * math/w_ilogbl.c: New file: ilogbl wrapper.
33959 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33960 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33961 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33962 exception being thrown with 0.0 as argument.
33963 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33964 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33965 exception being thrown with 0.0 as argument.
33966 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33967 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33968 exception being thrown with 0.0 as argument.
33969 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33970 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33971 exception being thrown with 0.0 as argument.
33972 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33973 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33974 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33975 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33976 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33977 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33978 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33979 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33980 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33981
0396e69d
PB
339822012-04-17 Petr Baudis <pasky@ucw.cz>
33983
33984 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33985 with altivec.
33986
750b5926
MP
339872012-04-16 Marek Polacek <polacek@redhat.com>
33988
33989 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33990
751728a1
MP
339912012-04-16 Marek Polacek <polacek@redhat.com>
33992
33993 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33994 operands of fdivp instruction.
33995
34a27407
L
339962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33997
33998 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33999 * elf/tst-auditmod3b.c: Likewise.
34000 * elf/tst-auditmod4b.c: Likewise.
34001 * elf/tst-auditmod5b.c: Likewise.
34002 * elf/tst-auditmod6b.c: Likewise.
34003 * elf/tst-auditmod6c.c: Likewise.
34004 * elf/tst-auditmod7b.c: Likewise.
34005 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34006 * sysdeps/x86_64/preconfigure.in: Likewise.
34007 * sysdeps/x86_64/preconfigure: Regenerated.
34008
7e73e17d
L
340092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34010
34011 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34012 __ILP32__.
34013
c7a6ab72
AB
340142012-04-13 Antoine Balestrat <merkil33@gmail.com>
34015
34016 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34017 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34018
a9e8e0e0
CL
340192012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34020
34021 [BZ #13973]
34022 * locale/iso-639.def: Fix gl language name. Spotted by
34023 Yaron Shahrabani.
34024
ec98af7d
RM
340252012-04-12 Roland McGrath <roland@hack.frob.com>
34026
34027 [BZ #2074]
34028 * libio/libio.h (__io_write_fn): Update comment.
34029
247c3ede
PB
340302012-04-12 Petr Baudis <pasky@ucw.cz>
34031
34032 [BZ #2074]
34033 * stdio.texi (Hook Functions): The user provided writer function
34034 is not allowed to return -1.
34035
55939d6d
DM
340362012-04-11 David S. Miller <davem@davemloft.net>
34037
34038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34039
90020f5a
MF
340402012-04-11 Mike Frysinger <vapier@gentoo.org>
34041
34042 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34043 Add a leading slash to rtkaio.
34044
288f9098
JM
340452012-04-11 Jim Meyering <meyering@redhat.com>
34046
90020f5a
MF
34047 [BZ #11959]
34048 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34049 It is not necessarily an error to ignore fwrite's return
34050 value. One can reliably use ferror to test for errors after
34051 the fact.
288f9098 34052
4be2b570
L
340532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34054
34055 * bits/types.h (__snseconds_t): New type.
34056 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34057
34058 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34059 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34060 (__SNSECONDS_T_TYPE): Likewise.
34061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34062 (__SNSECONDS_T_TYPE): Likewise.
34063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34064 (__SNSECONDS_T_TYPE): Likewise.
34065
288f9098 340662012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34067
34068 [BZ #2636]
34069 * manual/time.texi (Processor Time): Return type of times is
34070 elapsed real time since an arbitrary point in the past.
34071 (CPU Time): Move CLK_TCK from here...
34072 (Processor Time): ...to here. Correct description.
34073 * manual/conf.texi (Constants for Sysconf): Correct description of
34074 _SC_CLK_TCK.
34075
d7dd4413
DM
340762012-04-10 David S. Miller <davem@davemloft.net>
34077
34078 [BZ #13967]
34079 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34080 where the is a gap between DT_REL(A) and DT_JMPREL.
34081
b46068fc
L
340822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34083
34084 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34085 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34086 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34087
73d65cc3
SP
340882012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34089
34090 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34091 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34092 (dl_main): Handle --inhibit-cache.
34093 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34094 _dl_inhibit_cache.
34095 * elf/dl-load.c (_dl_map_object): Use it.
34096 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34097
bcc8d661
JM
340982012-04-09 Joseph Myers <joseph@codesourcery.com>
34099
8f9a2fae
JM
34100 [BZ #13872]
34101 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34102 (__ieee754_powl): Saturate large exponents rather than testing for
34103 overflow of y*log2(x).
34104 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34105 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34106 exceptions.
34107
bcc8d661
JM
34108 [BZ #11521]
34109 * math/s_ctan.c: Include <float.h>.
34110 (__ctan): Avoid internal overflow or cancellation in calculating
34111 denominator.
34112 * math/s_ctanf.c: Likewise.
34113 * math/s_ctanl.c: Likewise.
34114 * math/s_ctanh.c: Likewise.
34115 * math/s_ctanhf.c: Likewise.
34116 * math/s_ctanhl.c: Likewise.
34117 * math/libm-test.inc (ctan_test): Add more tests.
34118 (ctanh_test): Likewise.
34119 * sysdeps/i386/fpu/libm-test-ulps: Update.
34120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34121
823fbbb4
AJ
341222012-04-09 Andreas Jaeger <aj@suse.de>
34123
03879793
AJ
34124 [BZ #6894]
34125 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34126 is an optional BSD extension.
34127
823fbbb4
AJ
34128 [BZ #10254]
34129 * manual/stdio.texi (Opening Streams): Document additional fopen
34130 parameters.
34131
8de131cb
RM
341322012-04-09 Roland McGrath <roland@hack.frob.com>
34133
34134 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34135 %eax without telling the compiler.
34136
c0ed9d7d
CD
341372012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34138
34139 [BZ # 13963]
34140 * manual/install.texi: Use sourceware.org.
34141
c483f6b4
JM
341422012-04-09 Joseph Myers <joseph@codesourcery.com>
34143
d7dd9453
JM
34144 [BZ #13873]
34145 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34146 (__ieee754_pow): Generate overflow and underflow using huge*huge
34147 and tiny*tiny rather than just returning constant infinity or zero
34148 for large exponents.
34149 * math/libm-test.inc (pow_test): Require overflow exceptions for
34150 applicable cases of large exponents.
34151
c483f6b4
JM
34152 [BZ #706]
34153 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34154 (__ieee754_pow): Use iterative multiplication algorithm only for
34155 integer exponents with absolute value below 1024. Check for odd
34156 integer exponents when using algorithm for real exponents.
34157 * math/libm-test.inc (pow_test): Add more tests.
34158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34159
d2de7579
JM
341602012-04-08 Joseph Myers <joseph@codesourcery.com>
34161
34162 [BZ #13705]
34163 * math/libm-test.inc (exp_test): Do not allow overflow exception
34164 on underflow test.
34165
f77f1232
AJ
341662012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34167
34168 [BZ #13705]
34169 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34170 instead of __kernel_standard_f.
34171
3884932b
MF
341722012-04-08 Mike Frysinger <vapier@gentoo.org>
34173
34174 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34175 * sysdeps/x86_64/memset_chk.S: Likewise.
34176
54472e9c
AJ
341772012-04-08 Andreas Jaeger <aj@suse.de>
34178
6ab0fbfc
AJ
34179 [BZ #10153]
34180 * manual/startup.texi (Environment Access): Describe return value
34181 for putenv and setenv.
34182
61efba8c
AJ
34183 [BZ #6895]
34184 * manual/filesys.texi (Directory Entries): Add description for
34185 DT_LNK.
34186
95c3f29a
AJ
34187 [BZ #6890]
34188 * manual/filesys.texi (Directory Entries): Clarify that it's file
34189 system not operating system in the description of DT_UNKNOWN.
34190
54472e9c
AJ
34191 [BZ #6578]
34192 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34193
624254b1
SC
341942012-04-08 Stephen Compall <s11@member.fsf.org>
34195
34196 [BZ #6649]
34197 * manual/llio.texi (Opening and Closing Files): Add cross
34198 reference to explain mode argument.
34199
1e4920e0
MF
342002012-04-07 Mike Frysinger <vapier@gentoo.org>
34201
34202 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34203 * sysdeps/x86_64/memset_chk.S: Likewise.
34204
5ed848f3
DM
342052012-04-07 David S. Miller <davem@davemloft.net>
34206
34207 * elf/elf.h (R_SPARC_WDISP10): Define.
34208 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34209 R_SPARC_SIZE32.
34210 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34211 R_SPARC_SIZE64 and R_SPARC_H34.
34212
96154cd8
CD
342132012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34214
34215 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34216 conditions and remove no longer applicable assertion.
34217
9904dc47
L
342182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34219
34220 * bits/byteswap.h: Include <features.h>.
34221 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34222 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34223
f8887d0a
L
342242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34225
34226 * bits/byteswap.h (__bswap_16): Removed.
34227 Include <bits/byteswap-16.h> to get __bswap_16.
34228 * sysdeps/i386/bits/byteswap.h: Likewise.
34229 * sysdeps/s390/bits/byteswap.h: Likewise.
34230 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34231 * bits/byteswap-16.h: New file.
34232 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34233 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34234 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34235 * string/Makefile (headers): Add bits/byteswap-16.h.
34236
62470f60
PP
342372012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34238
34239 [BZ #13895]
34240 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34241 extra indirection.
34242 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34243 * nss/tst-nss-static.c: New.
34244
4dad7bab
RM
342452012-04-06 Robert Millan <rmh@gnu.org>
34246
34247 [BZ #6486]
34248 * manual/llio.texi (File Position Primitive): lseek
34249 refers to WHENCE when it really means OFFSET.
34250
e9142a17
AJ
342512012-04-06 Andreas Jaeger <aj@suse.de>
34252
2c040eff
AJ
34253 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34254 strncmp declarations.
34255
e9142a17
AJ
34256 * abilist/libc.abilist: Add __poll and __ppoll.
34257
ff9f1c5f
DM
342582012-04-05 David S. Miller <davem@davemloft.net>
34259
dcd2ae90
DM
34260 * scripts/check-local-headers.sh: Accept a host triplet in the
34261 path matched by the exclude regexp.
34262
993eb054
DM
34263 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34264 definition.
34265 * sysdeps/powerpc/powerpc32/dl-machine.h
34266 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34267 * sysdeps/s390/s390-32/dl-machine.h
34268 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34269 * sysdeps/sparc/sparc32/dl-machine.h
34270 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34271 * sysdeps/sparc/sparc64/dl-machine.h
34272 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34273
ff9f1c5f
DM
34274 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34275 lazy binding.
48e2e132 34276 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34277 undefined symbol errors.
34278
48e2e132 34279 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34280 DT_NEEDED entries.
34281
e80d6f94
MM
342822012-04-05 Michael Matz <matz@suse.de>
34283
34284 [BZ #13592]
34285 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34286
349fa79f
AJ
342872012-04-05 Andreas Jaeger <aj@suse.de>
34288
34289 [BZ #13908]
34290 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34291 comment.
34292
f402708f
KK
342932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34294
34295 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34296 which ROUND is no valid rounding mode.
34297
2ecccfc9
KK
342982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34299
34300 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34301 read again.
34302 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34303
8a53f50f
KK
343042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34305
34306 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34307 an exception using FPU order intentionally.
34308
343092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34310
34311 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34312 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34313 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34314 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34315
d653abb7
SJ
343162012-04-05 Simon Josefsson <simon@josefsson.org>
34317
34318 [BZ #12340]
34319 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34320 EINVAL when BUFLEN is too smal.
34321
c3b1bf7d
TS
343222012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34323
34324 [BZ #13553]
34325 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34326 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34327
b1aa60f3
AJ
343282012-04-03 Andreas Jaeger <aj@suse.de>
34329
c3b1bf7d 34330 [BZ #13938]
67f60a26
AJ
34331 * manual/setjmp.texi (System V contexts): Fix sentence.
34332
b1aa60f3
AJ
34333 [BZ #13926]
34334 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34335 New macro for this case.
34336 [!__GNUC__] (__bswap_64): New inline function for this case.
34337 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34338 * bits/byteswap.h: Likewise.
34339 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34340 ull, guard with __GLIBC_HAVE_LONG_LONG.
34341
34342 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34343 __GLIBC_HAVE_LONG_LONG.
34344
34345 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34346 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34347
39c59c35
TMQMF
343482012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34349
34350 [BZ #13691]
34351 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34352 inptr and inend, rather than using last_ch.
34353
135ffda8
DM
343542012-04-02 David S. Miller <davem@davemloft.net>
34355
34356 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34357 * stdio-common/printf-parse.h (read_int): Change return type to
34358 'int', return -1 on INT_MAX overflow.
34359 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34360 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34361 overflows INT_MAX. Check for overflow of in-format-string precision
34362 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34363 SIZE_MAX not INT_MAX for integer overflow test.
34364 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34365 skip the construct in the format string but do not record anything.
34366 * stdio-common/bug22.c: Adjust to test both width/prevision
34367 INT_MAX overflow as well as total length INT_MAX overflow. Check
34368 explicitly for proper errno values.
34369
228c019e
TS
343702012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34371
302cadd3
TS
34372 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34373 CHAR_MAX.
34374 * string/test-strcmp.c [! WIDE]: Likewise.
34375 * time/tst-mktime2.c: Likewise for INT_MAX.
34376 * string/test-string.h: #include <sys/param.h> for MIN.
34377
228c019e
TS
34378 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34379 * sysdeps/i386/init-first.c (init): Likewise.
34380 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34381 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34382 * sysdeps/sh/init-first.c (init): Likewise.
34383
cfa633f5
UD
343842012-04-01 Ulrich Drepper <drepper@gmail.com>
34385
34386 * po/ru.po: Update from translation team.
d1635ef8 34387 * po/vi.po: Likewise.
cfa633f5 34388
6cd0a5ea
SP
343892012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34390
34391 * resolv/nss_dns/dns-host.c: Merge copyright years.
34392
4b43400f
LD
343932012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34394
34395 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34396 Optimize memcpy with prefetch if
34397 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34398 src, dst pointers have unequal 16 byte alignments.
34399
48c41d04
SP
344002012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34401
34402 [BZ #13928]
34403 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34404 from a CNAME entry and return the minimum ttl for the query.
34405 (gaih_getanswer_slice): Likewise.
34406
b8dc394d
JL
344072012-03-30 Jeff Law <law@redhat.com>
34408
34409 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34410 due to long keys.
34411 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34412 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34413
2f5a5ed0
JL
34414 * resolv/nss_dns/dns-host.c: Update copyright year.
34415
1d39e359
UD
344162012-03-30 Ulrich Drepper <drepper@gmail.com>
34417
c030f70c 34418 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 34419 requests to save a system call. Fix check that all bytes are sent.
c030f70c 34420
1d39e359
UD
34421 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34422 comments for sendmmsg.
34423
344242012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
34425
34426 [BZ #13691]
34427 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34428 with only 1 character between 0x0041 and 0x01b0.
34429 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34430 * wcsmbs/tst-mbsnrtowcs.c: New file.
34431
20fde227
DM
344322012-03-29 David S. Miller <davem@davemloft.net>
34433
34434 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34435 small copies by hand.
34436
984a4237
JL
344372012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34438
34439 [BZ #13761]
57f41c40
AS
34440 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34441 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34442 group memberships.
984a4237 34443
18c9d62b
DM
344442012-03-28 David S. Miller <davem@davemloft.net>
34445
88d85d4f
DM
34446 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34447 that branches into memcpy.
34448 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34449 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34450 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34451 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34452 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34453 bits.
34454 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34455 implementation too.
34456 * sysdeps/sparc/mempcpy.S: New file.
34457
e5aa83e1
DM
34458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34459 the IFUNC routine in the libc case.
34460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34461
88570753
DM
34462 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34463 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34464 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34465 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34466 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34467 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34468 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34469 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34470
249d7567
DM
34471 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34472 loop to 256 bytes instead of 64 bytes and fix test signedness.
34473
18c9d62b
DM
34474 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34475 * sysdeps/sparc/sparc32/Makefile: rather than here...
34476 * sysdeps/sparc/sparc64/Makefile: and here.
34477
05f3d1f6
UD
344782012-03-28 Ulrich Drepper <drepper@gmail.com>
34479
34480 * malloc/mallocbug.c: Avoid warnings about unused variables.
34481
86ae07a8
JL
344822012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34483
34484 [BZ #13760]
34485 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34486 in the right place. Discard and retry query if response is
34487 larger than input buffer size.
34488
41bf21a1
JM
344892012-03-28 Joseph Myers <joseph@codesourcery.com>
34490
d6270972
JM
34491 [BZ #369]
34492 [BZ #2678]
34493 [BZ #3866]
34494 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34495 x for large integer exponent.
34496 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34497 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34498 sign of result as needed afterwards.
34499 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34500 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34501 result for underflowing pow the same as for overflow.
34502 (__kernel_standard_l): Handle powl overflow and underflow here
34503 rather than calling __kernel_standard.
34504 * math/libm-test.inc (pow_test): Add more tests.
34505
414fca03 34506 [BZ #3868]
41bf21a1
JM
34507 [BZ #13879]
34508 [BZ #13910]
34509 [BZ #13911]
34510 [BZ #13912]
34511 [BZ #13913]
34512 [BZ #13915]
34513 [BZ #13916]
34514 [BZ #13917]
34515 [BZ #13918]
34516 [BZ #13919]
34517 [BZ #13920]
34518 [BZ #13921]
34519 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34520 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34521 (__kernel_standard_l): New function.
34522 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34523 __kernel_standard.
34524 * math/w_acosl.c (__acosl): Likewise.
34525 * math/w_asinl.c (__asinl): Likewise.
34526 * math/w_atan2l.c (__atan2l): Likewise.
34527 * math/w_atanhl.c (__atanhl): Likewise.
34528 * math/w_coshl.c (__coshl): Likewise.
34529 * math/w_exp10l.c (__exp10l): Likewise.
34530 * math/w_exp2l.c (__exp2l): Likewise.
34531 * math/w_fmodl.c (__fmodl): Likewise.
34532 * math/w_hypotl.c (__hypotl): Likewise.
34533 * math/w_j0l.c (__j0l, __y0l): Likewise.
34534 * math/w_j1l.c (__j1l, __y1l): Likewise.
34535 * math/w_jnl.c (__jnl, __ynl): Likewise.
34536 * math/w_lgammal.c (__lgammal): Likewise.
34537 * math/w_log10l.c (__log10l): Likewise.
34538 * math/w_log2l.c (__log2l): Likewise.
34539 * math/w_logl.c (__logl): Likewise.
34540 * math/w_powl.c (__powl): Likewise.
34541 * math/w_remainderl.c (__remainderl): Likewise.
34542 * math/w_scalbl.c (sysv_scalbl): Likewise.
34543 * math/w_sinhl.c (__sinhl): Likewise.
34544 * math/w_sqrtl.c (__sqrtl): Likewise.
34545 * math/w_tgammal.c (__tgammal): Likewise.
34546 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34547 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34548 * math/libm-test.inc (acos_test): Add more tests.
34549 (acosh_test): Likewise.
34550 (asin_test): Likewise.
34551 (atanh_test): Likewise.
34552 (exp_test): Likewise.
34553 (exp10_test): Likewise.
34554 (exp2_test): Likewise.
34555 (expm1_test): Likewise.
34556 (lgamma_test): Likewise.
34557 (log_test): Likewise.
34558 (log10_test): Likewise.
34559 (log1p_test): Likewise.
34560 (log2_test): Likewise.
34561 (pow_test): Do not allow some spurious overflow exceptions.
34562 (sqrt_test): Add more tests.
34563 (tgamma_test): Likewise.
34564 (y0_test): Likewise.
34565 (y1_test): Likewise.
34566 (yn_test): Likewise.
34567
dd62fda6
AB
345682012-03-27 Anton Blanchard <anton@samba.org>
34569
34570 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34571 MAP_HUGETLB.
34572 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34573 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34574 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34575
1e3cdfda
AJ
345762012-03-27 David S. Miller <davem@davemloft.net>
34577
b855ab85
DM
34578 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34579
1e3cdfda
AJ
34580 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34581 have-as-vis3 check.
34582
345832012-03-27 Andreas Jaeger <aj@suse.de>
34584
34585 * sysdeps/x86_64/elf/configure.in: Moved to ...
34586 * sysdeps/x86_64/configure.in: ... here.
34587 * sysdeps/x86_64/elf/start.S: Moved to ...
34588 * sysdeps/x86_64/start.S: ... here.
34589 * sysdeps/x86_64/elf/configure: Delete.
34590
34591 * sysdeps/x86_64/configure.in: Merge contents from
34592 sysdeps/i386/configure.in (without i686 check).
34593
34594 * sysdeps/i386/elf/Versions: Merge into ...
34595 * sysdeps/i386/Versions: ... this.
34596 * sysdeps/i386/elf/Versions: Delete file.
34597 * sysdeps/i386/elf/start.S: Moved to ...
34598 * sysdeps/i386/start.S: ...here.
34599 * sysdeps/i386/elf/configure.in: Merge into...
34600 * sysdeps/i386/configure.in: ...here.
34601 * sysdeps/i386/elf/configure.in: Delete file.
34602 * sysdeps/i386/elf/configure: Delete file.
34603
34604 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34605 * debug/backtracesyms.c: ... here.
34606 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34607 * debug/backtracesymsfd.c: ... here.
34608 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34609 * sysdeps/generic/ifunc-sel.h: ... here.
34610
34611 * sysdeps/unix/i386/start.c: Delete file.
34612 * sysdeps/unix/sparc/start.c: Delete file.
34613 * sysdeps/unix/start.c: Delete file.
34614
34615 * sysdeps/sh/elf/configure.in: Moved to ...
34616 * sysdeps/sh/configure.in: ... here.
34617 * sysdeps/sh/elf/start.S: Moved to ...
34618 * sysdeps/sh/start.S: ... here.
34619 * sysdeps/sh/elf/configure: Delete file.
34620
34621 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34622 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34623 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34624 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34625 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34626 * sysdeps/powerpc/powerpc64/start.S: here.
34627 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34628 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34629 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34630 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34631 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34632
34633 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34634 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34635 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34636 * sysdeps/powerpc/powerpc32/start.S: ... here.
34637 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34638 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34639 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34640
34641 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34642 * sysdeps/powerpc/ifunc-sel.h: ... here.
34643 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34644 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34645
34646 * sysdeps/sparc/elf/configure.in: Moved to ...
34647 * sysdeps/sparc/configure.in: ... here.
34648 * sysdeps/sparc/elf/configure: Delete file.
34649 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34650 * sysdeps/sparc/sparc32/start.S: ... here.
34651 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34652 * sysdeps/sparc/sparc64/start.S: ... here.
34653 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34654 * sysdeps/sparc/sparc32/Makefile: ... this.
34655 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34656 * sysdeps/sparc/sparc64/Makefile: ... this.
34657
34658 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34659 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34660 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34661 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34662 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34663 * sysdeps/s390/s390-32/setjmp.S: ... here.
34664 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34665 * sysdeps/s390/s390-32/configure.in: ... here.
34666 * sysdeps/s390/s390-32/elf/configure: Delete file.
34667 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34668 * sysdeps/s390/s390-32/start.S: ... here.
34669
34670 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34671 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34672 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34673 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34674 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34675 * sysdeps/s390/s390-64/setjmp.S: ... here.
34676 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34677 * sysdeps/s390/s390-64/configure.in: ... here
34678 * sysdeps/s390/s390-64/elf/configure: Delete file.
34679 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34680 * sysdeps/s390/s390-64/start.S: ... here.
34681 * sysdeps/s390/s390-64/elf/configure: Delete.
34682
34683 * configure.in: Remove support for elf directories in sysdeps.
34684
34685 * configure: Regenerated.
34686 * sysdeps/i386/configure: Regenerated.
34687 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34688 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34689 * sysdeps/s390/s390-32/configure: Regenerated.
34690 * sysdeps/s390/s390-64/configure: Regenerated.
34691 * sysdeps/sh/configure: Regenerated.
34692 * sysdeps/sparc/configure: Regenerated.
34693 * sysdeps/x86_64/configure: Regenerated.
34694
a3f61311
AS
346952012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34696
c876e002
AS
34697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34698
a3f61311
AS
34699 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34700 denormal result into account.
34701
ac4c54f0
RM
347022012-03-25 Roland McGrath <roland@hack.frob.com>
34703
34704 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34705 Reported by Allan McRae <allan@archlinux.org>.
34706
6a9b9c02
JL
347072012-03-23 Jeff Law <law@redhat.com>
34708
34709 * nss/getnssent.c (__nss_getent): Fix typo.
34710
4c42a0c1
DM
347112012-03-23 David S. Miller <davem@davemloft.net>
34712
34713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34714
1532c7ac
L
347152012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34716
34717 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34718 to pad to uint64_t for each field.
34719 (dl_tls_index): Replace unsigned long with uint64_t.
34720
3ff42526
PP
347212012-03-23 Daniel Jacobowitz <dmj@google.com>
34722 Paul Pluzhnikov <ppluzhnikov@google.com>
34723
34724 [BZ #6528]
34725 * grp/Makefile (otherlibs): Don't set it.
34726 * inet/Makefile (otherlibs): Likewise.
34727 * login/Makefile (otherlibs): Likewise.
34728 * nscd/Makefile (otherlibs): Likewise.
34729 * posix/Makefile (otherlibs): Likewise.
34730 * pwd/Makefile (otherlibs): Likewise.
34731 * rt/Makefile (otherlibs): Likewise.
34732 * sunrpc/Makefile (otherlibs): Likewise.
34733 * nss/Makefile (otherlibs): Likewise.
34734 Add libnss_files to routines and static-only-routines.
34735 ($(objpfx)getent): Remove rule.
34736 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34737 static-only-routines.
34738
7c69cd14
JM
347392012-03-22 Joseph Myers <joseph@codesourcery.com>
34740
34741 [BZ #13892]
34742 * math/s_cexp.c: Include <float.h>.
34743 (__cexp): Handle exp result overflowing not necessarily
34744 overflowing both real and imaginary parts of result.
34745 * math/s_cexpf.c: Likewise.
34746 * math/s_cexpl.c: Likewise.
34747 * math/libm-test.inc (cexp_test): Add more tests.
34748 * sysdeps/i386/fpu/libm-test-ulps: Update.
34749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34750
81b035fe
L
347512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34752
34753 * include/link.h (ELFW): New macro.
34754 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34755 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34756
1da7940c
L
347572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34758
34759 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34760 with uint64_t.
34761
b749dbb9
L
347622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34763
34764 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34765 declaration.
34766 (struct La_x32_retval): Likewise.
34767
2ff87f3f
L
347682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34769
34770 * sysdeps/x86_64/preconfigure.in: New file.
34771 * sysdeps/x86_64/preconfigure: New generated file.
34772
c0df8e69
JM
347732012-03-22 Joseph Myers <joseph@codesourcery.com>
34774
48e44791
JM
34775 [BZ #13824]
34776 * math/e_exp2l.c: Include <float.h>.
34777 (__ieee754_exp2l): Handle overflow and underflow cases
34778 separately. Only pass fractional part of argument to
34779 __ieee754_expl.
34780 * math/libm-test.inc (exp2_test): Add more tests.
34781
c0df8e69
JM
34782 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34783 negating x to take absolute value.
34784 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34785 Likewise.
34786 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34787 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34788 Likewise.
34789 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34790 computing low part if x was negated.
34791 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34792
c8e43ba7
L
347932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34794
34795 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34796 la_x32_gnu_pltexit.
34797 (pltexit): Cast int_retval to ptrdiff_t.
34798 * elf/tst-auditmod3b.c: Likewise.
34799 * elf/tst-auditmod4b.c: Likewise.
34800 * elf/tst-auditmod5b.c: Likewise.
34801 * elf/tst-auditmod6b.c: Likewise.
34802 * elf/tst-auditmod6c.c: Likewise.
34803 * elf/tst-auditmod7b.c: Likewise.
34804
34805 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34806 and x32_gnu_pltexit.
34807
34808 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34809 __ELF_NATIVE_CLASS.
34810 (La_x32_regs): New macro.
34811 (La_x32_retval): Likewise.
34812 (la_x32_gnu_pltenter): New function prototype.
34813 (la_x32_gnu_pltexit): Likewise.
34814
7998fa78
AS
348152012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34816
dcb33988
AS
34817 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34818 exponent.
34819
233fc563
AS
34820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34821
7998fa78
AS
34822 * configure.in (libc_cv_cc_nofma): Check for option to disable
34823 generation of FMA instructions.
34824 * configure: Regenerate.
34825 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34826 * sysdeps/ieee754/dbl-64/Makefile: New file.
34827 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34828 Remove brandred-fma4.
34829 (CFLAGS-brandred-fma4.c): Remove.
34830 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34831 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34832 define.
34833 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34834 define.
34835
8e95c99a
L
348362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34837
34838 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34839 LLONG_MAX != LONG_MAX.
34840 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34841 (_fitoa_word): Likewise.
34842 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34843 LLONG_MAX != LONG_MAX.
34844 * stdio-common/_itowa.h: Include <_itoa.h>.
34845 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34846 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34847 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34848 only if not defined.
34849 (_ITOA_WORD_TYPE): Likewise.
34850 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34851 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34852
6f4db457
DM
348532012-03-21 David S. Miller <davem@davemloft.net>
34854
34855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34856
7785fe5a
L
348572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34858
34859 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34860 of x86_64 when setting libc_cv_slibdir, libdir and
34861 libc_cv_localedir.
34862 * sysdeps/unix/sysv/linux/configure: Regenerated.
34863
4535cd55
JM
348642012-03-21 Joseph Myers <joseph@codesourcery.com>
34865
34866 * manual/lang.texi (Old Varargs): Remove section.
34867 (How Variadic): Update menu.
34868 (va_start): Do not mention varargs.h.
34869
17228132
TS
348702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34871 Joseph Myers <joseph@codesourcery.com>
34872
34873 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34874 link test.
34875 * configure: Regenerated.
34876
8149f976
TS
348772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34878
05f3d1f6
UD
34879 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34880 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34881 conformtest.pl
8149f976 34882
1a4ac776
JM
348832012-03-21 Joseph Myers <joseph@codesourcery.com>
34884
be22ce65
JM
34885 * NOTES: Remove.
34886 * Makefile (files-for-dist): Remove NOTES.
34887 (NOTES): Remove rule.
34888 * README: Don't refer to NOTES.
34889 * manual/creature.texi: Don't include macros.texi.
34890 * manual/intro.texi (creature.texi): Remove comment referring to
34891 NOTES.
34892
40b601fb
JM
34893 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34894 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34895 * configure: Regenerated.
34896 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34897 LIBC_TRY_CC_OPTION.
34898 (libc_cv_as_i686): Likewise.
34899 (libc_cv_cc_avx): Likewise.
34900 (libc_cv_cc_sse2avx): Likewise.
34901 (libc_cv_cc_fma4): Likewise.
34902 (libc_cv_cc_novzeroupper): Likewise.
34903 * sysdeps/i386/configure: Regenerated.
34904
1a4ac776
JM
34905 [BZ #13883]
34906 * sysdeps/i386/fpu/s_cexp.S: Remove.
34907 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34908 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34909 * math/libm-test.inc (cexp_test): Add more tests.
34910 * sysdeps/i386/fpu/libm-test-ulps: Update.
34911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34912
a458e7fe
AM
349132012-03-21 Allan McRae <allan@archlinux.org>
34914
34915 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34916
0cb7efc5
JM
349172012-03-21 Joseph Myers <joseph@codesourcery.com>
34918
34919 [BZ #13871]
34920 * math/w_exp2.c: Do not include <float.h>.
34921 (o_threshold, u_threshold): Remove.
34922 (__exp2): Calculate result before checking finiteness and calling
34923 __kernel_standard.
34924 * math/w_exp2f.c: Likewise.
34925 * math/w_exp2l.c: Likewise.
34926 * math/libm-test.inc (exp2_test): Require overflow exception for
34927 1e6 input.
2460d3aa
JM
34928
34929 [BZ #3866]
34930 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34931 range of signed 64-bit integers before using fistpll. Remove
34932 checks for whether integers fit in mantissa bits.
34933 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34934 the range of signed 32-bit integers before using fistpl. Remove
34935 checks for whether integers fit in mantissa bits.
34936 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34937 (__ieee754_powl): Test for y outside the range of signed 64-bit
34938 integers before using fistpll. Reduce 64-bit values to 63-bit
34939 ones as needed.
34940 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34941 divide-by-zero is raised for zero to large negative powers.
34942 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34943 (__ieee754_powl): Test for y outside the range of signed 64-bit
34944 integers before using fistpll. Reduce 64-bit values to 63-bit
34945 ones as needed.
34946 * math/libm-test.inc (pow_test): Add more tests.
34947
eb96ffb0
L
349482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34949
34950 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34951 <stdio-common/_itoa.h>.
34952 * debug/segfault.c: Likewise.
34953 * elf/dl-cache.c: Likewise.
34954 * elf/dl-minimal.c: Likewise.
34955 * elf/dl-misc.c: Likewise.
34956 * elf/dl-sysdep.c: Likewise.
34957 * elf/dl-version.c: Likewise.
34958 * elf/rtld.c: Likewise.
34959 * hurd/hurdsock.c: Likewise.
34960 * hurd/lookup-retry.c: Likewise.
34961 * malloc/malloc.c: Likewise.
34962 * malloc/mtrace.c: Likewise.
34963 * nscd/nscd_getgr_r.c: Likewise.
34964 * nscd/nscd_getpw_r.c: Likewise.
34965 * nscd/nscd_getserv_r.c: Likewise.
34966 * posix/getopt_init.c: Likewise.
34967 * posix/wordexp.c: Likewise.
34968 * stdio-common/_itoa.c: Likewise.
34969 * stdio-common/printf_fphex.c: Likewise.
34970 * stdio-common/vfprintf.c: Likewise.
34971 * string/_strerror.c: Likewise.
34972 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34973 * sysdeps/i386/i686/hp-timing.h: Likewise.
34974 * sysdeps/mach/_strerror.c: Likewise.
34975 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34976 * sysdeps/mach/hurd/sethostid.c: Likewise.
34977 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34978 * sysdeps/mach/xpg-strerror.c: Likewise.
34979 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34980 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34981 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34982 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34983 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34984 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34985 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34986 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34987 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34988 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34989 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34990 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34991 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34992 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34993 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34994 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34995 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34996 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34997 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34998 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34999 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35000
35001 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35002
35003 * stdio-common/_itoa.h: Moved to ...
35004 * sysdeps/generic/_itoa.h: Here.
35005
35006 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35007
35008 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35009 instead of "_itoa.h" and "_itowa.h".
35010 * stdio-common/vfprintf.: Likewise.
35011
d1af992d
L
350122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35013
35014 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35015 <bits/wordsize.h>.
35016 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35017 (__signbit): Likwise.
35018 (llrintf): Likwise.
35019 (llrint): Likwise.
35020
114883e0
L
350212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35022
35023 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35024 __WORDSIZE != 64.
35025
c135cc1b
JM
350262012-03-20 Joseph Myers <joseph@codesourcery.com>
35027
35028 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35029 OVERFLOW_EXCEPTION_OK.
35030 * math/libm-test.inc ("Philosophy"): Update comment about
35031 exception testing.
35032 (OVERFLOW_EXCEPTION): Define.
35033 (OVERFLOW_EXCEPTION_OK): Likewise.
35034 (INVALID_EXCEPTION_OK): Renumber.
35035 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35036 (IGNORE_ZERO_INF_SIGN): Likewise.
35037 (test_exceptions): Handle FE_OVERFLOW.
35038 (exp10_test): Expect overflow exceptions.
35039 (exp2_test): Likewise.
35040 (expm1_test): Likewise.
35041 (nextafter_test): Likewise.
35042 (pow_test): Likewise.
35043 (scalbn_test): Likewise.
35044 (scalbln_test): Likewise.
35045
95443d88
L
350462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35047
35048 * sysdeps/x86_64/bits/atomic.h
35049 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35050 64bit integer.
35051 (atomic_exchange_acq): Likewise.
35052 (__arch_exchange_and_add_body): Likewise.
35053 (__arch_add_body): Likewise.
35054 (atomic_add_negative): Likewise.
35055 (atomic_add_zero): Likewise.
35056
490df6c4
L
350572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35058
c2722551 35059 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35060 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35061
5e52b189
L
350622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35063
35064 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35065 Check __x86_64__ instead of __WORDSIZE.
35066
a9879d4c
L
350672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35068
35069 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35070
5df98260
DM
350712012-03-19 David S. Miller <davem@davemloft.net>
35072
e1497744
DM
35073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35074
5df98260
DM
35075 * sysdeps/sparc/fpu/fenv_private.h: New file.
35076 * sysdeps/sparc/fpu/math_private.h: Use it.
35077 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35078 Remove.
57f41c40 35079 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35080 (libc_feholdexcept_setroundl): Remove.
35081 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35082 Remove.
35083 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35084 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35085
b4c35121
L
350862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35087
35088 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35089 int64_t instead of long int.
35090 (INSERT_WORDS64): Likwise.
35091
56965fd7
L
350922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35093
35094 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35095 _Unwind_GetCFA return to _Unwind_Ptr first.
35096
83d1aec8
JM
350972012-03-19 Joseph Myers <joseph@codesourcery.com>
35098
1897ad44
JM
35099 [BZ #13629]
35100 * math/s_clog.c: Include <float.h>.
35101 (__clog): Scale large or subnormal inputs.
35102 * math/s_clogf.c: Likewise.
35103 * math/s_clogl.c: Likewise.
35104 * math/s_clog10.c: Include <float.h>.
35105 (M_LOG10_2): Define.
35106 (__clog10): Scale large or subnormal inputs.
35107 * math/s_clog10f.c: Likewise.
35108 * math/s_clog10l.c: Likewise.
35109 * math/libm-test.inc (clog_test): Add more tests.
35110 (clog10_test): Likewise.
35111 * sysdeps/i386/fpu/libm-test-ulps: Update.
35112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35113
7726d6a9
JM
35114 [BZ #11451]
35115 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35116 x and y.
35117 * math/libm-test.inc (atan2_test): Add another test.
35118
83d1aec8
JM
35119 * Makerules (common-objdir-compile): Remove.
35120 * sysdeps/unix/Makefile (config-generated): Do not add
35121 $(unix-generated) to variable.
35122 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35123 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35124 Remove rule.
35125 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35126 Likewise.
35127 [generic bits/local_lim.h] (before-compile): Do not append to
35128 variable.
35129 [generic bits/local_lim.h] (common-generated): Likewise.
35130 [generic sys/param.h] (before-compile): Do not append to variable.
35131 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35132 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35133 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35134 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35135 include.
35136 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35137 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35138 [generic sys/param.h] ($(addprefix
35139 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35140 [generic sys/param.h] (common-generated): Do not append to
35141 variable.
35142 [generic sys/param.h] (sysdep_headers): Likewise.
35143 [generic bits/errno.h] (before-compile): Do not append to
35144 variable.
35145 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35146 rule.
35147 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35148 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35149 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35150 [generic bits/errno.h] (common-generated): Do not append to
35151 variable.
35152 [generic bits/ioctls.h] (before-compile): Do not append to
35153 variable.
35154 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35155 rule.
35156 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35157 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35158 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35159 rule.
35160 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35161 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35162 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35163 [generic bits/ioctls.h] (common-generated): Do not append to
35164 variable.
35165 [generic sys/syscall.h] (syscall.h): Remove variable.
35166 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35167 rule.
35168 [generic sys/syscall.h] (before-compile): Do not append to
35169 variable.
35170 [generic sys/syscall.h] (common-generated): Likewise.
35171 * sysdeps/unix/errnos-tmpl.c: Remove file.
35172 * sysdeps/unix/errnos.awk: Likewise.
35173 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35174 * sysdeps/unix/ioctls.awk: Likewise.
35175 * sysdeps/unix/mk-local_lim.c: Likewise.
35176 * sysdeps/unix/snarf-ioctls: Likewise.
35177
4851a949
RH
351782012-03-19 Richard Henderson <rth@twiddle.net>
35179
bd37f2ee
RH
35180 * sysdeps/i386/fpu/fenv_private.h: New file.
35181 * sysdeps/i386/fpu/math_private.h: Use it.
35182 (math_opt_barrier, math_force_eval): Remove.
35183 (libc_feholdexcept_setround_53bit): Remove.
35184 (libc_feupdateenv_53bit): Remove.
35185 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35186 (math_opt_barrier, math_force_eval): Remove.
35187 (libc_feholdexcept): Remove.
35188 (libc_feholdexcept_setround): Remove.
35189 (libc_fetestexcept, libc_fesetenv): Remove.
35190 (libc_feupdateenv_test): Remove.
35191 (libc_feupdateenv, libc_feholdsetround): Remove.
35192 (libc_feresetround): Remove.
35193
d0adc922
RH
35194 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35195 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35196
0fe0f1f8
RH
35197 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35198 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35199 (libc_feupdateenv_testl): New.
35200 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35201 (libc_feupdateenv_testf): New.
35202 (libc_feupdateenv): Use libc_feupdateenv_test.
35203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35204 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35205
eb92c487
RH
35206 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35207 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35208 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35209 (libc_feresetround_noex): New.
35210 (libc_feresetround_noexf): New.
35211 (libc_feresetround_noexl): New.
35212 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35213 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35214 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35215 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35216 SET_RESTORE_ROUND.
35217 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35218 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35219 (__cos): Likewise.
35220 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35221 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35222 SET_RESTORE_ROUND_NOEX.
35223 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35224 SET_RESTORE_ROUND_NOEXF.
35225 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35226 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35227 (libc_feholdsetroundf): New.
35228 (libc_feresetround, libc_feresetroundf): New.
35229
7d2e8012
RH
35230 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35231 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35232 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35233
b4dabbb4
RH
35234 * sysdeps/generic/math_private.h: Include <fenv.h>.
35235 (default_libc_feholdexcept): New.
35236 (default_libc_feholdexcept_setround): New.
35237 (default_libc_fesetenv, default_libc_feupdateenv): New.
35238 (libc_feholdexcept): Only define if undefined.
35239 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35240 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35241 (libc_feholdexcept_setroundl): Likewise.
35242 (libc_feholdexcept_setround_53bit): Likewise.
35243 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35244 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35245 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35246 (libc_feupdateenv_53bit): Likewise.
35247 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35248 (libc_feholdexcept): Convert from macro to inline function.
35249 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35250 (libc_fesetenv, libc_feupdateenv): Likewise.
35251
4851a949
RH
35252 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35253 not previously defined.
35254 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35255 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35256 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35257 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35258 * sysdeps/ieee754/flt-32/math_private.h: New file.
35259 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35260 math_private.h below SET_FLOAT_WORD.
35261 (__isnan, __isinf_ns, __finite): Remove.
35262 (__isnanf, __isinf_nsf, __finitef): Remove.
35263
e79d442e
AS
352642012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35265
35266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35267
90b80344
DM
352682012-03-17 David S. Miller <davem@davemloft.net>
35269
35270 [BZ #6471]
35271 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35272 for 2.16.
35273
edc21804
DM
352742012-03-16 David S. Miller <davem@davemloft.net>
35275
77e927af
DM
35276 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35277 warnings.
35278
374976dd
DM
35279 [BZ #6471]
35280 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35281 properly.
35282 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35283 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35284 sysdep_routines when subdir is sysvipc.
35285 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35286 __getshmlba helper.
35287
edc21804
DM
35288 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35289
473c3ef3
L
352902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35291
35292 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35293 [__LP64__].
35294
eb0f39b6
L
352952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35296
35297 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35298 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35299 (__lround): Renamed to ...
35300 (__llround): This. Replace long int with long long int.
35301 Define lround functions as aliases of llround functions.
35302 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35303
6b6cd74b
L
353042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35305
35306 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35307 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35308 adresses to uintptr_t. Replace "long int" and "unsigned long
35309 int" with "greg_t" on va_arg.
35310
f1a77b01
L
353112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35312
35313 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35314 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35315
35316 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35317 Move e_machine check before EI_CLASS check. Handle x32
35318 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35319 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35320 SKIP_EM_IA_64 and include
35321 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35322
35323 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35324 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35325 (add_system_dir): New macro.
35326
35327 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35328 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35329
11b90b9f
JM
353302012-03-16 Joseph Myers <joseph@codesourcery.com>
35331
c36e1d23
JM
35332 [BZ #2551]
35333 [BZ #2552]
35334 [BZ #2553]
35335 [BZ #2554]
35336 [BZ #2562]
35337 [BZ #2563]
35338 [BZ #2565]
35339 [BZ #2566]
35340 [BZ #2576]
35341 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35342 (y0): Likewise.
35343 * math/w_j0f.c (j0f): Likewise.
35344 (y0f): Likewise.
35345 * math/w_j0l.c (__j0l): Likewise.
35346 (__y0l): Likewise.
35347 * math/w_j1.c (j1): Likewise.
35348 (y1): Likewise.
35349 * math/w_j1f.c (j1f): Likewise.
35350 (y1f): Likewise.
35351 * math/w_j1l.c (__j1l): Likewise.
35352 (__y1l): Likewise.
35353 * math/w_jn.c (jn): Likewise.
35354 (yn): Likewise.
35355 * math/w_jnf.c (jnf): Likewise.
35356 (ynf): Likewise.
35357 * math/w_jnl.c (__jnl): Likewise.
35358 (__ynl): Likewise.
35359 * math/libm-test.inc (j0_test): Add more tests.
35360 (j1_test): Likewise.
35361 (jn_test): Likewise. Add trailing semicolon to existing test.
35362 (y0_test): Likewise.
35363 (y1_test): Likewise.
35364 * sysdeps/i386/fpu/libm-test-ulps: Update.
35365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35366
11b90b9f
JM
35367 [BZ #13851]
35368 [BZ #13854]
35369 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35370 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35371 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35372 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35373 (__tanl): Set errno for infinite argument.
35374 * sysdeps/i386/fpu/mptan.c: Remove.
35375 * sysdeps/i386/fpu/s_tan.S: Likewise.
35376 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35377 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35378 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35379 * math/libm-test.inc (tan_test): Add more tests and enable more
35380 tests for double and long double.
35381 * sysdeps/i386/fpu/libm-test-ulps: Update.
35382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35383
6a1bd2a1
JK
353842012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35385
35386 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35387 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35388
10a803e0
RM
353892012-03-16 Roland McGrath <roland@hack.frob.com>
35390
35391 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35392 * configure.in: Use it for both main tree and add-ons.
35393 * configure: Regenerated.
35394
f196c7f7
L
353952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35396
35397 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35398
8848d99d
JM
353992012-03-16 Joseph Myers <joseph@codesourcery.com>
35400
96cbe7f4
JM
35401 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35402 in comment.
35403
8848d99d
JM
35404 [BZ #13851]
35405 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35406 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35407 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35408 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35409 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35410 infinite argument.
35411 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35412 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35413 != 0 for prec == 2.
35414 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35415 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35416 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35417 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35418 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35419 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35420 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35421 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35422 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35423 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35424 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35425 * math/libm-test.inc (cos_test): Add more tests and enable more
35426 tests for long double.
35427 (sin_test): Likewise.
35428 (sincos_test): Likewise.
35429 * sysdeps/i386/fpu/libm-test-ulps: Update.
35430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35431
dd7f4703
DM
354322012-03-16 David S. Miller <davem@davemloft.net>
35433
35434 * sysdeps/sparc/fpu/math_private.h: New file.
35435
006f1daa
DM
354362012-03-15 David S. Miller <davem@davemloft.net>
35437
c0c83bc8
DM
35438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35439 file.
e6a62e18 35440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
35441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35442 file.
e6a62e18
DM
35443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35449 sysdep routines.
35450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35451
88cb87d9
DM
35452 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35453 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35454
006f1daa 35455 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
35456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35457 sparc-ifunc.h
006f1daa 35458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
35459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35460 Likewise.
35461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35462 Likewise.
006f1daa
DM
35463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
35466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35467 Likewise.
006f1daa
DM
35468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
35472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35473 Likewise.
35474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35475 Likewise.
006f1daa
DM
35476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35481 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35482 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35483 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35497 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35499 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35500
11e0098e
AS
355012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35502
35503 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35504 scaling.
35505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35506
e85b09d0
AJ
355072012-03-15 Andreas Jaeger <aj@suse.de>
35508
35509 [BZ #13852]
35510 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35511 ieee754/flt-32 implementation for sin, cos and sincos.
35512 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35513 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35514 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35515 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35516 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35517 ieee754/flt-32 implementation for tan.
35518
35519 * math/libm-test.inc (cos_test): Enable some large input tests for
35520 float as well
35521 (sin_test): Likewise.
35522 (sincos_test): Likewise.
35523 (tan_test): Add tests for large input.
35524
35525 * sysdeps/i386/fpu/libm-test-ulps: Update.
35526
81c64153
AJ
355272012-03-15 Andreas Jaeger <aj@suse.de>
35528
35529 [BZ #13658]
35530 * math/libm-test.inc (cos_test): Add more test cases.
35531 (sin_test): Likewise.
35532 (sincos_test): Likewise.
35533
7bbfa5c6
AJ
355342012-03-15 Andreas Jaeger <aj@suse.de>
35535
35536 [BZ #13837]
35537 * math/libm-test.inc (cos_test): Add a test case for large input
35538 value.
35539 (sin_test): Likewise.
35540 (sincos_test): Likewise.
35541
57f41c40
AS
355422012-03-15 Andreas Jaeger <aj@suse.de>
35543 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
35544
35545 [BZ #13658]
0671f479 35546 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
35547 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35548 * sysdeps/i386/fpu/branred.c: Likewise.
35549 * sysdeps/i386/fpu/dosincos.c: Likewise.
35550 * sysdeps/i386/fpu/mpa.c: Likewise.
35551 * sysdeps/i386/fpu/s_cos.S: Likewise.
35552 * sysdeps/i386/fpu/s_sin.S: Likewise.
35553 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35554 * sysdeps/i386/fpu/sincos32.c: Likewise.
35555
35556 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35557 Define.
35558 (libc_feupdateenv_53bit): Define.
35559 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35560 Define.
35561 (libc_feupdateenv_53bit): Define.
35562
35563 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35564 53 bit (without extend i386 double precision).
35565
35566 * math/libm-test.inc (sincos_test): Add tests for large input.
35567 (sin): Likewise.
35568 (cos): Likewise.
35569
35570 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35571
9cad04ea
AS
355722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35573
35574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35575
f7062b9a
DM
355762012-03-15 David S. Miller <davem@davemloft.net>
35577
35578 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35579 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35580 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35581 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35594 file.
f7062b9a 35595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35597 file.
f7062b9a 35598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35600 file.
f7062b9a 35601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35603 file.
f7062b9a
DM
35604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35605 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35606 fmin/fmax sysdep routines.
35607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35608
7bd951ff
DM
356092012-03-14 David S. Miller <davem@davemloft.net>
35610
559398ab
DM
35611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35634 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35636 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35637 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35639 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35640 routines.
35641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35642 file.
559398ab 35643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35645 file.
559398ab 35646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35648 file.
559398ab 35649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35651 file.
559398ab 35652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35654 file.
559398ab 35655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35657 file.
35658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35659 file.
35660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35661 file.
35662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35663 file.
35664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35665 New file.
35666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35667 file.
35668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35669 file.
559398ab 35670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35672 file.
559398ab 35673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35675 file.
559398ab 35676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35678 file.
559398ab 35679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35681 VIS3 routines.
559398ab
DM
35682
35683 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35684 New file.
35685
5a1c1e32
DM
35686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35687
eae47a36
DM
35688 * sysdeps/sparc/configure.in: New file.
35689 * sysdeps/sparc/configure: Generate.
35690 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35691 * configure: Regenerate.
35692 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35693 * config.make.in (have-as-vis3): New.
35694 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35695 available use -Av9d instead of -Av9a.
35696 * sysdeps/sparc/sparc64/Makefile: Likewise.
35697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35699 New file.
35700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35701 file.
35702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35703 New file.
35704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35705 file.
eae47a36
DM
35706 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35711
c0c83bc8
DM
35712 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35713 fzeros/fnegs to load 0x80000000 into a float register instead of
35714 using the stack.
7bd951ff
DM
35715 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35716
bd951ccb
JM
357172012-03-14 Joseph Myers <joseph@codesourcery.com>
35718
35719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35720 bits/syscall.h.
35721 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35722 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35723 ($(inst_includedir)/bits/syscall.h): Remove rule.
35724 ($(objpfx)bits/syscall.d): Include instead of
35725 $(objpfx)syscall-list.d.
35726 (generated): Change syscall-list.h and syscall-list.d to
35727 bits/syscall.h and bits/syscall.d.
35728
bb4e6db2
RM
357292012-03-14 Roland McGrath <roland@hack.frob.com>
35730
35731 [BZ #13846]
35732 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35733
aa4a2ae1
JM
357342012-03-14 Joseph Myers <joseph@codesourcery.com>
35735
e456826d
JM
35736 [BZ #13841]
35737 * math/s_csqrt.c: Include <float.h>.
35738 (__csqrt): Scale large or subnormal inputs.
35739 * math/s_csqrtf.c: Likewise.
35740 * math/s_csqrtl.c: Likewise.
35741 * math/libm-test.inc (csqrt_test): Add more tests.
35742 * sysdeps/i386/fpu/libm-test-ulps: Update.
35743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35744
aa4a2ae1
JM
35745 [BZ #13840]
35746 * math/libm-test.inc (hypot_test): Add more tests.
35747
7c10fd35
DM
357482012-03-13 David S. Miller <davem@davemloft.net>
35749
35750 [BZ #13840]
35751 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35752 double-precision for the calculation instead of scaling.
35753
f453b98b
JM
357542012-03-13 Joseph Myers <joseph@codesourcery.com>
35755
35756 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35757 manipulate bits before adding and subtracting TWO52[sx].
35758 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35759 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35760 Likewise.
35761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35762
09a3453f
DM
357632012-03-13 David S. Miller <davem@davemloft.net>
35764
8e59da90
DM
35765 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35766 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35767 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35768 rtld-global-offsets.h
35769 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35770
2a8ab7f2
DM
35771 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35772 large parameters.
35773
10f62770
DM
35774 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35775
5f0bdb18
DM
35776 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35777 'err' in the ifdef scope in which it is actually used.
35778
09a3453f
DM
35779 * nss/nss_db/db-init.c: Include string.h
35780
b4b2eb5e
DM
357812012-03-12 David S. Miller <davem@davemloft.net>
35782
98bb2f1c
DM
35783 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35784 masking out of the most significant byte of random value used.
35785 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35786 Fix coding style in previous change.
35787
b4b2eb5e
DM
35788 * sysdeps/unix/sysv/linux/kernel-features.h
35789 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35790 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35791 expression.
35792 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35793 later.
35794
6e226b09
DM
357952012-03-11 David S. Miller <davem@davemloft.net>
35796
a1bcbd40
DM
35797 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35798 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35799 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35800 for 'resultvar' otherwise things get truncated on 64-bit.
35801
cb9d6174
DM
35802 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35803 Fix masking out of the most significant byte of random value used.
35804
6e226b09
DM
35805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35806
058c132d
AS
358072012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35808
35809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35810
2d2cd515
DM
358112012-03-09 David S. Miller <davem@davemloft.net>
35812
35813 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35814 variables with appropriate CPP guards.
57f41c40
AS
35815 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35816 from the frame pointer, not the stack pointer. Correct layout
35817 comments. Fix test on resulting framesize and the management of
35818 the outregs buffer for pltexit. Preserve floating point return
35819 values across _dl_call_pltexit call.
2d2cd515
DM
35820 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35821 framesize and the management of the outregs buffer for pltexit.
35822 Preserve floating point return values across _dl_call_pltexit
35823 call.
57f41c40
AS
35824 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35825 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35826 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35827 (print_exit): Fix format string for return register value.
35828
9a07f9d0
JM
358292012-03-10 Joseph Myers <joseph@codesourcery.com>
35830
35831 * sunrpc/Makefile (others): Add rpcgen.
35832 ($(objpfx)rpcgen): Remove special build rule and dependency on
35833 libc.
35834 * sunrpc/rpcgen.c: New file.
35835
547b5e30
PE
358362012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35837
c524201a
PE
35838 [BZ #13673]
35839 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35840 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35841 * sysdeps/i386/crti.S: Likewise.
35842 * sysdeps/i386/crtn.S: Likewise.
35843 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35844 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35845 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35846 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35847 * sysdeps/sh/crti.S: Likewise.
35848 * sysdeps/sh/crtn.S: Likewise.
35849 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35850
7b6235f2
PE
35851 [BZ #13673]
35852 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35853 with URL.
35854 * locale/programs/locfile-kw.gperf: Likewise.
35855 * locale/programs/charmap-kw.h: Regenerated.
35856 * locale/programs/locfile-kw.h: Likewise.
35857
547b5e30
PE
35858 [BZ #13673]
35859 * intl/plural.y: Replace FSF snail mail address with URL.
35860 * intl/plural.c: Regenerated.
35861
5f0a5dae
RH
358622012-03-09 Richard Henderson <rth@twiddle.net>
35863
35864 * include/math_private.h: Remove file.
35865 * math/math_private.h: Move file ...
35866 * sysdeps/generic/math_private.h: ... here.
35867
b8c03620
RH
35868 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35869 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35870 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35871
4e234f5d 35872 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35873 and <math_private.h>.
35874 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35875 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35876 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35877 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35878 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35879 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35880 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35881 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35882 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35883 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35885 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35886 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35887 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35888 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35889 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35890 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35891 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35892 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35893 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35895 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35896 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35898 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35899 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35900 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35901 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35902 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35903 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35904 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35906 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35907 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35908 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35909 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35910 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35911 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35912 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35913 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35914 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35915 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35916 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35917 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35918 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35919 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35920 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35921 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35922 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35923 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35924 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35925 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35926 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35927 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35928 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35929 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35930 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35931 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35932 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35933 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35934 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35935 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35937 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35938 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35939 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35940 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35941 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35942 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35943 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35944 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35945 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35946 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35947 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35948 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35949 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35951 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35952 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35953 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35954 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35955 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35956 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35957 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35958 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35960 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35961 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35962 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35963 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35964 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35965 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35966 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35967 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35968 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35969 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35970 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35971 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35972 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35973 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35974 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35975 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35976 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35977 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35978 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35979 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35980 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35981 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35982 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35983 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35984 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35985 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35986 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35987 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35988 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35989 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35990 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35991 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35992 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35993 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35994 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35995 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35996 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35997 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35998 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35999 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36000 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36001 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36002 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36003 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36004 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36005 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36006 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36007 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36008 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36009 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36010 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36011 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36012 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36013 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36014 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36015 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36016 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36017 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36018 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36019 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36020 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36021 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36022 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36023 * sysdeps/ieee754/k_standard.c: Likewise.
36024 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36025 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36026 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36027 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36028 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36029 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36030 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36031 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36032 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36033 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36034 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36035 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36036 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36037 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36038 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36039 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36040 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36041 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36042 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36043 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36044 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36045 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36046 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36047 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36048 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36049 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36050 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36051 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36052 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36053 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36054 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36055 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36056 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36057 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36058 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36059 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36060 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36061 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36062 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36063 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36064 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36065 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36066 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36067 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36068 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36070 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36071 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36072 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36073 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36074 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36075 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36076 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36077 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36078 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36079 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36080 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36081 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36082 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36083 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36084 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36085 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36086 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36087 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36088 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36089 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36090 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36091 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36092 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36093 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36094 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36096 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36097 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36098 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36099 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36100 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36101 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36102 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36103 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36104 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36105 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36106 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36107 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36108 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36109 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36110 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36111 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36112 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36113 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36114 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36115 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36116 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36117 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36118 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36119 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36120 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36121 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36122 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36123 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36124 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36125 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36126 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36127 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36128 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36129 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36130 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36131 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36132 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36133 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36134 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36135 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36136 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36137 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36138 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36139 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36140 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36141 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36142 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36143 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36144 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36145 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36146 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36147 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36148 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36149 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36150 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36151 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36152 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36153 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36154 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36155 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36156 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36157 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36158 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36159 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36160 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36161 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36162 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36163 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36164 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36165 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36166 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36167 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36168 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36169 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36170 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36171 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36172 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36173 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36174 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36175 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36176 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36177 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36178 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36179 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36180 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36181 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36182 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36183 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36184 * sysdeps/ieee754/s_lib_version.c: Likewise.
36185 * sysdeps/ieee754/s_matherr.c: Likewise.
36186 * sysdeps/ieee754/s_signgam.c: Likewise.
36187 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36188 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36189 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36190 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36191 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36192 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36193 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36194 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36195 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36196 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36197 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36198 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36199 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36200 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36201 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36202 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36203 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36204 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36205 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36206 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36207 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36208
1991fa03
JM
362092012-03-09 Joseph Myers <joseph@codesourcery.com>
36210
36211 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36212 * sunrpc/rpc_main.c: Likewise.
36213 * sunrpc/rpc_svcout.c: Likewise.
36214
60d6f5a6
DM
362152012-03-09 David S. Miller <davem@davemloft.net>
36216
36217 * include/math_private.h: New file.
36218
4962050e
JM
362192012-03-09 Joseph Myers <joseph@codesourcery.com>
36220
02a6f887
JM
36221 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36222 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36223 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36224 from <bits/socket_type.h>.
36225 (enum __socket_type): Don't define here.
36226 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36228 bits/socket_type.h.
36229
c6e013c1
JM
36230 [BZ #13566]
36231 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36232 checking __USE_GNU.
36233
4962050e
JM
36234 * Makerules ($(inst_includedir)/%.h): New rule.
36235 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36236 (install-others): Remove variable setting.
36237 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36238
38842f45
RH
362392012-03-08 Richard Henderson <rth@twiddle.net>
36240
67bb6da6
RH
36241 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36242 from macro to inline function; merge with the
36243 !__LIBC_INTERNAL_MATH_INLINES version.
36244 (__ieee754_sqrtf): Likewise.
36245
15194b4b
RH
36246 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36247 to inline function.
36248 (__rintf, __floor, __floorf): Likewise.
36249
64e21ede
RH
36250 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36251 macro to inline function.
36252 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36253
38842f45
RH
36254 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36255 not <math/math_private.h>.
36256
c64bf5fe
DM
362572012-03-08 David S. Miller <davem@davemloft.net>
36258
36259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36260 copyright year.
36261 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36262
82d86f28
TS
362632012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36264
36265 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36266 normalization.
36267 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36268 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36269
aea5d727
UD
362702012-03-08 Ulrich Drepper <drepper@gmail.com>
36271
36272 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36273 be defined individually, they must be defined as a block. Define
36274 S for printing a string instead of hidint the different by using a
36275 macro for adding the 'l'.
36276 * stdio-common/tst-fphex-wide.c: Adjust.
36277
70bca0a3
MP
362782012-03-07 Marek Polacek <polacek@redhat.com>
36279
36280 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36281
65b81130
MP
362822012-03-08 Marek Polacek <polacek@redhat.com>
36283
36284 [BZ #13806]
36285 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36286 * stdio-common/tst-fphex.c: Define a few macros to make the
36287 test reusable. Use them.
36288 * stdio-common/tst-fphex-wide.c: New file.
36289
07037eeb
JM
362902012-03-08 Joseph Myers <joseph@codesourcery.com>
36291
a7a93d50
JM
36292 [BZ #6911]
36293 * manual/macros.texi (gnusystems): New macro.
36294 (nongnusystems): Likewise.
36295 (gnulinuxhurdsystems): Likewise.
36296 (gnuhurdsystems): Likewise..
36297 (gnulinuxsystems): Likewise.
36298 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36299 variants of the GNU system, not "GNU system".
36300 * manual/conf.texi: Likewise.
36301 * manual/errno.texi: Likewise. Update example of errno macro
36302 expansion.
36303 * manual/filesys.texi: Likewise.
36304 (getumask): Document as specific to GNU/Hurd.
36305 * manual/install.texi: Likewise. Reword some references to
36306 GNU/Linux.
36307 * manual/intro.texi: Likewise.
36308 * manual/io.texi: Likewise.
36309 (File Name Portability): Detail which constraints are inapplicable
36310 to all GNU systems and which are only inapplicable to GNU/Hurd.
36311 * manual/job.texi: Likewise.
36312 * manual/llio.texi: Likewise.
36313 (O_NOCTTY): Document as present on GNU/Linux.
36314 * manual/maint.texi: Likewise.
36315 * manual/memory.texi: Likewise.
36316 * manual/pattern.texi: Likewise.
36317 * manual/pipe.texi: Likewise.
36318 * manual/process.texi: Likewise.
36319 * manual/resource.texi: Likewise.
36320 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36321 child on GNU/Hurd.
36322 * manual/setjmp.texi: Likewise.
36323 * manual/signal.texi: Likewise.
36324 * manual/startup.texi: Likewise.
36325 * manual/stdio.texi: Likewise.
36326 * manual/terminal.texi: Likewise.
36327 (ONLCR): Document as POSIX.
36328 (OXTABS): Document availability on GNU/Linux as XTABS.
36329 (ONOEOT): Document availability separately from other bits.
36330 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36331 * manual/time.texi: Likewise.
36332 * manual/users.texi: Likewise.
36333 * INSTALL: Regenerated.
36334 * sysdeps/gnu/errlist.c: Regenerated.
36335
07037eeb
JM
36336 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36337 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36338 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36339 puts.
36340 * configure: Regenerated.
36341
d1d3431a
JM
363422012-03-07 Joseph Myers <joseph@codesourcery.com>
36343
af6a1e37
JM
36344 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36345 default includes instead of AC_HEADER_CHECK.
36346 * sysdeps/i386/configure: Regenerated.
36347
d1d3431a
JM
36348 [BZ #10716]
36349 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36350 * math/s_cacoshf.c (__cacoshf): Likewise.
36351 * math/s_cacoshl.c (__cacoshl): Likewise.
36352 * math/s_casinh.c (__casinh): Set signs of result from argument.
36353 * math/s_casinhf.c (__casinhf): Likewise.
36354 * math/s_casinhl.c (__casinhl): Likewise.
36355 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36356 (casinh_test): Add more tests.
36357 * sysdeps/i386/fpu/libm-test-ulps: Update.
36358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36359
482ff4da
UD
363602012-03-07 Ulrich Drepper <drepper@gmail.com>
36361
872fda05
UD
36362 * po/zh_TW.po: Update from translation team.
36363
a4300c7a
UD
36364 * login/Makefile (distribute): Remove variable.
36365 * catgets/Makefile: Likewise.
36366 * mach/Makefile: Likewise.
36367 * malloc/Makefile: Likewise.
36368 * misc/Makefile: Likewise.
36369 * iconv/Makefile: Likewise.
36370 * nscd/Makefile: Likewise.
36371 * hurd/Makefile: Likewise.
36372 * manual/Makefile: Likewise.
36373 * locale/Makefile: Likewise.
36374 * intl/Makefile: Likewise.
36375 * conform/Makefile: Likewise.
36376 * nss/Makefile: Likewise.
36377 * time/Makefile: Likewise.
36378 * soft-fp/Makefile: Likewise.
36379 * dirent/Makefile: Likewise.
36380 * gmon/Makefile: Likewise.
36381 * po/Makefile: Likewise.
36382 * rt/Makefile: Likewise.
36383 * socket/Makefile: Likewise.
36384 * math/Makefile: Likewise.
36385 * signal/Makefile: Likewise.
36386 * debug/Makefile: Likewise.
36387 * elf/Makefile: Likewise.
36388 * timezone/Makefile: Likewise.
36389 * stdlib/Makefile: Likewise.
36390 * iconvdata/Makefile: Likewise.
36391 * sunrpc/Makefile: Likewise.
36392 * io/Makefile: Likewise.
36393 * argp/Makefile: Likewise.
36394 * inet/Makefile: Likewise.
36395 * hesiod/Makefile: Likewise.
36396 * grp/Makefile: Likewise.
36397 * csu/Makefile: Likewise.
36398 * wctype/Makefile: Likewise.
36399 * crypt/Makefile: Likewise.
36400 * libio/Makefile: Likewise.
36401 * string/Makefile: Likewise.
36402 * nis/Makefile: Likewise.
36403 * resolv/Makefile: Likewise.
36404 * stdio-common/Makefile: Likewise.
36405 * wcsmbs/Makefile: Likewise.
36406 * dlfcn/Makefile: Likewise.
36407 * posix/Makefile: Likewise.
36408
3b7c4e74 36409 [BZ #6959]
482ff4da
UD
36410 * timezone/Makefile: Don't install timezone files, just the programs
36411 and scripts.
36412
f72ed77d
UD
364132012-03-06 Ulrich Drepper <drepper@gmail.com>
36414
a000466f
UD
36415 * nss/databases.def: Add missing gshadow entry.
36416
f72ed77d
UD
36417 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36418
a53b7a4e
MP
364192012-03-06 Marek Polacek <polacek@redhat.com>
36420
36421 [BZ #13726]
36422 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36423 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36424 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36425 * stdio-common/tst-long-dbl-fphex.c: New file.
36426
e9258400
DM
364272012-03-06 David S. Miller <davem@davemloft.net>
36428
36429 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36430 (set_obp_int): New function.
36431 (get_obp_int): New function.
36432 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
36433 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36434 Avoid unused variable warnings on 'val' and use builtin_expect.
36435 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36436 __builtin_expect.
e9258400
DM
36437 (INLINE_CLONE_SYSCALL): Likewise.
36438
3bd2c723
DM
364392012-03-05 David S. Miller <davem@davemloft.net>
36440
36441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36442
bbb78d03
AS
364432012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36444
884c5db4
AS
36445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36446
bbb78d03
AS
36447 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36448 only for |x| >= 40.
36449 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36450
1c9f702a 364512012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
36452
36453 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36454 Replace gettimeofday with __vdso_gettimeofday.
36455
7be16f82
RM
36456 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36457 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36458 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
36459
36460 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36461 time with __vdso_time.
36462
ed58a00f
JM
364632012-03-05 Joseph Myers <joseph@codesourcery.com>
36464
36465 * manual/lang.texi (size_t): Note types to which size_t may be
36466 equivalent with the GNU C Library, but do not describe when
36467 differences between them are significant.
36468
30ee4ced
AJ
364692012-03-05 Andreas Jaeger <aj@suse.de>
36470
36471 * sysdeps/i386/fpu/libm-test-ulps: Update.
36472
b7cd39e8
JM
364732012-03-05 Joseph Myers <joseph@codesourcery.com>
36474
36475 [BZ #3976]
36476 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36477 (__ieee754_pow): Save and restore rounding mode and use
36478 round-to-nearest for main computations.
36479 * math/libm-test.inc (pow_test_tonearest): New function.
36480 (pow_test_towardzero): Likewise.
36481 (pow_test_downward): Likewise.
36482 (pow_test_upward): Likewise.
36483 (main): Call the new functions.
36484 * sysdeps/i386/fpu/libm-test-ulps: Update.
36485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36486
36487 [BZ #3976]
36488 * math/libm-test.inc (cosh_test_tonearest): New function.
36489 (cosh_test_towardzero): Likewise.
36490 (cosh_test_downward): Likewise.
36491 (cosh_test_upward): Likewise.
36492 (sinh_test_tonearest): Likewise.
36493 (sinh_test_towardzero): Likewise.
36494 (sinh_test_downward): Likewise.
36495 (sinh_test_upward): Likewise.
36496 (main): Call the new functions.
36497 * sysdeps/i386/fpu/libm-test-ulps: Update.
36498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36499
6c6a98c9
TV
365002012-03-05 Tom de Vries <tom@codesourcery.com>
36501
36502 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36503 default stack guard is set in last bytes.
36504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36505
21bb2d2e 365062012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 36507
21bb2d2e 36508 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 36509
21bb2d2e
AJ
36510 [BZ #13656]
36511 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36512 possibly allocate from heap instead of stack.
36513 * stdio-common/bug-vfprintf-nargs.c: New file.
36514 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 36515
c6922934
AS
365162012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36517
36518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36519
bc957d53
MP
365202012-03-03 Marek Polacek <polacek@redhat.com>
36521
36522 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36523 * math/math_private.h: Likewise.
36524 * stdlib/tst-strtod.c: Likewise.
36525 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36526 * sysdeps/x86_64/bits/atomic.h: Likewise.
36527
6358490d
DM
365282012-03-02 David S. Miller <davem@davemloft.net>
36529
36530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36534 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36535 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36536 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36537 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36538
01ae168d
RM
365392012-03-02 Roland McGrath <roland@hack.frob.com>
36540
d9a17c07
RM
36541 [BZ #13792]
36542 * manual/examples/README: New file, says the example source files
36543 can be used under GPL>=2.
36544 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36545 line containing just "*/".
36546 * manual/examples/add.c: Add copyright header (GPL>=2).
36547 * manual/examples/argp-ex1.c: Likewise.
36548 * manual/examples/argp-ex2.c: Likewise.
36549 * manual/examples/argp-ex3.c: Likewise.
36550 * manual/examples/argp-ex4.c: Likewise.
36551 * manual/examples/atexit.c: Likewise.
36552 * manual/examples/db.c: Likewise.
36553 * manual/examples/dir.c: Likewise.
36554 * manual/examples/dir2.c: Likewise.
36555 * manual/examples/execinfo.c: Likewise.
36556 * manual/examples/filecli.c: Likewise.
36557 * manual/examples/filesrv.c: Likewise.
36558 * manual/examples/fmtmsgexpl.c: Likewise.
36559 * manual/examples/genpass.c: Likewise.
36560 * manual/examples/inetcli.c: Likewise.
36561 * manual/examples/inetsrv.c: Likewise.
36562 * manual/examples/isockad.c: Likewise.
36563 * manual/examples/longopt.c: Likewise.
36564 * manual/examples/memopen.c: Likewise.
36565 * manual/examples/memstrm.c: Likewise.
36566 * manual/examples/mkfsock.c: Likewise.
36567 * manual/examples/mkisock.c: Likewise.
36568 * manual/examples/mygetpass.c: Likewise.
36569 * manual/examples/pipe.c: Likewise.
36570 * manual/examples/popen.c: Likewise.
36571 * manual/examples/rprintf.c: Likewise.
36572 * manual/examples/search.c: Likewise.
36573 * manual/examples/select.c: Likewise.
36574 * manual/examples/setjmp.c: Likewise.
36575 * manual/examples/sigh1.c: Likewise.
36576 * manual/examples/sigusr.c: Likewise.
36577 * manual/examples/stpcpy.c: Likewise.
36578 * manual/examples/strdupa.c: Likewise.
36579 * manual/examples/strftim.c: Likewise.
36580 * manual/examples/strncat.c: Likewise.
36581 * manual/examples/subopt.c: Likewise.
36582 * manual/examples/swapcontext.c: Likewise.
36583 * manual/examples/termios.c: Likewise.
36584 * manual/examples/testopt.c: Likewise.
36585 * manual/examples/testpass.c: Likewise.
36586 * manual/examples/timeval_subtract.c: Likewise.
36587
01ae168d
RM
36588 [BZ #13792]
36589 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36590 function to ...
36591 * manual/timeval_subtract.c.texi: ... here, new file.
36592
49efa33d
DM
365932012-03-02 David S. Miller <davem@davemloft.net>
36594
36595 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36596
28afd92d
JM
365972012-03-02 Joseph Myers <joseph@codesourcery.com>
36598
804360ed
JM
36599 [BZ #3976]
36600 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36601 (__sin): Save and restore rounding mode and use round-to-nearest
36602 for all computations.
36603 (__cos): Save and restore rounding mode and use round-to-nearest
36604 for all computations.
36605 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36606 <fenv.h>.
36607 (tan): Save and restore rounding mode and use round-to-nearest for
36608 all computations.
36609 * math/libm-test.inc (cos_test_tonearest): New function.
36610 (cos_test_towardzero): Likewise.
36611 (cos_test_downward): Likewise.
36612 (cos_test_upward): Likewise.
36613 (sin_test_tonearest): Likewise.
36614 (sin_test_towardzero): Likewise.
36615 (sin_test_downward): Likewise.
36616 (sin_test_upward): Likewise.
36617 (tan_test_tonearest): Likewise.
36618 (tan_test_towardzero): Likewise.
36619 (tan_test_downward): Likewise.
36620 (tan_test_upward): Likewise.
36621 (main): Call the new functions.
36622 * sysdeps/i386/fpu/libm-test-ulps: Update.
36623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36624
a6d06d7b
JM
36625 [BZ #10135]
36626 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36627 small n, then large n, before computing and testing k+n.
36628 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36630 Likewise.
36631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36632 Likewise.
36633 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36634 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36635 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36636 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36637 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36638 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36639 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36640 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36641 * math/libm-test.inc (scalbn_test): Add more tests.
36642 (scalbln_test): Likewise.
36643
07e12bb3
JM
36644 * manual/filesys.texi (mode_t): Describe constraints on size and
36645 signedness, not exact equivalence to a particular type.
36646 (ino_t): Likewise.
36647 (ino64_t): Likewise.
36648 (dev_t): Likewise.
36649 (nlink_t): Likewise.
36650 (blkcnt_t): Likewise.
36651 (blkcnt64_t): Likewise.
36652 * manual/llio.texi (off_t): Likewise.
36653
28afd92d
JM
36654 [BZ #3976]
36655 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36656 (__ieee754_exp): Save and restore rounding mode and use
36657 round-to-nearest for all computations.
36658 * math/libm-test.inc (exp_test_tonearest): New function.
36659 (exp_test_towardzero): Likewise.
36660 (exp_test_downward): Likewise.
36661 (exp_test_upward): Likewise.
36662 (main): Call the new functions.
36663 * sysdeps/i386/fpu/libm-test-ulps: Update.
36664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36665
b1eeb65d
CD
366662012-03-01 Chris Demetriou <cgd@google.com>
36667
36668 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36669 have predictable order.
36670
53362a4b
DM
366712012-03-01 David S. Miller <davem@davemloft.net>
36672
3c969083
DM
36673 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36674
759707de
DM
36675 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36676 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36677 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36678 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36679
dfdb8ff2
DM
36680 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36681 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36682 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36684 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36685 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36686 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36687 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36688 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36689
ead89f96
DM
36690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36691
7f66bd07
DM
36692 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36693 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36694 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36695
53362a4b
DM
36696 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36697 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36698 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36699 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36700 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36701 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36702 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36703 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36704 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36705 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36706 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36707 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36709 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36710 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36711 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36712 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36713 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36714 * sysdeps/sparc/elf/configure: Regenerated.
36715
7b1902cb
JM
367162012-03-01 Joseph Myers <joseph@codesourcery.com>
36717
bec039bc
JM
36718 * configure.in (AS, LD): Require binutils 2.20 or later.
36719 * configure: Regenerated.
36720 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36721 as required minimum version.
36722 * INSTALL: Regenerated.
36723
7b1902cb
JM
36724 [BZ #2541]
36725 [BZ #4108]
36726 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36727 before squaring exponent.
36728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36729 bottom long double and 27 bits of top long double before squaring
36730 exponent.
36731 * math/libm-test.inc (erfc_test): Add more tests.
36732 * sysdeps/i386/fpu/libm-test-ulps: Update.
36733 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36735
f775c276
KT
367362012-03-01 Kai Tietz <ktietz@redhat.com>
36737
36738 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36739 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36740 containing bit-fields.
36741 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36742 * soft-fp/single.h (_FP_UNION_S): Likewise.
36743 * soft-fp/double.h (_FP_UNION_D): Likewise.
36744
5b8a4d4a
JM
367452012-02-29 Joseph Myers <joseph@codesourcery.com>
36746
0bab47b6
JM
36747 [BZ #13786]
36748 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36749 not include ../strcmp.S.
36750 [USE_AS_STRNCASECMP_L]: Likewise.
36751 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36752 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36753 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36754 (__strncasecmp_l_ia32): Define as alias to
36755 __strncasecmp_l_nonascii.
36756
0fcad3e2
JM
36757 [BZ #5794]
36758 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36759 * sysdeps/i386/fpu/libm-test-ulps: Update.
36760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36761
5b8a4d4a
JM
36762 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36764
8fdceb2e
JL
367652012-02-29 Jeff Law <law@redhat.com>
36766
36767 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36768 out of bounds read.
36769
1f393a11
MP
367702012-02-29 Marek Polacek <polacek@redhat.com>
36771
36772 [BZ #13706]
36773 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36774 * elf/Makefile: Add rules to run tst-unused-dep.out.
36775
8847f037
DM
367762012-02-28 David S. Miller <davem@davemloft.net>
36777
36778 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36779 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36781 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36782 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36783 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36784
169d7f11
JM
367852012-02-29 Joseph Myers <joseph@codesourcery.com>
36786
36787 * math/libm-test.inc (llround_test): Move one test from
36788 lround_test. Use TEST_f_L in moved test.
36789 (lround_test): Move misplaced test to llround_test. Add testcase
36790 from bug 2561.
36791
39adf059
UD
367922012-02-28 Ulrich Drepper <drepper@gmail.com>
36793
36794 * sysdeps/x86_64/fpu/e_expf.S: New file.
36795 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36796
71b5d1c5
SB
367972012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36798
36799 [BZ #13637]
36800 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36801 of remain_len that may cause incomplete multi-byte character and
36802 false match.
36803 * posix/bug-regex33.c: New file.
36804 * posix/Makefile (tests): Add bug-regex33.
36805
1f77f049
JM
368062012-02-28 Joseph Myers <joseph@codesourcery.com>
36807
36808 * manual/macros.texi: New file.
36809 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36810 * manual/libc.texinfo: Include macros.texi.
36811 * manual/creatute.texi: Likewise.
36812 * manual/install.texi: Likewise.
36813 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36814 @glibcadj{} in references to the GNU C Library.
36815 * manual/charset.texi: Likewise.
36816 * manual/conf.texi: Likewise.
36817 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36818 when not using those macros.
36819 * manual/creature.texi: Likewise.
36820 * manual/crypt.texi: Likewise.
36821 * manual/errno.texi: Likewise.
36822 * manual/filesys.texi: Likewise.
36823 * manual/header.texi: Likewise.
36824 * manual/install.texi: Likewise.
36825 * manual/intro.texi: Likewise.
36826 * manual/io.texi: Likewise.
36827 * manual/job.texi: Likewise.
36828 * manual/lang.texi: Likewise.
36829 * manual/libc.texiinfo: Likewise.
36830 * manual/llio.texi: Likewise.
36831 * manual/locale.texi: Likewise.
36832 * manual/maint.texi: Likewise.
36833 * manual/math.texi: Likewise.
36834 * manual/memory.texi: Likewise.
36835 * manual/message.texi: Likewise.
36836 * manual/nss.texi: Likewise.
36837 * manual/pattern.texi: Likewise.
36838 * manual/process.texi: Likewise.
36839 * manual/resource.texi: Likewise.
36840 * manual/search.texi: Likewise.
36841 * manual/setjmp.texi: Likewise.
36842 * manual/signal.texi: Likewise.
36843 * manual/socket.texi: Likewise.
36844 * manual/startup.texi: Likewise.
36845 * manual/stdio.texi: Likewise.
36846 * manual/string.texi: Likewise.
36847 * manual/sysinfo.texi: Likewise.
36848 * manual/syslog.texi: Likewise.
36849 * manual/terminal.texi: Likewise.
36850 * manual/time.texi: Likewise.
36851 * manual/users.texi: Likewise.
36852 * INSTALL: Regenerated.
36853 * NOTES: Regenerated.
d40c5d54 36854 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36855
450bf206
AS
368562012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36857
36858 * include/dirent.h: Include <dirstream.h> before
36859 <dirent/dirent.h>.
36860
741a235b
DM
368612012-02-28 David S. Miller <davem@davemloft.net>
36862
36863 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36864 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36865 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36866 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36867
d6b5aa58
DM
368682012-02-27 David S. Miller <davem@davemloft.net>
36869
1aff59a3
DM
36870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36872 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36873 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36874
d6b5aa58
DM
36875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36876 frame pointer instead of stack pointer relative arg slot.
36877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36878 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36879 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36880
433f48bf
CD
368812012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36882
36883 [BZ #3992]
36884 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36885
d674b76d
DM
368862012-02-27 David S. Miller <davem@davemloft.net>
36887
36888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36892 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36893 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36894 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36895 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36896
0e7727f7
JM
368972012-02-27 Joseph Myers <joseph@codesourcery.com>
36898
36899 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36900 later. Allow versions 5-9.
43be4ca2 36901 * configure: Regenerated.
0e7727f7
JM
36902 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36903 required minimum version and 4.6 as recommended version. Do not
36904 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36905 * INSTALL: Regenerated.
0e7727f7 36906
a78bc654
DM
369072012-02-27 David S. Miller <davem@davemloft.net>
36908
428d5830
DM
36909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36913 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36914 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36915 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36916 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36917
a78bc654
DM
36918 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36919 manipulate bits before adding and subtracting TWO112[sx].
36920 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36921
4579f81c
RM
369222012-02-27 Roland McGrath <roland@hack.frob.com>
36923
36c8acb4
RM
36924 [BZ #13775]
36925 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36926 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36927 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36928 being in POSIX, because they are in 1003.1-2008.
36929
84ad622b
RM
36930 * rt/tst-aio.c: Include <fcntl.h>.
36931 * rt/tst-aio7.c: Likewise.
36932 * rt/tst-aio64.c: Likewise.
36933
4579f81c
RM
36934 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36935
abd923db
JM
369362012-02-27 Joseph Myers <joseph@codesourcery.com>
36937
36938 * manual/install.texi (--with-headers): Describe headers as
36939 interface headers, not private headers.
36940 (Specific advice for GNU/Linux systems): Describe use of headers
36941 from "make headers_install", not private headers from older
36942 kernels.
43be4ca2 36943 * INSTALL: Regenerated.
abd923db
JM
36944 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36945 Change to 2.6.19.
36946 * sysdeps/unix/sysv/linux/configure: Regenerated.
36947
6664049b
JM
36948 * manual/llio.texi (fclean): Remove documentation.
36949
bb8b6697
JM
36950 * manual/Makefile (libc-texi-generated): New variable. Include
36951 version.texi.
36952 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36953 $(libc-texi-generated), not duplicated list of files.
36954 (version.texi, stamp-version): New rules.
36955 (realclean): Remove $(libc-texi-generated), not individual files
36956 from that list. Do not remove dir-add.texinfo.
36957 * manual/libc.texinfo: Comment out uses of edition numbers and
36958 references to printed manual. Remove last-updated dates.
36959 (EDITION): Comment out.
36960 (ISBN): Likewise.
36961 (VERSION, UPDATED): Remove.
36962 (version.texi): Include.
36963
12e5c3b9
AS
369642012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36965
36966 * sysdeps/posix/spawni.c: Include <signal.h>.
36967 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36968 * sysdeps/pthread/aio_fsync.c: Likewise.
36969
4efeffc1 369702012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36971
ba63ba08
UD
36972 * conform/Makefile (tests): Run only when not cross-compiling and
36973 when fast-check is not defined.
36974
d94a4670
UD
36975 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36976 * conform/data/limits.h-data: Fixes for POSIX2008.
36977 * conform/run-conformtest.sh: Run all tests.
36978 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36979 headers.
36980 * include/bits/dlfcn.h: Likewise.
36981 * include/langinfo.h: Likewise.
36982 * include/monetary.h: Likewise.
36983 * include/sys/poll.h: Likewise.
36984
36985 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36986 for __USE_GNU.
36987 * posix/spawn.h: Define __need_sigset_t.
36988 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36989 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36990 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36991 to get sigevent_t only.
36992 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36993 only for __USE_GNU.
36994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36995 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36996 process_vm_writev only for __USE_GNU.
36997 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36998
36999 * conform/Makefile: For now ignore errors from run-conformtest.
37000 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37001 POSIX to avoid namespace pollution. Don't prepend headers.
37002 * conform/data/aio.h-data: Fixes for POSIX testing.
37003 * conform/data/fcntl.h-data: Likewise.
37004 * conform/data/glob.h-data: Likewise.
37005 * conform/data/grp.h-data: Likewise.
37006 * conform/data/pthread.h-data: Likewise.
37007 * conform/data/pwd.h-data: Likewise.
37008 * conform/data/signal.h-data: Likewise.
37009 * conform/data/spawn.h-data: Likewise.
37010 * conform/data/stdio.h-data: Likewise.
37011 * conform/data/stdlib.h-data: Likewise.
37012 * conform/data/stropts.h-data: Likewise.
37013 * conform/data/sys/mman.h-data: Likewise.
37014 * conform/data/sys/stat.h-data: Likewise.
37015 * conform/data/sys/types.h-data: Likewise.
37016 * conform/data/sys/wait.h-data: Likewise.
37017 * conform/data/time.h-data: Likewise.
37018 * conform/data/unistd.h-data: Likewise.
37019 * conform/data/utime.h-data: Likewise.
37020
37021 * io/sys/stat.h: fchmod was always in POSIX.
37022 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37023 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37024 * rt/aio.h: Define __need_timespec before including <time.h>.
37025 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37026 struct. Add forward declaration of pthread_attr_t and use it in
37027 sigevent.
37028 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37029 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37030 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37031 always remove CLK_TCK definition.
37032
c20105c3
AS
370332012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37034
37035 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37036
7a270350
UD
370372012-02-25 Ulrich Drepper <drepper@gmail.com>
37038
31341567
UD
37039 * conform/run-conformtest.sh: New file.
37040 * conform/Makefile: Run run-conformtest for tests.
37041 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37042 support.
37043
37044 * conform/data/uchar.h-data: New file.
37045 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37046 * conform/data/arpa/inet.h-data: Likewise.
37047 * conform/data/assert.h-data: Likewise.
37048 * conform/data/complex.h-data: Likewise.
37049 * conform/data/cpio.h-data: Likewise.
37050 * conform/data/ctype.h-data: Likewise.
37051 * conform/data/dirent.h-data: Likewise.
37052 * conform/data/dlfcn.h-data: Likewise.
37053 * conform/data/errno.h-data: Likewise.
37054 * conform/data/fcntl.h-data: Likewise.
37055 * conform/data/float.h-data: Likewise.
37056 * conform/data/fmtmsg.h-data: Likewise.
37057 * conform/data/fnmatch.h-data: Likewise.
37058 * conform/data/ftw.h-data: Likewise.
37059 * conform/data/glob.h-data: Likewise.
37060 * conform/data/grp.h-data: Likewise.
37061 * conform/data/iconv.h-data: Likewise.
37062 * conform/data/inttypes.h-data: Likewise.
37063 * conform/data/langinfo.h-data: Likewise.
37064 * conform/data/libgen.h-data: Likewise.
37065 * conform/data/limits.h-data: Likewise.
37066 * conform/data/locale.h-data: Likewise.
37067 * conform/data/math.h-data: Likewise.
37068 * conform/data/monetary.h-data: Likewise.
37069 * conform/data/mqueue.h-data: Likewise.
37070 * conform/data/ndbm.h-data: Likewise.
37071 * conform/data/net/if.h-data: Likewise.
37072 * conform/data/netdb.h-data: Likewise.
37073 * conform/data/netinet/in.h-data: Likewise.
37074 * conform/data/nl_types.h-data: Likewise.
37075 * conform/data/poll.h-data: Likewise.
37076 * conform/data/pthread.h-data: Likewise.
37077 * conform/data/pwd.h-data: Likewise.
37078 * conform/data/regex.h-data: Likewise.
37079 * conform/data/sched.h-data: Likewise.
37080 * conform/data/search.h-data: Likewise.
37081 * conform/data/semaphore.h-data: Likewise.
37082 * conform/data/setjmp.h-data: Likewise.
37083 * conform/data/signal.h-data: Likewise.
37084 * conform/data/spawn.h-data: Likewise.
37085 * conform/data/stdarg.h-data: Likewise.
37086 * conform/data/stdio.h-data: Likewise.
37087 * conform/data/stdlib.h-data: Likewise.
37088 * conform/data/string.h-data: Likewise.
37089 * conform/data/strings.h-data: Likewise.
37090 * conform/data/stropts.h-data: Likewise.
37091 * conform/data/sys/ipc.h-data: Likewise.
37092 * conform/data/sys/mman.h-data: Likewise.
37093 * conform/data/sys/msg.h-data: Likewise.
37094 * conform/data/sys/resource.h-data: Likewise.
37095 * conform/data/sys/select.h-data: Likewise.
37096 * conform/data/sys/sem.h-data: Likewise.
37097 * conform/data/sys/shm.h-data: Likewise.
37098 * conform/data/sys/socket.h-data: Likewise.
37099 * conform/data/sys/stat.h-data: Likewise.
37100 * conform/data/sys/statvfs.h-data: Likewise.
37101 * conform/data/sys/time.h-data: Likewise.
37102 * conform/data/sys/timeb.h-data: Likewise.
37103 * conform/data/sys/times.h-data: Likewise.
37104 * conform/data/sys/types.h-data: Likewise.
37105 * conform/data/sys/uio.h-data: Likewise.
37106 * conform/data/sys/un.h-data: Likewise.
37107 * conform/data/sys/utsname.h-data: Likewise.
37108 * conform/data/sys/wait.h-data: Likewise.
37109 * conform/data/syslog.h-data: Likewise.
37110 * conform/data/tar.h-data: Likewise.
37111 * conform/data/termios.h-data: Likewise.
37112 * conform/data/utime.h-data: Likewise.
37113 * conform/data/utmpx.h-data: Likewise.
37114 * conform/data/varargs.h-data: Likewise.
37115 * conform/data/wchar.h-data: Likewise.
37116 * conform/data/wctype.h-data: Likewise.
37117 * conform/data/wordexp.h-data: Likewise.
37118
37119 * include/stropts.h: New file.
37120 * include/uchar.h: New file.
37121 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37122 * include/assert.h: Likewise.
37123 * include/ctype.h: Likewise.
37124 * include/dirent.h: Likewise.
37125 * include/dlfcn.h: Likewise.
37126 * include/fcntl.h: Likewise.
37127 * include/fnmatch.h: Likewise.
37128 * include/glob.h: Likewise.
37129 * include/grp.h: Likewise.
37130 * include/libio.h: Likewise.
37131 * include/locale.h: Likewise.
37132 * include/math.h: Likewise.
37133 * include/net/if.h: Likewise.
37134 * include/netdb.h: Likewise.
37135 * include/netinet/in.h: Likewise.
37136 * include/pthread.h: Likewise.
37137 * include/pwd.h: Likewise.
37138 * include/regex.h: Likewise.
37139 * include/sched.h: Likewise.
37140 * include/search.h: Likewise.
37141 * include/setjmp.h: Likewise.
37142 * include/signal.h: Likewise.
37143 * include/stdio.h: Likewise.
37144 * include/stdlib.h: Likewise.
37145 * include/string.h: Likewise.
37146 * include/sys/cdefs.h: Likewise.
37147 * include/sys/mman.h: Likewise.
37148 * include/sys/msg.h: Likewise.
37149 * include/sys/resource.h: Likewise.
37150 * include/sys/select.h: Likewise.
37151 * include/sys/socket.h: Likewise.
37152 * include/sys/stat.h: Likewise.
37153 * include/sys/statvfs.h: Likewise.
37154 * include/sys/time.h: Likewise.
37155 * include/sys/times.h: Likewise.
37156 * include/sys/uio.h: Likewise.
37157 * include/sys/utsname.h: Likewise.
37158 * include/sys/wait.h: Likewise.
37159 * include/termios.h: Likewise.
37160 * include/time.h: Likewise.
37161 * include/ulimit.h: Likewise.
37162 * include/unistd.h: Likewise.
37163 * include/utime.h: Likewise.
37164 * include/wchar.h: Likewise.
37165 * include/wctype.h: Likewise.
37166 * include/wordexp.h: Likewise.
37167
37168 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37169
7a270350
UD
37170 * time/time.h: TIME_UTC must be a macro.
37171 Make timespec_get available for ISO C11 only as well.
37172
7724defc
UD
371732012-02-24 Ulrich Drepper <drepper@gmail.com>
37174
37175 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37176 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37177
6b1d1d46
JM
371782012-02-24 Joseph Myers <joseph@codesourcery.com>
37179
37180 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37181
0f8bbd69
JM
371822012-02-24 Joseph Myers <joseph@codesourcery.com>
37183
37184 * manual/texinfo.tex: Update to version 2012-01-19.16.
37185
66ab80bc
JM
371862012-02-24 Joseph Myers <joseph@codesourcery.com>
37187
37188 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37189
74981cc5
RM
371902012-02-24 Roland McGrath <roland@hack.frob.com>
37191
ee968201
RM
37192 [BZ #13738]
37193 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37194 * manual/fdl-1.3.texi: New file.
37195 * manual/fdl-1.1.texi: File removed.
37196
74981cc5
RM
37197 [BZ #13738]
37198 * manual/libc.texinfo (FDL_VERSION): New @set.
37199 Use it for mention of FDL in cover text.
37200 (Documentation License): Use it in @include file name.
37201
7bb764bc
JM
372022012-02-22 Joseph Myers <joseph@codesourcery.com>
37203 Roland McGrath <roland@hack.frob.com>
37204
37205 [BZ #5461]
57f41c40
AS
37206 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37207 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37208 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37209 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37210 name.
37211 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37212
6cbeae47
JM
372132012-02-22 Joseph Myers <joseph@codesourcery.com>
37214
37215 [BZ #2547]
37216 [BZ #11365]
37217 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37218 manipulate bits before adding and subtracting TWO23[sx].
37219 * math/libm-test.inc (nearbyint_test): Add more tests.
37220
fe45ce09
JM
372212012-02-22 Joseph Myers <joseph@codesourcery.com>
37222
37223 [BZ #2548]
37224 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37225 bits before adding and subtracting TWO23[sx].
37226 * math/libm-test.inc (rint_test): Add more tests.
37227 (rint_test_tonearest): Likewise.
37228 (rint_test_towardzero): Likewise.
37229 (rint_test_downward): Likewise.
37230 (rint_test_upward: Likewise.
37231
ff3b3d82
JM
372322012-02-22 Joseph Myers <joseph@codesourcery.com>
37233
37234 [BZ #10110]
37235 * include/stdc-predef.h: New file. Extracted from features.h.
37236 * include/features.h: Include stdc-predef.h.
37237 * Makefile (headers): Add stdc-predef.h.
37238 * CONFORMANCE (Compiler limitations): Update.
37239
ef0aab35
JM
372402012-02-22 Joseph Myers <joseph@codesourcery.com>
37241
37242 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37243
58639409
DM
372442012-02-21 David S. Miller <davem@davemloft.net>
37245
37246 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37247 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37248
c0e70b25
DM
372492012-02-20 David S. Miller <davem@davemloft.net>
37250
37251 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37252 using a normal save/restore sequence, rather than allocating a
37253 dummy stack frame just to store a frame pointer and restore.
37254 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37255
fb06851d
JM
372562012-02-21 Joseph Myers <joseph@codesourcery.com>
37257
37258 * manual/install.texi: Fix stray word in line-wrapped comment.
37259
7a8b71c3
DM
372602012-02-20 David S. Miller <davem@davemloft.net>
37261
d510c123
DM
37262 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37263 both binutils and gcc support GOTDATA.
37264
0722d7c2
DM
37265 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37266 "rd %pc" in the PIC register setup sequences.
37267
3d2b3019
DM
37268 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37269 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37270 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37271 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37272 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37273 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37274 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37275 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37277 (SYSCALL_ERROR_HANDLER): Likewise.
37278 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37279 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37281 (SYSCALL_ERROR_HANDLER): Likewise.
37282
c80098a9
DM
37283 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37284 (HAVE_GCC_GOTDATA): New.
37285 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37286 relocation support in both binutils and gcc.
37287 * sysdeps/sparc/elf/configure: Regenerate.
37288
3a2545a0
DM
37289 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37290 * sysdeps/sparc/sparc32/elf/configure: Delete.
37291 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37292 * sysdeps/sparc/sparc64/elf/configure: Delete.
37293 * sysdeps/sparc/elf/configure.in: New file.
37294 * sysdeps/sparc/elf/configure: Generate.
37295
7a8b71c3
DM
37296 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37297 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37298 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37299 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37300 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37301
f1e86fca
JM
373022012-02-21 Joseph Myers <joseph@codesourcery.com>
37303
37304 * manual/install.texi: Do not mention specific glibc version
37305 numbers.
37306 * manual/libc.texinfo (VERSION, UPDATED): Update.
37307 (@copying): Use @copyright{} and range of years.
37308
0e7dfaef
JM
373092012-02-21 Joseph Myers <joseph@codesourcery.com>
37310
37311 [BZ #13695]
37312 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37313 [crti.S not in sysdirs] (generated): Do not append.
37314 [crti.S not in sysdirs] (omit-deps): Likewise.
37315 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37316 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37317 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37318 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37319 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37320 Likewise.
37321 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37322 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37323 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37324 * csu/defs.awk: Remove file.
37325 * sysdeps/generic/initfini.c: Likewise.
37326 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37327 variable.
37328 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37329 Likewise.
37330
599af3ca
JM
373312012-02-20 Joseph Myers <joseph@codesourcery.com>
37332
37333 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37334 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37335 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37336 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37337 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37338 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37339 <bits/epoll.h>.
37340 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37341 (__EPOLL_PACKED): Define to empty if not defined by
37342 <bits/epoll.h>.
37343 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37345 bits/epoll.h.
37346
0e499750
JM
373472012-02-20 Joseph Myers <joseph@codesourcery.com>
37348
37349 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37350 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37351 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37352 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37353 <bits/timerfd.h>.
37354 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37356 bits/timerfd.h.
37357
5ad91f6e
JM
373582012-02-20 Joseph Myers <joseph@codesourcery.com>
37359
37360 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37361 in C locale.
37362 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37363 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37364 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37366
06b99b02
AJ
373672012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37368
37369 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37370 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37371
7638c0fd
AS
373722012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37373
37374 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37375 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37376 defined.
37377 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37378 Likewise.
37379 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37380 entry for 2.16.
37381
92221550
AJ
373822012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37383
37384 * math/w_acos.c: Use non-signaling floating-point comparisons.
37385 * math/w_acosf.c: Likewise.
37386 * math/w_acosh.c: Likewise.
37387 * math/w_acoshf.c: Likewise.
37388 * math/w_acoshl.c: Likewise.
37389 * math/w_acosl.c: Likewise.
37390 * math/w_asin.c: Likewise.
37391 * math/w_asinf.c: Likewise.
37392 * math/w_asinl.c: Likewise.
37393 * math/w_atanh.c: Likewise.
37394 * math/w_atanhf.c: Likewise.
37395 * math/w_atanhl.c: Likewise.
37396 * math/w_exp2.c: Likewise.
37397 * math/w_exp2f.c: Likewise.
37398 * math/w_exp2l.c: Likewise.
37399 * math/w_j0.c: Likewise.
37400 * math/w_j0f.c: Likewise.
37401 * math/w_j0l.c: Likewise.
37402 * math/w_j1.c: Likewise.
37403 * math/w_j1f.c: Likewise.
37404 * math/w_j1l.c: Likewise.
37405 * math/w_jn.c: Likewise.
37406 * math/w_jnf.c: Likewise.
37407 * math/w_log.c: Likewise.
37408 * math/w_log10.c: Likewise.
37409 * math/w_log10f.c: Likewise.
37410 * math/w_log10l.c: Likewise.
37411 * math/w_log2.c: Likewise.
37412 * math/w_log2f.c: Likewise.
37413 * math/w_log2l.c: Likewise.
37414 * math/w_logf.c: Likewise.
37415 * math/w_logl.c: Likewise.
37416 * math/w_sqrt.c: Likewise.
37417 * math/w_sqrtf.c: Likewise.
37418 * math/w_sqrtl.c: Likewise.
37419 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37420 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37421 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37422 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37423 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37424
ebaf36eb
JM
374252012-02-19 Joseph Myers <joseph@codesourcery.com>
37426
37427 [BZ #9739]
37428 * manual/string.texi (strnlen): Use correct parameter name in
37429 equivalent expression.
37430
71c254a6
JM
374312012-02-19 Joseph Myers <joseph@codesourcery.com>
37432
37433 [BZ #11174]
37434 * manual/users.texi (seteuid): Consistently use neweuid for
37435 argument name.
37436
16d2c631
JM
374372012-02-19 Joseph Myers <joseph@codesourcery.com>
37438
37439 [BZ #13704]
37440 * manual/nss.texi (Services in the NSS configuration): Correct
37441 list of services in example configuration file.
37442
cd837b09
NB
374432012-02-19 Nick Bowler <nbowler@draconx.ca>
37444
37445 [BZ #11322]
37446 * manual/arith.texi: Remove statements about negative zero
37447 behaving identically to zero.
37448
02c4bbad
JM
374492012-02-18 Joseph Myers <joseph@codesourcery.com>
37450
37451 [BZ #5993]
37452 * manual/install.texi: Do not document upgrading from libc5.
37453
366842e7
JM
374542012-02-18 Joseph Myers <joseph@codesourcery.com>
37455
37456 [BZ #4596]
37457 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37458
dd54084d
DM
374592012-02-18 David S. Miller <davem@davemloft.net>
37460
37461 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37462 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37463 %o7 across the call.
37464 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37465 instead.
37466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37467 SETUP_PIC_REG_LEAF.
37468 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37469 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37470 * sysdeps/sparc/crtn.S: Likewise.
37471
2bcc53a3
UD
374722012-02-17 Ulrich Drepper <drepper@gmail.com>
37473
37474 * aout/Makefile: Remove.
37475
09c093b5
RK
374762012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37477
37478 [BZ #13058]
37479 * manual/examples/argp-ex1.c (main): Format definition in GNU
37480 style.
37481 * manual/examples/argp-ex2.c (main): Likewise.
37482 * manual/examples/argp-ex3.c (main): Likewise.
37483 * manual/examples/argp-ex4.c (main): Likewise.
37484 * manual/examples/longopt.c (main): Use new-style prototype
37485 definition.
37486 * manual/examples/strncat.c (main): Specify return type and use
37487 (void) for arguments.
37488 * manual/examples/subopt.c (main): Use char **argv argument.
37489
2ee633a2
JM
374902012-02-17 Joseph Myers <joseph@codesourcery.com>
37491
37492 [BZ #5077]
37493 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37494 rounding modes.
37495
0520adde
FB
374962012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37497
37498 [BZ #6907]
37499 * manual/string.texi (strchr): Change when strchrnul is
37500 recommended.
37501
3f4081cd
DGM
375022012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37503
37504 [BZ #174]
37505 * manual/locale.texi (setlocale): Document LOCPATH.
37506
d1b10e78
JM
375072012-02-17 Joseph Myers <joseph@codesourcery.com>
37508
37509 [BZ #10210]
37510 * manual/process.texi (execle): Move @dots{} before last argument.
37511
79c6869c
PB
375122012-02-17 Paul Bolle <pebolle@tiscali.nl>
37513
37514 [BZ #12047]
37515 * manual/charset.texi (Generic Charset Conversion): Fix typo
37516 (LC_TYPE -> LC_CTYPE).
37517
cc6e48bc
NB
375182012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37519
37520 [BZ #5805]
37521 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37522 (scalbnf): Likewise.
37523 (scalbnl): Likewise.
37524 (scalbln): Likewise.
37525 (scalblnf): Likewise.
37526 (scalblnl): Likewise.
37527 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37528 (vwarnx): Likewise.
37529 (verr): Likewise.
37530 (verrx): Likewise.
37531 * manual/filesys.texi (telldir): Use braces around return type.
37532 * manual/llio.texi (mmap): Add space after comma.
37533 (mmap64): Likewise.
37534 * manual/math.texi (jn): Use @var{} on parameter names.
37535 (jnf): Likewise.
37536 (jnl): Likewise.
37537 (yn): Likewise.
37538 (ynf): Likewise.
37539 (ynl): Likewise.
37540 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37541 line.
37542 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37543 "...".
37544 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37545 (sched_get_priority_max): Likewise.
37546 * manual/signal.texi (sigvec): Add space after comma.
37547 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37548 names.
37549 (if_indextoname): Likewise.
37550 (if_freenameindex): Likewise.
37551 (sendto): Use ',' instead of '.' in prototype.
37552 * manual/startup.texi (syscall): Use @dots{} instead of literal
37553 "...".
37554 * manual/stdio.texi (__fpending): Separate initial words of
37555 paragraph from @deftypefun line.
37556 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37557 "...".
37558 (vsyslog): Use @var{} on parameter names.
37559 * manual/terminal.texi (stty): Use @var{} on parameter names.
37560 * manual/users.texi (getutmp): Use @var{} on parameter names.
37561 (getutmpx): Likewise.
37562
5b23062f
JM
375632012-02-17 Joseph Myers <joseph@codesourcery.com>
37564
37565 [BZ #6884]
37566 * manual/stdio.texi (fopen): Fix typos in description of
37567 ",ccs=STRING".
37568
8dee4833
AJ
375692012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37570
37571 [BZ #4026]
37572 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37573 get clock_id definition.
37574
9078ce93
TS
375752012-02-17 Thomas Schwinge <thomas@schwinge.name>
37576
37577 [BZ #4822]
37578 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37579 (madvise): Cast every argument to void on its own.
37580
3835c55f
JM
375812012-02-17 Joseph Myers <joseph@codesourcery.com>
37582
37583 [BZ #9902]
37584 * manual/startup.texi (Exit Status): Fix typo.
37585
35c47e37
JM
375862012-02-17 Joseph Myers <joseph@codesourcery.com>
37587
37588 [BZ #10140]
37589 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37590 * manual/examples/argp-ex2.c: Likewise.
37591 * manual/examples/argp-ex3.c: Likewise.
37592
e3b69ca7
RH
375932012-02-16 Richard Henderson <rth@redhat.com>
37594
37595 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37596 * sysdeps/s390/s390-32/initfini.c: Remove.
37597 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37598 * sysdeps/s390/s390-64/initfini.c: Remove.
37599
df83af67
KK
376002012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37601
37602 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37603 compiler output for sysdeps/generic/initfini.c.
37604 * sysdeps/sh/elf/initfini.c: Remove file.
37605
f63f3380
DM
376062012-02-16 David S. Miller <davem@davemloft.net>
37607
fb59b3a4
DM
37608 [BZ #11494]
37609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37610
f63f3380
DM
37611 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37612 * sysdeps/sparc/crti.S: New file.
37613 * sysdeps/sparc/crtn.S: New file.
37614 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37615 * sysdeps/sparc/sparc64/Makefile: Likewise.
37616
df6a4a4a
MF
376172012-02-15 Mike Frysinger <vapier@gentoo.org>
37618
6dd8f3dc 37619 [BZ #3335]
df6a4a4a
MF
37620 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37621
1cac7236
RM
376222012-02-15 Roland McGrath <roland@hack.frob.com>
37623
d2c736f8
RM
37624 [BZ #4822]
37625 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37626
1cac7236
RM
37627 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37628 (write, read, close): Likewise.
37629 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37630
8e475601
JM
376312012-02-15 Joseph Myers <joseph@codesourcery.com>
37632
37633 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37634 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37635 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37636 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37637 <bits/signalfd.h>.
37638 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37640 bits/signalfd.h.
37641
ed656b40
MP
376422012-02-14 Marek Polacek <polacek@redhat.com>
37643
37644 * sysdeps/x86_64/crti.S: New file.
37645 * sysdeps/x86_64/crtn.S: New file.
37646 * sysdeps/x86_64/elf/initfini.c: Remove file.
37647
2a979d3a
JM
376482012-02-13 Joseph Myers <joseph@codesourcery.com>
37649
37650 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37651 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37652 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37653 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37654 <bits/inotify.h>.
37655 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37657 bits/inotify.h.
37658
2a418ac3
JM
376592012-02-13 Joseph Myers <joseph@codesourcery.com>
37660
37661 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37662 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37663 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37664 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37665 <bits/eventfd.h>.
37666 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37668 bits/eventfd.h.
37669
fb779be7
TS
376702012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37671
e19e83c5
RM
37672 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37673 __feraiseexcept instead of feraiseexcept.
7c35ffed 37674
fb779be7
TS
37675 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37676 nanosleep invocations.
37677 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37678 strings, and add error checking for a nanosleep invocations.
37679
59ba27a6
PE
376802012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37681
37682 Replace FSF snail mail address with URLs, as per GNU coding standards.
37683 Most of the snail mail addresses were wrong anyway, and omitting
37684 them makes the source code easier to maintain. Almost all of the
37685 changes are to license notices and to locale LC_IDENTIFICATION
37686 addresses, except for this one:
37687 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37688 not its snail mail address.
37689
57b957eb
RH
376902012-02-09 Richard Henderson <rth@twiddle.net>
37691
af850b1c
RH
37692 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37693 of kernel-features.h.
37694
57b957eb
RH
37695 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37696
6b73181a
MP
376972012-02-08 Marek Polacek <polacek@redhat.com>
37698
37699 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37700 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37701 * sysdeps/gnu/_G_config.h: Likewise.
37702 * sysdeps/generic/_G_config.h: Likewise.
37703
26ecc33a
AS
377042012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37705
6c6dbc63
AS
37706 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37707 tests.
37708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37709
e216c012
AS
37710 * sysdeps/powerpc/powerpc32/crti.S: New file.
37711 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37712 * sysdeps/powerpc/powerpc64/crti.S: New file.
37713 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37714
26ecc33a
AS
37715 * Makeconfig (have-initfini): Don't set.
37716 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37717 * configure.in (nopic_initfini): Don't substitute.
37718 * config.h.in (HAVE_INITFINI): Don't #undef.
37719 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37720 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37721
3add8e13
JM
377222012-02-08 Joseph Myers <joseph@codesourcery.com>
37723
37724 Support crti.S and crtn.S provided directly by architectures.
37725 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37726 [crti.S in sysdirs] (omit-deps): Likewise.
37727 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37728 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37729 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37730 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37731 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37732 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37733 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37734 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37735 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37736 compiler output for sysdeps/generic/initfini.c.
37737 * sysdeps/i386/elf/Makefile: Remove file.
37738 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37739
a22f12b4
MP
377402012-02-07 Marek Polacek <polacek@redhat.com>
37741
37742 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37743 * sysdeps/gnu/_G_config.h: Likewise.
37744 * sysdeps/mach/hurd/_G_config.h: Likewise.
37745
148cf100
MP
377462012-02-07 Marek Polacek <polacek@redhat.com>
37747
37748 * math/Makefile (tests): Add tst-CMPLX2.
37749 * math/tst-CMPLX2.c: New file.
37750
cfdc0dd7
AS
377512012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37752
84ba42c4
AS
37753 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37754
cfdc0dd7
AS
37755 * math/libm-test.inc (jn_test): Add missing L suffix.
37756
622c86f4
MP
377572012-02-06 Marek Polacek <polacek@redhat.com>
37758
37759 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37760 * sysdeps/i386/fpu/e_powf.S: Likewise.
37761 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37762 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37763 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37764 * sysdeps/i386/fpu/e_pow.S: Likewise.
37765 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37766 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37767 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37768 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37769 * sysdeps/i386/fpu/e_log2.S: Likewise.
37770 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37771 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37772 * sysdeps/i386/fpu/e_powl.S: Likewise.
37773 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37774 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37775 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37776 * sysdeps/i386/fpu/e_logl.S: Likewise.
37777 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37778 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37779 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37780 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37781 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37782 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37783 * sysdeps/i386/fpu/e_log.S: Likewise.
37784 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37785 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37786 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37787 * sysdeps/i386/fpu/e_logf.S: Likewise.
37788 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37789 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37790 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37791 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37792 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37793 * sysdeps/i386/fpu/e_log10.S: Likewise.
37794 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37795 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37796 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37797 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37798 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37799 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37800 * sysdeps/i386/asm-syntax.h: Likewise.
37801 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37802 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37803 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37804 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37805 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37806 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37807 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37808 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37809 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37810 * sysdeps/powerpc/sysdep.h: Likewise.
37811 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37812 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37813
d4a54ac6
JM
378142012-02-06 Joseph Myers <joseph@codesourcery.com>
37815
37816 [BZ #411]
37817 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37818
314054ea
JM
378192012-02-06 Joseph Myers <joseph@codesourcery.com>
37820
37821 * sysdeps/i386/sysdep.h: Include <features.h>.
37822 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37823 version.
37824
d8e0ca50
JM
378252012-02-05 Joseph Myers <joseph@codesourcery.com>
37826
37827 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37828 Define.
37829 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37830 LOAD_PIC_REG_STR.
37831
b1da7dd9
JM
378322012-02-03 Joseph Myers <joseph@codesourcery.com>
37833
37834 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37835 (SETUP_PIC_REG): Use GET_PC_THUNK.
37836 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37837 macro.
37838
9a1d9254
JM
378392012-02-03 Joseph Myers <joseph@codesourcery.com>
37840
37841 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37842 for non-PIC compilation.
37843 (SETUP_PIC_REG): Add .p2align directive.
37844 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37845 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37846 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37847 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37848 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37849 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37850 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37851 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37852 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37853 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37854 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37855 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37856 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37857 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37858 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37859 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37860 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37861 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37862 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37863 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37864 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37865 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37866 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37867 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37868 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37870 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37871 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37872 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37873 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37874 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37875 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37876 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37877 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37878 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37879 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37880 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37881 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37882 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37883 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37884 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37885
65dc3b75
JM
378862012-02-03 Joseph Myers <joseph@codesourcery.com>
37887
37888 * math/tst-CMPLX.c: Include <stdio.h>.
37889
d55bf177
JM
378902012-01-31 Joseph Myers <joseph@codesourcery.com>
37891
37892 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37893 float.
37894 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37895 * sysdeps/sparc/bits/mathdef.h: Likewise.
37896
69db4f8f
MP
378972012-01-31 Marek Polacek <polacek@redhat.com>
37898
37899 * libio/libio.h: Don't define _PARAMS.
37900 * locale/programs/config.h: Don't define PARAMS.
37901 * stdlib/strtol_l.c: Likewise.
37902 (__strtol_l): Remove PARAMS from the prototype.
37903
41b81892
UD
379042012-01-31 Ulrich Drepper <drepper@gmail.com>
37905
3b49edc0
UD
37906 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37907 names. Just use the correct names. Remove unnecessary wrapper
37908 functions.
37909 * malloc/arena.c: Likewise.
37910 * malloc/hooks.c: Likewise.
37911
41b81892
UD
37912 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37913 ARENA_TEST says not to. Simplify test for creation of a new arena.
37914 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37915
27a25b6e
UD
379162012-01-30 Ulrich Drepper <drepper@gmail.com>
37917
37918 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37919 into tail calls.
37920 (update_get_addr): New function.
37921 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37922 GET_ADDR_MODULE parameter.
37923
c8a89e7d
JM
379242012-01-30 Joseph Myers <joseph@codesourcery.com>
37925
37926 * crypt/cert.c: Remove __STDC__ conditionals.
37927 * crypt/crypt-entry.c: Likewise.
37928 * crypt/crypt_util.c: Likewise.
37929 * libio/filedoalloc.c: Likewise.
37930 * libio/fileops.c: Likewise.
37931 * libio/genops.c: Likewise.
37932 * libio/iofclose.c: Likewise.
37933 * libio/iofdopen.c: Likewise.
37934 * libio/iofopen.c: Likewise.
37935 * libio/iofopen64.c: Likewise.
37936 * libio/iogetdelim.c: Likewise.
37937 * libio/iopopen.c: Likewise.
37938 * libio/obprintf.c: Likewise.
37939 * libio/oldfileops.c: Likewise.
37940 * libio/oldiofclose.c: Likewise.
37941 * libio/oldiofdopen.c: Likewise.
37942 * libio/oldiofopen.c: Likewise.
37943 * libio/oldiopopen.c: Likewise.
37944 * libio/wfiledoalloc.c: Likewise.
37945 * libio/wgenops.c: Likewise.
37946 * locale/programs/xmalloc.c: Likewise.
37947 * misc/syslog.c: Likewise.
37948 * stdio-common/xbug.c: Likewise.
37949 * string/memchr.c: Likewise.
37950 * string/memcmp.c: Likewise.
37951 * string/memrchr.c: Likewise.
37952 * string/rawmemchr.c: Likewise.
37953 * sysdeps/posix/getcwd.c: Likewise.
37954 * time/strftime_l.c: Likewise.
37955
3b100462
JM
379562012-01-30 Joseph Myers <joseph@codesourcery.com>
37957
37958 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37959 * config.make.in (config-cflags-sse2avx): Define.
37960 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37961 Fix typo.
37962
607998af
CM
379632012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37964
37965 * scripts/config.guess: Update from upstream config git repository.
37966 * scripts/config.sub: Likewise.
37967
3601428f
CM
379682012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37969
3ac8b282
CM
37970 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37971 (EM_NUM): Update.
37972 (R_TILEPRO_*, R_TILEGX_*): New macros.
37973
e034841e
CM
37974 * scripts/firstversions.awk: Fix bug in version range handling.
37975
540d7568
CM
37976 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37977
3601428f
CM
37978 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37979
463de862
CM
37980 * include/sys/epoll.h: New file.
37981 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37982 libc_hidden_def.
37983
73139a76
UD
379842012-01-28 Ulrich Drepper <drepper@gmail.com>
37985
96bc5b45
UD
37986 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37987 Avoid unnecessary __WORDSIZE == 64 test.
37988 (fmaxf): Use VEX format if possible.
37989 (fmax): Likewise.
37990 (fminf): Likewise.
37991 (fmin): Likewise.
37992
56f6f6a2
UD
37993 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37994 * math/math_private.h: Remove libc_fegetround* and
37995 libc_fesetround*.
37996 * sysdeps/i386/configure.in: Check for -msse2avx.
37997 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37998 also if SSE2AVX is defined.
37999 Remove libc_fegetround* and libc_fesetround*.
38000 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38001 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38002 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38003 of HAS_YMM_USABLE.
38004 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38005 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38006 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38007 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38008 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38009
73139a76
UD
38010 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38011
d73f93a4
AZ
380122012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38013
38014 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38015 size is not set.
38016 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38017
6ee65ed6
UD
380182012-01-27 Ulrich Drepper <drepper@gmail.com>
38019
38020 [BZ #13618]
38021 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38022 relocation.
38023 * Makeconfig (libm): Define.
38024 * elf/Makefile: Add rules to build and run tst-relsort1.
38025 * elf/tst-relsort1.c: New file.
38026 * elf/tst-relsort1mod1.c: New file.
38027 * elf/tst-relsort1mod2.c: New file.
38028
8db21882
JM
380292012-01-27 Joseph Myers <joseph@codesourcery.com>
38030
38031 * math/s_ldexp.c: Remove __STDC__ conditionals.
38032 * math/s_ldexpf.c: Likewise.
38033 * math/s_ldexpl.c: Likewise.
38034 * math/s_nextafter.c: Likewise.
38035 * math/s_nexttowardf.c: Likewise.
38036 * math/s_significand.c: Likewise.
38037 * math/s_significandf.c: Likewise.
38038 * math/s_significandl.c: Likewise.
38039 * math/w_jnl.c: Likewise.
38040 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38041 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38042 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38043 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38044 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38045 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38046 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38047 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38048 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38049 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38050 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38051 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38052 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38053 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38054 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38055 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38056 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38057 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38058 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38059 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38060 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38061 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38062 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38063 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38064 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38065 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38066 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38067 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38068 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38069 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38070 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38071 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38072 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38073 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38074 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38075 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38076 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38077 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38078 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38079 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38080 * sysdeps/ieee754/k_standard.c: Likewise.
38081 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38082 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38083 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38084 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38085 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38086 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38087 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38088 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38089 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38090 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38091 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38092 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38093 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38094 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38095 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38096 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38097 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38098 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38099 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38100 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38101 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38102 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38103 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38105 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38106 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38107 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38108 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38110 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38111 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38112 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38113 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38114 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38115 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38116 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38117 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38118 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38119 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38120 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38121 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38123 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38125 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38126 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38127 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38129 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38130 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38131 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38134 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38137 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38138 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38139 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38140 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38141 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38142 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38143 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38144 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38145 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38146 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38147 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38148 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38149 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38150 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38152 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38153 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38154 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38155 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38156 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38158 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38159 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38160 * sysdeps/ieee754/s_matherr.c: Likewise.
38161 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38162 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38164 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38165
965a54a4
JM
381662012-01-26 Joseph Myers <joseph@codesourcery.com>
38167
38168 * crypt/md5.h: Remove __STDC__ conditionals.
38169 * libio/libioP.h: Likewise.
38170 * locale/programs/config.h: Likewise.
38171 * sysdeps/generic/sysdep.h: Likewise.
38172 * sysdeps/i386/asm-syntax.h: Likewise.
38173 * sysdeps/s390/asm-syntax.h: Likewise.
38174 * sysdeps/unix/sysdep.h: Likewise.
38175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38177
7071ad79
JM
381782012-01-26 Joseph Myers <joseph@codesourcery.com>
38179
38180 * libio/libio.h: Remove __STDC__ conditionals.
38181 * malloc/obstack.h: Likewise.
38182 * math/complex.h: Likewise.
38183 * math/math.h: Likewise.
38184 * sysdeps/generic/_G_config.h: Likewise.
38185 * sysdeps/gnu/_G_config.h: Likewise.
38186 * sysdeps/mach/hurd/_G_config.h: Likewise.
38187 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38188 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38189 * sysdeps/sparc/bits/mathdef.h: Likewise.
38190
afc5ed09
UD
381912012-01-26 Ulrich Drepper <drepper@gmail.com>
38192
38193 [BZ #13583]
38194 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38195 Clean up HAS_* macros.
afc5ed09 38196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38197 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38198 possible.
38199 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38200 HAS_AVX.
38201 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38202 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38203 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38204 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38205 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38206
bdb6de1d
JM
382072012-01-25 Joseph Myers <joseph@codesourcery.com>
38208
38209 * elf/tst-unique3.cc (gets): Remove declaration.
38210 * elf/tst-unique3lib.cc (gets): Likewise.
38211 * elf/tst-unique3lib2.cc (gets): Likewise.
38212 * elf/tst-unique4.cc (gets): Likewise.
38213
b15549e6
UD
382142012-01-24 Ulrich Drepper <drepper@gmail.com>
38215
38216 * include/stdio.h: Add C++ protection. Add gets declarations and
38217 definitions.
38218 * debug/tst-chk1.c: Don't declare gets here.
38219 * stdio-common/tst-gets.c: Likewise.
38220
a037381f
JM
382212012-01-24 Joseph Myers <joseph@codesourcery.com>
38222
38223 * posix/glob: Remove directory.
38224
f1d4aa75
JM
382252012-01-24 Joseph Myers <joseph@codesourcery.com>
38226
38227 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38228
81c0c964
PT
382292012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38230
38231 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38232 of the non-standard EPFNOSUPPORT.
38233
0ea698ae
ST
382342011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38235
38236 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38237 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38238 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38239
d220b117
UD
382402012-01-21 Ulrich Drepper <drepper@gmail.com>
38241
38242 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38243
3e1aa84e
UD
382442012-01-20 Ulrich Drepper <drepper@gmail.com>
38245
38246 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38247 transient errors.
38248 * nscd/grpcache.c (cache_addgr): Likewise.
38249 * nscd/hstcache.c (cache_addhst): Likewise.
38250 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38251 * nscd/pwdcache.c (cache_addpw): Likewise.
38252 * nscd/servicescache.c (cache_addserv): Likewise.
38253
400aa020
UD
382542012-01-16 Ulrich Drepper <drepper@gmail.com>
38255
d77e7869
UD
38256 * malloc/malloc.c: Various cleanups.
38257 * malloc/hooks.c: Likewise.
38258
400aa020
UD
38259 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38260 * stdlib/bug-fmtmsg1.c: New file.
38261
38262 * stdlib/fmtmsg.c (init): Add missing unlock.
38263 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38264
e0a309cf
MP
382652012-01-12 Marek Polacek <polacek@redhat.com>
38266
38267 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38268 and _GNU_SOURCE.
38269
929d11c7
WS
382702012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38271
38272 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38273 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38274 macro to ensure uniqueness of label name.
38275 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38276 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38277
41d0e869
UD
382782012-01-11 Ulrich Drepper <drepper@gmail.com>
38279
0cc5ed3b
UD
38280 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38281
41d0e869
UD
38282 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38283 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38284 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38285 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38286
a47a831a
UD
382872012-01-10 Ulrich Drepper <drepper@gmail.com>
38288
daa891c0
UD
38289 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38290
38291 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38292 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38293 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38294
e58ef0f2
UD
38295 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38296
a47a831a 38297 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38298 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38299 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38301
38302 * math/bits/math-finite.h: Add ldexp support.
38303
a0bfc9c7
MP
383042012-01-10 Marek Polacek <polacek@redhat.com>
38305
38306 * locale/programs/localedef.h (show_archive_content): Add noreturn
38307 attribute.
38308
d6e97a1d
UD
383092012-01-09 Ulrich Drepper <drepper@gmail.com>
38310
38311 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38312
d5835c26
UD
383132012-01-08 Ulrich Drepper <drepper@gmail.com>
38314
e5f484c6
UD
38315 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38316
d5835c26
UD
38317 * io/Makefile (headers): Add bits/poll2.h.
38318
d1f741e9
WS
383192011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38320
38321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38322 typo #include statement.
38323
ec09c1c4
UD
383242012-01-08 Ulrich Drepper <drepper@gmail.com>
38325
38326 * include/sys/cdefs.h: Define __attribute_alloc_size.
38327 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38328 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38329 * elf/pldd.c: Likewise.
38330 * iconv/iconv_charmap.c: Likewise.
38331 * iconv/iconvconfig.c: Likewise.
38332 * iconv/strtab.c: Likewise.
38333 * locale/programs/locale.c: Likewise.
38334 * locale/programs/localedef.h: Likewise.
38335 * locale/programs/simple-hash.c: Likewise.
38336 * nscd/nscd.h: Likewise.
38337 * nss/makedb.c: Likewise.
38338 * sysdeps/generic/ldconfig.h: Likewise.
38339 * locale/programs/localedef.c: Remove xmalloc prototype.
38340 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38341
20b38e03
PP
383422012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38343
38344 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38345 appropriate.
38346
a0da5fe1
UD
383472012-01-08 Ulrich Drepper <drepper@gmail.com>
38348
1d5a644a 38349 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38350 * math/tst-CMPLX.c: New file.
1d5a644a 38351
8784a6db
UD
38352 * math/complex.h (CMPLXL): Fix typo.
38353
d9a216c0
UD
38354 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38355 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38356 GLIBC_2.16.
38357 * debug/tst-chk1.c: Add poll and ppoll tests.
38358 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38359 * include/sys/poll.h: Add hidden proto for ppoll.
38360 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38361 * sysdeps/mach/hurd/ppoll.c: Likewise.
38362 * io/ppoll.c: Likewise.
38363 * debug/poll_chk.c: New file.
38364 * debug/ppoll_chk.c: New file.
38365 * include/bits/poll2.h: New file.
38366 * io/bits/poll2.h: New file.
38367
ac097f5c
UD
38368 [BZ #1350]
38369 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38370
2119dcfa
UD
38371 * configure.in: static is always set to yes. Remove.
38372 * config.make.in: Don't set build-static.
38373 * Makeconfig: Remove use of build-static.
38374 * dlfcn/Makefile: Likewise.
38375 * elf/Makefile: Likewise.
38376 * math/Makefile: Likewise.
38377 * misc/Makefile: Likewise.
38378 * nptl/Makefile: Likewise.
38379 * sysdeps/mach/hurd/Makefile: Likewise.
38380
121766a9
UD
38381 * configure.in: PWD_P is not used anymore.
38382 * config.make.in: Remove PWD_P entry.
38383
51a1d39c 38384 * configure.in: Remove last remnants of RANLIB.
8720d066 38385 No need to check for signed size_t anymore.
215f4bdc
UD
38386 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38387 and IA-64.
3857022a 38388 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
38389 * aclocal.m4: Likewise.
38390
d3ed7225
UD
38391 * wcsmbs/mbrtoc16.c: Implement using towc function.
38392 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38393 * wcsmbs/wcsmbsload.c: Likewise.
38394 * iconv/gconv_simple.c: Likewise.
38395 * iconv/gconv_int.h: Likewise.
38396 * iconv/gconv_builtin.h: Likewise.
38397 * iconv/iconv_prog.c: Remove CHAR16 handling.
38398
38399 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38400
38401 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38402
a0da5fe1
UD
38403 * configure.in: Remove --with-elf and --enable-bounded options.
38404 Dont set base_machine for ia64. More non-ELF conditions removed.
38405 Remove testing and setting of leading underscore information.
38406 * config.make.in (build-bounded): Set to no.
38407 * config.h.in: Remove NO_UNDERSCORES entry.
38408 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38409 them.
38410 * csu/start.c: Remove !NO_UNDERSCORE code.
38411 * locale/localeinfo.h: Likewise.
38412 * sysdeps/generic/machine-gmon.h: Likewise.
38413 * sysdeps/generic/sysdep.h: Likewise.
38414 * sysdeps/i386/sysdep.h: Likewise.
38415 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38416 * sysdeps/mach/sysdep.h: Likewise.
38417 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38418 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38419 * sysdeps/sh/sysdep.h: Likewise.
38420 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38421 * sysdeps/unix/i386/sysdep.S: Likewise.
38422 * sysdeps/unix/sparc/start.c: Likewise.
38423 * sysdeps/unix/sparc/sysdep.S: Likewise.
38424 * sysdeps/unix/sparc/sysdep.h: Likewise.
38425 * sysdeps/unix/start.c: Likewise.
38426 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38427 * sysdeps/x86_64/sysdep.h: Likewise.
38428
df78418a
UD
384292012-01-07 Ulrich Drepper <drepper@gmail.com>
38430
a784e502
UD
38431 [BZ #13553]
38432 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38433 for non-gcc.
38434 * argp/argp-fmtstream.h: Use const instead __const.
38435 * argp/argp.h: Likewise.
38436 * assert/assert.h: Likewise.
38437 * bits/fenv.h: Likewise.
38438 * bits/sched.h: Likewise.
38439 * bits/sigset.h: Likewise.
38440 * bits/sigthread.h: Likewise.
38441 * catgets/nl_types.h: Likewise.
38442 * conform/data/pthread.h-data: Likewise.
38443 * crypt/crypt-private.h: Likewise.
38444 * crypt/crypt.h: Likewise.
38445 * crypt/crypt_util.c: Likewise.
38446 * ctype/ctype.h: Likewise.
38447 * debug/execinfo.h: Likewise.
38448 * debug/mbsnrtowcs_chk.c: Likewise.
38449 * debug/mbsrtowcs_chk.c: Likewise.
38450 * debug/wcsnrtombs_chk.c: Likewise.
38451 * debug/wcsrtombs_chk.c: Likewise.
38452 * debug/wcstombs_chk.c: Likewise.
38453 * dirent/dirent.h: Likewise.
38454 * dlfcn/dlfcn.h: Likewise.
38455 * elf/neededtest4.c: Likewise.
38456 * grp/grp.h: Likewise.
38457 * gshadow/gshadow.h: Likewise.
38458 * iconv/gconv.h: Likewise.
38459 * iconv/gconv_int.h: Likewise.
38460 * iconv/gconv_simple.c: Likewise.
38461 * iconv/iconv.h: Likewise.
38462 * iconv/loop.c: Likewise.
38463 * iconv/skeleton.c: Likewise.
38464 * include/aio.h: Likewise.
38465 * include/aliases.h: Likewise.
38466 * include/argz.h: Likewise.
38467 * include/arpa/inet.h: Likewise.
38468 * include/assert.h: Likewise.
38469 * include/dirent.h: Likewise.
38470 * include/dlfcn.h: Likewise.
38471 * include/execinfo.h: Likewise.
38472 * include/fcntl.h: Likewise.
38473 * include/fenv.h: Likewise.
38474 * include/glob.h: Likewise.
38475 * include/grp.h: Likewise.
38476 * include/libintl.h: Likewise.
38477 * include/mntent.h: Likewise.
38478 * include/netdb.h: Likewise.
38479 * include/pwd.h: Likewise.
38480 * include/rpc/netdb.h: Likewise.
38481 * include/sched.h: Likewise.
38482 * include/search.h: Likewise.
38483 * include/shadow.h: Likewise.
38484 * include/signal.h: Likewise.
38485 * include/stdio.h: Likewise.
38486 * include/stdlib.h: Likewise.
38487 * include/string.h: Likewise.
38488 * include/sys/socket.h: Likewise.
38489 * include/sys/stat.h: Likewise.
38490 * include/sys/statfs.h: Likewise.
38491 * include/sys/statvfs.h: Likewise.
38492 * include/sys/syslog.h: Likewise.
38493 * include/sys/time.h: Likewise.
38494 * include/sys/uio.h: Likewise.
38495 * include/time.h: Likewise.
38496 * include/unistd.h: Likewise.
38497 * include/utmp.h: Likewise.
38498 * include/wchar.h: Likewise.
38499 * include/wctype.h: Likewise.
38500 * inet/aliases.h: Likewise.
38501 * inet/arpa/inet.h: Likewise.
38502 * inet/netinet/ether.h: Likewise.
38503 * inet/netinet/in.h: Likewise.
38504 * intl/libintl.h: Likewise.
38505 * io/bits/fcntl2.h: Likewise.
38506 * io/fcntl.h: Likewise.
38507 * io/ftw.h: Likewise.
38508 * io/sys/poll.h: Likewise.
38509 * io/sys/stat.h: Likewise.
38510 * io/sys/statfs.h: Likewise.
38511 * io/sys/statvfs.h: Likewise.
38512 * io/utime.h: Likewise.
38513 * libio/bits/stdio.h: Likewise.
38514 * libio/bits/stdio2.h: Likewise.
38515 * libio/libio.h: Likewise.
38516 * libio/libioP.h: Likewise.
38517 * libio/stdio.h: Likewise.
38518 * locale/lc-ctype.c: Likewise.
38519 * locale/locale.h: Likewise.
38520 * login/utmp.h: Likewise.
38521 * malloc/arena.c: Likewise.
38522 * malloc/malloc.c: Likewise.
38523 * malloc/malloc.h: Likewise.
38524 * malloc/mcheck.c: Likewise.
38525 * malloc/mtrace.c: Likewise.
38526 * math/bits/mathcalls.h: Likewise.
38527 * math/fenv.h: Likewise.
38528 * math/math_private.h: Likewise.
38529 * misc/bits/error.h: Likewise.
38530 * misc/bits/syslog.h: Likewise.
38531 * misc/err.h: Likewise.
38532 * misc/error.h: Likewise.
38533 * misc/fstab.h: Likewise.
38534 * misc/mntent.h: Likewise.
38535 * misc/regexp.h: Likewise.
38536 * misc/search.h: Likewise.
38537 * misc/sgtty.h: Likewise.
38538 * misc/sys/mman.h: Likewise.
38539 * misc/sys/syslog.h: Likewise.
38540 * misc/sys/uio.h: Likewise.
38541 * misc/sys/xattr.h: Likewise.
38542 * misc/ttyent.h: Likewise.
38543 * nis/rpcsvc/ypclnt.h: Likewise.
38544 * nss/nss.h: Likewise.
38545 * posix/bits/unistd.h: Likewise.
38546 * posix/fnmatch.h: Likewise.
38547 * posix/glob.h: Likewise.
38548 * posix/sched.h: Likewise.
38549 * posix/spawn.h: Likewise.
38550 * posix/sys/wait.h: Likewise.
38551 * posix/unistd.h: Likewise.
38552 * posix/wordexp.h: Likewise.
38553 * pwd/pwd.h: Likewise.
38554 * resolv/netdb.h: Likewise.
38555 * resource/sys/resource.h: Likewise.
38556 * rt/aio.h: Likewise.
38557 * rt/bits/mqueue2.h: Likewise.
38558 * rt/mqueue.h: Likewise.
38559 * shadow/shadow.h: Likewise.
38560 * signal/signal.h: Likewise.
38561 * socket/send.c: Likewise.
38562 * socket/sendto.c: Likewise.
38563 * socket/sys/socket.h: Likewise.
38564 * stdio-common/printf.h: Likewise.
38565 * stdlib/bits/stdlib.h: Likewise.
38566 * stdlib/fmtmsg.h: Likewise.
38567 * stdlib/monetary.h: Likewise.
38568 * stdlib/stdlib.h: Likewise.
38569 * stdlib/ucontext.h: Likewise.
38570 * streams/stropts.h: Likewise.
38571 * string/argz.h: Likewise.
38572 * string/bits/string2.h: Likewise.
38573 * string/string.h: Likewise.
38574 * string/strings.h: Likewise.
38575 * sunrpc/rpc/auth.h: Likewise.
38576 * sunrpc/rpc/auth_des.h: Likewise.
38577 * sunrpc/rpc/clnt.h: Likewise.
38578 * sunrpc/rpc/netdb.h: Likewise.
38579 * sunrpc/rpc/pmap_clnt.h: Likewise.
38580 * sunrpc/rpc/xdr.h: Likewise.
38581 * sysdeps/generic/inttypes.h: Likewise.
38582 * sysdeps/generic/net/if.h: Likewise.
38583 * sysdeps/generic/sys/swap.h: Likewise.
38584 * sysdeps/gnu/net/if.h: Likewise.
38585 * sysdeps/gnu/utmpx.h: Likewise.
38586 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38587 * sysdeps/i386/i486/bits/string.h: Likewise.
38588 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38589 * sysdeps/s390/bits/string.h: Likewise.
38590 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38591 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38592 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38593 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38594 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38595 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38596 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38597 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38598 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38599 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38600 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38601 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38602 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38603 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38604 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38605 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38606 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38608 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38609 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38610 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38611 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38612 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38613 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38614 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38615 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38616 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38617 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38618 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38619 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38620 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38621 * sysvipc/sys/ipc.h: Likewise.
38622 * sysvipc/sys/msg.h: Likewise.
38623 * sysvipc/sys/sem.h: Likewise.
38624 * sysvipc/sys/shm.h: Likewise.
38625 * termios/termios.h: Likewise.
38626 * time/sys/time.h: Likewise.
38627 * time/time.h: Likewise.
38628 * wcsmbs/bits/wchar2.h: Likewise.
38629 * wcsmbs/uchar.h: Likewise.
38630 * wcsmbs/wchar.h: Likewise.
38631 * wctype/wctype.h: Likewise.
38632
0269750c
UD
38633 [BZ #13551]
38634 * Makeconfig: Remove all but ELF support including AIX support.
38635 * Makerules: Likewise.
38636 * config.h.in: Likewise.
38637 * config.make.in: Likewise.
38638 * configure: Likewise.
38639 * configure.in: Likewise.
38640 * csu/Makefile: Likewise.
38641 * csu/version.c: Likewise.
38642 * debug/Makefile: Likewise.
38643 * dlfcn/Makefile: Likewise.
38644 * elf/Makefile: Likewise.
38645 * extra-lib.mk: Likewise.
38646 * iconv/Makefile: Likewise.
38647 * include/libc-symbols.h: Likewise.
38648 * include/shlib-compat.h: Likewise.
38649 * resolv/Makefile: Likewise.
38650 * resolv/res_libc.c: Likewise.
38651 * rt/Makefile: Likewise.
38652 * sysdeps/i386/asm-syntax.h: Likewise.
38653 * sysdeps/i386/sysdep.h: Likewise.
38654 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38655 * sysdeps/mach/sysdep.h: Likewise.
38656 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38657 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38658 * sysdeps/s390/asm-syntax.h: Likewise.
38659 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38660 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38661 * sysdeps/sh/sysdep.h: Likewise.
38662 * sysdeps/unix/sparc/sysdep.h: Likewise.
38663 * sysdeps/wordsize-32/divdi3.c: Likewise.
38664 * sysdeps/x86_64/sysdep.h: Likewise.
38665
00bbd29b
UD
38666 * argp/Versions: Remove _argp_unlock_xxx.
38667
38668 [BZ #13559]
38669 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38670 * abilist/libBrokenLocale.abilist: Likewise.
38671 * abilist/libanl.abilist: Likewise.
38672 * abilist/libc.abilist: Likewise.
38673 * abilist/libcrypt.abilist: Likewise.
38674 * abilist/libdl.abilist: Likewise.
38675 * abilist/libm.abilist: Likewise.
38676 * abilist/libnsl.abilist: Likewise.
38677 * abilist/libpthread.abilist: Likewise.
38678 * abilist/libresolv.abilist: Likewise.
38679 * abilist/librt.abilist: Likewise.
38680 * abilist/libthread_db.abilist: Likewise.
38681 * abilist/libutil.abilist: Likewise.
38682 * abilist/libnss_db.abilist: New file.
38683
38684 * scripts/abilist.awk: Add support for indirect functions.
38685
a2693a0e
UD
38686 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38687
3f05895f
UD
38688 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38689
ecb6fb48
UD
38690 * shlib-versions: Remove entries for ports architectures.
38691
664f8cb9
UD
38692 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38693 files in ports.
38694 * elf/stackguard-macros.h: Remove support for IA-64.
38695 * elf/tst-auditmod1.c: Likewise.
38696 * sysdeps/generic/ldsodefs.h: Likewise.
38697
7ae81d88
UD
38698 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38699 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38700 configure files.
38701
bdeba135
UD
38702 [BZ #13552]
38703 * configure.in: Remove --enable-omitfp support.
38704 * FAQ.in: Adjust.
38705 * config.make.in: Likewise.
38706 * Makeconfig: Likewise.
38707 * manual/install.texi: Likewise.
38708
d75a0a62
UD
38709 In case anyone cares, the IA-64 architecture could move to ports.
38710 * sysdeps/ia64/*: Removed.
38711 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38712 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38713
dcc9756b
UD
38714 [BZ #13555]
38715 * configure.in: Remove entries for unsupported architectures.
38716
d3761ebc 38717 [BZ #13533]
9954432e
UD
38718 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38719 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38720 routines.
38721 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38722 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38723 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38724 fall back to using wcrtomb.
38725 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38726 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38727 renaming.
38728 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38729 * wcsmbs/tst-c16c32-1.c: New file.
38730
38731 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38732 local variable.
38733
c3a87236
UD
38734 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38735
28926a1b
UD
38736 * elf/tst-unique3.cc: Add explicit declaration of gets.
38737 * elf/tst-unique3lib.cc: Likewise.
38738 * elf/tst-unique3lib2.cc: Likewise.
38739 * elf/tst-unique4.cc: Likewise.
38740
df78418a
UD
38741 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38742
8ecd6b2a
JM
387432012-01-06 Joseph Myers <joseph@codesourcery.com>
38744
38745 [BZ #13566]
38746 * assert/assert.h (static_assert): Don't define for C++.
38747 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38748 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38749
9f115170
UD
387502012-01-03 Ulrich Drepper <drepper@gmail.com>
38751
5e0d0300
UD
38752 * iconv/loop.c (single loop): Fix assertion in storing of
38753 remaining bytes.
38754
9f115170
UD
38755 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38756
81fb02b0
UD
387572012-01-01 Ulrich Drepper <drepper@gmail.com>
38758
38759 * posix/getconf.c: Update copyright year.
38760 * nss/getent.c: Likewise.
a316c1f6 38761 * nss/makedb.c: Likewise.
81fb02b0
UD
38762 * iconv/iconvconfig.c: Likewise.
38763 * iconv/iconv_prog.c: Likewise.
38764 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38765 * elf/pldd.c: Likewise.
38766 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38767 * catgets/gencat.c: Likewise.
38768 * csu/version.c: Likewise.
38769 * elf/ldd.bash.in: Likewise.
38770 * elf/sprof.c (print_version): Likewise.
38771 * locale/programs/locale.c: Likewise.
38772 * locale/programs/localedef.c: Likewise.
a316c1f6 38773 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38774 * nscd/nscd.c (print_version): Likewise.
38775 * debug/xtrace.sh: Likewise.
38776 * malloc/memusage.sh: Likewise.
38777 * malloc/mtrace.pl: Likewise.
38778 * debug/catchsegv.sh: Likewise.
38779
2ba92745
JJ
387802011-12-30 Jakub Jelinek <jakub@redhat.com>
38781
38782 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38783 pure attribute.
38784
dadebdae
UD
387852011-12-24 Ulrich Drepper <drepper@gmail.com>
38786
d3761ebc 38787 [BZ #13533]
db6af3eb
UD
38788 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38789 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38790 transformations.
38791 * iconv/gconv_int.h: Likewise.
38792 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38793 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38794 from libc for GLIBC_2.16.
38795 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38796 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38797 * wcsmbs/uchar.h: Really define mbstate_t.
38798 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38799 * wcsmbs/c16rtomb.c: New file.
38800 * wcsmbs/mbrtoc16.c: New file.
38801 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38802 for C/POSIX locale.
38803 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38804 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38805
dadebdae
UD
38806 * wcsmbs/wchar.h: Add missing __restrict.
38807
67371b56
UD
388082011-12-23 Ulrich Drepper <drepper@gmail.com>
38809
74033a25
UD
38810 [BZ #13532]
38811 * time/Makefile (routines): Add timespec_get.
38812 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38813 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38814 timespec for ISO C11.
38815 * time/timespec_get.c: New file.
38816 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38817 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38818
380d7e87
UD
38819 [BZ #13531]
38820 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38821 * stdlib/stdlib.h: Declare aligned_alloc.
38822 * Versions.def: Add GLIBC_2.16 for libc.
38823 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38824
4e9e7a35
UD
38825 [BZ 13527]
38826 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38827 ISO C11.
38828
380d7e87 38829 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38830 code.
38831
03a71829
UD
38832 [BZ #13528]
38833 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38834
839e283e
UD
38835 [BZ #13529]
38836 * assert/assert.h (static_assert): Define.
38837
ce5294e2 38838 * version.h: Update for 2.16 development version.
90fa7312 38839
8d44e150 38840 [BZ #13526]
d7809905
UD
38841 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38842 _ISOC11_SOURCE.
38843
c0da14cd
UD
38844 * version.h (RELEASE): Bump for 2.15 release.
38845 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38846
530a3249
MP
38847 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38848 Patch by Marek Polacek <mpolacek@redhat.com>.
38849
67371b56
UD
38850 * bits/byteswap.h: Protect long long constants with __extension__.
38851 * sysdeps/i386/bits/byteswap.h: Likewise.
38852 * sysdeps/ia64/bits/byteswap.h: Likewise.
38853 * sysdeps/s390/bits/byteswap.h: Likewise.
38854 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38855
15db4de1
LD
388562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38857
38858 [BZ #13540]
bbe315ea
LD
38859 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38860 destination buffer.
15db4de1
LD
38861 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38862
2b2596b1
MP
388632011-12-23 Marek Polacek <polacek@redhat.com>
38864
38865 * elf/dl-addr.c (determine_info): Add inline keyword.
38866 * elf/tst-auditmod4b.c (check_avx): Likewise.
38867 * elf/tst-auditmod6b.c (check_avx): Likewise.
38868 * elf/tst-auditmod6c.c (check_avx): Likewise.
38869 * elf/tst-auditmod7b.c (check_avx): Likewise.
38870
70c6c246
UD
388712011-12-23 Ulrich Drepper <drepper@gmail.com>
38872
38873 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38874 !__SSE_MATH__.
38875
c044cf14
LD
388762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38877
15db4de1 38878 [BZ #13540]
c044cf14
LD
38879 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38880 processing for last bytes.
38881
6b13d9d9
BH
388822011-08-06 Bruno Haible <bruno@clisp.org>
38883
d455f537
BH
38884 [BZ #13061]
38885 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38886 U+0385, not to U+1FEE.
38887
6b13d9d9
BH
38888 [BZ #13062]
38889 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38890 entry for U+00A5 U+0301.
38891
db910efd
UD
388922011-12-22 Ulrich Drepper <drepper@gmail.com>
38893
27deeafc
UD
38894 [BZ #13166]
38895 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38896 buffer for the output is too small.
38897
aed9d171
UD
38898 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38899 optimization.
38900
db910efd
UD
38901 [BZ #13185]
38902 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38903 SSE flags if possible.
38904
2bd779ae
LD
389052011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38906
e7f9dac3 38907 [BZ #13540]
2bd779ae
LD
38908 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38909 processing for last bytes.
38910
154bfc16
JM
389112011-12-22 Joseph Myers <joseph@codesourcery.com>
38912
38913 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38914 (syscall-list-default-options, syscall-list-default-condition)
38915 (syscall-list-includes): Define.
38916 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38917 list of ABIs and options and #if conditions for each ABI. Do not
38918 handle common syscalls between ABIs specially.
38919 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38920 Remove.
38921 (syscall-list-variants, syscall-list-32bit-options)
38922 (syscall-list-32bit-condition, syscall-list-64bit-options)
38923 (syscall-list-64bit-condition): Define.
38924 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38925 (syscall-list-variants, syscall-list-32bit-options)
38926 (syscall-list-32bit-condition, syscall-list-64bit-options)
38927 (syscall-list-64bit-condition): Define.
38928 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38929 Remove.
38930 (syscall-list-variants, syscall-list-32bit-options)
38931 (syscall-list-32bit-condition, syscall-list-64bit-options)
38932 (syscall-list-64bit-condition): Define.
38933 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38934 Remove.
38935 (syscall-list-variants, syscall-list-32bit-options)
38936 (syscall-list-32bit-condition, syscall-list-64bit-options)
38937 (syscall-list-64bit-condition): Define.
38938
21eaf3a5
UD
389392011-12-22 Ulrich Drepper <drepper@gmail.com>
38940
16c6f992
UD
38941 * locale/iso-639.def: Add brx entry.
38942
41043168
UD
38943 [BZ #13328]
38944 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38945 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38946
21eaf3a5
UD
38947 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38948 __feraiseexcept_renamed.
38949
e3a851a2
UD
389502011-12-21 Ulrich Drepper <drepper@gmail.com>
38951
4920765e
UD
38952 [BZ #13538]
38953 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38954 EPOLLET with unsigned values.
38955 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38957
e3a851a2
UD
38958 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38959 to large cancellation.
38960 * math/s_cacoshf.c: Likewise.
38961 * math/s_cacoshl.c: Likewise.
38962
b27e24b8
RK
389632011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38964
38965 [BZ #13305]
aebefeee 38966 [BZ #12786]
b27e24b8
RK
38967 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38968 * math/s_cacoshf.c: Likewise.
38969 * math/s_cacoshl.c: Likewise.
38970
ee190f67
UD
389712011-12-21 Ulrich Drepper <drepper@gmail.com>
38972
38973 [BZ #13439]
38974 * iconv/gconv.h: Define __GCONV_SWAP.
38975 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38976 * iconvdata/utf-16.c: Likewise.
38977 * iconvdata/utf-32.c: Likewise.
38978
707f25df
AS
389792011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38980
38981 [BZ #13524]
38982 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38983 numerator after shifting it by one limb.
38984
d2daaa1e
RÁE
389852011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38986
38987 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38988 under [__USE_EXTERN_INLINES].
38989
a4647e72
UD
389902011-12-17 Ulrich Drepper <drepper@gmail.com>
38991
38992 [BZ #13446]
38993 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38994
f0b264f1
AZ
389952011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38996
38997 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38998 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38999 optimized code.
39000 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39001 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39002 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39003 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39004 for strncasecmp/strncasecmp_l compilation.
39005 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39006 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39007
8ef4f244
MP
390082011-12-08 Marek Polacek <mpolacek@redhat.com>
39009
39010 [BZ #13484]
39011 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39012 of __asm__.
39013
97ac2654
UD
390142011-12-17 Ulrich Drepper <drepper@gmail.com>
39015
39016 [BZ #13506]
39017 * time/tzfile.c (__tzfile_read): Check values from file header.
39018
91d2a845
WS
390192011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39020
39021 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39022 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39023 * powerpc/powerpc32/dl-start.S: Likewise.
39024 * powerpc/powerpc32/elf/start.S: Likewise.
39025 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39026 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39027 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39028 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39029 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39030 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39031 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39032 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39033 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39034 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39035 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39036 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39037 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39038 * powerpc/powerpc32/memset.S: Likewise.
39039 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39040 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39041 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39042 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39043 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39044 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39045 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39046 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39047 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39048 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39049 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39050 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39051 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39052
a1267ba1
AZ
390532011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39054
39055 * math/libm-test.inc: Added more nearbyint tests.
39056 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39057 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39058 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39059 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39060
ad8ac1bd
RL
390612011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39062
39063 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39064 FD_CLOEXEC.
39065
1d3e4b61
UD
390662011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39067
39068 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39069 Add wcscpy-ssse3 wcscpy-c.
39070 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39071 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39072 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39073 * sysdeps/x86_64/wcschr.S: New file.
39074 * sysdeps/x86_64/wcsrchr.S: New file.
39075 * string/test-strcmp.c: Remove checking of wcscmp function for
39076 wrong alignments.
39077 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39078 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39079 wcsrchr-sse2 wcsrchr-c.
39080 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39081 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39082 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39083 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39084 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39085 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39086 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39087 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39088 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39089 * wcsmbc/wcschr.c (WCSCHR): New macro.
39090
5b330a2d
UD
390912011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39092
39093 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39094 * wcsmbs/test-wcsrchr.c: New file.
39095 * string/test-strrchr.c: Add wcsrchr support.
39096 (WIDE): New macro.
39097 * wcsmbs/test-wcscpy.c: New file.
39098 * string/test-strcpy.c: Add wcscpy support.
39099 (WIDE): New macro.
26428b7c 39100
f039c043
UD
391012011-12-10 Ulrich Drepper <drepper@gmail.com>
39102
39103 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39104 the inner loop.
39105
850fb039
AS
391062011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39107
39108 [BZ #13472]
39109 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39110
4efbd5cb
UD
391112011-12-04 Ulrich Drepper <drepper@gmail.com>
39112
52ff5dd0 39113 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39114 Minor optimizations.
52ff5dd0 39115
4efbd5cb
UD
39116 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39117 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39118 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39119
8a426e12
UD
391202011-12-03 Ulrich Drepper <drepper@gmail.com>
39121
aff2453d
UD
39122 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39123 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39124 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39125 for gcc to avoid warnings.
39126 * inet/Makefile (tests): Add tst-checks.
39127 * inet/tst-checks.c: New file.
39128
39129 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39130 warning.
39131
39132 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39133 __wmemcmp_sse2.
39134
39135 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39136 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39137
8a426e12
UD
39138 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39139
9bea3473
UD
391402011-12-02 Ulrich Drepper <drepper@gmail.com>
39141
3a965496
UD
39142 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39143 problem.
39144
9bea3473
UD
39145 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39146
f101631b
UD
391472011-11-29 Joseph Myers <joseph@codesourcery.com>
39148
39149 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39150 conditional on GCC version.
39151 (__arch_compare_and_exchange_val_8_acq)
39152 (__arch_compare_and_exchange_val_16_acq)
39153 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39154 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39155 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39156
a98275aa
UD
391572011-12-02 Joseph Myers <joseph@codesourcery.com>
39158
39159 * sysdeps/sh/backtrace.c: New file.
39160
d4cc29a2
AS
391612011-12-02 Andreas Schwab <schwab@redhat.com>
39162
39163 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39164 parenthesis.
39165
6257af2d
AS
391662011-12-01 Andreas Schwab <schwab@redhat.com>
39167
39168 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39169 falling back to utime.
39170
b5f44c1a
AS
391712011-11-30 Andreas Schwab <schwab@redhat.com>
39172
39173 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39174 expectations for float.
39175
f3a6cc0a
AS
391762011-11-29 Andreas Schwab <schwab@redhat.com>
39177
39178 * locale/weight.h (findidx): Add parameter len.
39179 * locale/weightwc.h (findidx): Likewise.
39180 * posix/fnmatch_loop.c (FCT): Adjust caller.
39181 * posix/regcomp.c (build_equiv_class): Likewise.
39182 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39183 * posix/regexec.c (check_node_accept_bytes): Likewise.
39184 * string/strcoll_l.c (STRCOLL): Likewise.
39185 * string/strxfrm_l.c (STRXFRM): Likewise.
39186
9d65ea3a
UD
391872011-11-17 Ulrich Drepper <drepper@gmail.com>
39188
39189 * Makefile.in: Remove CVSOPT handling.
39190 * configure.in: Remove use of AC_REVISION.
39191 * iconvdata/Makefile (distribute): No need to filter out CVS.
39192 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39193 handling.
39194
5583a086
AS
391952011-11-16 Andreas Schwab <schwab@redhat.com>
39196
39197 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39198 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39199 [USE_AS_STRNCASECMP_L]: Likewise.
39200 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39201 NO_TLS_DIRECT_SEG_REFS.
39202 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39203 Fix argument offsets for non-PIC.
39204 [USE_AS_STRNCASECMP_L]: Likewise.
39205 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39206 NO_TLS_DIRECT_SEG_REFS.
39207
d62a8200
UD
392082011-11-15 Ulrich Drepper <drepper@gmail.com>
39209
9d65ea3a 39210 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39211 O_CLOEXEC.
39212 * locale/loadlocale.c (_nl_load_locale): Likewise.
39213
09f93bd3
AS
392142011-11-15 Andreas Schwab <schwab@redhat.com>
39215
446514f9
AS
39216 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39217 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39218 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39219 (SYSCALL_GETTIME): Set errno on error.
39220
09f93bd3
AS
39221 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39222 count references to noai6ai_cached.
39223
312be3f9
UD
392242011-11-15 Ulrich Drepper <drepper@gmail.com>
39225
39226 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39227
39228 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39229 FD_CLOEXEC for /proc/self/maps.
39230
39231 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39232 FD_CLOEXEC for /proc/meminfo.
39233
39234 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39235 gai.conf.
39236
39237 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39238 FD_CLOEXEC for given file.
39239
39240 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39241
39242 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39243 FD_CLOEXEC for /etc/hosts.
39244 (_gethtent): Likewise.
39245
39246 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39247
39248 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39249 cancellation and set FD_CLOEXEC for /etc/netgroup.
39250
39251 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39252 reading /etc/publickey.
39253
39254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39255 allow cancellation when reading /etc/group.
39256
39257 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39258 cancellation.
39259 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39260
39261 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39262 when using data file.
39263
39264 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39265
39266 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39267 (write_nis_obj): Use "c" and "e" in fopen.
39268
39269 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39270
39271 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39272
39273 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39274
39275 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39276
39277 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39278 locale.alias.
39279
39280 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39281
39282 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39283
39284 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39285
39286 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39287 file parsing and set FD_CLOEXEC.
39288
82af0fa8
UD
392892011-11-14 Ulrich Drepper <drepper@gmail.com>
39290
39291 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39292
a5fb313c
AS
392932011-11-14 Andreas Schwab <schwab@redhat.com>
39294
39295 * malloc/arena.c (arena_get2): Don't call reused_arena when
39296 _int_new_arena failed.
39297
6abf3465
UD
392982011-11-14 Ulrich Drepper <drepper@gmail.com>
39299
39300 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39301 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39302 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39303 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39304 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39305 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39306 to compile strcasecmp and strncasecmp.
39307 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39308 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39309
39310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39311
76e3966e
UD
393122011-11-13 Ulrich Drepper <drepper@gmail.com>
39313
39314 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39315 locale-defines.sym to gen-as-const-headers.
39316 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39317 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39318 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39319 to compile strcasecmp and strncasecmp.
39320 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39321 strcasecmp_l and strncasecmp_l.
39322 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39323 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39324 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39325 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39326 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39327 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39328 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39329 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39330 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39331 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39332 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39333
ab26144e
UD
393342011-11-12 Ulrich Drepper <drepper@gmail.com>
39335
7edb22ef
UD
39336 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39337 result of SYSDEP_GETTIME_CPU to retval.
39338 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39339 parameter list to macro. Remove trailing semicolon. Adjust users.
39340
9694fc44
UD
39341 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39342 variable.
39343
8ad89ef8
UD
39344 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39345 mantissa words.
39346 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39347
0c822ef9
UD
39348 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39349 from unused variable.
39350
874e0564
UD
39351 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39352 DWARF definitions.
39353 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39354 for assembling.
39355
3a2edc79
UD
39356 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39357 over namespaces.
39358
f3c2577f
UD
39359 * sunrpc/rpc_prot.c (rejected): Fix case value.
39360
294ce126
UD
39361 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39362 unsigned long long int to avoid warnings in shift.
39363
5e2b63c6
UD
39364 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39365 of use of trans.
39366 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39367 variable tmp.
39368
e7f4b08e
UD
39369 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39370 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39371 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39372
ab26144e
UD
39373 * nis/nis_table.c (nis_list): Use variable of correct type for
39374 result of __follow_path call.
39375
8a6d5255
AZ
393762011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39377
39378 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39379 of math functions ceil, trunc, floor, round, and sqrt, when
39380 avaliable on the platform.
39381 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39382 name clash.
39383 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39384 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39385 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39386
aaddc98c
MP
393872011-10-30 Marek Polacek <mpolacek@redhat.com>
39388
39389 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39390 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39391
95b7042b
RM
393922011-11-11 Roland McGrath <roland@hack.frob.com>
39393
39394 * include/unistd.h: Fix __readlink return type.
39395 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39396
57769839
UD
393972011-11-11 Ulrich Drepper <drepper@gmail.com>
39398
39399 * stdlib/ucontext.h: Undo last change for makecontext.
39400
edc5984d
AS
394012011-11-11 Andreas Schwab <schwab@redhat.com>
39402
98591e58
AS
39403 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39404
edc5984d
AS
39405 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39406 * setjmp/setjmp.h: Mark functions as non-leaf.
39407 * setjmp/bits/setjmp2.h: Likewise.
39408 * stdlib/ucontext.h: Likewise.
39409
77cdc054
AS
394102011-11-10 Andreas Schwab <schwab@redhat.com>
39411
39412 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39413 (reused_arena): Don't check arena limit.
39414 (arena_get2): Atomically check arena limit.
39415
fe72eebd
UD
394162011-11-08 Ulrich Drepper <drepper@gmail.com>
39417
5f078c32
UD
39418 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39419 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39420
fe72eebd
UD
39421 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39422 instructions.
39423
ae1bc2fa
AS
394242011-11-07 Andreas Schwab <schwab@redhat.com>
39425
7583a88d
AS
39426 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39427 handler when locking.
39428
ae1bc2fa
AS
39429 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39430 Fix size of allocated buffer.
39431
10fb0bfa
AS
394322011-11-04 Andreas Schwab <schwab@redhat.com>
39433
998832a4
AS
39434 [BZ #10103]
39435 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39436 declarations for long double functions.
39437 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39438
10fb0bfa
AS
39439 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39440
3d7ba52b
AS
394412011-11-03 Andreas Schwab <schwab@redhat.com>
39442
a9ae54a1
AS
39443 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39444 installed.
39445
3d7ba52b
AS
39446 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39447 is disabled.
39448
bc8db248
ST
394492011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39450
39451 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39452
45b96dd6
AS
394532011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39454
647776f6
AS
39455 * include/alloca.h (stackinfo_alloca_round): Define.
39456 (extend_alloca): Use it.
39457 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39458 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39459 here.
39460
d91a8b93
AS
39461 * scripts/check-local-headers.sh: Ignore libaudit.h.
39462
45b96dd6
AS
39463 * nscd/Makefile (extra-objs): Make recursively expanded.
39464
432d41ce
UD
394652011-11-01 Ulrich Drepper <drepper@gmail.com>
39466
34372fc6
UD
39467 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39468 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39469
fadb59f8
UD
39470 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39471 * posix/tst-rfc3484-2.c: Likewise.
39472 * posix/tst-rfc3484-3.c: Likewise.
39473
78239589
UD
39474 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39475 process_vm_writev.
39476 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39477 process_vm_writev.
39478 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39479 process_vm_writev from libc using GLIBC_2.15 version.
39480
432d41ce
UD
39481 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39482
02f9c6cf
PP
394832011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39484
39485 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39486 stack usage.
39487
3a2c0242
UD
394882011-10-31 Ulrich Drepper <drepper@gmail.com>
39489
f4ec4833
UD
39490 [BZ #13367]
39491 * nss/getent.c (initgroups_keys): Show error message in case no group
39492 names are given.
39493
3a2c0242
UD
39494 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39495 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39496 __bump_nl_timestamp.
39497 * nscd/connections (nscd_init): When host database is served open
39498 netlink socket and request notification about configuration changes.
39499 (main_loop_poll): Track netlink file descriptor and bump timestamp
39500 in case data becomes available.
39501 (main_loop_epoll): Likewise.
39502 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39503 (database_pers_head): Add extra_data fileds.
39504 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39505 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39506 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39507 Adjust caller.
39508 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39509 in6ai data, call __free_in6ai.
39510 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39511 Add -DHAVE_NETLINK.
39512 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39513 interface information. Reuse previous data if netlink timestamp
39514 is not changed.
39515 (__bump_nl_timestamp): New function.
39516 (__free_in6ai): New function.
39517
636064eb
UD
395182011-10-30 Ulrich Drepper <drepper@gmail.com>
39519
39520 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39521 close_not_cancel_no_status here.
39522 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39523
9beb2334
UD
395242011-10-29 Ulrich Drepper <drepper@gmail.com>
39525
6ef76f3b
UD
39526 [BZ #13276]
39527 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39528 return value.
39529
0ffc4f3e 39530 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
39531 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39532 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39533
cb95113e
UD
395342011-07-03 Andreas Jaeger <aj@suse.de>
39535
39536 [BZ #10709]
39537 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39538 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39539 * math/libm-test.inc (sin_test): Add test case.
39540
a1b560ff
UD
395412011-10-29 Ulrich Drepper <drepper@gmail.com>
39542
c9aaface
UD
39543 [BZ #13337]
39544 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39545 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39546
d272e7f1
UD
39547 * elf/chroot_canon.c (chroot_canon): Cleanups.
39548
1bc33071
UD
39549 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39550
1760874d
TJ
39551 [BZ #13335]
39552 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39553 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39554
51d91b18
UD
39555 * string/test-strchr.c: Make usable for strchrnul testing.
39556 * string/test-strchrnul.c: New file.
39557 * string/Makefile (strop-tests): Add strchrnul.
39558
a1b560ff 39559 * po/it.po: Update from translation team.
b611fb81 39560 * po/es.po: Likewise.
a1b560ff 39561
a5b81e1f
UD
395622011-10-28 Ulrich Drepper <drepper@gmail.com>
39563
fd52bc6d
UD
39564 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39565 the three constants needed as parameters. Drop the others.
39566 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39567 __m128i_strloadu_tolower.
52e4b9eb
UD
39568 Create and initialize variable zero and use it in all the places
39569 where _mm_setzero_si128 was used.
fd52bc6d 39570
a5b81e1f
UD
39571 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39572 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39573 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39574 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39575 anymore.
39576 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39577 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39578 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39579 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39580 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39581 __mpranred, __mptan.
39582 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39583 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39584 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39585 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39586 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39587 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39588 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39589 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39590 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39591
b4343346
AS
395922011-10-28 Andreas Schwab <schwab@redhat.com>
39593
0c92d8a8
AS
39594 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39595 redefine if SHARED.
39596 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39597
b4343346
AS
39598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39599 wide char related routines to wcsmbs subdir.
39600
3871f58f
AS
396012011-10-27 Andreas Schwab <schwab@redhat.com>
39602
39603 [BZ #13344]
39604 * misc/sys/cdefs.h (__THROWNL): Define.
39605 * posix/unistd.h: Use __THREADNL instead of __THREAD
39606 for memory synchronization functions.
39607
94d44d9f
RM
396082011-10-26 Roland McGrath <roland@hack.frob.com>
39609
21b64b15 39610 [BZ #13349]
94d44d9f
RM
39611 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39612 doesn't exist.
39613 * manual/stdio.texi (Obstack Streams): Node removed.
39614
f6ce9294
AS
396152011-10-26 Andreas Schwab <schwab@redhat.com>
39616
80479147
AS
39617 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39618 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39619 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39620
f6ce9294
AS
39621 * math/math_private.h (math_force_eval): Allow non-addressable
39622 arguments.
39623 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39624
618280a1
UD
396252011-10-25 Ulrich Drepper <drepper@gmail.com>
39626
e0016b11
UD
39627 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39628 file is not needed.
39629
39630 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39631 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39632 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39633 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39634 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39635 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39636 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39637 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39638 Add AVX variants.
39639 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39640 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39641 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39642 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39643 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39644 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39645 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39646 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39647 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39648 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39649 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39650 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39651 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39652 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39653 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39654 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39655 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39656 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39657 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39658
39659 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39660 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39661
618280a1
UD
39662 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39663 place. Use VEX encoding when compiling for AVX.
39664
37822576
AS
396652011-10-25 Andreas Schwab <schwab@redhat.com>
39666
1f1e1947
AS
39667 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39668 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39669
37822576
AS
39670 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39671
31ea014d
UD
396722011-10-25 Ulrich Drepper <drepper@gmail.com>
39673
d7826aa1 39674 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39675 useless if() expression.
d7826aa1
UD
39676 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39677 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39678 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39679 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39680 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39681 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39682 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39683 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39684 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39685 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39686 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39687 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39688 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39689 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39690 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39691 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39692 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39693 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39694 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39695
31ea014d
UD
39696 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39697
16437fec
AS
396982011-10-25 Andreas Schwab <schwab@redhat.com>
39699
39700 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39701 condition.
39702 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39703
31d3cc00
UD
397042011-10-25 Ulrich Drepper <drepper@gmail.com>
39705
39706 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39707 .text section. Avoid duplicate constants.
39708 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39709 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39710 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39711 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39712 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39713 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39716 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39717 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39718 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39719 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39720 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39721 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39722 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39723 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39724 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39725 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39726 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39728 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39729 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39730 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39731 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39732 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39733 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39734 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39735 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39736 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39737 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39738 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39739 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39740 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39741 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39742 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39743 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39744 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39745 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39746 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39747 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39748 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39749 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39750 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39751 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39752 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39753
58985aa9
UD
397542011-10-24 Ulrich Drepper <drepper@gmail.com>
39755
202c9deb
UD
39756 * sysdeps/x86_64/dla.h: Move to ...
39757 * sysdeps/x86_64/fpu/dla.h: ...here.
39758 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39759 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39760
af968f62
UD
39761 * config.make.in: Add have-mfma4 entry.
39762 * configure.in: Substitute libc_cv_cc_fma4.
39763 * math/Makefile (dbl-only-routines): Add sincostab.
39764 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39765 Use __sincostab not sincos.
39766 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39767 name is a macro.
39768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39770 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39772 using __copysign.
39773 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39774 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39775 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39776 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39777 and __inv.
39778 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39779 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39780 __copysign.
39781 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39782 define aliases when function name is a macro.
39783 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39784 sysdeps/ieee754/dbl-64/sincos.tbl.
39785 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39786 fma4-enabled routines.
39787 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39788 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39789 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39790 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39791 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39792 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39794 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39795 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39796 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39797 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39798 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39799 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39800 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39801 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39802 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39803 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39804 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39805 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39806 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39807 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39808 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39809 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39810 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39811 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39812 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39813 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39814 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39815 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39816 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39817
58985aa9
UD
39818 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39819 rename.
39820 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39822 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39824 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39825 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39826 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39828
a201fbcf
AS
398292011-10-24 Andreas Schwab <schwab@redhat.com>
39830
39831 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39832
fc2ee42a
LD
398332011-10-23 Ulrich Drepper <drepper@gmail.com>
39834
bb3129bd
UD
39835 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39836
0275fff8
UD
39837 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39838 prediction.
39839 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39840
2fa2ae85
UD
39841 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39842 Remove unused variable magic_bits.
39843 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39844
fc2ee42a
LD
39845 * string/strnlen.c: Define and use STRNLEN macro.
39846 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39847 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39848 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39849 * wcsmbs/wcslen.c: Define and use WCSLEN.
39850 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39851 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39852 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39853 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39854 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39855 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39856 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39857
ce7dd29f
LD
398582011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39859
39860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39861 strnlen-sse2-no-bsf.
39862 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39864 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39865 Add strnlen support.
39866 (USE_AS_STRNLEN): New macro.
39867 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39868 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39869 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39870 * sysdeps/x86_64/wcslen.S: New file.
39871
979c70a3
MZ
398722011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39873
39874 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39875 XMM-moves are used for copying on small sizes.
39876
2d09f82f
LD
398772011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39878
39879 * wcsmbs/Makefile (strop-tests): Add wcschr.
39880 * wcsmbs/test-wcschr.c: New file.
39881 * string/test-strchr.c: Update.
39882 Add wcschr support.
39883 (WIDE): New macro.
39884
619fccca
LD
398852011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39886
2d09f82f 39887 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39888 * wcsmbs/test-wcslen.c: New file.
39889 * string/test-strlen.c: Update.
39890 Add wcslen support.
39891 (WIDE): New macro.
39892
09f699ea
UD
398932011-10-23 Ulrich Drepper <drepper@gmail.com>
39894
39895 * po/it.po: Update from translation team.
39896
95584d3b
LD
398972011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39898
39899 * sysdeps/x86_64/wcscmp.S: Update.
39900 Fix wrong comparison semantics.
39901 wcscmp shall use signed comparison not unsigned.
39902 Don't use substraction to avoid overflow bug.
39903 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39904 * wcsmbc/wcscmp.c: Likewise.
39905 * string/test-strcmp.c: Likewise.
39906 Add new tests to check cases with negative values.
39907
c8b3296b
UD
399082011-10-23 Ulrich Drepper <drepper@gmail.com>
39909
39910 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39911 * sysdeps/x86_64/dla.h: ...here. New file.
39912 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39917 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39919 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39920 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39921
246ad57a
AS
399222011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39923
39924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39925 __ynl_finite aliases.
39926
a1a87169
UD
399272011-10-22 Ulrich Drepper <drepper@gmail.com>
39928
0d355eb7
UD
39929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39930
a1a87169
UD
39931 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39932 define DLA_FMA.
39933 [DLA_FMA] (EMULV): Use DLA_FMA.
39934 [DLA_FMA] (MUL12): Use EMULV.
39935 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39936 that are not needed.
39937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39944
ee2aafe0
AS
399452011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39946
39947 * math/s_nan.c: Undef __nan.
39948 * math/s_nanf.c: Undef __nanf.
39949 * math/s_nanl.c: Undef __nanl.
39950 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39951 "math_private.h".
39952
bc62c2fb
UD
399532011-10-22 Ulrich Drepper <drepper@gmail.com>
39954
77425c63
UD
39955 * math/s_catan.c: Add branch predictions.
39956 * math/s_catanf.c: Likewise.
39957 * math/s_catanh.c: Likewise.
39958 * math/s_catanhf.c: Likewise.
39959 * math/s_catanhl.c: Likewise.
39960 * math/s_catanl.c: Likewise.
39961 * math/s_cexp.c: Likewise.
39962 * math/s_cexpf.c: Likewise.
39963 * math/s_cexpl.c: Likewise.
39964 * math/s_clog.c: Likewise.
39965 * math/s_clog10.c: Likewise.
39966 * math/s_clog10f.c: Likewise.
39967 * math/s_clog10l.c: Likewise.
39968 * math/s_clogf.c: Likewise.
39969 * math/s_clogl.c: Likewise.
39970 * math/s_csqrt.c: Likewise.
39971 * math/s_csqrtf.c: Likewise.
39972 * math/s_csqrtl.c: Likewise.
39973 * math/s_ctanf.c: Likewise.
39974 * math/s_ctanh.c: Likewise.
39975 * math/s_ctanhf.c: Likewise.
39976 * math/s_ctanhl.c: Likewise.
39977 * math/s_ctanl.c: Likewise.
39978
bc62c2fb
UD
39979 * math/math_private.h: Define __nan, __nanf, __nanl.
39980 * math/s_cacosh.c: Include <math_private.h>.
39981 * math/s_cacoshl.c: Likewise.
39982 * math/s_casinh.c: Likewise.
39983 * math/s_casinhf.c: Likewise.
39984 * math/s_casinhl.c: Likewise.
39985 * math/s_ccos.c: Rely entire on ccosh.
39986 * math/s_ccosf.c: Rely entire on ccoshf.
39987 * math/s_ccosl.c: Rely entirely on ccoshl.
39988 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39989 Remove tests for FE_INVALID.
39990 * math/s_ccoshf.c: Likewise.
39991 * math/s_ccoshl.c: Likewise.
39992 * math/s_csin.c: Likewise.
39993 * math/s_csinf.c: Likewise.
39994 * math/s_csinh.c Likewise.
39995 * math/s_csinhf.c: Likewise.
39996 * math/s_csinhl.c: Likewise.
39997 * math/s_csinl.c: Likewise.
39998 * math/s_ctan.c: Likewise.
39999 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40000 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40001 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40002
8ec250a4
UD
400032011-10-21 Ulrich Drepper <drepper@gmail.com>
40004
c196fed8
UD
40005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40006 compilation problems.
40007
8ec250a4
UD
40008 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40009 __builtin_expect.
40010
8d4f46c6
UD
400112011-10-20 Ulrich Drepper <drepper@gmail.com>
40012
ed72b654
UD
40013 * sysdeps/i386/configure.in: Test for -mfma4 option.
40014 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40015 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40016 COMMON_CPUID_INDEX_80000001.
40017 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40018 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40019 use it if FMA3 is not supported.
40020 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40021
8d4f46c6
UD
40022 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40023 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40024
d45c60c2
AS
400252011-10-20 Andreas Schwab <schwab@redhat.com>
40026
40027 [BZ #12892]
40028 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40029 it would create a cycle with a link time dependency.
40030
d9a4d2ab
UD
400312011-10-19 Ulrich Drepper <drepper@gmail.com>
40032
855d1560
UD
40033 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40034 instruction.
40035 * string/Makefile (strop-tests): Add rawmemchr.
40036 * string/test-rawmemchr.c: New file.
40037
d9a4d2ab
UD
40038 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40039 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40040 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40041 when compiling str{,n}casecmp and when AVX is available. Hook up
40042 new optimized code in initializers.
40043
8f3b1ffe
AS
400442011-10-19 Andreas Schwab <schwab@redhat.com>
40045
40046 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40047 __feraiseexcept instead of feraiseexcept.
40048
d38f1dba
UD
400492011-10-18 Ulrich Drepper <drepper@gmail.com>
40050
d9a8d0ab
UD
40051 * math/math_private.h: Define defaults for libc_fetestexcept and
40052 libc_feupdateenv.
40053 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40054 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40055 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40056 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40057 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40058 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40059 libc_fetestexcept and libc_feupdateenv.
40060
4855e3dd
UD
40061 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40062 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40063 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40064 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40065 libc_feholdexcept_setround.
40066
581d30e3
UD
40067 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40068 Add s_nearbyint-c and s_nearbyintf-c.
40069 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40070 nearbyintf inlines.
40071 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40072 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40073 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40074 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40075
d38f1dba
UD
40076 * math/math_private.h: Define defaults for libc_fegetround,
40077 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40078 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40079 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40080 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40081 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40082 standard functions.
40083 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40084 Remove comments and hacks for old compiler versions.
40085 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40086 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40087 libc_feholdexceptl.
40088
caa6c9d8
AS
400892011-10-18 Andreas Schwab <schwab@redhat.com>
40090
40091 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40092 (__feraiseexcept_renamed): Add __NTH.
40093 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40094 namespace violations.
40095
97c066e6
UD
400962011-10-17 Ulrich Drepper <drepper@gmail.com>
40097
99ce7b04
UD
40098 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40099
1004d182
UD
40100 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40101
228a984d
UD
40102 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40103 recently added interfaces.
40104 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40105
c8553a6a
UD
40106 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40107 about macro parameter expansion.
40108
ed22dcf6
UD
40109 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40110 __NO_MATH_INLINES is defined. Cleanups.
40111
40112 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40113 and __floorf is target has SSE4.1.
40114 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40115 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40116 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40117 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40118
b171c137
UD
40119 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40120 name.
40121 (floorf): Likewise.
40122
97c066e6
UD
40123 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40124
629f62ef
AS
401252011-10-17 Andreas Schwab <schwab@redhat.com>
40126
49a43d80
AS
40127 * misc/sys/cdefs.h: Fix last change.
40128
629f62ef
AS
40129 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40130 database lookup.
40131
e453f6cd
UD
401322011-10-16 Ulrich Drepper <drepper@gmail.com>
40133
aa78043a
UD
40134 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40135
ad0f5cad
UD
40136 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40137 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40138 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40139 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40141 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40142 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40143 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40144 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40145 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40146 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40147 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40148 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40149 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40150 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40151 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40152 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40153 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40154 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40155 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40156 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40157 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40158
40159 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40160 ceil, ceilf, floor, floorf.
40161
40162 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40163 Perform IRELATIVE relocations last.
40164
e453f6cd
UD
40165 * elf/do-rel.h: Add another parameter nrelative, replacing the
40166 local variable with the same name. Change name of the function
40167 to end in Rel or Rela (uppercase).
40168 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40169 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40170 elf_dynamic_do_##reloc function.
40171
fd5bdc09
UD
401722011-10-15 Ulrich Drepper <drepper@gmail.com>
40173
79b195b5
UD
40174 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40175 is sufficient, at least on modern CPUs.
40176
d4a28569
UD
40177 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40178
b61099b5
UD
40179 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40180 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40181
bcf01e6d
UD
40182 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40183 __expl_finite.
40184 * math/bits/math-finite.h: Add entries for exp.
40185 * math/e_expl.c: Add __*_finite alias.
40186 * sysdeps/i386/fpu/e_exp.S: Likewise.
40187 * sysdeps/i386/fpu/e_expf.S: Likewise.
40188 * sysdeps/i386/fpu/e_expl.c: Likewise.
40189 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40190 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40191 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40193 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40194 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40195 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40196
ba1a0d59
UD
40197 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40198 is sufficient, at least on modern CPUs.
40199
fd5bdc09
UD
40200 * ctype/ctype-info.c (__ctype_init): Define.
40201 * include/ctype.h (__ctype_init): Declare.
40202 (__ctype_b_loc): The variable is always initialized.
40203 (__ctype_toupper_loc): Likewise.
40204 (__ctype_tolower_loc): Likewise.
40205 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40206 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40207
7872cfb0
AS
402082011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40209
b468825a
AS
40210 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40211
7872cfb0
AS
40212 * configure.in: Also look in $cxxmachine/include for C++ system
40213 headers.
40214
be13f7bf
LD
402152011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40216
40217 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40218 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40219 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40220 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40221 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40222 (USE_AS_WMEMCMP): New macro.
40223 Fixing indents.
40224 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40225 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40226 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40227 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40229 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40230 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40231 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40232 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40233 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40234 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40235 (USE_AS_WMEMCMP): New macro.
40236 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40237 * sysdeps/string/test-memcmp.c: Update.
40238 Fix simple_wmemcmp.
40239 Add new tests.
40240 * wcsmbs/wmemcmp.c: Update.
40241 (WMEMCMP): New macro.
40242 Fix overflow bug.
40243
556a2007
AJ
402442011-10-12 Andreas Jaeger <aj@suse.de>
40245
40246 [BZ #13268]
40247 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40248
538faaa7
UD
402492011-10-15 Ulrich Drepper <drepper@gmail.com>
40250
ab6737ff
UD
40251 * libio/iofwide.c (do_length): Avoid warning.
40252
538faaa7
UD
40253 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40254
396a21b1
UD
402552011-10-14 Ulrich Drepper <drepper@gmail.com>
40256
cdf2901f
UD
40257 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40258
38ad40ce
UD
40259 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40260 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40261 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40262 * sysdeps/i386/i686/fpu/e_log.S: New file.
40263 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40264 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40265
396a21b1
UD
40266 * ctype/ctype.h: Add support for inlined isXXX functions when
40267 compiling C++ code.
40268
6b1f68c9
AS
402692011-10-14 Andreas Schwab <schwab@redhat.com>
40270
349290c0
AS
40271 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40272
6b1f68c9
AS
40273 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40274
f2282d42
RM
402752011-10-13 Roland McGrath <roland@hack.frob.com>
40276
40277 [BZ #13291]
40278 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40279
5298ffa8
AS
402802011-10-13 Andreas Schwab <schwab@redhat.com>
40281
714fad23
AS
40282 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40283 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40284 feraiseexcept.
40285
81dcc7fb
AS
40286 * sysdeps/x86_64/memrchr.S: Check for zero size.
40287
5298ffa8
AS
40288 * string/stratcliff.c: Add memrchr tests.
40289
951fbcec
LD
402902011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40291
40292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40293 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40294 rawmemchr-sse2 rawmemchr-sse2-bsf.
40295 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40296 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40297 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40298 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40299 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40300 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40301 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40302 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40303 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40304 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40305 * string/memrchr.c (MEMRCHR): New macro.
40306
0ac5ae23
UD
403072011-10-12 Ulrich Drepper <drepper@gmail.com>
40308
40309 Add integration with gcc's -ffinite-math-only and optimize wrapper
40310 functions in libm.
40311 * Versions.def: Define GLIBC_2.15 version for libm.
40312 * math/Makefile (headers): Add bits/math-finite.h.
40313 * math/bits/math-finite.h: New file.
40314 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40315 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40316 * math/e_acoshl.c: Add __*_finite alias.
40317 * math/e_acosl.c: Likewise.
40318 * math/e_asinl.c: Likewise.
40319 * math/e_atan2l.c: Likewise.
40320 * math/e_atanhl.c: Likewise.
40321 * math/e_coshl.c: Likewise.
40322 * math/e_exp10.c: Likewise.
40323 * math/e_exp10f.c: Likewise.
40324 * math/e_exp10l.c: Likewise.
40325 * math/e_exp2l.c: Likewise.
40326 * math/e_fmodl.c: Likewise.
40327 * math/e_gammal_r.c: Likewise.
40328 * math/e_hypotl.c: Likewise.
40329 * math/e_j0l.c: Likewise.
40330 * math/e_j1l.c: Likewise.
40331 * math/e_jnl.c: Likewise.
40332 * math/e_lgammal_r.c: Likewise.
40333 * math/e_log10l.c: Likewise.
40334 * math/e_log2l.c: Likewise.
40335 * math/e_logl.c: Likewise.
40336 * math/e_powl.c: Likewise.
40337 * math/e_sinhl.c: Likewise.
40338 * math/e_sqrtl.c: Likewise.
40339 * math/e_scalb.c: Completely rewritten and optimized.
40340 * math/e_scalbf.c: Likewise.
40341 * math/e_scalbl.c: Likewise.
40342 * math/w_acos.c: Likewise.
40343 * math/w_acosf.c: Likewise.
40344 * math/w_acosl.c: Likewise.
40345 * math/w_acosh.c: Likewise.
40346 * math/w_acoshf.c: Likewise.
40347 * math/w_acoshl.c: Likewise.
40348 * math/w_asin.c: Likewise.
40349 * math/w_asinf.c: Likewise.
40350 * math/w_asinl.c: Likewise.
40351 * math/w_atan2.c: Likewise.
40352 * math/w_atan2f.c: Likewise.
40353 * math/w_atan2l.c: Likewise.
40354 * math/w_atanh.c: Likewise.
40355 * math/w_atanhf.c: Likewise.
40356 * math/w_atanhl.c: Likewise.
40357 * math/w_exp10.c: Likewise.
40358 * math/w_exp10f.c: Likewise.
40359 * math/w_exp10l.c: Likewise.
40360 * math/w_fmod.c: Likewise.
40361 * math/w_fmodf.c: Likewise.
40362 * math/w_fmodl.c: Likewise.
40363 * math/w_j0.c: Likewise.
40364 * math/w_j0f.c: Likewise.
40365 * math/w_j0l.c: Likewise.
40366 * math/w_j1.c: Likewise.
40367 * math/w_j1f.c: Likewise.
40368 * math/w_j1l.c: Likewise.
40369 * math/w_jn.c: Likewise.
40370 * math/w_jnf.c: Likewise.
40371 * math/w_log.c: Likewise.
40372 * math/w_logf.c: Likewise.
40373 * math/w_logl.c: Likewise.
40374 * math/w_log10.c: Likewise.
40375 * math/w_log10f.c: Likewise.
40376 * math/w_log10l.c: Likewise.
40377 * math/w_log2.c: Likewise.
40378 * math/w_log2f.c: Likewise.
40379 * math/w_log2l.c: Likewise.
40380 * math/w_pow.c: Likewise.
40381 * math/w_powf.c: Likewise.
40382 * math/w_powl.c: Likewise.
40383 * math/w_remainder.c: Likewise.
40384 * math/w_remainderf.c: Likewise.
40385 * math/w_remainderl.c: Likewise.
40386 * math/w_scalb.c: Likewise.
40387 * math/w_scalbf.c: Likewise.
40388 * math/w_scalbl.c: Likewise.
40389 * math/w_sqrt.c: Likewise.
40390 * math/w_sqrtf.c: Likewise.
40391 * math/w_sqrtl.c: Likewise.
40392 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40393 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40394 used.
40395 * math/math_private.h: Declare __kernel_standard_f.
40396 * math/w_cosh.c: Remove cruft and optimize a bit.
40397 * math/w_coshf.c: Likewise.
40398 * math/w_coshl.c: Likewise.
40399 * math/w_exp2.c: Likewise.
40400 * math/w_exp2f.c: Likewise.
40401 * math/w_exp2l.c: Likewise.
40402 * math/w_hypot.c: Likewise.
40403 * math/w_hypotf.c: Likewise.
40404 * math/w_hypotl.c: Likewise.
40405 * math/w_lgamma.c: Likewise.
40406 * math/w_lgamma_r.c: Likewise.
40407 * math/w_lgammaf.c: Likewise.
40408 * math/w_lgammaf_r.c: Likewise.
40409 * math/w_lgammal.c: Likewise.
40410 * math/w_lgammal_r.c: Likewise.
40411 * math/w_sinh.c: Likewise.
40412 * math/w_sinhf.c: Likewise.
40413 * math/w_sinhl.c: Likewise.
40414 * math/w_tgamma.c: Likewise.
40415 * math/w_tgammaf.c: Likewise.
40416 * math/w_tgammal.c: Likewise.
40417 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40418 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40419 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40420 Minor optimizations. Pretty printing. Remove cruft.
40421 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40422 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40423 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40424 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40425 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40426 * sysdeps/i386/fpu/e_asin.S: Likewise.
40427 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40428 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40429 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40430 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40431 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40432 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40434 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40435 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40436 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40437 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40438 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40439 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40440 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40441 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40442 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40443 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40444 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40445 * sysdeps/i386/fpu/e_log.S: Likewise.
40446 * sysdeps/i386/fpu/e_log10.S: Likewise.
40447 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40448 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40449 * sysdeps/i386/fpu/e_log2.S: Likewise.
40450 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40451 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40452 * sysdeps/i386/fpu/e_logf.S: Likewise.
40453 * sysdeps/i386/fpu/e_logl.S: Likewise.
40454 * sysdeps/i386/fpu/e_pow.S: Likewise.
40455 * sysdeps/i386/fpu/e_powf.S: Likewise.
40456 * sysdeps/i386/fpu/e_powl.S: Likewise.
40457 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40458 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40459 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40460 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40461 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40462 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40463 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40464 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40465 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40466 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40467 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40469 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40470 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40471 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40472 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40473 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40474 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40475 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40476 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40477 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40478 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40479 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40480 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40482 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40483 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40484 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40486 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40487 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40488 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40489 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40490 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40491 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40492 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40493 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40494 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40495 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40496 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40497 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40498 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40499 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40500 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40501 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40502 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40503 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40504 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40505 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40506 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40507 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40508 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40509 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40510 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40511 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40512 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40513 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40514 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40515 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40516 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40517 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40518 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40519 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40520 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40521 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40522 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40523 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40524 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40525 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40526 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40527 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40528 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40529 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40530 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40531 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40532 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40533 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40534 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40535 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40536 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40537 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40538 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40539 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40540 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40542 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40543 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40544 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40545 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40546 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40547 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40548 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40549 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40550 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40551 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40552 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40553 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40554 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40555 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40556 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40557 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40558 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40559 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40560 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40561 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40562 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40563 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40564 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40565 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40566 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40567 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40568 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40569 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40570 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40571 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40572 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40573 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40574 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40575 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40576 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40577 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40578 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40579 (__isnanf): Likewise.
40580 (__isinf_ns): Likewise.
40581 (__isinf_nsf): Likewise.
40582 (__finite): Likewise.
40583 (__finitef): Likewise.
40584 (__ieee754_sqrt): Define as macro.
40585 (__ieee754_sqrtf): Define as macro.
40586 (__ieee754_sqrtl): Define as macro.
40587 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40588 inlined copy.
40589 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40590 __FINITE_MATH_ONLY__ consistent.
40591 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40592
12cc2fcd
AS
405932011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40594
a843a204
AS
40595 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40596 of rawmemchr.
40597
12cc2fcd
AS
40598 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40599
c853acd5
UD
406002011-10-09 Ulrich Drepper <drepper@gmail.com>
40601
40602 * po/ja.po: Update from translation team.
40603
c658d255
RM
406042011-10-08 Roland McGrath <roland@hack.frob.com>
40605
110946e4
RM
40606 * locale/programs/locarchive.c (prepare_address_space): New function.
40607 (create_archive, enlarge_archive, open_archive): Use it.
40608
50604220
RM
40609 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40610 inside [SHARED], where it is used.
40611
c658d255
RM
40612 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40613
40614 * nss/getent.c (netgroup_keys): Remove unused variable.
40615 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40616
6a621eb7
UD
406172011-10-08 Ulrich Drepper <drepper@gmail.com>
40618
7edb55ce
UD
40619 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40620 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40621 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40622 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40623 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40624 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40625 * math/Makefile (libm-calls): Add s_isinf_ns.
40626 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40627 * math/multc3.c: Likewise.
40628 * math/s_casin.c: Likewise.
40629 * math/s_casinf.c: Likewise.
40630 * math/s_casinl.c: Likewise.
40631 * math/s_ccos.c: Likewise.
40632 * math/s_ccosf.c: Likewise.
40633 * math/s_ccosl.c: Likewise.
40634 * math/s_ctan.c: Likewise.
40635 * math/s_ctanf.c: Likewise.
40636 * math/s_ctanh.c: Likewise.
40637 * math/s_ctanhf.c: Likewise.
40638 * math/s_ctanhl.c: Likewise.
40639 * math/s_ctanl.c: Likewise.
40640 * math/w_fmod.c: Likewise.
40641 * math/w_fmodf.c: Likewise.
40642 * math/w_fmodl.c: Likewise.
40643 * math/w_remainder.c: Likewise.
40644 * math/w_remainderf.c: Likewise.
40645 * math/w_remainderl.c: Likewise.
40646 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40647 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40648 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40649 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40650 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40651 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40652 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40653 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40654
187da0ae
UD
40655 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40656 of the number.
40657 * stdio-common/printf_fphex.c: Likewise.
40658 * stdio-common/printf_size.c: Likewise.
40659
9277c064
UD
40660 * math/e_exp10.c: Include math_private.h using <...> not "...".
40661 * math/e_exp10f.c: Likewise.
40662 * math/e_exp10l.c: Likewise.
40663 * math/e_exp2l.c: Likewise.
40664 * math/e_j0l.c: Likewise.
40665 * math/e_j1l.c: Likewise.
40666 * math/e_jnl.c: Likewise.
40667 * math/e_lgammal_r.c: Likewise.
40668 * math/e_rem_pio2l.c: Likewise.
40669 * math/e_scalb.c: Likewise.
40670 * math/e_scalbf.c: Likewise.
40671 * math/e_scalbl.c: Likewise.
40672 * math/k_cosl.c: Likewise.
40673 * math/k_sinl.c: Likewise.
40674 * math/k_tanl.c: Likewise.
40675 * math/s_cacoshf.c: Likewise.
40676 * math/s_catan.c: Likewise.
40677 * math/s_catanf.c: Likewise.
40678 * math/s_catanh.c: Likewise.
40679 * math/s_catanhf.c: Likewise.
40680 * math/s_catanhl.c: Likewise.
40681 * math/s_catanl.c: Likewise.
40682 * math/s_ccosh.c: Likewise.
40683 * math/s_ccoshf.c: Likewise.
40684 * math/s_ccoshl.c: Likewise.
40685 * math/s_cexp.c: Likewise.
40686 * math/s_cexpf.c: Likewise.
40687 * math/s_cexpl.c: Likewise.
40688 * math/s_clog.c: Likewise.
40689 * math/s_clog10.c: Likewise.
40690 * math/s_clog10f.c: Likewise.
40691 * math/s_clog10l.c: Likewise.
40692 * math/s_clogf.c: Likewise.
40693 * math/s_clogl.c: Likewise.
40694 * math/s_csin.c: Likewise.
40695 * math/s_csinf.c: Likewise.
40696 * math/s_csinh.c: Likewise.
40697 * math/s_csinhf.c: Likewise.
40698 * math/s_csinhl.c: Likewise.
40699 * math/s_csinl.c: Likewise.
40700 * math/s_csqrt.c: Likewise.
40701 * math/s_csqrtf.c: Likewise.
40702 * math/s_csqrtl.c: Likewise.
40703 * math/s_ctan.c: Likewise.
40704 * math/s_ctanf.c: Likewise.
40705 * math/s_ctanh.c: Likewise.
40706 * math/s_ctanhf.c: Likewise.
40707 * math/s_ctanhl.c: Likewise.
40708 * math/s_ctanl.c: Likewise.
40709 * math/s_ldexp.c: Likewise.
40710 * math/s_ldexpf.c: Likewise.
40711 * math/s_ldexpl.c: Likewise.
40712 * math/s_significand.c: Likewise.
40713 * math/s_significandf.c: Likewise.
40714 * math/s_significandl.c: Likewise.
40715 * math/w_acos.c: Likewise.
40716 * math/w_acosf.c: Likewise.
40717 * math/w_acosh.c: Likewise.
40718 * math/w_acoshf.c: Likewise.
40719 * math/w_acoshl.c: Likewise.
40720 * math/w_acosl.c: Likewise.
40721 * math/w_asin.c: Likewise.
40722 * math/w_asinf.c: Likewise.
40723 * math/w_asinl.c: Likewise.
40724 * math/w_atan2.c: Likewise.
40725 * math/w_atan2f.c: Likewise.
40726 * math/w_atan2l.c: Likewise.
40727 * math/w_atanh.c: Likewise.
40728 * math/w_atanhf.c: Likewise.
40729 * math/w_atanhl.c: Likewise.
40730 * math/w_cosh.c: Likewise.
40731 * math/w_coshf.c: Likewise.
40732 * math/w_coshl.c: Likewise.
40733 * math/w_dremf.c: Likewise.
40734 * math/w_exp10.c: Likewise.
40735 * math/w_exp10f.c: Likewise.
40736 * math/w_exp10l.c: Likewise.
40737 * math/w_exp2.c: Likewise.
40738 * math/w_exp2f.c: Likewise.
40739 * math/w_fmod.c: Likewise.
40740 * math/w_fmodf.c: Likewise.
40741 * math/w_fmodl.c: Likewise.
40742 * math/w_hypot.c: Likewise.
40743 * math/w_hypotf.c: Likewise.
40744 * math/w_hypotl.c: Likewise.
40745 * math/w_j0.c: Likewise.
40746 * math/w_j0f.c: Likewise.
40747 * math/w_j0l.c: Likewise.
40748 * math/w_j1.c: Likewise.
40749 * math/w_j1f.c: Likewise.
40750 * math/w_j1l.c: Likewise.
40751 * math/w_jn.c: Likewise.
40752 * math/w_jnf.c: Likewise.
40753 * math/w_jnl.c: Likewise.
40754 * math/w_lgamma.c: Likewise.
40755 * math/w_lgamma_r.c: Likewise.
40756 * math/w_lgammaf.c: Likewise.
40757 * math/w_lgammaf_r.c: Likewise.
40758 * math/w_lgammal.c: Likewise.
40759 * math/w_lgammal_r.c: Likewise.
40760 * math/w_log.c: Likewise.
40761 * math/w_log10.c: Likewise.
40762 * math/w_log10f.c: Likewise.
40763 * math/w_log10l.c: Likewise.
40764 * math/w_log2.c: Likewise.
40765 * math/w_log2f.c: Likewise.
40766 * math/w_log2l.c: Likewise.
40767 * math/w_logf.c: Likewise.
40768 * math/w_logl.c: Likewise.
40769 * math/w_pow.c: Likewise.
40770 * math/w_powf.c: Likewise.
40771 * math/w_powl.c: Likewise.
40772 * math/w_remainder.c: Likewise.
40773 * math/w_remainderf.c: Likewise.
40774 * math/w_remainderl.c: Likewise.
40775 * math/w_scalb.c: Likewise.
40776 * math/w_scalbf.c: Likewise.
40777 * math/w_scalbl.c: Likewise.
40778 * math/w_sinh.c: Likewise.
40779 * math/w_sinhf.c: Likewise.
40780 * math/w_sinhl.c: Likewise.
40781 * math/w_sqrt.c: Likewise.
40782 * math/w_sqrtf.c: Likewise.
40783 * math/w_sqrtl.c: Likewise.
40784 * math/w_tgamma.c: Likewise.
40785 * math/w_tgammaf.c: Likewise.
40786 * math/w_tgammal.c: Likewise.
40787
6a621eb7
UD
40788 * po/ja.po: Update from translation team.
40789
bf582445
AJ
407902011-09-29 Andreas Jaeger <aj@suse.de>
40791
f9efbf3a
AJ
40792 [BZ #13179]
40793 * sunrpc/netname.c (netname2host): Fix logic.
40794
bf582445
AJ
40795 [BZ #6779]
40796 [BZ #6783]
40797 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40798 correctly.
40799 * math/w_remainder.c (__remainder): Likewise.
40800 * math/w_remainderf.c (__remainderf): Likewise.
40801 * math/libm-test.inc (remainder_test): Add test cases.
40802
48693bea
AK
408032011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40804
40805 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40806 sdiv_qrnnd.
40807
42622229
LD
408082011-10-07 Ulrich Drepper <drepper@gmail.com>
40809
40810 * string/test-memcmp.c: Avoid unncessary #defines.
40811 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40812
093ecf92
LD
408132011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40814
40815 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40816 Use new sse2 version for core i3 - i7 as it's faster
40817 than sse42 version.
40818 (bit_Prefer_PMINUB_for_stringop): New.
40819 * sysdeps/x86_64/rawmemchr.S: Update.
40820 Replace with faster SSE2 version.
40821 * sysdeps/x86_64/memrchr.S: New file.
40822 * sysdeps/x86_64/memchr.S: Update.
40823 Replace with faster SSE2 version.
40824
fde56e5c
MP
408252011-09-12 Marek Polacek <mpolacek@redhat.com>
40826
40827 * elf/dl-load.c (lose): Add cast to avoid warning.
40828
21fd49a9
UD
408292011-10-07 Ulrich Drepper <drepper@gmail.com>
40830
5a06e643
UD
40831 * po/ca.po: Update from translation team.
40832
684ae515
UD
40833 * inet/getnetgrent_r.c: Hook up nscd.
40834 * nscd/Makefile (routines): Add nscd_netgroup.
40835 (nscd-modules): Add netgroupcache.
40836 (CFLAGS-netgroupcache.c): Define.
40837 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40838 (cache_search): Add const to second parameter.
40839 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40840 INNETGR.
40841 (dbs): Add netgrdb entry.
40842 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40843 (verify_persistent_db): Handle netgrdb.
40844 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40845 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40846 GETFDNETGR.
40847 (netgroup_response_header): Define.
40848 (innetgroup_response_header): Define.
40849 (datahead): Add netgroup_response_header and innetgroup_response_header
40850 elements.
40851 * nscd/nscd.conf: Add entries for netgroup cache.
40852 * nscd/nscd.h (dbtype): Add netgrdb.
40853 (_PATH_NSCD_NETGROUP_DB): Define.
40854 (netgroup_iov_disabled): Declare.
40855 (xmalloc, xcalloc, xrealloc): Move declarations here.
40856 (cache_search): Adjust prototype.
40857 Add netgroup-related prototypes.
40858 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40859 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40860 (__nscd_innetgr): Declare.
40861 * nscd/selinux.c (perms): Use access_vector_t as element type and
40862 add netgroup-related initializers.
40863 * nscd/netgroupcache.c: New file.
40864 * nscd/nscd_netgroup.c: New file.
40865 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40866 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40867 For four parameters use innetgr.
40868 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40869 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40870 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40871 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40872
21fd49a9
UD
40873 * nscd/connections.c (register_traced_file): Don't register file
40874 for disabled databases.
40875
054c0457
UD
408762011-10-06 Ulrich Drepper <drepper@gmail.com>
40877
32b63198
UD
40878 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40879
054c0457
UD
40880 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40881 from tree and freeing node.
40882
64031225
JO
408832011-09-25 Jiri Olsa <jolsa@redhat.com>
40884
40885 * nss/nsswitch.c (__nss_database_lookup): Handle
40886 nss_parse_service_list out of memory case.
40887
0490345c
JO
408882011-09-15 Jiri Olsa <jolsa@redhat.com>
40889
40890 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40891 out of memory case.
40892
3a62d00d
AS
408932011-10-04 Andreas Schwab <schwab@redhat.com>
40894
40895 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40896 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40897 pass it down.
40898 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40899 elf_machine_rela, elf_machine_lazy_rel.
40900 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40901 (ELF_DYNAMIC_DO_REL): Likewise.
40902 (ELF_DYNAMIC_DO_RELA): Likewise.
40903 (ELF_DYNAMIC_RELOCATE): Likewise.
40904 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40905 to ELF_DYNAMIC_DO_REL.
40906 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40907 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40908 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40909 elf_machine_rela.
40910 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40911 skip_ifunc, don't call ifunc function if non-zero.
40912 (elf_machine_rela): Likewise.
40913 (elf_machine_lazy_rel): Likewise.
40914 (elf_machine_lazy_rela): Likewise.
40915 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40916 (elf_machine_lazy_rel): Likewise.
40917 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40918 Likewise.
40919 (elf_machine_lazy_rel): Likewise.
40920 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40921 Likewise.
40922 (elf_machine_lazy_rel): Likewise.
40923 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40924 (elf_machine_lazy_rel): Likewise.
40925 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40926 (elf_machine_lazy_rel): Likewise.
40927 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40928 (elf_machine_lazy_rel): Likewise.
40929 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40930 (elf_machine_lazy_rel): Likewise.
40931 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40932 (elf_machine_lazy_rel): Likewise.
40933 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40934 (elf_machine_lazy_rel): Likewise.
40935
68577918
UD
409362011-09-28 Ulrich Drepper <drepper@gmail.com>
40937
40938 * nss/nss_files/files-init.c (_nss_files_init): Use static
40939 initialization for all the *_traced_file variables.
40940
68822d74
AS
409412011-09-28 Andreas Schwab <schwab@redhat.com>
40942
40943 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40944
2056100b
RM
409452011-09-27 Roland McGrath <roland@hack.frob.com>
40946
40947 [BZ #13226]
40948 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40949
32c76b63
AS
409502011-09-27 Andreas Schwab <schwab@redhat.com>
40951
40952 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40953 Reread the line before reparsing it.
40954
bf972c9d
AS
409552011-09-26 Andreas Schwab <schwab@redhat.com>
40956
40957 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40958
e057a1b5
JM
409592011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40960 Maxim Kuvyrkov <maxim@codesourcery.com>
40961 Joseph Myers <joseph@codesourcery.com>
40962
40963 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40964 if needed for __stack_chk_guard.
40965
bc7e1c36
RM
409662011-09-19 Roland McGrath <roland@hack.frob.com>
40967
ecb1482f
RM
40968 * sysdeps/posix/spawni.c (script_execute): Always define it.
40969 It will be optimized away if unused.
40970 (maybe_script_execute): New function.
40971 (__spawni): Call it.
40972
bc7e1c36
RM
40973 * Makerules: Don't include tls.make.
40974 (config-tls): Always set to thread.
40975 * tls.make.c: File removed.
40976
1c3b002b
MF
409772011-09-19 Mike Frysinger <vapier@gentoo.org>
40978
40979 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40980 * config.make.in (CPPFLAGS-config): New substituted variable.
40981
2840865d
UD
409822011-09-15 Ulrich Drepper <drepper@gmail.com>
40983
88738eb6
UD
40984 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40985
cbf645a6 40986 [BZ #13192]
2840865d
UD
40987 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40988 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40989
b402e91a
RM
409902011-09-15 Roland McGrath <roland@hack.frob.com>
40991
40992 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40993 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40994 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40995 (CALL_FAIL): Likewise.
40996 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40997 (CALL_FAIL): Macro removed.
40998 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40999
4c1a1f71
UD
410002011-09-15 Ulrich Drepper <drepper@gmail.com>
41001
41002 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41003 for __FINITE_MATH_ONLY__ == 1.
41004
edc121be
AS
410052011-09-15 Andreas Schwab <schwab@redhat.com>
41006
41007 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41008 __ieee754_sqrt instead of sqrt.
41009 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41010 __ieee754_sqrtf instead of sqrtf.
41011 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41012 __floorf instead of floorf.
41013 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41014 __floorf, __truncf instead of floorf, truncf.
41015
cd205654
UD
410162011-09-14 Ulrich Drepper <drepper@gmail.com>
41017
ee4d0315
UD
41018 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41019
cd205654
UD
41020 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41021 __extern_always_inline.
41022 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41023 32-bit.
41024
48b67d71
AS
410252011-09-14 Andreas Schwab <schwab@redhat.com>
41026
41027 * elf/rtld.c (dl_main): Also relocate in dependency order when
41028 doing symbol dependency testing.
41029
1ae12c75
AS
410302011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41031
41032 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41033 Always define `refsym'.
41034
995a80df
AS
410352011-09-13 Andreas Schwab <schwab@redhat.com>
41036
e529793b
AS
41037 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41038 (__FD_ELT): Renamed from __FDELT.
41039 * misc/bits/select2.h (__FD_ELT): Likewise.
41040 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41041 __FD_MASK instead of __FDELT, __FDMASK.
41042 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41043 Likewise.
41044 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41045 Likewise.
41046
52d4fef8
AS
41047 * elf/Makefile (gen-ldd): Fix pattern.
41048
995a80df
AS
41049 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41050 (init_tls): Likewise.
41051
8682f8b0
UD
410522011-09-12 Ulrich Drepper <drepper@gmail.com>
41053
41054 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41055
de82006d
AS
410562011-09-12 Andreas Schwab <schwab@redhat.com>
41057
a7c8e6a1
AS
41058 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41059 `struct cmsghdr *' instead of `void *'.
41060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41061 Likewise.
41062
0f31fe77
AS
410632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41064
41065 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41066 if non-absolute.
41067 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41068 ldd_rewrite_script.
0f31fe77 41069
32b4c839
UD
410702011-09-11 Ulrich Drepper <drepper@gmail.com>
41071
83cd1420
UD
41072 * configure.in: Remove --with-tls option.
41073 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41074 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41075 out in case it is missing.
41076 * sysdeps/ia64/elf/configure.in: Likewise.
41077 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41078 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41079 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41080 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41081 * sysdeps/sh/elf/configure.in: Likewise.
41082 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41083 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41084 * sysdeps/x86_64/elf/configure.in: Likewise.
41085 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41086 * sysdeps/mach/hurd/tls.h: Likewise.
41087
633f745d
UD
41088 [BZ #13067]
41089 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41090
f318beb8
UD
41091 [BZ #13090]
41092 * configure.in: Fix use of AC_INIT.
41093
32b4c839
UD
41094 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41095
3ce1f295
UD
410962011-09-10 Ulrich Drepper <drepper@gmail.com>
41097
bb016596
UD
41098 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41099 __set_errno.
8e58439c
UD
41100 * malloc/hooks.c: Likewise.
41101
aebae053 41102 [BZ #11929]
02d46fc4
UD
41103 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41104 variables statically.
41105 (narenas): Initialize.
41106 (list_lock): Initialize.
bb016596
UD
41107 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41108 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41109 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41110 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41111 Add initializers to main_arena and mp_.
41112 (malloc_state): Remove pagesize member. Change all users to use
41113 GLRO(dl_pagesize).
41114
41115 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41116 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41117 is always initialized.
41118
22a89187
UD
41119 * malloc/malloc.c: Removed unused configurations and dead code.
41120 * malloc/arena.c: Likewise.
41121 * malloc/hooks.c: Likewise.
02d46fc4 41122 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41123
d063d164
UD
41124 * include/tls.h: Removed. USE___THREAD must always be defined.
41125 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41126 * elf/dl-libc.c: Likewise.
41127 * elf/dl-tsd.c: Likewise.
41128 * include/errno.h: Likewise.
41129 * include/netdb.h: Likewise.
41130 * include/resolv.h: Likewise.
41131 * inet/herrno-loc.c: Likewise.
41132 * inet/herrno.c: Likewise.
41133 * malloc/arena.c: Likewise.
41134 * malloc/hooks.c: Likewise.
41135 * malloc/malloc.c: Likewise.
41136 * resolv/res-state.c: Likewise.
41137 * resolv/res_libc.c: Likewise.
41138 * sysdeps/i386/dl-machine.h: Likewise.
41139 * sysdeps/ia64/dl-machine.h: Likewise.
41140 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41141 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41142 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41143 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41144 * sysdeps/sh/dl-machine.h: Likewise.
41145 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41146 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41147 * sysdeps/unix/i386/sysdep.S: Likewise.
41148 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41149 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41150 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41153 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41154 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41155 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41158 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41159 * sysdeps/x86_64/dl-machine.h: Likewise.
41160 * tls.make.c: Likewise.
41161
3ce1f295
UD
41162 * configure.in: Remove --with-__thread option. Make tests for
41163 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41164 tls_model attribute fail if no support is available. Remove
41165 USE_IN_LIBIO.
41166 * Makeconfig: Adjust for dropped configure option. All features are
41167 now mandatory.
41168 * Makerules: Likewise.
41169 * Versions.def: Likewise.
41170 * argp/argp-fmtstream.c: Likewise.
41171 * argp/argp-fmtstream.h: Likewise.
41172 * argp/argp-help.c: Likewise.
41173 * assert/assert.c: Likewise.
41174 * config.h.in: Likewise.
41175 * config.make.in: Likewise.
41176 * configure: Likewise.
41177 * configure.in: Likewise.
41178 * csu/Versions: Likewise.
41179 * csu/init.c: Likewise.
41180 * elf/tst-audit2.c: Likewise.
41181 * elf/tst-tls10.c: Likewise.
41182 * elf/tst-tls10.h: Likewise.
41183 * elf/tst-tls11.c: Likewise.
41184 * elf/tst-tls12.c: Likewise.
41185 * elf/tst-tls14.c: Likewise.
41186 * elf/tst-tlsmod11.c: Likewise.
41187 * elf/tst-tlsmod12.c: Likewise.
41188 * elf/tst-tlsmod13.c: Likewise.
41189 * elf/tst-tlsmod13a.c: Likewise.
41190 * elf/tst-tlsmod14a.c: Likewise.
41191 * elf/tst-tlsmod15b.c: Likewise.
41192 * elf/tst-tlsmod16a.c: Likewise.
41193 * elf/tst-tlsmod16b.c: Likewise.
41194 * elf/tst-tlsmod7.c: Likewise.
41195 * elf/tst-tlsmod8.c: Likewise.
41196 * elf/tst-tlsmod9.c: Likewise.
41197 * gmon/gmon.c: Likewise.
41198 * grp/fgetgrent_r.c: Likewise.
41199 * grp/putgrent.c: Likewise.
41200 * hurd/fopenport.c: Likewise.
41201 * include/libc-symbols.h: Likewise.
41202 * include/tls.h: Likewise.
41203 * intl/gettextP.h: Likewise.
41204 * intl/loadinfo.h: Likewise.
41205 * locale/global-locale.c: Likewise.
41206 * locale/localeinfo.h: Likewise.
41207 * mach/devstream.c: Likewise.
41208 * malloc/arena.c: Likewise.
41209 * malloc/set-freeres.c: Likewise.
41210 * misc/err.c: Likewise.
41211 * misc/getttyent.c: Likewise.
41212 * misc/mntent_r.c: Likewise.
41213 * posix/getopt.c: Likewise.
41214 * posix/wordexp.c: Likewise.
41215 * pwd/fgetpwent_r.c: Likewise.
41216 * resolv/Versions: Likewise.
41217 * resolv/res_hconf.c: Likewise.
41218 * shadow/fgetspent_r.c: Likewise.
41219 * shadow/putspent.c: Likewise.
41220 * stdio-common/printf_fphex.c: Likewise.
41221 * stdio-common/tmpfile.c: Likewise.
41222 * stdlib/abort.c: Likewise.
41223 * stdlib/fmtmsg.c: Likewise.
41224 * sunrpc/auth_unix.c: Likewise.
41225 * sunrpc/clnt_perr.c: Likewise.
41226 * sunrpc/clnt_tcp.c: Likewise.
41227 * sunrpc/clnt_udp.c: Likewise.
41228 * sunrpc/clnt_unix.c: Likewise.
41229 * sunrpc/openchild.c: Likewise.
41230 * sunrpc/svc_simple.c: Likewise.
41231 * sunrpc/svc_tcp.c: Likewise.
41232 * sunrpc/svc_udp.c: Likewise.
41233 * sunrpc/svc_unix.c: Likewise.
41234 * sunrpc/xdr.c: Likewise.
41235 * sunrpc/xdr_array.c: Likewise.
41236 * sunrpc/xdr_rec.c: Likewise.
41237 * sunrpc/xdr_ref.c: Likewise.
41238 * sunrpc/xdr_stdio.c: Likewise.
41239
1248c1c4
PB
412402011-09-09 Ulrich Drepper <drepper@gmail.com>
41241
41242 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41243
412442011-07-03 Andreas Jaeger <aj@suse.de>
41245
41246 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41247 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41248 regenerate with gen-libm-tests.pl.
41249
412502010-05-12 Petr Baudis <pasky@suse.cz>
41251
41252 [BZ #11589]
41253 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41254 around j0() zero points by switching to j1().
41255 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41256 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41257 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41258 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41259
f22e1074
UD
412602011-09-09 Ulrich Drepper <drepper@gmail.com>
41261
f19009c1
UD
41262 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41263 instead of 0.
41264 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41265 instead of 0.
f19009c1
UD
41266 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41267 Patch in part by Pavel Roskin <proski@gnu.org>.
41268
3f8cc204
UD
41269 [BZ #13138]
41270 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41271 realloc.
41272 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41273 Free memory block if necessary.
41274
f22e1074
UD
41275 [BZ #12847]
41276 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41277 be NULL. Don't lock in this case.
41278
0a2349f9
RM
412792011-09-09 Roland McGrath <roland@hack.frob.com>
41280
41281 * elf/elf.h (ELFOSABI_GNU): New macro.
41282 (ELFOSABI_LINUX): Define to that.
41283
f3cdd467
DZ
412842011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41285
41286 * string/strncat.c (strncat): Undef the symbol in case it has been
41287 defined in bits/string.h.
41288
74718d13
UD
412892011-09-09 Ulrich Drepper <drepper@gmail.com>
41290
633e9e0f
UD
41291 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41292
0a2349f9 41293 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41294 link map.
41295
f9924780
AJ
412962011-08-17 Andreas Jaeger <aj@suse.de>
41297
41298 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41299
7f5517aa
PP
413002011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41301 Ian Lance Taylor <iant@google.com>
41302
41303 * math/libm-test.inc (lround_test): New testcase.
41304 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41305
762011fe
UD
413062011-09-08 Ulrich Drepper <drepper@gmail.com>
41307
92963737
UD
41308 * Makefile: Remove support for automatic cvs check-ins.
41309 * Makerules: Likewise.
41310 * config.make.in: Likewise.
41311 * configure.in: Likewise.
41312 * intl/Makefile: Likewise.
41313 * locale/Makefile: Likewise.
41314 * po/Makefile: Likewise.
41315 * posix/Makefile: Likewise.
41316 * sysdeps/gnu/Makefile: Likewise.
41317 * sysdeps/mach/hurd/Makefile: Likewise.
41318 * sysdeps/sparc/sparc32/Makefile: Likewise.
41319
b0727fd8
JS
41320 [BZ #13118]
41321 * posix/Makefile (bug-regex32-ENV): Define.
41322 Patch by John Stanley <jpsinthemix@verizon.net>.
41323
a0f33f99
UD
41324 * misc/Makefile (headers): Add bits/select2.h.
41325 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41326 * misc/bits/select2.h: New file.
41327 * include/bits/select2.h: New file.
41328 * debug/Makefile (routines): Add fdelt_chk.
41329 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41330 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41331 FD_ISSET.
41332 * debug/fdelt_chk.c: New file.
41333
762011fe
UD
41334 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41335 * wcsmbs/test-wmemcmp.c: Likewise.
41336 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41337 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41338
413392011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41340
41341 * string/Makefile (strop-tests): Add memcmp.
41342 * string/test-wmemcmp.c: New file.
41343 * string/test-memcmp.c: Add wmemcmp support.
41344
7f513ec8
RM
413452011-09-08 Roland McGrath <roland@hack.frob.com>
41346
0442afb4
RM
41347 [BZ #13153]
41348 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41349 2011-07-19 change.
41350
7f513ec8
RM
41351 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41352 garbage value in a __mach_port_mod_refs call in the cases of the
41353 task-self and thread-self ports.
41354
a12b2239
ST
413552011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41356
41357 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41358
610f9ab4
AS
413592011-09-08 Andreas Schwab <schwab@redhat.com>
41360
7f513ec8 41361 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41362
48882a1a
LD
413632011-09-07 Ulrich Drepper <drepper@gmail.com>
41364
b49865be
UD
41365 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41366
fdc86bc9
UD
41367 * elf/dl-libc.c (dlerror_run): Pass back error code from
41368 dl_catch_error.
41369
c966526a
UD
41370 [BZ #13123]
41371 * elf/dl-load.c (lose): Free l_origin if it is valid.
41372
48882a1a
LD
41373 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41374 names.
41375 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41376 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41377 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41378 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41379 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41380 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41381
77a2a8b4
AZ
413822011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41383
41384 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41385 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41386 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41387 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41388 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41389 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41390 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41391 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41392 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41393 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41394
24f579d8
AM
413952011-08-15 Alan Modra <amodra@gmail.com>
41396
41397 [BZ #13092]
41398 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41399 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41400 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41401 ppc_mcount to static-only-routines.
41402 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41403 __mcount_internal.
41404 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41405 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41406
3d4837df
UD
414072011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41408
41409 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41410 for finite and infinity parameters.
41411
22700377
WS
414122011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41413
41414 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41415 and add nop instructions for throughput optimization.
41416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41417
5025581e
WS
414182011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41419
41420 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41421 aligned copy for power7 with vector-scalar instructions.
41422 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41423
08a300c9
L
414242011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41425
41426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41427 AVX check.
41428
59178ef9
AS
414292011-09-07 Andreas Schwab <schwab@redhat.com>
41430
41431 [BZ #13144]
41432 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41433 last change.
41434
e38ba7ab
UD
414352011-09-07 Ulrich Drepper <drepper@gmail.com>
41436
41437 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41438 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41439 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41440 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41441 clock_gettime.
41442
d53a73ac
UD
414432011-09-06 Ulrich Drepper <drepper@gmail.com>
41444
fc8bffcc
UD
41445 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41446 Forgot to demangle the pointer.
41447
ceaa0c5d
UD
41448 * sysdeps/i386/sysdep.h: Define atom_text_section.
41449 * sysdeps/x86_64/sysdep.h: Likewise.
41450 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41451 section with atom_text_section.
41452 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41453 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41454 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41455 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41456 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41457
a77d3c17
UD
41458 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41459 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41460 already be defined. Change to take two parameters and don't assign
41461 result to variable. Adjust all users.
41462 Define INTERNAL_GETTIME if not already defined.
41463 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41464 call.
41465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41466 HAVE_CLOCK_GETTIME_VSYSCALL.
41467 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41468
d53a73ac
UD
41469 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41470 gettimeofday vsyscall, just use time.
41471
a8f84144
AS
414722011-09-06 Andreas Schwab <schwab@redhat.com>
41473
41474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41475 <errno.h>.
41476
ef606249
UD
414772011-09-06 Ulrich Drepper <drepper@gmail.com>
41478
41479 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41480 syscall on x86-64.
41481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41482 syscall.
41483 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41484 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41485 syscall if possible.
41486
6585cb60
UD
414872011-09-05 Ulrich Drepper <drepper@gmail.com>
41488
41489 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41490 e_ident. Don't pass to find_mapsXX.
41491 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41492
a5f524e4
LD
414932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41494
41495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41496 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41497 * sysdeps/x86_64/multiarch/strchr.S: Update.
41498 Check bit_slow_BSF bit.
41499 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41500 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41501 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41502
554881ef
UD
415032011-09-05 Ulrich Drepper <drepper@gmail.com>
41504
d96de963
UD
41505 [BZ #13134]
41506 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41507 before glibc 2.15.
41508 (tryshell): Define.
41509 (__spawni): Change last parameter to be flag. Test
41510 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41511 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41512 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41513 * posix/spawni.c: Likewise.
41514 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41515 * posix/spawnp.c: Likewise. Change normal version to use
41516 SPAWN_XFLAGS_USE_PATH.
41517 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41518 SPAWN_XFLAGS_TRY_SHELL.
41519
d48e5868
UD
41520 [BZ #13150]
41521 * posix/glob.h: Remove gcc 1.x support.
41522
554881ef
UD
41523 [BZ #13068]
41524 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41525
693fb948
LD
415262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41527
41528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41529 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41530 strrchr-sse2-bsf
41531 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41532 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41533 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41534 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41535 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41536 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41537
1b48c537
UD
415382011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41539
49d42c37
UD
41540 * sysdeps/x86_64/wcscmp.S: New file.
41541
1b48c537
UD
41542 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41543 wcscmp-c wcscmp-sse2
41544 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41545 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41546 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41547 * wcsmbs/wcscmp.c: Allow renaming.
41548
15c95c5d
DM
415492011-09-05 David S. Miller <davem@davemloft.net>
41550
41551 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41552 stack slot, rather than the struct return pointer slot.
41553 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41554 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41556 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41557
2f0ad8f3
UD
415582011-09-05 Ulrich Drepper <drepper@gmail.com>
41559
d88ae418
UD
41560 * po/ja.po: Update from translation team.
41561
2f0ad8f3
UD
41562 [BZ #13144]
41563 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41564 kernel in 64-bit binaries.
41565
5f4318d1
DM
415662011-09-01 David S. Miller <davem@davemloft.net>
41567
41568 * elf/elf.h (HWCAP_SPARC_*): Move to..
41569 * sysdeps/sparc/sysdep.h: this new file and add new values.
41570 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41571 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41572 _DL_HWCAP_COUNT to 24.
41573 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41574 entries.
41575 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41576 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41577 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41579 instead of magic constants.
41580 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41581
3ba57516
DM
415822011-08-31 David S. Miller <davem@davemloft.net>
41583
41584 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41585 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41586 Reimplement to do errno handling inline.
41587 (SYSCALL_ERROR_HANDLER): New macro.
41588 (__SYSCALL_STRING): Do not do errno handling in asm.
41589 (__CLONE_SYSCALL_STRING): Delete.
41590 (__INTERNAL_SYSCALL_STRING): Delete.
41591 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41592 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41593 (PSEUDO): Reimplement to do errno handling inline.
41594 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41595 (SYSCALL_ERROR_HANDLER): New macro.
41596 (__SYSCALL_STRING): Do not do errno handling in asm.
41597 (__CLONE_SYSCALL_STRING): Delete.
41598 (__INTERNAL_SYSCALL_STRING): Delete.
41599 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41600 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41601 i386.
41602 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41603 (inline_syscall*): Add 'err' argument.
41604 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41605 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41606 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41607 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41608
41609 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41610 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41611
2bc17433
AS
416122011-08-30 Andreas Schwab <schwab@redhat.com>
41613
41614 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41615
fbeb5f4d
JO
416162011-08-29 Jiri Olsa <jolsa@redhat.com>
41617
41618 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41619 directive.
41620
ad69cc26
DM
416212011-08-24 David S. Miller <davem@davemloft.net>
41622
41623 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41624
39dd69df
AS
416252011-08-24 Andreas Schwab <schwab@redhat.com>
41626
41627 * elf/Makefile: Add rules to build and run unload8 test.
41628 * elf/unload8.c: New file.
41629 * elf/unload8mod1.c: New file.
41630 * elf/unload8mod1x.c: New file.
41631 * elf/unload8mod2.c: New file.
41632 * elf/unload8mod3.c: New file.
41633
41634 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41635 it wasn't used.
41636
2c0b250a
DM
416372011-08-23 David S. Miller <davem@davemloft.net>
41638
41639 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41640 subtract stack bias.
41641 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41642 %sp not %fp in calculations.
41643 (_JMPBUF_UNWINDS_ADJ): Likewise.
41644
22044b48
DM
41645 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41646 (aio_suspend): Call it to force an exception region around the
41647 AIO_MISC_WAIT() invocation.
41648
2cae4995
AS
416492011-08-23 Andreas Schwab <schwab@redhat.com>
41650
41651 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41652 backslash.
41653
873a772e
AJ
416542011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41655
41656 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41657 protection macro.
41658 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41659 and <dl-machine.h>.
41660 (Elf64_FuncDesc): Remove.
41661
25ad0df1
DM
416622011-08-22 David S. Miller <davem@davemloft.net>
41663
41664 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41665 sigaltstack check, add missing cfi directives.
41666 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41667 missing cfi directives, and sigaltstack handling.
41668
e888bcbe
AS
416692011-08-16 Andreas Schwab <schwab@redhat.com>
41670
41671 [BZ #11724]
41672 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41673 object is seen twice.
41674 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41675
41676 * elf/Makefile (distribute): Add tst-initorder2.c.
41677 (tests): Add tst-initorder2.
41678 (modules-names): Add tst-initorder2a tst-initorder2b
41679 tst-initorder2c tst-initorder2d. Add rules to build them.
41680 ($(objpfx)tst-initorder2.out): New rule.
41681 * elf/tst-initorder2.c: New file.
41682 * elf/tst-initorder2.exp: New file.
41683
87162f46
AS
416842011-08-22 Andreas Schwab <schwab@redhat.com>
41685
70538b7f
AS
41686 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41687
f55ffe58
AS
41688 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41689 dependencies back to end of function.
41690
87162f46
AS
41691 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41692 $(elfobjdir)/ld.so.
41693
91b392a4
UD
416942011-08-21 Ulrich Drepper <drepper@gmail.com>
41695
41696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41697 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41698 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41699 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41700 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41701 of __vdso_gettimeofday.
41702 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41703 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41704 attribute_hidden.
41705 (_libc_vdso_platform_setup): Remove initialization of
41706 __vdso_gettimeofday and __vdso_time.
41707
5c43483f
UD
417082011-08-20 Ulrich Drepper <drepper@gmail.com>
41709
775a77e7
UD
41710 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41711 and fgetc_unlocked.
41712 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41713 getc_unlocked.
89f447ed 41714
49c74ba9
UD
41715 * elf/dl-open.c (add_to_global): Report additions to the global scope
41716 for LD_DEBUG=scopes.
41717 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41718 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41719
5c43483f
UD
41720 [BZ #13114]
41721 * stdio-common/Makefile (tests): Add bug24.
41722 * stdio-common/bug24.c: New file.
41723
a101b025
AJ
417242011-08-19 Andreas Jaeger <aj@suse.de>
41725
41726 [BZ #13114]
41727 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41728 non-existant file when using close-on-exec mode.
41729
c88f1766
UD
417302011-08-20 Ulrich Drepper <drepper@gmail.com>
41731
0276a718
UD
41732 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41733 the very first instruction.
41734
c88f1766
UD
41735 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41736 the CFI state in the end.
41737 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41738 inclusion of dl-trampoline.h.
41739 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41740
51ccffa0
AS
417412011-08-19 Andreas Schwab <schwab@redhat.com>
41742
94d7165f
AS
41743 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41744 expectations for long double.
41745
51ccffa0
AS
41746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41747 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41748
fd708658 417492011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41750
41751 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41752 artificual limit depends upon the system page size.
41753
44f0a71e
UD
417542011-08-17 Ulrich Drepper <drepper@gmail.com>
41755
41756 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41757 * resolv/Makefile: Define CFLAGS-libresolv.
41758
8de79a24
AS
417592011-08-17 Andreas Schwab <schwab@redhat.com>
41760
41761 * nss/makedb.c (compute_tables): Make variables used in nested
41762 function static.
41763
27724598
UD
417642011-08-17 Ulrich Drepper <drepper@gmail.com>
41765
c5305d88
UD
41766 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41767 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41768 if buffer was too small.
41769
27724598
UD
41770 * elf/pldd.c (main): Attach to all threads in the process.
41771 Rewrite /proc handling to use *at functions.
41772
076fe015
UD
417732011-08-16 Ulrich Drepper <drepper@gmail.com>
41774
174baab3
UD
41775 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41776 specifies first scope to show.
41777 (dl_open_worker): Update callers. Move printing scope of new
41778 object to before the relocation.
44f0a71e 41779 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41780 * sysdeps/generic/ldsodefs.h: Update declaration.
41781
076fe015
UD
41782 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41783 string for the scope number.
41784
a60df2c3
UD
417852011-08-14 Ulrich Drepper <drepper@gmail.com>
41786
41787 * nscd/servicescache.c (cache_addserv): Make sure written is always
41788 initialized.
41789
5e4287d1
RM
417902011-08-14 Roland McGrath <roland@hack.frob.com>
41791
85ae0589
RM
41792 * sysdeps/i386/i486/bits/atomic.h
41793 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41794 statement expression, so as to suppress "set but not used" warning.
41795 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41796
69f63097
RM
41797 * string/strncat.c (STRNCAT): Use prototype definition.
41798
675456ef
RM
41799 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41800 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41801 -Iprograms here.
41802 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41803 (localedef-modules): Add localedef.
41804 (locale-modules): Add locale.
41805
5e4287d1
RM
41806 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41807 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41808 to avoid a warning.
41809
9c96ff23
DM
418102011-08-14 David S. Miller <davem@davemloft.net>
41811
41812 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41813 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41814
f9ddf089
UD
418152011-08-13 Ulrich Drepper <drepper@gmail.com>
41816
44f0a71e 41817 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41818 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41819 * elf/rtld.c (dl_main): Set l_name of vDSO.
41820 Call _dl_show_scope when DL_DEBUG_SCOPES.
41821 (process_dl_debug): Recognize scopes flag and also set it for all.
41822 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41823 Declare _dl_show_scope.
41824
1dc27704
UD
41825 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41826 (do_dlopen): Pass caller_dlopen to dl_open.
41827 (__libc_dlopen_mode): Initialize caller_dlopen.
41828
f9ddf089
UD
41829 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41830 of libc. Make tolower call locale-independent. Optimize a bit by
41831 using isdigit instead of isalnum.
41832 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41833
9ac533d3
UD
418342011-08-12 Ulrich Drepper <drepper@gmail.com>
41835
41836 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41837 was a dependency or dynamically loaded.
41838
89edf2e9
UD
418392011-08-11 Ulrich Drepper <drepper@gmail.com>
41840
8e999d29
UD
41841 * intl/l10nflist.c: Allow architecture-specific pop function.
41842 * sysdeps/x86_64/l10nflist.c: New file.
41843
89edf2e9
UD
41844 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41845 classification.
41846
14d96785
AS
418472011-08-10 Andreas Schwab <schwab@redhat.com>
41848
41849 * include/dirent.h: Add libc_hidden_proto for scandirat and
41850 scandirat64. Don't declare __scandirat64.
41851 * dirent/scandirat.c: Add libc_hidden_def.
41852 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41853 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41854
6761ac04
DM
418552011-08-10 David S. Miller <davem@davemloft.net>
41856
41857 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41858 enum.
41859 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41860 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41861 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41862
c55fbd1e
UD
418632011-08-09 Ulrich Drepper <drepper@gmail.com>
41864
41865 * Versions.def [libc]: Add GLIBC_2.15.
41866 * dirent/Makefile (routines): Add scandirat and scandirat64.
41867 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41868 GLIBC_2.15.
41869 * dirent/dirent.h: Declare scandirat and scandirat64.
41870 * dirent/scandirat.c: New file.
41871 * dirent/scandirat64.c: New file.
41872 * sysdeps/wordsize-64/scandirat.c: New file.
41873 * sysdeps/wordsize-64/scandirat64.c: New file.
41874 * dirent/opendir.c: Define opendirat.
41875 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41876 using scandirat.
41877 * dirent/scandir64.c: Adjust for scandir.c change.
41878 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41879 __scandirat64, and __scandir_cancel_handler.
41880 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41881 additional parameter and use openat instead of open (outside of ld.so).
41882 Add new __opendir as wrapper around __opendirat.
41883 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41884 here without requiring old scandirat implementation.
41885
879165f2
UD
418862011-08-08 Ulrich Drepper <drepper@gmail.com>
41887
41888 * dirent/scandir.c (cancel_handler): Renamed to
41889 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41890 defined. Adjust users.
41891 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41892 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41893
cb7e923b
UD
418942011-08-04 Ulrich Drepper <drepper@gmail.com>
41895
16292edd
UD
41896 * string/test-string.h (IMPL): Use __STRING to expand name and then
41897 stringify it.
41898
cb7e923b
UD
41899 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41900 of cleanups.
41901
cff82933
LD
419022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41903
41904 * string/Makefile: Update.
41905 (strop-tests): Append strncat.
41906 * string/test-wcscmp.c: New file.
41907 New comprehensive test for wcscmp.
41908 * string/test-strcmp.c: Update.
41909 (WIDE): New define.
41910
9be9bfcc
AS
419112011-07-22 Andreas Schwab <schwab@redhat.com>
41912
41913 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41914 line.
41915
2e96f1c7
AS
419162011-07-26 Andreas Schwab <schwab@redhat.com>
41917
41918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41919 encoding to ACE if AI_IDN.
41920
85188888
JJ
419212011-08-01 Jakub Jelinek <jakub@redhat.com>
41922
41923 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41924 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41925
5fa16e9b
LD
419262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41927
41928 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41929 Fix overflow bug in strncat.
41930 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41931
41932 * string/test-strncat.c: Update.
41933 Add new tests for checking overflow bugs.
41934
419352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41936
41937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41938 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41939 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41940 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41941 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41942 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41943 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41944 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41945 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41946
41947 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41948 (USE_AS_STRCAT): Define.
41949 Add strcat and strncat support.
41950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41951
8c1a459f
AS
419522011-07-25 Andreas Schwab <schwab@redhat.com>
41953
41954 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41955 __n bigger than INT_MAX+1.
41956 (__strncmp_g): Likewise.
41957
bba33c28
UD
419582011-07-23 Ulrich Drepper <drepper@gmail.com>
41959
798be72d
UD
41960 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41961 * libio/stido.h: Likewise.
41962
8accd4dc
UD
41963 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41964 (AF_NFC): Define.
41965 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41966 (AF_NFC): Define.
41967
cbff0d96
UD
41968 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41969 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41970 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41971 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41972 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41973
9191c04a
UD
41974 [BZ #13021]
41975 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41976 installed.
41977
bba33c28
UD
41978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41979 typo.
41980 (_dl_x86_64_save_sse): Likewise.
41981
90f139dd
UD
419822011-07-22 Ulrich Drepper <drepper@gmail.com>
41983
1aae088a
UD
41984 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41985 OSXSAVE.
41986 (_dl_x86_64_save_sse): Likewise.
41987
8e2045f5
UD
41988 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41989
90f139dd
UD
41990 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41991
1d002f25
AS
419922011-07-21 Andreas Schwab <schwab@redhat.com>
41993
41994 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41995 change.
41996 (_dl_x86_64_save_sse): Use correct AVX check.
41997
21137f89
UD
419982011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41999
42000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42001 bug in strncpy/strncat.
42002 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42003
a65c0b7a
UD
420042011-07-21 Ulrich Drepper <drepper@gmail.com>
42005
42006 * string/tester.c (test_strcat): Add tests for different alignments
42007 of source and destination.
42008 (test_strncat): Likewise.
42009
6986b98a
UD
420102011-07-20 Ulrich Drepper <drepper@gmail.com>
42011
90bb2039
UD
42012 [BZ #12852]
42013 * posix/glob.c (glob): Check passed in values before using them in
42014 expressions to avoid some overflows.
42015 (glob_in_dir): Likewise.
42016
5644ef54
UD
42017 [BZ #13007]
42018 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42019 check for AVX enablement so that we don't crash with old kernels and
42020 new hardware.
42021 * elf/tst-audit4.c: Add same checks here.
42022 * elf/tst-audit6.c: Likewise.
42023
42024 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42025
bfc9dc9b
AS
420262011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42027
42028 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42029
702e64bb
UD
420302011-07-20 Ulrich Drepper <drepper@gmail.com>
42031
42032 * po/cs.po: Update from translation team.
42033 * po/bg.po: Likewise.
42034
295e904f
MP
420352011-07-12 Marek Polacek <mpolacek@redhat.com>
42036
42037 * misc/sys/cdefs.h: Add support for const attribute.
42038 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42039 to gnu_dev_{major,minor,makedev} functions.
42040
3ff94596
MP
420412011-07-20 Marek Polacek <mpolacek@redhat.com>
42042
42043 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42044
28b59fca
AS
420452011-07-20 Andreas Schwab <schwab@redhat.com>
42046
42047 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42048 strlen results.
42049
19df733e
AK
420502011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42051
42052 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42053 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42054 register in order to avoid conflicts with the soft frame pointer
42055 being held in r11 when necessary.
42056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42057 (INTERNAL_VSYSCALL_NCS): Likewise.
42058
c8835729
MP
420592011-07-14 Marek Polacek <mpolacek@redhat.com>
42060
42061 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42062 * elf/dl-fini.c (_dl_fini): Adjust caller.
42063 * elf/dl-close.c (_dl_close_worker): Likewise.
42064 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42065
b902330c
MP
420662011-07-15 Marek Polacek <mpolacek@redhat.com>
42067
8991e135
MP
42068 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42069 "aux_cache->nlibs < 0".
42070
b902330c
MP
42071 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42072 in the reload-count case.
42073
99710781
LD
420742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42075
42076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42077 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42078 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42079 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42080 * sysdeps/x86_64/multiarch/strcat.S: New file.
42081 * sysdeps/x86_64/multiarch/strncat.S: New file.
42082 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42083 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42084 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42085 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42086 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42087 (USE_AS_STRCAT): Define.
42088 Add strcat and strncat support.
42089 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42090 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42091 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42092 * string/strncat.c: Update.
42093 (USE_AS_STRNCAT): Define.
42094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42095 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42096 and i7.
42097 * sysdeps/x86_64/multiarch/init-arch.h
42098 (bit_Prefer_PMINUB_for_stringop): New.
42099 (index_Prefer_PMINUB_for_stringop): Likewise.
42100 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42101 bit_Prefer_PMINUB_for_stringop.
42102
7dc6bd90
UD
421032011-07-19 Ulrich Drepper <drepper@gmail.com>
42104
42105 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42106 buffer64.
42107 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42108 of casting of buffer.
42109 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42110 buffer32 and buffer64.
42111 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42112 writes instead of casting of buffer.
42113 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42114 buffer32.
42115 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42116 casting of buffer.
42117
e0e72284
AS
421182011-07-19 Andreas Schwab <schwab@redhat.com>
42119
42120 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42121
feb1eb0b
UD
421222011-07-19 Ulrich Drepper <drepper@gmail.com>
42123
42124 * nscd/nscd.c (termination_handler): Don't do anything for a database
42125 if it has not yet been initialized.
42126
298711ff
UD
421272011-07-18 Ulrich Drepper <drepper@gmail.com>
42128
42129 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42130
421312011-07-15 Marek Polacek <mpolacek@redhat.com>
42132
42133 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42134
f9d68389
UD
421352011-07-18 Ulrich Drepper <drepper@gmail.com>
42136
42137 * po/nl.po: Update from translation team.
42138 * po/sv.po: Likewise.
42139
db290cf5
RM
421402011-07-16 Roland McGrath <roland@hack.frob.com>
42141
42142 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42143 now disallowed by GCC.
5c550700 42144
fd5e21c7
RM
42145 * configure.in (use-default-link): Default to yes if a test -shared
42146 link meets our qualifications.
42147 * configure: Regenerated.
42148
5c550700
RM
42149 * config.make.in (output-format): New variable.
42150 * configure.in: Check for ld --print-output-format support.
42151 * configure: Regenerated.
42152 * Makerules ($(common-objpfx)format.lds)
42153 [$(output-format) != unknown]: Just use $(output-format),
42154 instead of the linker-script munging.
42155
9fa2c032
RM
421562011-07-14 Roland McGrath <roland@hack.frob.com>
42157
a6928d51
RM
42158 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42159 of $(common-objpfx)shlib.lds.
42160 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42161
661607b3
RM
42162 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42163 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42164
9fa2c032
RM
42165 * configure.in (-z relro check): Adjust test code to add a large
42166 writable data section after it.
42167 * configure: Regenerated.
42168
defe9061
RM
421692011-07-11 Roland McGrath <roland@hack.frob.com>
42170
42171 * configure.in (-z relro check): Fix test code to make the variable
42172 truly const.
42173 * configure: Regenerated.
42174
319b9ad4
UD
421752011-07-11 Ulrich Drepper <drepper@gmail.com>
42176
42177 * nscd/nscd.h (struct traced_file): Define.
42178 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42179 elements. Add traced_files.
42180 (inotify_fd): Declare.
42181 (register_traced_file): Declare.
42182 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42183 (inotify_fd): Export.
42184 (resolv_conf_descr): Remove.
42185 (nscd_init): Move inotify descriptor creation to main.
42186 Don't register files for notification here.
42187 (register_traced_file): New function.
42188 (invalidate_cache): Don't use reset_res to determine whether to call
42189 res_init, go through the list of registered files.
42190 (main_loop_poll): The inotify descriptors are now stored in the
42191 structures for the traced files.
42192 (main_loop_epoll): Likewise
42193 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42194 to __nss_disable_nscd.
42195 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42196 for a database anymore. Check the records for all the registered
42197 files instead.
42198 * nss/Makefile (libnss_files-routines): Add files-init.
42199 (libnss_db-routines): Add db-init.
42200 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42201 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42202 * nss/nss_db/db-init.c: New file.
42203 * nss/nss_files/files-init.c: New file.
42204 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42205 __nss_lookup_function.
42206 (__nss_lookup_function): Call nss_load_library.
42207 (nss_load_all_libraries): New function.
42208 (__nss_disable_nscd): Take parameter with callback function for files
42209 to register. Set is_nscd. Load all the DSOs for the NSS modules
42210 used for the cached services.
42211 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42212 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42213 options for features to all the files in nscd.
42214
42215 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42216
23bee3e8
RM
422172011-07-10 Roland McGrath <roland@hack.frob.com>
42218
42219 * csu/elf-init.c (__libc_csu_init): Comment typo.
42220
46a5b7f0
UD
422212011-07-09 Ulrich Drepper <drepper@gmail.com>
42222
42223 * po/pl.po: Update from translation team.
42224 * po/ja.po: Likewise.
42225 * po/ru.po: Likewise.
42226 * po/ko.po: Likewise.
42227 * po/fr.po: Likewise.
42228
d30cf5bb
RM
422292011-07-09 Roland McGrath <roland@hack.frob.com>
42230
113ddea4
RM
42231 * configure.in (.ctors/.dtors header and trailer check):
42232 Use an empirical test on a built program.
42233 * configure: Regenerated.
42234
574920b4
RM
42235 * configure.in (-z relro check): Use an empirical test on a built DSO.
42236 Detect, but do not require, on ia64.
42237 * configure: Regenerated.
42238
d30cf5bb
RM
42239 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42240 Update tests that use readelf to use $READELF instead.
42241 * configure: Regenerated.
42242
8538fdb3
UD
422432011-07-08 Ulrich Drepper <drepper@gmail.com>
42244
42245 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42246 if the result is not used.
42247
04d08991
AJ
422482011-07-05 Andreas Jaeger <aj@suse.de>
42249
42250 [BZ#9696]
42251 * stdlib/tst-strtod.c: Add testcase.
42252
de283087
AD
422532011-07-07 Ulrich Drepper <drepper@gmail.com>
42254
4e5f31c8 42255 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42256 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42257 The latter has a higher limit. Take additional parameter to pass to
42258 the new function.
42259 (__pathconf): Pass file to __statfs_link_max.
42260 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42261 __statfs_link_max.
42262 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42263 __statfs_link_max.
42264
de283087
AD
42265 [BZ #12868]
42266 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42267 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42268 Handle Lustre.
42269 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42270 (__statfs_filesize_max): Likewise.
42271 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42272
c75fa153
AJ
422732011-07-05 Andreas Jaeger <aj@suse.de>
42274
42275 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42276
1a544854
UD
422772011-07-06 Marek Polacek <mpolacek@redhat.com>
42278
42279 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42280 `status' variable.
42281 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42282 Likewise.
42283
6f0eec67
UD
422842011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42285
42286 * Makefile (strop-tests): Add strncat.
42287 * string/test-strncat.c: New file.
42288
aae30307
UD
422892011-06-30 Marek Polacek <mpolacek@redhat.com>
42290
42291 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42292
c0cfb5eb
UD
422932011-06-21 Andreas Jaeger <aj@suse.de>
42294
42295 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42296 Copy rule from iconvdata/Makefile.
42297
01636b21
UD
422982011-07-06 Ulrich Drepper <drepper@gmail.com>
42299
42300 [BZ #12922]
42301 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42302 but no long options are defined, just return 'W'.
42303
9895c8bc
UD
423042011-06-22 Marek Polacek <mpolacek@redhat.com>
42305
42306 [BZ #9696]
42307 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42308
5d4cf042
UD
423092011-07-06 Ulrich Drepper <drepper@gmail.com>
42310
42311 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42312 netgroups to read.
960e5535 42313 (innetgr): Likewise.
5d4cf042 42314
751eb97e
RM
423152011-07-05 Roland McGrath <roland@hack.frob.com>
42316
42317 * config.make.in (install_root): Default to $(DESTDIR).
42318
f15f1e45
UD
423192011-07-05 Ulrich Drepper <drepper@gmail.com>
42320
42321 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42322
4e34ac6a
RM
423232011-07-02 Roland McGrath <roland@hack.frob.com>
42324
5e9b6af4
RM
42325 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42326
84f9ea0f
RM
42327 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42328 containing directory rather than embedding absolute directory names.
42329
ea5ee9f7
RM
42330 * scripts/check-local-headers.sh: Rewritten using awk.
42331 Match by word, not by line. Print error messages for matches.
42332 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42333
1b74661a
RM
42334 * Makerules [shlib-lds-flags empty]:
42335 ($(common-objpfx)libc_pic.opts): New target.
42336 ($(common-objpfx)libc_pic.os.clean): New target.
42337 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42338
42339 * config.make.in (OBJCOPY): New variable.
42340 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42341 * configure: Regenerated.
42342
f781ef40
RM
42343 * config.make.in (use-default-link): New variable.
42344 * configure.in (use_default_link): Grok --with-default-link to set it.
42345 * configure: Regenerated.
42346 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42347 (shlib-lds, shlib-lds-flags): Define to empty.
42348
2d4fa81e
RM
42349 * Makerules (shlib-lds): New variable.
42350 (shlib-lds-flags): New variable.
42351 (build-shlib, build-moduile, build-module-asneeded): Use it.
42352 ($(common-objpfx)libc.so): Use $(shlib-lds).
42353 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42354 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42355
31fffa6b
RM
42356 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42357 DT_FLAGS/DT_FLAGS_1 with zero flags.
42358
4e34ac6a
RM
42359 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42360 linker script munging.
42361
fcfc776b
UD
423622011-07-02 Ulrich Drepper <drepper@gmail.com>
42363
42364 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42365 as 128-bit value.
42366 * crypt/sha512.c (sha512_process_block): Perform total addition using
42367 128-bit if possible.
42368 (__sha512_finish_ctx): Likewise.
42369 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42370 as 64-bit value.
42371 * crypt/sha256.c (SWAP64): Define.
42372 (sha256_process_block): Perform total addition using 64-bit if
42373 possible.
42374 (__sha256_finish_ctx): Likewise.
42375
99231d9a
UD
423762011-07-01 Ulrich Drepper <drepper@gmail.com>
42377
42378 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42379 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42380 * nscd/hstcache.c (cache_addhst): Likewise.
42381 * nscd/grpcache.c (cache_addgr): Likewise.
42382 * nscd/aicache.c (addhstaiX): Likewise
42383 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42384
445b4a53
TK
423852011-07-01 Thorsten Kukuk <kukuk@suse.de>
42386
42387 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42389 * nscd/hstcache.c (cache_addhst): Likewise.
42390 * nscd/grpcache.c (cache_addgr): Likewise.
42391 * nscd/aicache.c (addhstaiX): Likewise
42392
6d4d8e8e
AS
423932011-07-01 Andreas Schwab <schwab@redhat.com>
42394
42395 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42396 domain only when needed.
42397
89f654c5
AS
423982011-06-30 Andreas Schwab <schwab@redhat.com>
42399
42400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42401 is always restored.
42402
cf3b23ff
UD
424032011-06-29 Ulrich Drepper <drepper@gmail.com>
42404
42405 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42406 are re-adding the entry.
42407 * nscd/servicescache.c (cache_addserv): Likewise.
42408
751626f9
AJ
424092011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42410
42411 * sysdeps/generic/dl-irel.h: fix protection against multiple
42412 inclusions.
42413 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42414
9113ea1f
UD
424152011-06-28 Ulrich Drepper <drepper@gmail.com>
42416
5c0b8d90
UD
42417 [BZ #12935]
42418 * malloc/memusage.sh: Fix quoting in message.
42419 * debug/xtrace.sh: Likewise.
42420
9113ea1f
UD
42421 * configure.in: Remove support for --experimental-malloc option, make
42422 it the default.
42423 * config.make.in: Likewise.
42424 * malloc/Makefile: Likewise.
42425
a4172181
AS
424262011-06-27 Andreas Schwab <schwab@redhat.com>
42427
42428 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42429 two-byte characters.
42430
78a7eee7
RM
424312011-06-27 Roland McGrath <roland@hack.frob.com>
42432
62bede13
RM
42433 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42434 AC_CACHE_CHECK invocation.
42435 * configure: Regenerated.
42436
78a7eee7
RM
42437 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42438
5ce33a62
UD
424392011-06-27 Ulrich Drepper <drepper@gmail.com>
42440
034807a9
UD
42441 [BZ #12350]
42442 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42443 bit from old_res_options.
42444
4902da17
UD
42445 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42446
5ce33a62
UD
42447 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42448 value type for setfct.
42449
c2344f56
L
424502011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42451
42452 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42453 __gettimeofday instead of gettimeofday.
42454
68468076
UD
424552011-06-26 Ulrich Drepper <drepper@gmail.com>
42456
42457 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42458
acb0d739
L
424592011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42460
42461 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42462
42463 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42464 info.
42465
8912479f
L
424662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42467
42468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42469 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42470 strcpy-sse2-unaligned strncpy-sse2-unaligned
42471 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42472 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42473 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42474 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42475 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42476 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42477 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42478 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42479 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42480 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42481 (STRCPY): Support SSE2 and SSSE3 versions.
42482
d5495a11
UD
424832011-06-24 Ulrich Drepper <drepper@gmail.com>
42484
42485 [BZ #12874]
42486 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42487 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42488 kernels which artificially limit size of requests.
42489
0b1cbaae
L
424902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42491
42492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42493 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42494 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42495 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42496 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42497 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42498 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42499 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42500 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42501 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42502 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42503 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42504 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42505 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42506 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42508 Enable unaligned load optimization for Intel Core i3, i5 and i7
42509 processors.
42510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42511 Define.
42512 (index_Fast_Unaligned_Load): Define.
42513 (HAS_FAST_UNALIGNED_LOAD): Define.
42514
07f494a0
MP
425152011-06-23 Marek Polacek <mpolacek@redhat.com>
42516
42517 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42518
fa3fc0fe
UD
425192011-06-22 Ulrich Drepper <drepper@gmail.com>
42520
42521 [BZ #12907]
42522 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42523 until it is clear that the information is realy needed.
42524 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42525
e12df166
AS
425262011-06-22 Andreas Schwab <schwab@redhat.com>
42527
42528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42529
852eb34d
UD
425302011-06-22 Ulrich Drepper <drepper@gmail.com>
42531
84e2a551
UD
42532 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42533 /sys/devices/system/cpu/online if it is usable.
42534
852eb34d
UD
42535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42536 reading the information from the /proc filesystem to once a second.
42537
6e502e19
UD
425382011-06-21 Andreas Jaeger <aj@suse.de>
42539
42540 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42541 NULL after inclusion of kernel headers.
42542
75d39ff2
UD
425432011-06-21 Ulrich Drepper <drepper@gmail.com>
42544
51f9aa6a
UD
42545 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42546 calls to internal_setent.
42547
c0244a9d
UD
42548 [BZ #12885]
42549 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42550 addresses using gethostbyname4_r ignore IPv4 addresses.
42551
c5e3c2ae
UD
42552 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42553 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42554
75d39ff2
UD
42555 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42556
42675c6f
DM
425572011-06-20 David S. Miller <davem@davemloft.net>
42558
42559 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42560 inclusions.
42561 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42562
42563 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42564 (elf_irel): Use it.
42565 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42566 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42567 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42568 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42569 * sysdeps/x86_64/dl-irel.h: Likewise.
42570
42571 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42572 * elf/dl-sym.c: Likewise.
42573
57912a71
UD
425742011-06-15 Ulrich Drepper <drepper@gmail.com>
42575
42576 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42577 need to dereference resplen2.
42578
ee22793d
AS
425792011-06-14 Andreas Schwab <schwab@redhat.com>
42580
42581 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42582
a9e836b0
UD
425832011-06-15 Ulrich Drepper <drepper@gmail.com>
42584
77fb9117
UD
42585 * Makeconfig: Define vardbdir and inst_vardbdir.
42586 * nss/Makefile: Add rules to install db-Makefile.
42587
40c1b22c
UD
42588 * nss/nss_db/db-XXX.c: Cleanup.
42589
9f2da732
UD
42590 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42591 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42592 GLIBC_PRIVATE.
42593 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42594 * nss/makedb.c: Implement -g option to specify that value strings
42595 are generated and should not be added to table iterated over for
42596 get*ent calls.
42597 * nss/nss_db/db-initgroups.c: New file.
42598
82e9a1f7
UD
42599 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42600 interface.
42601
c41af17e
UD
42602 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42603 (internal_getgrouplist): Adjust to name change.
42604 Update use_initgroups_entry if this is not the first call.
42605 * nss/databases.def: Add initgroups entry.
42606
a9e836b0
UD
42607 * nss/makedb.c (compute_tables): Check result of multiple hash table
42608 sizes to minimize maximum chain length.
42609
2666d441
UD
426102011-06-14 Ulrich Drepper <drepper@gmail.com>
42611
42612 * Versions.def: Add entry for libnss_db.
42613 * shlib-versions: Likewise.
42614 * nss/Makefile: Add rules to build libnss_db.
42615 * nss/Versions: Add libnss_db information. Organize libnss_files
42616 entries better.
42617 * nss/db-Makefile: Add gshadow support. Change rules for the new
42618 makedb progra. Some minor improvements to generate smaller files.
42619 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42620 here from...
42621 * nss/makedb.c: ...here.
42622 Improve database format to be smaller and require less memory at
42623 runtime.
42624 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42625 db anymore.
42626 * nss/nss_db/db-netgrp.c: Likewise.
42627 * nss/nss_db/db-open.c: Likewise.
42628 * nss/nss_files/flies-XXX.x: Adjust comments.
42629 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42630 * nss/nss_files/files-grp.c: Likewise.
42631 * nss/nss_files/files-hosts.c: Likewise.
42632 * nss/nss_files/files-network.c: Likewise.
42633 * nss/nss_files/files-proto.c: Likewise.
42634 * nss/nss_files/files-pwd.c: Likewise.
42635 * nss/nss_files/files-rpc.c: Likewise.
42636 * nss/nss_files/files-service.c: Likewise.
42637 * nss/nss_files/files-sgrp.c: Likewise.
42638 * nss/nss_files/files-spwd.c: Likewise.
42639 * nss/nss_db/db-alias.c: Removed.
42640 * nss/nss_db/dummy-db.h: Removed.
42641
9ee76b5a
UD
426422011-06-02 Ulrich Drepper <drepper@gmail.com>
42643
42644 * nss/makedb.c: Rewritten to not use database library.
42645 * nss/Makefile: Update to build new makedb program.
42646
c71ca1f8
AJ
426472011-06-14 Andreas Jaeger <aj@suse.de>
42648
42649 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42650 memset declaration.
42651
3154bfb8
UD
426522011-06-10 Andreas Schwab <schwab@redhat.com>
42653
42654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42655 tmpbuf.
42656
b350afab
RM
426572011-06-10 Roland McGrath <roland@hack.frob.com>
42658
decd4e50
RM
42659 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42660 * elf/Makefile ($(objpfx)ld.so): Likewise.
42661
5615eaf2
RM
42662 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42663 Don't list ld.so twice in dependencies.
42664
42665 * posix/bug-regex31.c: Include <stdlib.h>.
42666
42667 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42668
42669 * nis/nss_compat/compat-spwd.c
42670 (getspent_next_nss_netgr): Remove unused variable.
42671 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42672
42673 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42674 nonmembers" output to use the right array.
42675
42676 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42677
42678 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42679
42680 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42681 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42682 * catgets/gencat.c (read_input_file): Likewise.
42683 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42684
42685 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42686 variable definition inside #if's controlling its use.
42687
42688 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42689
42690 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42691
42692 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42693
42694 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42695 unreachable code.
42696
42697 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42698
b68e08db
RM
42699 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42700 * configure: Regenerated.
42701
b350afab
RM
42702 * Makerules: Revert last change.
42703 * elf/Makefile: Likewise.
42704
28368601
RM
427052011-06-09 Roland McGrath <roland@hack.frob.com>
42706
42707 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42708 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42709 (reloc-link): Likewise.
42710
11988f8f
UD
427112011-06-09 Ulrich Drepper <drepper@gmail.com>
42712
42713 * elf/Makefile: Add rules to build pldd.
42714 * elf/pldd.c: New file.
42715 * elf/pldd-xx.c: New file.
42716
e80fab37
UD
427172011-06-07 Ulrich Drepper <drepper@gmail.com>
42718
42719 * version.h: Update for 2.15 development version.
42720
9b849836
DM
427212011-06-07 David S. Miller <davem@davemloft.net>
42722
42723 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42724 ifuncs.
42725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42726 elf_machine_lazy_rel): Likewise.
42727 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42728 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42729 elf_machine_lazy_rel): Likewise.
42730 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42731 dl_hwcap via passed in argument.
42732 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42733 Likewise.
42734
5a31b283
AK
427352011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42736
42737 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42738
069e52f8
RM
427392011-06-06 Roland McGrath <roland@hack.frob.com>
42740
42741 [BZ #12849]
42742 * manual/fdl-1.1.texi: New file, verbatim from:
42743 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42744 * manual/lgpl-2.1.texi: New file, verbatim from:
42745 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42746 * manual/Makefile (licenses): New variable, list those new file names.
42747 (texis): Use it.
42748 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42749
42750 * manual/fdl.texi: File removed.
42751 * manual/lesser.texi: File removed.
42752 * manual/libc.texinfo (Copying, Documentation License):
42753 Use new @include file names, put @appendix directive before @include.
42754
f16846a5
JJ
427552011-06-04 Jakub Jelinek <jakub@redhat.com>
42756
42757 [BZ #12841]
42758 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42759 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42760 (mq_open): Add __NTH.
42761
3d29045b
L
427622011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42763
42764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42765 Assume Intel Core i3/i5/i7 processor if AVX is available.
42766
8c297311
UD
427672011-05-31 Ulrich Drepper <drepper@gmail.com>
42768
42769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42770 typo.
42771
c8fc0c91
UD
427722011-05-31 Andreas Schwab <schwab@redhat.com>
42773
42774 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42775 memory. Use alloca_account. Fix memory leak when retrying.
42776
5b27a807
UD
427772011-05-31 Ulrich Drepper <drepper@gmail.com>
42778
356f8bc6
UD
42779 * version.h (RELEASE): Bump for 2.14 release.
42780 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42781
5b27a807
UD
42782 * config.make.in (RANLIB): Remove entry.
42783
01f16ab0
UD
427842011-05-30 Ulrich Drepper <drepper@gmail.com>
42785
41fce8bd
UD
42786 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42787 (libc.pot): Work around missing support for .ksh extension in xgettext.
42788
4769ae77
UD
42789 [BZ #12684]
42790 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42791 if both request failed.
42792 (send_dg): In case of server errors clear resplen or *resplen2.
42793
6b1e7d19
UD
42794 [BZ #12454]
42795 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42796 when there are multiple maps.
42797 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42798 (_dl_fini): Remove test here.
42799
01f16ab0
UD
42800 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42801
b1ebd700
UD
428022011-05-29 Ulrich Drepper <drepper@gmail.com>
42803
7ae22829
UD
42804 [BZ #12350]
42805 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42806 bit from old_res_options.
42807 (gaih_inet): Likewise.
42808
553149f6 42809 [BZ #11099]
18a84741 42810 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42811 as signed.
42812
652ffab1
UD
42813 * resolv/res_init.c (res_setoptions): Make the code more compact.
42814
16985fd0
UD
42815 [BZ #11558]
42816 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42817 set RES_USEVC.
42818
0464f746
UD
42819 [BZ #11634]
42820 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42821
7d17596c
UD
42822 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42823
cf6bbbd7
UD
42824 [BZ #11781]
42825 * malloc/malloc.h: Declare malloc hook variables as volatile.
42826
13f1ab36
UD
42827 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42828 in last patch.
42829
b1ebd700
UD
42830 [BZ #11799]
42831 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42832 raise in the comment.
80e2212d
UD
42833 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42834 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42835 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42836
ce67228d
UD
428372011-05-28 Ulrich Drepper <drepper@gmail.com>
42838
8887a920
UD
42839 [BZ #12811]
42840 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42841 grow the buffers more if it already has to be sufficient.
42842 (build_wcs_upper_buffer): Likewise.
42843 * posix/regexec.c (check_matching): Likewise.
42844 (clean_state_log_if_needed): Likewise.
42845 (extend_buffers): Don't enlarge buffers beyond size of the input
42846 buffer.
42847 Patches mostly by Emil Wojak <emil@wojak.eu>.
42848 * posix/bug-regex32.c: New file.
42849 * posix/Makefile (tests): Add bug-regex32.
42850
4f031072
UD
42851 * locale/findlocale.c (_nl_find_locale): Return right away if
42852 _nl_explode_name failed.
42853 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42854
d0478f0c
UD
42855 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42856
de81b246
UD
42857 * debug/xtrace.sh: Unify messages.
42858 * malloc/memusage.sh: Likewise.
42859
c738465a
UD
42860 [BZ #12813]
42861 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42862 time symbol from vDSO. Substitute with vsyscall if not available.
42863 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42864 __vdso_time.
42865
f1f929d7
UD
42866 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42867 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42868 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42869 Add sendmmsg and internal_sendmmsg.
42870 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42871 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42872 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42873
ce67228d
UD
42874 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42875 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42876 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42877
e57420c6
UD
428782011-05-27 Ulrich Drepper <drepper@gmail.com>
42879
a8509ca5
UD
42880 [BZ #12813]
42881 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42882 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42883 available.
42884 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42885 __vdso_getcpu.
42886
e57420c6
UD
42887 [BZ #12814]
42888 * iconvdata/Makefile (tests): Add bug-iconv9.
42889 * iconvdata/bug-iconv9.c: New file.
42890
4d07db15
AS
428912011-05-27 Andreas Schwab <schwab@redhat.com>
42892
42893 [BZ #12814]
42894 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42895
ea486f69
JJ
428962011-05-25 Jakub Jelinek <jakub@redhat.com>
42897
42898 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42899 (struct user_regs_struct): Change intcs field back to cs.
42900
6f038433
UD
429012011-05-25 Ulrich Drepper <drepper@gmail.com>
42902
42903 * po/ja.po: Update from translation team.
42904
67f86a25
UD
429052011-05-23 Ulrich Drepper <drepper@gmail.com>
42906
42907 [BZ #12795]
42908 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42909 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42910
def7fbd6
AS
429112011-05-20 Andreas Schwab <schwab@redhat.com>
42912
42913 * stdlib/longlong.h: Update from GCC.
42914
f50ef8f1
AS
429152011-05-23 Andreas Schwab <schwab@redhat.com>
42916
42917 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42918 parameter name.
42919 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42920 Add parameter name.
42921 (__sysconf): Pass it down.
42922
de7ce8f1
UD
429232011-05-22 Ulrich Drepper <drepper@gmail.com>
42924
f2962a71
UD
42925 [BZ #12671]
42926 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42927 some situations.
42928 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42929 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42930 add in in __libc_use_alloca calls. Adjust callers.
42931 (glob): Use malloc in some situations.
42932
de7ce8f1
UD
42933 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42934 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42935 pltexit.
42936
aec84f53
UD
429372011-05-21 Ulrich Drepper <drepper@gmail.com>
42938
05bb4a68
UD
42939 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42940 and CLOCK_BOOTTIME_ALARM.
42941
7ea72f99
UD
42942 [BZ #12782]
42943 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42944 is returned.
42945
7e4afad5
UD
42946 * string/_strerror.c (__strerror_r): Print negative errors as signed
42947 numbers.
42948
8e211fec
UD
42949 [BZ #12777]
42950 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42951 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42952 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42953
f7d82dc9
UD
42954 * configure.in: Fix typo in redirection and correct removal of test
42955 files in two cases.
42956
cc9e536d
UD
42957 [BZ #12788]
42958 * locale/setlocale.c (new_composite_name): Fix test to check for
42959 identical name of all categories.
42960
aec84f53
UD
42961 [BZ #12792]
42962 * libio/filedoalloc.c (local_isatty): New function.
42963 (_IO_file_doallocate): Use local_isatty.
42964 * stdio-common/perror.c (perror): In case a new stream is used
42965 forward the stream error.
42966 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42967 error flag.
42968
78e64fdc
RT
429692011-05-20 Ulrich Drepper <drepper@gmail.com>
42970
34a9094f
UD
42971 [BZ #11869]
42972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42973 alloca.
42974 * include/alloca.h (extend_alloca_account): Define.
42975
78e64fdc
RT
42976 [BZ #11857]
42977 * posix/regex.h: Fix comments with documentation of user-accessible
42978 fields after compilation and describe correct free'ing of pattern
42979 after re_compile_pattern.
42980 Patch by Reuben Thomas <rrt@sc3d.org>.
42981
457bddfc
RA
429822011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42983
42984 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42985 and -mno-altivec to prevent the compiler from using Altivec and/or
42986 VSX instructions when the corresponding registers are not available.
42987
a4527b51
AS
429882011-05-19 Andreas Schwab <schwab@redhat.com>
42989
42990 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42991
ed690b2f
UD
429922011-05-19 Ulrich Drepper <drepper@gmail.com>
42993
42994 * libio/freopen.c (freopen): Use __dup2, not dup2.
42995 * libio/freopen64.c (freopen64): Likewise.
42996
8db73634
L
429972011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42998
42999 [BZ #12775]
43000 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43001 * math/Makefile (tests): Add test-powl.
43002 (CFLAGS-test-powl.c): Define.
43003 * math/test-powl.c: New file.
43004
0a197a9d
L
430052011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43006
43007 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43008
ee30c380
UD
430092011-05-17 Ulrich Drepper <drepper@gmail.com>
43010
43011 [BZ #11837]
43012 * iconvdata/gb18030.c: Update to GB18020-2005.
43013
6ce75379
UD
430142011-05-16 Ulrich Drepper <drepper@gmail.com>
43015
a4b89fd8
AR
43016 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43017 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43018 Patch by Aharon Robbins <arnold@skeeve.com>.
43019
ea389b12
UD
43020 [BZ #11892]
43021 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43022 on the stack.
43023
68a3f91f
UD
43024 [BZ #11895]
43025 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43026 through underflows.
43027
15cc7dd1
UD
43028 [BZ #12766]
43029 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43030 point to strings before performing equality test for error_one_per_line
43031 mode.
43032
f3799213
UD
43033 [BZ #11697]
43034 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43035
d79a9c94
UD
43036 [BZ #11820]
43037 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43038 (struct user_fpregs_struct): Avoid __uint*_t types.
43039
56e5eb46
UD
43040 [BZ #6420]
43041 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43042 symbol info. Use it instead of calling _dl_addr locally.
43043 (lock_and_info): New function.
43044 (tr_freehook): Call lock_and_info and pass symbol info as additional
43045 parameter to tr_where.
43046 (tr_mallochook): Likewise.
43047 (tr_reallochook): Likewise.
43048 (tr_memalignhook): Likewise.
43049
6ce75379
UD
43050 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43051 used and couldn't be at all thread-safe.
43052
f8a3b5bf
UD
430532011-05-15 Ulrich Drepper <drepper@gmail.com>
43054
94b7cc37
UD
43055 * libio/freopen.c (freopen): Don't close old file descriptor
43056 before the new one is opened. Instead dup the new file descriptor
43057 to the old one after the new stream is created.
43058 * libio/freopen64.c (freopen64): Likewise.
43059 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43060 * libio/fileops.c (_IO_new_file_close_it): Handle new
43061 _IO_FLAGS2_NOCLOSE flag.
43062 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43063 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43064 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43065 _IO_FLAGS2_NOCLOSE flag.
43066 * include/unistd.h: Add hidden_proto for dup3.
43067 Define __have_dup3.
43068 * io/dup3.c: Define hidden symbol.
43069 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43070
bd25564e
UD
43071 [BZ #7101]
43072 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43073 when an incomplete long option is used.
43074 * posix/tst-getopt_long1.c: New file.
43075 * posix/Makefile (tests): Add tst-getopt_long1.
43076
c84cfef4
UD
43077 [BZ #10138]
43078 * scripts/config.guess: Update from autoconf-2.68.
43079 * scripts/config.sub: Likewise.
43080
3b85df27
UD
43081 [BZ #10157]
43082 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43083 tests into ...
43084 (has_cpuclock): ...this. New function.
43085 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43086 macro here based on has_cpuclock code.
43087
15a856b1
UD
43088 [BZ #10149]
43089 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43090 First byte (not low byte) is now always NUL.
43091 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43092
05f399e6
UD
43093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43094 Use non-cancelable interfaces.
43095
10a52685 43096 [BZ #9809]
94ecc67d
UD
43097 * locale/iso-639.def: Add entry for Sorani.
43098
f8a3b5bf
UD
43099 [BZ #11901]
43100 * include/stdlib.h: Move include protection to the right place.
43101 Define abort_msg_s. Declare __abort_msg with it.
43102 * stdlib/abort.c (__abort_msg): Adjust type.
43103 * assert/assert.c (__assert_fail_base): New function. Majority
43104 of code from __assert_fail. Allocate memory for __abort_msg with
43105 mmap.
43106 (__assert_fail): Now call __assert_fail_base.
43107 * assert/assert-perr.c: Remove bulk of implementation. Use
43108 __assert_fail_base.
43109 * include/assert.hL Declare __assert_fail_base.
43110 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43111 mmap.
43112 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43113
1af4e298
UD
431142011-05-14 Ulrich Drepper <drepper@gmail.com>
43115
f8a3b5bf 43116 [BZ #11952]
d26dfc60
MG
43117 [BZ #12453]
43118 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43119 until all modules are registered in the DTV.
43120 * elf/Makefile: Add rules to build and run tst-tls19.
43121 * elf/tst-tls19.c: New file.
43122 * elf/tst-tls19mod1.c: New file.
43123 * elf/tst-tls19mod2.c: New file.
43124 * elf/tst-tls19mod3.c: New file.
43125 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43126
2fc54d6f
UD
43127 [BZ #12083]
43128 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43129 correctly.
43130
98d76b46
UD
43131 [BZ #12601]
43132 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43133 two-byte sequence errors.
43134 * iconvdata/Makefile (tests): Add bug-iconv8.
43135 * iconvdata/bug-iconv8.c: New file.
43136
da3c19ef
UD
43137 [BZ #12626]
43138 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43139 buf2 definition.
43140
ca408c15
UD
43141 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43142
d6f67f7d
UD
43143 [BZ #12432]
43144 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43145 (dummy_getcfa): New function.
43146 (init): Get _Unwind_GetCFA address, use dummy if not found.
43147 (backtrace_helper): In recursion check, also check whether CFA changes.
43148 (__backtrace): Completely initialize arg.
43149
1af4e298 43150 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43151 storing incomplete byte sequence in state object. Avoid testing for
43152 guaranteed too small input if we know there is enough data available.
1af4e298 43153
da62f81b
AS
431542011-05-11 Andreas Schwab <schwab@redhat.com>
43155
43156 * Makeconfig (+link-pie): Indent.
43157 * Rules (binaries-pie): Define if $(have-fpie) and
43158 $(build-shared).
43159 (binaries-shared): Also filter out $(binaries-pie).
43160 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43161 * nscd/Makefile (others-pie): Add nscd.
43162 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43163 ($(objpfx)nscd): Remove command override.
43164 * login/Makefile (others-pie): Add pt_chown.
43165 ($(objpfx)pt_chown): Remove command override.
43166 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43167 remove command overrides.
43168
fcabc0f8
UD
431692011-05-13 Ulrich Drepper <drepper@gmail.com>
43170
20030ae6
UD
43171 * libio/tst_putwc.c: Fix error messages.
43172
fcabc0f8
UD
43173 [BZ #12724]
43174 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43175 currently writing and seek to current position when not.
43176 * libio/Makefile (tests): Add bug-fclose1.
43177 * libio/bug-fclose1.c: New file.
43178
320a5dc0
PB
431792011-05-12 Ulrich Drepper <drepper@gmail.com>
43180
43181 [BZ #12511]
43182 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43183 don't set DF_1_NODELETE here.
43184 (do_lookup_x): When entering new entry test for copy relocation
43185 and if necessary set DF_1_NODELETE flag.
43186 * elf/tst-unique4.cc: New file.
43187 * elf/tst-unique4.h: New file.
43188 * elf/tst-unique4lib.cc: New file.
43189 * elf/Makefile: Add rules to build and run tst-unique4.
43190 Patch by Piotr Bury <pbury@goahead.com>.
43191
22836f52
UD
431922011-05-11 Ulrich Drepper <drepper@gmail.com>
43193
f574184a
UD
43194 [BZ #12052]
43195 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43196
e1fb097f
UD
43197 [BZ #12625]
43198 * misc/mntent_r.c (addmntent): Flush the stream after the output
43199
22836f52
UD
43200 [BZ #12393]
43201 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43202 (is_trusted_path_normalize): Skip initial colon. Append slash
43203 to empty buffer. Duplicate is_trusted_path code but allow
43204 constructed patch to be prefix.
43205 (is_dst): Allow $ORIGIN followed by /.
43206 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43207 Correct testing of result of is_trusted_path_normalize
43208 (decompose_rpath): Fix warning.
43209
7b3b0b2a
UD
432102011-05-10 Ulrich Drepper <drepper@gmail.com>
43211
43212 [BZ #11257]
43213 * grp/initgroups.c (internal_getgrouplist): When we found the service
43214 list through the initgroups entry in nsswitch.conf do not always
43215 continue on a successful lookup. Don't always use the
eac80ce2 43216 __nss_group_database value if it is set.
7b3b0b2a
UD
43217 * nss/nsswitch.conf (initgroups): Change action for successful db
43218 lookup to continue for compatibility.
43219
2a81eaa5
UD
432202011-05-09 Ulrich Drepper <drepper@gmail.com>
43221
be97a69e
UD
43222 [BZ #11532]
43223 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43224 and CP774 modules.
43225 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43226 and CP774 modules.
43227 * iconvdata/tst-tables.sh: Likewise.
43228 * iconvdata/cp770.c: New file.
43229 * iconvdata/cp771.c: New file.
43230 * iconvdata/cp772.c: New file.
43231 * iconvdata/cp773.c: New file.
43232 * iconvdata/cp774.c: New file.
43233 * iconvdata/testdata/CP770: New file.
43234 * iconvdata/testdata/CP770..UTF8: New file.
43235 * iconvdata/testdata/CP771: New file.
43236 * iconvdata/testdata/CP771..UTF8: New file.
43237 * iconvdata/testdata/CP772: New file.
43238 * iconvdata/testdata/CP772..UTF8: New file.
43239 * iconvdata/testdata/CP773: New file.
43240 * iconvdata/testdata/CP773..UTF8: New file.
43241 * iconvdata/testdata/CP774: New file.
43242 * iconvdata/testdata/CP774..UTF8: New file.
43243
43244 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43245 END CHARMAP line.
43246 * iconvdata/gen-8bit-gap.sh: Likewise.
43247 * iconvdata/gen-8bit.sh: Likewise.
43248
c1e9e399
UD
43249 * locale/iso-639.def: Add ary entry.
43250
24c55fb3 43251 [BZ #11258]
96b4b1b0
UD
43252 * locale/C-translit.h.in: Add U20A1 transliteration.
43253
bdc2f971
KB
43254 [BZ #12178]
43255 * locale/iso-639.def: Add wae entry.
43256 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43257
2952b117
UD
43258 [BZ #12545]
43259 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43260 for n.
43261
2a81eaa5
UD
43262 [BZ #12711]
43263 * locale/C-translit.h.in: Add entry for U20B9.
43264 Patch by pravin.d.s@gmail.com.
43265
28377d1b
UD
432662011-05-08 Ulrich Drepper <drepper@gmail.com>
43267
7fb90fb8
UD
43268 [BZ #12713]
43269 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43270 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43271 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43272 in rtld. Use *stat64.
7fb90fb8 43273 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43274 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43275 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43276 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43277 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43278 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43279 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43280 __fstatat64 macros.
7fb90fb8
UD
43281 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43282 * dirent/rewinddir.c: Add libc_hidden_def.
43283 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43284 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43285
28377d1b
UD
43286 * include/dirent.h (__alloc_dir): Add flags parameter.
43287 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43288 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43289 __alloc_dir.
43290 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43291 from fdopendir if O_CLOEXEC is already set.
43292
66bdbaa4
AM
432932011-03-15 Alan Modra <amodra@gmail.com>
43294
43295 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43296 l_tls_firstbyte_offset non-zero. Save padding offset in
43297 l_tls_firstbyte_offset for later use.
43298 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43299 freeing static tls block.
43300
95721191
JN
433012011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43302
43303 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43304 where #ifdef was intended. The intent is to prevent ARG_MAX from
43305 being defined by the kernel headers.
43306
f87dfb1f
UD
433072011-05-07 Ulrich Drepper <drepper@gmail.com>
43308
43309 [BZ #12734]
43310 * resolv/resolv.h: Define RES_NOTLDQUERY.
43311 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43312 no-tld-query and set RES_NOTLDQUERY.
43313 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43314 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43315 modern BIND to search name as TLD unless forbidden.
43316
47c3cd7a
UD
433172011-05-07 Petr Baudis <pasky@suse.cz>
43318 Ulrich Drepper <drepper@gmail.com>
43319
43320 [BZ #12393]
43321 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43322 (is_trusted_path): ...to here.
c1e9ea35 43323 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43324 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43325 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43326
8a35c912
PP
433272011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43328
43329 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43330 __BEGIN/__END_DECLS.
43331
acd41f47
UD
433322011-05-06 Ulrich Drepper <drepper@gmail.com>
43333
43334 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43335 NSS_STATUS_NOTFOUND if no record was found.
43336
597df647
AS
433372011-05-05 Andreas Schwab <schwab@redhat.com>
43338
43339 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43340 (headers-not-in-tirpc): Remove rpc/netdb.h
43341 * resolv/netdb.h: Revert last change.
43342
b9af1301
PP
433432011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43344
43345 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43346 circular dependency between libgcc.a and libc.a.
43347
4e34d5f5
AS
433482011-05-05 Andreas Schwab <schwab@redhat.com>
43349
43350 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43351 * nis/Makefile: Don't install rpcsvc/*.
43352 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43353 instead of <rpc/types.h>.
43354 (MAXHOSTNAMELEN): Define.
43355
00ee369c
AS
433562011-05-03 Andreas Schwab <schwab@redhat.com>
43357
43358 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43359
0b592a30
MB
433602011-04-28 Maciej Babinski <mbabinski@google.com>
43361
43362 [BZ #12714]
43363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43364 gethostbyname4_r when IPv6 results are possible.
43365
6e04cbbe
UD
433662011-05-02 Ulrich Drepper <drepper@gmail.com>
43367
43368 [BZ #12723]
43369 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43370 _PC_PIPE_BUF handling.
43371
e4ecafe0
BH
433722011-04-30 Bruno Haible <bruno@clisp.org>
43373
43374 [BZ #12717]
43375 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43376 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43377 to 'int'.
43378 * inet/getnameinfo.c (getnameinfo): Likewise.
43379
125ee683
UD
433802011-04-29 Ulrich Drepper <drepper@gmail.com>
43381
43382 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43383 to groups setting in database lookup.
43384 * nss/nsswitch.conf: Add initgroups entry.
43385
b722481a
EB
433862011-04-22 Ulrich Drepper <drepper@gmail.com>
43387
43388 [BZ #12685]
43389 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43390 mode string.
43391 Patch by Eric Blake <eblake@redhat.com>.
43392
4df46dbd
L
433932011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43394
43395 * sunrpc/Makefile (need-export-routines): Add svc_run.
43396 (routines): Remove svc_run.
43397 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43398 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43399 * sunrpc/svc_run.c (svc_run): Likewise.
43400 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43401
e84142d2
UD
434022011-04-21 Ulrich Drepper <drepper@gmail.com>
43403
43404 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43405 problem in reallocation in last patch.
43406
877175d8
UD
434072011-04-20 Ulrich Drepper <drepper@gmail.com>
43408
43409 * sunrpc/Makefile: Move inclusion of Rules.
43410
ab8eed78
UD
434112011-04-19 Ulrich Drepper <drepper@gmail.com>
43412
43413 * nss/nss_files/files-initgroups.c: New file.
43414 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43415 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43416 _nss_files_initgroups_dyn.
43417
e3d8f584
RS
434182011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43419
43420 * elf/elf.h (R_ARM_IRELATIVE): Define.
43421
af190f45
UD
434222011-04-19 Ulrich Drepper <drepper@gmail.com>
43423
43424 * po/ru.po: Update from translation team.
43425
53cf59ef
UD
434262011-04-17 Ulrich Drepper <drepper@gmail.com>
43427
43428 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43429 dependencies.
43430
4c559bcd
MF
434312011-02-06 Mike Frysinger <vapier@gentoo.org>
43432
43433 [BZ #12653]
43434 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43435 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43436 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43437 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43439
4420675c
AS
434402011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43441
43442 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43443 differing bytes.
43444 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43445 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43446 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43447
75ea32ab
UD
434482011-04-17 Ulrich Drepper <drepper@gmail.com>
43449
43450 [BZ #12420]
43451 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43452 storing it.
43453 * stdlib/bug-getcontext.c: New file.
43454 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43455
27390476
AK
434562011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43457
43458 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43459 instructions into .machine "z9-109".
43460 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43461 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43462
10442705
AK
434632011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43464
43465 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43466 between environment variables and auxiliary vector.
43467
7b57bfe5
UD
434682011-04-16 Ulrich Drepper <drepper@gmail.com>
43469
43470 * Makefile: Add rules to build linkobj/libc.so.
43471 * include/libc-symbols.h: Define libc_hidden_nolink.
43472 * include/rpc/auth.h: Mark functions which are to be hidden.
43473 * include/rpc/auth_des.h: Likewise.
43474 * include/rpc/auth_unix.h: Likewise.
43475 * include/rpc/clnt.h: Likewise.
43476 * include/rpc/des_crypt.h: Likewise.
43477 * include/rpc/key_prot.h: Likewise.
43478 * include/rpc/pmap_clnt.h: Likewise.
43479 * include/rpc/pmap_prot.h: Likewise.
43480 * include/rpc/pmap_rmt.h: Likewise.
43481 * include/rpc/rpc_msg.h: Likewise.
43482 * include/rpc/svc.h: Likewise.
43483 * include/rpc/svc_auth.h: Likewise.
43484 * include/rpc/xdr.h: Likewise.
43485 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43486 * nss/Makefile: Likewise.
43487 * sunrpc/Makefile: Don't install headers. Build library with normal
43488 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43489 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43490 for the compat linking library. Remove use of INTDEF/INTUSE.
43491 * sunrpc/auth_none.c: Likewise.
43492 * sunrpc/auth_unix.c: Likewise.
43493 * sunrpc/authdes_prot.c: Likewise.
43494 * sunrpc/authuxprot.c: Likewise.
43495 * sunrpc/clnt_gen.c: Likewise.
43496 * sunrpc/clnt_perr.c: Likewise.
43497 * sunrpc/clnt_raw.c: Likewise.
43498 * sunrpc/clnt_simp.c: Likewise.
43499 * sunrpc/clnt_tcp.c: Likewise.
43500 * sunrpc/clnt_udp.c: Likewise.
43501 * sunrpc/clnt_unix.c: Likewise.
43502 * sunrpc/des_crypt.c: Likewise.
43503 * sunrpc/des_soft.c: Likewise.
43504 * sunrpc/get_myaddr.c: Likewise.
43505 * sunrpc/key_call.c: Likewise.
43506 * sunrpc/key_prot.c: Likewise.
43507 * sunrpc/netname.c: Likewise.
43508 * sunrpc/pm_getmaps.c: Likewise.
43509 * sunrpc/pm_getport.c: Likewise.
43510 * sunrpc/pmap_clnt.c: Likewise.
43511 * sunrpc/pmap_prot.c: Likewise.
43512 * sunrpc/pmap_prot2.c: Likewise.
43513 * sunrpc/pmap_rmt.c: Likewise.
43514 * sunrpc/publickey.c: Likewise.
43515 * sunrpc/rpc_cmsg.c: Likewise.
43516 * sunrpc/rpc_common.c: Likewise.
43517 * sunrpc/rpc_dtable.c: Likewise.
43518 * sunrpc/rpc_prot.c: Likewise.
43519 * sunrpc/rpc_thread.c: Likewise.
43520 * sunrpc/rtime.c: Likewise.
43521 * sunrpc/svc.c: Likewise.
43522 * sunrpc/svc_auth.c: Likewise.
43523 * sunrpc/svc_authux.c: Likewise.
43524 * sunrpc/svc_raw.c: Likewise.
43525 * sunrpc/svc_run.c: Likewise.
43526 * sunrpc/svc_simple.c: Likewise.
43527 * sunrpc/svc_tcp.c: Likewise.
43528 * sunrpc/svc_udp.c: Likewise.
43529 * sunrpc/svc_unix.c: Likewise.
43530 * sunrpc/svcauth_des.c: Likewise.
43531 * sunrpc/xcrypt.c: Likewise.
43532 * sunrpc/xdr.c: Likewise.
43533 * sunrpc/xdr_array.c: Likewise.
43534 * sunrpc/xdr_float.c: Likewise.
43535 * sunrpc/xdr_intXX_t.c: Likewise.
43536 * sunrpc/xdr_mem.c: Likewise.
43537 * sunrpc/xdr_rec.c: Likewise.
43538 * sunrpc/xdr_ref.c: Likewise.
43539 * sunrpc/xdr_sizeof.c: Likewise.
43540 * sunrpc/xdr_stdio.c: Likewise.
43541
e6c61494
UD
435422011-04-10 Ulrich Drepper <drepper@gmail.com>
43543
43544 [BZ #12650]
43545 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43546 * sysdeps/ia64/dl-tls.h: Likewise.
43547 * sysdeps/powerpc/dl-tls.h: Likewise.
43548 * sysdeps/s390/dl-tls.h: Likewise.
43549 * sysdeps/sh/dl-tls.h: Likewise.
43550 * sysdeps/sparc/dl-tls.h: Likewise.
43551 * sysdeps/x86_64/dl-tls.h: Likewise.
43552 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43553
34fe483e
AS
435542011-03-14 Andreas Schwab <schwab@redhat.com>
43555
43556 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43557 rpath element also skip the following colon.
43558 (expand_dynamic_string_token): Add is_path parameter and pass
43559 down to DL_DST_REQUIRED and _dl_dst_substitute.
43560 (decompose_rpath): Call expand_dynamic_string_token with
43561 non-zero is_path. Ignore empty rpaths.
43562 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43563 with zero is_path.
43564
f12a32e6
AS
435652011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43566
43567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43568 Make cancelable.
43569
38a7d692
UD
435702011-04-09 Ulrich Drepper <drepper@gmail.com>
43571
43572 [BZ #12655]
43573 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43574 Patch by Filipe David Manana <fdmanana@apache.org>.
43575
e451d22b
AS
435762011-04-07 Andreas Schwab <schwab@redhat.com>
43577
43578 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43579 Maintain aligned stack.
43580 (CHECK_RSP): Remove unused macro.
43581
dedc7c7b
UD
435822011-04-03 Ulrich Drepper <drepper@gmail.com>
43583
43584 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43585 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43586
94521213
UD
435872011-04-02 Ulrich Drepper <drepper@gmail.com>
43588
43589 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43590
8cb700c0 43591 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43592
0354e355
L
435932011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43594
43595 [BZ #12518]
43596 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43597 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43598 * sysdeps/x86_64/memmove.c: New file.
43599 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43600 (memcpy): Renamed to ...
43601 (__new_memcpy): This.
43602 (memcpy): Provide GLIBC_2_14 memcpy.
43603 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43604 (memcpy): Provide GLIBC_2_2_5 memcpy.
43605
8593482f
UD
436062011-04-01 Ulrich Drepper <drepper@gmail.com>
43607
43608 [BZ #12631]
43609 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43610
81a5726b
AS
436112011-03-30 Andreas Schwab <schwab@redhat.com>
43612
43613 * misc/syncfs.c: New file.
43614 * misc/Makefile (routines): Add syncfs.
43615 * posix/unistd.h: Declare syncfs.
43616 * sysdeps/unix/syscalls.list: Add syncfs.
43617
00e5419f
AS
436182011-04-01 Andreas Schwab <schwab@redhat.com>
43619
43620 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43621 open_by_handle_at.
43622 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43623 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43625 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43627 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43629
748876bf
UD
436302011-04-01 Ulrich Drepper <drepper@gmail.com>
43631
658e451d
UD
43632 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43633 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43634 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43636 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43638 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43639
748876bf
UD
43640 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43641 sync_file_range.c with -fexceptions.
43642 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43643 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43644 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43645 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43646 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43647 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43648 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43649 sync_file_range as cancellation point
43650 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43651 now a wrapper around __call_sync_file_range with cancellation handling.
43652 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43653 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43654 function name to __call_sync_file_range.
43655 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43656 Add call_sync_file_range.
748876bf 43657
6e63d5e1
AS
436582011-04-01 Andreas Schwab <schwab@redhat.com>
43659
43660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43661 bits/timex.h.
6e63d5e1 43662
46998f74
UD
436632011-04-01 Ulrich Drepper <drepper@gmail.com>
43664
4c1423ed
UD
43665 * iconv/iconv.h: Fix typo in comment.
43666 * io/fcntl.h: Likewise.
43667 * libio/stdio.h: Likewise.
43668 * posix/spawn.h: Likewise.
43669 * posix/unistd.h: Likewise.
43670 * stdlib/stdlib.h: Likewise.
43671 * time/time.h: Likewise.
43672 * wcsmbs/wchar.h: Likewise.
43673
158648c0
UD
43674 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43675 open_by_handle): Add.
43676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43677 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43678 Augment a few comments.
43679 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43680 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43681 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43683 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43684 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43685 open_by_handle.
43686
46998f74
UD
43687 * io/fcntl.h (AT_EMPTY_PATH): Define.
43688
83fe108b
UD
436892011-03-30 Ulrich Drepper <drepper@gmail.com>
43690
43691 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43692 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43693 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43694 to...
43695 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43696 * Versions.def: Add GLIBC_2.14.
43697 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43698 Export.
83fe108b 43699
bb242059
UD
437002011-03-22 Ulrich Drepper <drepper@gmail.com>
43701
43702 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43703 round counter.
43704 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43705
c97a1282
L
437062011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43707
43708 [BZ #12597]
43709 * string/test-strncmp.c (do_page_test): New function.
43710 (check2): Likewise.
43711 (test_main): Call check2.
43712 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43713
2a115601
UD
437142011-03-20 Ulrich Drepper <drepper@gmail.com>
43715
43716 [BZ #12587]
43717 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43718 Handle cache information in CPU leaf 4.
43719 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43720
8126d904
UD
437212011-03-18 Ulrich Drepper <drepper@gmail.com>
43722
042c49c6 43723 [BZ #12583]
8126d904
UD
43724 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43725 character representation.
43726 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43727
ccfe366e
RA
437282011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43729
43730 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43731 END(__isnan) to END(__isnanf) to match function entry point/label
43732 EALIGN(__isnanf,...).
43733
c6e13027
JJ
437342011-03-10 Jakub Jelinek <jakub@redhat.com>
43735
43736 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43737
33f85a3f
UD
437382011-03-10 Ulrich Drepper <drepper@gmail.com>
43739
028478fa
UD
43740 [BZ #12510]
43741 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43742 copy from the symbol referenced in the relocation to initialize the
43743 used variable.
43744 Patch by Piotr Bury <pbury@goahead.com>.
43745 * elf/Makefile: Add rules to build and tst-unique3.
43746 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43747 * elf/tst-unique3.cc: New file.
43748 * elf/tst-unique3.h: New file.
43749 * elf/tst-unique3lib.cc: New file.
43750 * elf/tst-unique3lib2.cc: New file.
43751
33f85a3f
UD
43752 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43753
03592fc7
MF
437542011-03-10 Mike Frysinger <vapier@gentoo.org>
43755
43756 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43757 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43758 to _start.
03592fc7 43759
6a5ee102
UD
437602011-03-06 Ulrich Drepper <drepper@gmail.com>
43761
43762 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43763 to-be-loaded object along a path to loader is ld.so.
43764
7e4ba49c
HJ
437652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43766 Ulrich Drepper <drepper@gmail.com>
43767
43768 * sysdeps/x86_64/memset.S: After aligning destination, code
43769 branches to different locations depending on the value of
43770 misalignment, when multiarch is enabled. Fix this.
43771
437722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43773
43774 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43775 Set _x86_64_preferred_memory_instruction for AMD processsors.
43776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43777 Set bit_Prefer_SSE_for_memop for AMD processors.
43778
13a804de
UD
437792011-03-04 Ulrich Drepper <drepper@gmail.com>
43780
43781 * libio/fmemopen.c (fmemopen): Optimize a bit.
43782
9d25c392
AS
437832011-03-03 Andreas Schwab <schwab@redhat.com>
43784
43785 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43786
a5543c6a
RM
437872011-03-03 Roland McGrath <roland@redhat.com>
43788
43789 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43790
012d35f7
DM
437912011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43792
7e4ba49c 43793 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43794 __bzero_ultra1 instead of __memset_ultra1.
43795
4bff6e01
AS
437962011-02-23 Andreas Schwab <schwab@redhat.com>
43797 Ulrich Drepper <drepper@gmail.com>
43798
43799 [BZ #12509]
43800 * include/link.h (struct link_map): Add l_orig_initfini.
43801 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43802 returning unsuccessfully.
43803 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43804 close of a file loaded at startup, restore the original l_initfini
43805 list.
43806 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43807 list, store the pointer.
43808 * elf/Makefile ($(objpfx)noload-mem): New rule.
43809 (noload-ENV): Define.
43810 (tests): Add $(objpfx)noload-mem.
43811 * elf/noload.c: Include <memcheck.h>.
43812 (main): Call mtrace. Close all opened handles.
43813
f2092faf
AS
438142011-02-17 Andreas Schwab <schwab@redhat.com>
43815
43816 [BZ #12454]
43817 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43818 dependencies are missing.
43819
6c8a2e88
ST
438202011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43821
f2092faf 43822 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43823 Hurd needs munmap.
43824 * sysdeps/mach/hurd/ifreq.h: New file.
43825
84a42118
PB
438262011-01-27 Petr Baudis <pasky@suse.cz>
43827 Ulrich Drepper <drepper@gmail.com>
43828
071f805e 43829 [BZ 12445]#
84a42118
PB
43830 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43831 to extend_alloca().
43832 * stdio-common/bug23.c: New file.
43833 * stdio-common/Makefile (tests): Add bug23.
43834
e23fe25b
AS
438352010-09-28 Andreas Schwab <schwab@redhat.com>
43836 Ulrich Drepper <drepper@gmail.com>
43837
43838 [BZ #12489]
43839 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43840 before performing relro protection. At old place add assertion
43841 to make sure nothing changed.
43842
d3f02e10
NS
438432011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43844 Glauber de Oliveira Costa <glommer@gmail.com>
43845
43846 * elf/elf.h: Add new ARM TLS relocs.
43847
d55fd7a5
RA
438482011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43849
43850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43851 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43852 cast from r3.
43853 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43854 'tests' variable.
43855 * sysdeps/wordsize-64/tst-writev.c: New file.
43856
2206397e
RA
438572011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43858
43859 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43860 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43861 insns in _dl_start to prevent a TOC reference before relocs are
43862 resolved.
43863
e9433893
UD
438642011-02-15 Ulrich Drepper <drepper@gmail.com>
43865
43866 [BZ #12469]
43867 * Makeconfig: Remove RANLIB definition.
43868 * Makerules: Don't use RANLIB.
43869 * aclocal.m4: Remove ranlib test.
43870 * configure.in: No need to check for ranlib.
43871 * elf/rtld-Rules: Don't use RANLIB.
43872
f75286c6
ST
438732011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43874
8e31c82d
ST
43875 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43876 protection macro.
43877 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43878 inclusion protection macro.
43879
f75286c6
ST
43880 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43881 SIGRTMIN and SIGRTMAX and print information in that case only when
43882 SIGRTMIN is defined.
43883
c1d0e639
JJ
438842011-02-11 Jakub Jelinek <jakub@redhat.com>
43885
43886 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43887 arginfo fn returning -1.
43888
43889 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43890 and thousands string is zero terminated.
43891
edf9294e
AS
438922011-02-03 Andreas Schwab <schwab@redhat.com>
43893
43894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43895 sysdeps/unix/sysv/linux/bits/socket.h.
43896
2b7e92df
ST
438972011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43898
edf9294e
AS
43899 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43900 (__CPU_COUNT): Remove old macros.
43901 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43902 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43903 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43904 (__sched_cpualloc, __sched_cpufree): Add declarations.
43905
a4c7ea7b
UD
439062011-02-05 Ulrich Drepper <drepper@gmail.com>
43907
43908 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43909 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43910 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43911 (readdhstai): Return value of addhstaiX call.
43912 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43913 (addgrbyX): Return value returned by cache_addgr.
43914 (readdgrbyname): Return value returned by addgrbyX.
43915 (readdgrbygid): Likewise.
43916 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43917 (addpwbyX): Return value returned by cache_addpw.
43918 (readdpwbyname): Return value returned by addhstbyX.
43919 (readdpwbyuid): Likewise.
43920 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43921 (addservbyX): Return value returned by cache_addserv.
43922 (readdservbyname): Return value returned by addservbyX:
43923 (readdservbyport): Likewise.
43924 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43925 (addhstbyX): Return value returned by cache_addhst.
43926 (readdhstbyname): Return value returned by addhstbyX.
43927 (readdhstbyaddr): Likewise.
43928 (readdhstbynamev6): Likewise.
43929 (readdhstbyaddrv6): Likewise.
43930 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43931 (readdinitgroups): Return value returned by addinitgroupsX.
43932 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43933 (prune_cache): Keep track of timeout value of re-added entries.
43934 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43935 * nscd/nscd.h: Adjust prototypes of readd* functions.
43936
a0bf67cc
RM
439372011-02-04 Roland McGrath <roland@redhat.com>
43938
43939 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43940 (nis_stats): Likewise.
43941 * nis/nis_modify.c (nis_modify): Likewise.
43942 * nis/nis_remove.c (nis_remove): Likewise.
43943 * nis/nis_add.c (nis_add): Likewise.
43944
43945 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43946
43947 * posix/fnmatch_loop.c: Add some consts.
43948
43949 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43950
435b95eb
L
439512011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43952
43953 [BZ #12460]
43954 * config.make.in (config-cflags-novzeroupper): Define.
43955 * configure.in: Substitute libc_cv_cc_novzeroupper.
43956 * elf/Makefile (AVX-CFLAGS): Define.
43957 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43958 (CFLAGS-tst-auditmod4a.c): Likewise.
43959 (CFLAGS-tst-auditmod4b.c): Likewise.
43960 (CFLAGS-tst-auditmod6b.c): Likewise.
43961 (CFLAGS-tst-auditmod6c.c): Likewise.
43962 (CFLAGS-tst-auditmod7b.c): Likewise.
43963 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43964
8517b15e
UD
439652011-02-02 Ulrich Drepper <drepper@gmail.com>
43966
43967 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43968 function to the callback.
43969 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43970
10a656fe
AS
439712011-02-02 Andreas Schwab <schwab@redhat.com>
43972
43973 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43974 of errno.
43975
968dad0a
UD
439762011-01-19 Ulrich Drepper <drepper@gmail.com>
43977
9f94d2ea 43978 [BZ #11724]
968dad0a
UD
43979 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43980 of constructors.
43981 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43982 of destructors.
43983 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43984
43985 [BZ #11724]
43986 * elf/Makefile: Add rules to build and run new test.
43987 * elf/tst-initorder.c: New file.
43988 * elf/tst-initorder.exp: New file.
43989 * elf/tst-initordera1.c: New file.
43990 * elf/tst-initordera2.c: New file.
43991 * elf/tst-initordera3.c: New file.
43992 * elf/tst-initordera4.c: New file.
43993 * elf/tst-initorderb1.c: New file.
43994 * elf/tst-initorderb2.c: New file.
43995 * elf/tst-order-a1.c: New file.
43996 * elf/tst-order-a2.c: New file.
43997 * elf/tst-order-a3.c: New file.
43998 * elf/tst-order-a4.c: New file.
43999 * elf/tst-order-b1.c: New file.
44000 * elf/tst-order-b2.c: New file.
44001 * elf/tst-order-main.c: New file.
44002 New test case by George Gensure <werkt0@gmail.com>.
44003
86e92359
UD
440042010-10-01 Andreas Schwab <schwab@redhat.com>
44005
44006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44007 decoding ACE if AI_CANONIDN.
44008
5d5732b0
UD
440092011-01-18 Ulrich Drepper <drepper@gmail.com>
44010
44011 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44012
a77e8cbc
UD
440132011-01-17 Ulrich Drepper <drepper@gmail.com>
44014
6392473f
UD
44015 * version.h (RELEASE): Bump for 2.13 release.
44016 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44017
620a0529
UD
44018 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44019
18ba70a5
UD
44020 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44021 MADV_NOHUGEPAGE.
32465c3e
UD
44022 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44023 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44024 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44025 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44026 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44027 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44028
c0dafcf1
UD
44029 * posix/getconf.c: Update copyright year.
44030 * catgets/gencat.c: Likewise.
44031 * csu/version.c: Likewise.
44032 * debug/catchsegv.sh: Likewise.
44033 * debug/xtrace.sh: Likewise.
44034 * elf/ldconfig.c: Likewise.
44035 * elf/ldd.bash.in: Likewise.
44036 * elf/sprof.c (print_version): Likewise.
44037 * iconv/iconv_prog.c: Likewise.
44038 * iconv/iconvconfig.c: Likewise.
44039 * locale/programs/locale.c: Likewise.
44040 * locale/programs/localedef.c: Likewise.
44041 * malloc/memusage.sh: Likewise.
44042 * malloc/mtrace.pl: Likewise.
44043 * nscd/nscd.c (print_version): Likewise.
44044 * nss/getent.c: Likewise.
44045
a77e8cbc
UD
44046 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44047 PF_CAIF, and PF_ALG.
44048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44049
77e8bddf
AS
440502011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44051
1f20b93a
AS
44052 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44053 (modules-names): Use them.
44054 (ifunc-test-modules, ifunc-pie-tests): Define.
44055 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44056 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44057 (test-extras): Likewise.
44058 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44059 $(compile-command.c).
44060 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44061 (all-built-dso): Define.
44062 (check-textrel.out, check-execstack.out): Depend on it.
44063
77e8bddf
AS
44064 * configure.in: Don't override --enable-multi-arch.
44065
bc425b33
UD
440662011-01-15 Ulrich Drepper <drepper@gmail.com>
44067
44068 [BZ #6812]
44069 * nscd/hstcache.c (tryagain): Define.
44070 (cache_addhst): Return tryagain not notfound for temporary errors.
44071 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44072 failed.
44073
794c3ad3
UD
440742011-01-14 Ulrich Drepper <drepper@gmail.com>
44075
70181fdd
UD
44076 [BZ #10563]
44077 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44078 to make the syscall.
44079 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44080
794c3ad3
UD
44081 [BZ #12378]
44082 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44083 and fall back to matching as normal character if the string ends before
44084 the matching ']' is found. This is what POSIX requires.
44085 * posix/testfnm.c: Adjust test result.
44086 * posix/globtest.sh: Adjust test result. Add new test.
44087 * posix/tst-fnmatch.input: Likewise.
44088 * posix/tst-fnmatch2.c: Add new test.
44089
68dc9497
AS
440902010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44091
44092 * elf/Makefile (check-execstack): Revert last change. Depend on
44093 check-execstack.h.
44094 (check-execstack.h): New target.
44095 (generated): Add check-execstack.h.
44096 * elf/check-execstack.c: Include "check-execstack.h".
44097 (main): Revert last change.
44098 (handle_file): Return zero if GNU_STACK is absent and
44099 DEFAULT_STACK_PERMS doesn't include PF_X.
44100
451f001b
UD
441012011-01-13 Ulrich Drepper <drepper@gmail.com>
44102
cfa28e56
UD
44103 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44104 in child fails because the descriptor is already closed.
8cf8ce17
UD
44105 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44106 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44107 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44108
1086d70d
UD
44109 [BZ #12397]
44110 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44111 syscall.
44112
451f001b
UD
44113 [BZ #10484]
44114 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44115 temporary buffer used to handle multi lookups locally.
a85b5cb4 44116 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44117
08769175
UD
441182011-01-12 Ulrich Drepper <drepper@gmail.com>
44119
44120 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44121 loader is ld.so.
44122
5e49c52e
UD
441232011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44124
44125 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44126 alignment for SSE2.
44127
60522a5f
UD
441282011-01-12 Ulrich Drepper <drepper@gmail.com>
44129
44130 [BZ #12394]
44131 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44132 characters. When rounding increased number of integer digits recompute
44133 number of groups.
44134 * stdio-common/tst-grouping.c: New file.
44135 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44136
f257bbd7
UD
441372011-01-09 Ulrich Drepper <drepper@gmail.com>
44138
44139 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44140 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44141
44142 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44143 void.
44144 * bits/select.h: Likewise.
44145
fa9c15cb
UD
441462011-01-08 Ulrich Drepper <drepper@gmail.com>
44147
44148 * po/ja.po: Update from translation team.
44149
16c2895f
DM
441502011-01-04 David S. Miller <davem@sunset.davemloft.net>
44151
44152 [BZ #11155]
44153 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44154 implementation just like for lxstat, fxstatat, et al.
44155
2543fef2
JM
441562010-12-27 Jim Meyering <meyering@redhat.com>
44157
44158 [BZ #12348]
44159 * posix/regexec.c (build_trtable): Return failure indication upon
44160 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44161
98727dbe
UD
441622010-12-25 Ulrich Drepper <drepper@gmail.com>
44163
5bd6dc5c
UD
44164 [BZ #12201]
44165 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44166 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44167 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44168 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44169
97983464
UD
44170 [BZ #12207]
44171 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44172
98727dbe
UD
44173 [BZ #12204]
44174 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44175 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44176
4a531bb0
L
441772010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44178
44179 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44180 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44181 script has SORT_BY_INIT_PRIORITY.
44182 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44183 NO_CTORS_DTORS_SECTIONS is defined.
44184 * elf/soinit.c: Likewise.
44185 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44186 NO_CTORS_DTORS_SECTIONS is defined.
44187 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44188 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44189 * sysdeps/sh/init-first.c: Likewise.
44190 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44191
07eb4b71
UD
441922010-12-24 Ulrich Drepper <drepper@gmail.com>
44193
44194 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44195 always use the slow path.
44196
30950a5f
RA
441972010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44198
44199 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44200 similar rule which adds the sysdep directories to the header search in
44201 order to pick up the correct platform stackinfo.h.
44202 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44203 perform test if it is, otherwise return successfully without testing.
44204 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44205 DEFAULT_STACK_PERMS define in stackinfo.h.
44206 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44207 defined in stackinfo.h.
44208 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44209 DEFAULT_STACK_PERMS defined in stackinfo.h.
44210 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44211 * sysdeps/ia64/stackinfo.h: Likewise.
44212 * sysdeps/s390/stackinfo.h: Likewise.
44213 * sysdeps/sh/stackinfo.h: Likewise.
44214 * sysdeps/sparc/stackinfo.h: Likewise.
44215 * sysdeps/x86_64/stackinfo.h: Likewise.
44216 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44217 PF_X for powerpc64. Retain PF_X for powerpc32.
44218
db753e2c
UD
442192010-12-19 Ulrich Drepper <drepper@gmail.com>
44220
14b697f7
UD
44221 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44222 accurately.
db753e2c
UD
44223 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44224 GETDENTS_64BIT_ALIGNED.
44225
28300719
UD
442262010-12-14 Ulrich Drepper <dreper@gmail.com>
44227
14b697f7 44228 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44229
4f197237
AS
442302010-12-10 Andreas Schwab <schwab@redhat.com>
44231
dbb0472f
AS
44232 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44233 _GNU_SOURCE.
44234
4f197237
AS
44235 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44236 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44237 Remove __restrict.
44238 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44239 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44240
fb88ac72
UD
442412010-12-09 Ulrich Drepper <drepper@gmail.com>
44242
44243 [BZ #11655]
44244 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44245 are initialized.
44246
42acbb92
JJ
442472010-12-09 Jakub Jelinek <jakub@redhat.com>
44248
44249 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44250
c038d98d
UD
442512010-12-03 Ulrich Drepper <drepper@gmail.com>
44252
44253 * po/it.po: Update from translation team.
44254
3a4a2499
L
442552010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44256
44257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44258 unused codes.
44259
1e24cf6e
UD
442602010-11-30 Ulrich Drepper <drepper@gmail.com>
44261
44262 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44263
a7690819
AS
442642010-11-24 Andreas Schwab <schwab@redhat.com>
44265
44266 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44267 specially.
44268 (gaih_getanswer_slice): Likewise.
44269
3bf8d1b1
JJ
442702010-10-20 Jakub Jelinek <jakub@redhat.com>
44271
44272 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44273
6db52fbb
PB
442742010-05-31 Petr Baudis <pasky@suse.cz>
44275
44276 [BZ #11149]
44277 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44278 silently even in the chroot mode.
44279
eaca7569
UD
442802010-11-22 Ulrich Drepper <drepper@gmail.com>
44281
44282 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44283 last patch a bit. Pretty printing
44284
3056dcdb
UD
442852010-05-31 Petr Baudis <pasky@suse.cz>
44286
44287 [BZ #10085]
44288 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44289 initialization of skip_initgroups_dyn.
44290
cf7c9078
UD
442912010-11-19 Ulrich Drepper <drepper@gmail.com>
44292
44293 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44294 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44295
a1fb5e3e
UD
442962010-11-16 Ulrich Drepper <drepper@gmail.com>
44297
44298 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44299
3540d66b
AS
443002010-11-11 Andreas Schwab <schwab@redhat.com>
44301
44302 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44303 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44304 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44305 ($(objpfx)tst-fnmatch-mem): New rule.
44306 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44307 * posix/tst-fnmatch.c (main): Call mtrace.
44308
13b69574
L
443092010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44310
44311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44312 Support Intel processor model 6 and model 0x2c.
44313
da93d214
LM
443142010-11-10 Luis Machado <luisgpm@br.ibm.com>
44315
44316 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44317 signed comparison.
44318
8ca52c6e
L
443192010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44320
44321 [BZ #12205]
44322 * string/test-strncasecmp.c (check_result): New function.
44323 (do_one_test): Use it.
44324 (check1): New function.
44325 (test_main): Use it.
44326 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44327 Support strcasecmp and strncasecmp.
44328
69da074d
UD
443292010-11-08 Ulrich Drepper <drepper@gmail.com>
44330
44331 [BZ #12194]
44332 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44333 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44334
ff02d528
L
443352010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44336
44337 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44338 IFUNC support.
44339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44340 memset-x86-64.
44341 * sysdeps/x86_64/multiarch/bzero.S: New file.
44342 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44343 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44344 * sysdeps/x86_64/multiarch/memset.S: New file.
44345 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44347 Set bit_Prefer_SSE_for_memop for Intel processors.
44348 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44349 Define.
44350 (index_Prefer_SSE_for_memop): Define.
44351 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44352
344d0b54
LM
443532010-11-04 Luis Machado <luisgpm@br.ibm.com>
44354
44355 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44356 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44357
c0dde15b
UD
443582010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44359
44360 [BZ #12191]
44361 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44362 (__x86_64_raw_data_cache_size_half): Likewise.
44363 (__x86_64_raw_shared_cache_size): Likewise.
44364 (__x86_64_raw_shared_cache_size_half): Likewise.
44365
44366 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44367 (__x86_64_raw_data_cache_size_half): Likewise.
44368 (__x86_64_raw_shared_cache_size): Likewise.
44369 (__x86_64_raw_shared_cache_size_half): Likewise.
44370 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44371 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44372 and __x86_64_raw_shared_cache_size_half. Round
44373 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44374 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44375 to multiple of 256 bytes.
44376
0e516e0e
MS
443772010-11-03 Ulrich Drepper <drepper@gmail.com>
44378
44379 [BZ #12167]
44380 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44381 of inacessible symlinks. Verify result of symlink before returning it.
44382 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44383 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44384
0e012e87
ER
443852010-10-28 Erich Ritz <erichritz@gmail.com>
44386
44387 * math/math.h (isinf): Fix typo in comment.
44388
de0ff7bc
UD
443892010-11-01 Ulrich Drepper <drepper@gmail.com>
44390
44391 * po/da.po: Update from translation team.
44392
fa41c84d
UD
443932010-10-26 Ulrich Drepper <drepper@gmail.com>
44394
44395 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44396 is added to the list.
44397
f0967738
AK
443982010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44399 Ulrich Drepper <drepper@gmail.com>
44400
44401 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44402 the global list here. Move code to...
44403 (_dl_add_to_namespace_list): ...here. New function.
44404 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44405 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44406 * elf/dl-load.c (lose): Don't remove the element from the list.
44407 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44408 (_dl_map_object): Likewise.
44409
444102010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
44411
44412 [BZ #12159]
44413 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44414 into all bytes of SSE register.
44415 Patch by Richard Li <richardpku@gmail.com>.
44416
f0967738 444172010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
44418
44419 [BZ #12140]
44420 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44421 perturbing.
44422
d0b9e94f
MB
444232010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44424
44425 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44426 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44427 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44428 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44430 submachine.
44431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44432
8e9f92e9
AS
444332010-10-22 Andreas Schwab <schwab@redhat.com>
44434
44435 * include/dlfcn.h (__RTLD_SECURE): Define.
44436 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44437 mode & __RTLD_SECURE instead.
44438 (open_path): Rename preloaded parameter to secure.
44439 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44440 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44441 * elf/dl-deps.c (openaux): Likewise.
44442 * elf/rtld.c (struct map_args): Remove is_preloaded.
44443 (map_doit): Don't use it.
44444 (dl_main): Likewise.
44445 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44446 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44447
bc96fbda
AS
444482010-09-09 Andreas Schwab <schwab@redhat.com>
44449
44450 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44451 (sysd-rules-targets): Remove duplicates.
44452 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44453 rtld-%.$o dependency.
44454
22cd1c9b
AS
444552010-10-18 Andreas Schwab <schwab@redhat.com>
44456
44457 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44458 _dl_map_object do it.
44459
18edac48
UD
444602010-10-19 Ulrich Drepper <drepper@gmail.com>
44461
44462 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44463 fast fma builtins, define the macros in the C99 standard.
44464 (FP_FAST_FMAF): Likewise.
44465 (FP_FAST_FMAL): Likewise.
44466 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44467
44468 * bits/mathdef.h: Update copyright year.
44469 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44470
d2050124
MM
444712010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44472
44473 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44474 builtins, define the macros in the C99 standard.
44475 (FP_FAST_FMAF): Likewise.
44476 (FP_FAST_FMAL): Likewise.
44477 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44478 multiply/add.
44479 (FP_FAST_FMAF): Likewise.
44480
475facd1
JJ
444812010-10-15 Jakub Jelinek <jakub@redhat.com>
44482
44483 [BZ #3268]
44484 * math/libm-test.inc (fma_test): Some new testcases.
44485 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44486 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44487 y and infinite z. Do multiplication by C already in long double.
44488 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44490 y and infinite z. Do bitwise or of inexact bit into u.d.
44491 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44492 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44493 * sysdeps/i386/fpu/s_fma.S: Removed.
44494 * sysdeps/i386/fpu/s_fmal.S: Removed.
44495
7c08a05c
JJ
444962010-10-16 Jakub Jelinek <jakub@redhat.com>
44497
44498 [BZ #3268]
44499 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44500 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44501 computation is not scheduled after fetestexcept. Fix value
44502 of minimum denormal long double.
44503
f3f7372d
JJ
445042010-10-14 Jakub Jelinek <jakub@redhat.com>
44505
44506 [BZ #3268]
44507 * math/libm-test.inc (fma_test): Add some more tests.
44508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44509 correctly.
44510
14d43591
AS
445112010-10-15 Andreas Schwab <schwab@redhat.com>
44512
44513 * scripts/data/localplt-s390-linux-gnu.data: New file.
44514 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44515
5e908464
JJ
445162010-10-13 Jakub Jelinek <jakub@redhat.com>
44517
44518 [BZ #3268]
44519 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44520 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44521 instead of dbl-64.
44522 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44523 inlines.
44524 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44526 if one of x and y is very large and the other is subnormal.
44527 * sysdeps/s390/fpu/s_fmaf.c: New file.
44528 * sysdeps/s390/fpu/s_fma.c: New file.
44529 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44530 * sysdeps/powerpc/fpu/s_fma.S: New file.
44531 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44532 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44533 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44534
445352010-10-12 Jakub Jelinek <jakub@redhat.com>
44536
44537 [BZ #3268]
44538 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44539 fma tests.
44540 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44541 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44542 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44543 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44544 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44545 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44546 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44547
b833d51f
UD
445482010-10-12 Ulrich Drepper <drepper@redhat.com>
44549
44550 [BZ #12078]
44551 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44552 * posix/bug-regex31.input: Add test case.
44553
1751705d
UD
445542010-10-11 Ulrich Drepper <drepper@gmail.com>
44555
e9b9cbf5
UD
44556 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44557 * posix/bug-regex31.input: New file.
44558
44559 [BZ #12078]
44560 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44561 (parse_sub_exp): Fix last change, use postorder.
44562
ef06edbe
UD
44563 * posix/bug-regex31.c: New file.
44564 * posix/Makefile: Add rules to build and run bug-regex31.
44565
a129c80d
UD
44566 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44567
44568 [BZ #12078]
44569 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44570
b76b818e
UD
44571 [BZ #12108]
44572 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44573 to have entries in sys_siglist.
44574
1751705d
UD
44575 [BZ #12093]
44576 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44577 be NULL.
44578
9ff8d36f
JJ
445792010-10-07 Jakub Jelinek <jakub@redhat.com>
44580
44581 [BZ #3268]
44582 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44583 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44584 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44585 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44586 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44587 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44588 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44589 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44590 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44591 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44592 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44593 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44594 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44595 * math/ftestexcept.c (fetestexcept): Likewise.
44596 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44597 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44598 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44599 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44600 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44601 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44602 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44603
af325969
UD
446042010-10-11 Ulrich Drepper <drepper@gmail.com>
44605
c579b202 44606 [BZ #12107]
af325969
UD
44607 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44608 newline.
44609
67a67b95
UD
446102010-10-06 Ulrich Drepper <drepper@gmail.com>
44611
44612 * string/bug-strstr1.c: New file.
44613 * string/Makefile: Add rules to build and run bug-strstr1.
44614
5fb308bc
EB
446152010-10-05 Eric Blake <eblake@redhat.com>
44616
44617 [BZ #12092]
44618 * string/str-two-way.h (two_way_long_needle): Always clear memory
44619 when skipping input due to the shift table.
44620
45db99c7
UD
446212010-10-03 Ulrich Drepper <drepper@gmail.com>
44622
3b111893
UD
44623 [BZ #12005]
44624 * malloc/mcheck.c: Handle large requests.
44625
45db99c7
UD
44626 [BZ #12077]
44627 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44628 for strncmp and strncasecmp.
44629 * string/stratcliff.c: Add tests for strcmp and strncmp.
44630 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44631
cf7a1eb8
NI
446322010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44633
44634 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44635 __set_fpscr.
44636
6484ba5e
AJ
446372010-09-30 Andreas Jaeger <aj@suse.de>
44638
44639 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44640 (CGROUP_SUPER_MAGIC): Define.
44641 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44642 Handle btrfs and cgroup file systems.
44643 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44644 Likewise.
44645
91c42559
LM
446462010-09-27 Luis Machado <luisgpm@br.ibm.com>
44647
44648 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44649 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44650
87a97932
AK
446512010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44652
44653 [BZ #12067]
44654 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44655 trying to locate the ELF header.
44656
c21cc9bc
AS
446572010-09-27 Andreas Schwab <schwab@redhat.com>
44658
44659 [BZ #11611]
44660 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44661 Mask out sign-bit copies when constructing f_fsid.
44662
315970f6
PB
446632010-09-24 Petr Baudis <pasky@suse.cz>
44664
44665 * debug/stack_chk_fail_local.c: Add missing licence exception.
44666 * debug/warning-nop.c: Likewise.
44667
1ac7a2c7
JM
446682010-09-15 Joseph Myers <joseph@codesourcery.com>
44669
44670 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44671 implementing getdents64 using getdents syscall, set d_type if
44672 __ASSUME_GETDENTS32_D_TYPE.
44673
56801c50
AS
446742010-09-16 Andreas Schwab <schwab@redhat.com>
44675
44676 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44677 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44678
dda51327
UD
446792010-09-21 Ulrich Drepper <drepper@redhat.com>
44680
44681 [BZ #12037]
44682 * posix/unistd.h: Undo change of feature selection for ftruncate from
44683 2010-01-11.
44684
8ffcee4a
UD
446852010-09-20 Ulrich Drepper <drepper@redhat.com>
44686
a545ecd9 44687 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44688 detection.
44689
e24f0a8b
AS
446902010-09-20 Andreas Schwab <schwab@redhat.com>
44691
44692 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44693 fanotify_mark.
44694 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44695
7291c56f
AS
446962010-09-14 Andreas Schwab <schwab@redhat.com>
44697
44698 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44699 variables after CHECK_SP call.
44700 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44701
bc5fb037
AS
447022010-09-13 Andreas Schwab <schwab@redhat.com>
44703 Ulrich Drepper <drepper@redhat.com>
44704
44705 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44706 re-relocationg ld.so.
44707 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44708 _dl_init_paths call.
44709 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44710 here anymore.
44711
e66e7419
UD
447122010-09-14 Ulrich Drepper <drepper@redhat.com>
44713
44714 * resolv/res_init.c (__res_vinit): Count the default server we added.
44715
c044aa75
CLT
447162010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44717 Ulrich Drepper <drepper@redhat.com>
44718
44719 [BZ #11968]
44720 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44721 (____longjmp_chk): Use %ebx for saving value across system call.
44722 Add unwind info.
44723
32cf4069
AS
447242010-09-06 Andreas Schwab <schwab@redhat.com>
44725
44726 * manual/Makefile: Don't mix pattern rules with normal rules.
44727
817328ee
AS
447282010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44729
44730 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44731 operation.
44732 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44733 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44734 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44735 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44736 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44737 Likewise.
44738
29fddf61
UD
447392010-09-04 Ulrich Drepper <drepper@redhat.com>
44740
44741 [BZ #11979]
44742 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44743 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44744
0959ffc9
UD
447452010-09-02 Ulrich Drepper <drepper@redhat.com>
44746
44747 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44748 * sysdeps/x86_64/addmul_1.S: Likewise.
44749 * sysdeps/x86_64/lshift.S: Likewise.
44750 * sysdeps/x86_64/mul_1.S: Likewise.
44751 * sysdeps/x86_64/rshift.S: Likewise.
44752 * sysdeps/x86_64/sub_n.S: Likewise.
44753 * sysdeps/x86_64/submul_1.S: Likewise.
44754
ece29840
ST
447552010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44756
0959ffc9
UD
44757 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44758 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44759 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44760 * bits/sched.h [__need_schedparam]
ece29840 44761 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44762 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44763 (__defined_schedparam): Define to 1.
ece29840
ST
44764 (__sched_param): New structure, identical to sched_param.
44765 (__need_schedparam): Undefine.
44766
e53a31fe
MF
447672010-08-31 Mike Frysinger <vapier@gentoo.org>
44768
fdc0c10d
MF
44769 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44770 (epoll_create1): Declare.
44771
e53a31fe
MF
44772 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44773
a726d796
AS
447742010-08-31 Andreas Schwab <schwab@redhat.com>
44775
44776 [BZ #7066]
44777 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44778 shifting retval into place.
44779
2f3e3dc7
UD
447802010-09-01 Ulrich Drepper <drepper@redhat.com>
44781
f2933da9
UD
44782 * nis/rpcsvc/nis.h: Update copyright notice.
44783 * nis/rpcsvc/nis.x: Likewise.
44784 * nis/rpcsvc/nis_callback.h: Likewise.
44785 * nis/rpcsvc/nis_callback.x: Likewise.
44786 * nis/rpcsvc/nis_object.x: Likewise.
44787 * nis/rpcsvc/nis_tags.h: Likewise.
44788 * nis/rpcsvc/yp.h: Likewise.
44789 * nis/rpcsvc/yp.x: Likewise.
44790 * nis/rpcsvc/ypupd.h: Likewise.
44791 * nis/yp_xdr.c: Likewise.
44792 * nis/ypupdate_xdr.c: Likewise.
44793
2f3e3dc7
UD
44794 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44795 mainly the body of pmap_getport. Add parameters to specify timeouts.
44796 (pmap_getport): Use __libc_rpc_getport.
44797 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44798 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44799 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44800
f3dcc2f9
AS
448012010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44802
44803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44804 fanotify_mark.
44805
6d34eb5b
RM
448062010-08-27 Roland McGrath <roland@redhat.com>
44807
44808 * sysdeps/i386/i686/multiarch/Makefile
44809 (CFLAGS-varshift.c): New variable.
44810
9ea3de11
UD
448112010-08-27 Ulrich Drepper <drepper@redhat.com>
44812
c96d23fc
UD
44813 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44814 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44815
9ea3de11
UD
44816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44817
44818 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44819
623aac7f
L
448202010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44821
44822 * sysdeps/x86_64/strlen.S: Unroll the loop.
44823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44824 strlen-sse2 strlen-sse2-bsf.
44825 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44826 __strlen_no_bsf if bit_Slow_BSF is set.
44827 (__strlen_sse42): Removed.
44828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44829 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44830
8b2b7715
RM
448312010-08-25 Roland McGrath <roland@redhat.com>
44832
44833 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44834 * sysdeps/x86_64/multiarch/varshift.c: New file.
44835 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44836 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44837 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44838 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44839
e73015f2
L
448402010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44841
44842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44843 strlen-sse2 strlen-sse2-bsf.
44844 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44845 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44846 (__strlen_sse2): Removed.
44847 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44848 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44850 bit_Slow_BSF for Atom.
44851 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44852 (index_Slow_BSF): Define.
44853 (HAS_SLOW_BSF): Define.
44854
df24a73e
UD
448552010-08-25 Ulrich Drepper <drepper@redhat.com>
44856
44857 [BZ #10851]
44858 * resolv/res_init.c (__res_vinit): When no server address at all
44859 is given default to loopback.
44860
f2ac4868
RM
448612010-08-24 Roland McGrath <roland@redhat.com>
44862
09055553
RM
44863 * configure.in: Remove config-name.h generation.
44864 * configure: Regenerated.
44865 * config-name.in: File removed.
44866 * scripts/config-uname.sh: New file.
44867 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44868 ($(objdir)config-name.h): New target.
44869
f2ac4868
RM
44870 * sunrpc/rpc_parse.h: Avoid nested comment.
44871
73f27d5e
RH
448722010-08-24 Richard Henderson <rth@redhat.com>
44873 Ulrich Drepper <drepper@redhat.com>
44874 H.J. Lu <hongjiu.lu@intel.com>
44875
44876 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44878 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44879 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44880 _mm_alignr_epi8 with _mm_loadu_si128.
44881 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44882 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44883 (__m128i_shift_right): Removed.
44884 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44885 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44886 * sysdeps/x86_64/multiarch/varshift.h: New file.
44887 * sysdeps/x86_64/multiarch/varshift.S: New file.
44888
84b9230c
MF
448892010-08-21 Mike Frysinger <vapier@gentoo.org>
44890
44891 * configure.in: Move assembler checks to before sysdep dir checking.
44892
9bbd0ddc
PB
448932010-08-20 Petr Baudis <pasky@suse.cz>
44894
44895 * LICENSES: Sync the sunrpc license.
44896
9da4bb31
UD
448972010-08-19 Ulrich Drepper <drepper@redhat.com>
44898
a7ab6ec8
UD
44899 * sunrpc/auth_des.c: Update copyright notice once again.
44900 * sunrpc/auth_none.c: Likewise.
44901 * sunrpc/auth_unix.c: Likewise.
44902 * sunrpc/authdes_prot.c: Likewise.
44903 * sunrpc/authuxprot.c: Likewise.
44904 * sunrpc/bindrsvprt.c: Likewise.
44905 * sunrpc/clnt_gen.c: Likewise.
44906 * sunrpc/clnt_perr.c: Likewise.
44907 * sunrpc/clnt_raw.c: Likewise.
44908 * sunrpc/clnt_simp.c: Likewise.
44909 * sunrpc/clnt_tcp.c: Likewise.
44910 * sunrpc/clnt_udp.c: Likewise.
44911 * sunrpc/clnt_unix.c: Likewise.
44912 * sunrpc/des_crypt.c: Likewise.
44913 * sunrpc/des_soft.c: Likewise.
44914 * sunrpc/get_myaddr.c: Likewise.
44915 * sunrpc/getrpcport.c: Likewise.
44916 * sunrpc/key_call.c: Likewise.
44917 * sunrpc/key_prot.c: Likewise.
44918 * sunrpc/openchild.c: Likewise.
44919 * sunrpc/pm_getmaps.c: Likewise.
44920 * sunrpc/pm_getport.c: Likewise.
44921 * sunrpc/pmap_clnt.c: Likewise.
44922 * sunrpc/pmap_prot.c: Likewise.
44923 * sunrpc/pmap_prot2.c: Likewise.
44924 * sunrpc/pmap_rmt.c: Likewise.
44925 * sunrpc/rpc/auth.h: Likewise.
44926 * sunrpc/rpc/auth_unix.h: Likewise.
44927 * sunrpc/rpc/clnt.h: Likewise.
44928 * sunrpc/rpc/des_crypt.h: Likewise.
44929 * sunrpc/rpc/key_prot.h: Likewise.
44930 * sunrpc/rpc/netdb.h: Likewise.
44931 * sunrpc/rpc/pmap_clnt.h: Likewise.
44932 * sunrpc/rpc/pmap_prot.h: Likewise.
44933 * sunrpc/rpc/pmap_rmt.h: Likewise.
44934 * sunrpc/rpc/rpc.h: Likewise.
44935 * sunrpc/rpc/rpc_des.h: Likewise.
44936 * sunrpc/rpc/rpc_msg.h: Likewise.
44937 * sunrpc/rpc/svc.h: Likewise.
44938 * sunrpc/rpc/svc_auth.h: Likewise.
44939 * sunrpc/rpc/types.h: Likewise.
44940 * sunrpc/rpc/xdr.h: Likewise.
44941 * sunrpc/rpc_clntout.c: Likewise.
44942 * sunrpc/rpc_cmsg.c: Likewise.
44943 * sunrpc/rpc_common.c: Likewise.
44944 * sunrpc/rpc_cout.c: Likewise.
44945 * sunrpc/rpc_dtable.c: Likewise.
44946 * sunrpc/rpc_hout.c: Likewise.
44947 * sunrpc/rpc_main.c: Likewise.
44948 * sunrpc/rpc_parse.c: Likewise.
44949 * sunrpc/rpc_parse.h: Likewise.
44950 * sunrpc/rpc_prot.c: Likewise.
44951 * sunrpc/rpc_sample.c: Likewise.
44952 * sunrpc/rpc_scan.c: Likewise.
44953 * sunrpc/rpc_scan.h: Likewise.
44954 * sunrpc/rpc_svcout.c: Likewise.
44955 * sunrpc/rpc_tblout.c: Likewise.
44956 * sunrpc/rpc_util.c: Likewise.
44957 * sunrpc/rpc_util.h: Likewise.
44958 * sunrpc/rpcinfo.c: Likewise.
44959 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44960 * sunrpc/rpcsvc/key_prot.x: Likewise.
44961 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44962 * sunrpc/rpcsvc/mount.x: Likewise.
44963 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44964 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44965 * sunrpc/rpcsvc/rex.x: Likewise.
44966 * sunrpc/rpcsvc/rstat.x: Likewise.
44967 * sunrpc/rpcsvc/rusers.x: Likewise.
44968 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44969 * sunrpc/rpcsvc/spray.x: Likewise.
44970 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44971 * sunrpc/rtime.c: Likewise.
44972 * sunrpc/svc.c: Likewise.
44973 * sunrpc/svc_auth.c: Likewise.
44974 * sunrpc/svc_authux.c: Likewise.
44975 * sunrpc/svc_raw.c: Likewise.
44976 * sunrpc/svc_run.c: Likewise.
44977 * sunrpc/svc_simple.c: Likewise.
44978 * sunrpc/svc_tcp.c: Likewise.
44979 * sunrpc/svc_udp.c: Likewise.
44980 * sunrpc/svc_unix.c: Likewise.
44981 * sunrpc/svcauth_des.c: Likewise.
44982 * sunrpc/xcrypt.c: Likewise.
44983 * sunrpc/xdr.c: Likewise.
44984 * sunrpc/xdr_array.c: Likewise.
44985 * sunrpc/xdr_float.c: Likewise.
44986 * sunrpc/xdr_mem.c: Likewise.
44987 * sunrpc/xdr_rec.c: Likewise.
44988 * sunrpc/xdr_ref.c: Likewise.
44989 * sunrpc/xdr_sizeof.c: Likewise.
44990 * sunrpc/xdr_stdio.c: Likewise.
44991
9da4bb31
UD
44992 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44993 handling.
44994
bdaa77bc
AS
449952010-08-19 Andreas Schwab <schwab@redhat.com>
44996
44997 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44998
fe2f79db
LM
449992010-08-19 Luis Machado <luisgpm@br.ibm.com>
45000
45001 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45002 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45003 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45004 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45005 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45006 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45007 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45008 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45009 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45010 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45011 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45012 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45013 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45014 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45015
b9b42ee0
AB
450162010-07-26 Anton Blanchard <anton@samba.org>
45017
45018 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45019 * malloc/arena.c (heap_trim): Likewise.
45020
1c06ba31
UD
450212010-08-16 Ulrich Drepper <drepper@redhat.com>
45022
45023 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45024 here. Not...
45025 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45026 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45027
f8392f40
L
450282010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45029
45030 * sysdeps/i386/elf/Makefile: New file.
45031
3162f12e
AS
450322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45033
45034 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45035 from fanotify_init.
45036 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45037 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45038
28c90b2c
UD
450392010-08-15 Ulrich Drepper <drepper@redhat.com>
45040
45041 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45042 of strncasecmp_l.
1feccb6c 45043 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45044
ca6bb004
UD
450452010-08-14 Ulrich Drepper <drepper@redhat.com>
45046
e9f82e0d
UD
45047 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45048 strncase_l-nonascii.
45049 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45050 Add strncase_l-ssse3.
45051 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45052 * sysdeps/x86_64/strcmp.S: Likewise.
45053 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45054 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45055 * sysdeps/x86_64/strncase.S: New file.
45056 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45057 * sysdeps/x86_64/strncase_l.S: New file.
45058 * string/Makefile (strop-tests): Add strncasecmp.
45059 * string/test-strncasecmp.c: New file.
45060
45061 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45062 warning.
45063
ca6bb004
UD
45064 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45065 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45066
052fa7b3
AS
450672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45068
45069 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45070
962dba78
UD
450712010-08-12 Ulrich Drepper <drepper@redhat.com>
45072
45073 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45074 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45075 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45076
bebff237
AM
450772010-05-01 Alan Modra <amodra@gmail.com>
45078
45079 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45080 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45081 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45082 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45083 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45084 tidying. Don't tail-call __sigjmp_save for static lib.
45085 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45086 save location.
45087 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45088 (CALL_MCOUNT): Add eh info, and nop after bl.
45089 (TAIL_CALL_SYSCALL_ERROR): New macro.
45090 (PSEUDO_RET): Use it.
45091 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45092 Correct save location of integer regs and cr.
45093 (_dl_profile_resolve): Correct cr save location. Delete nops
45094 after bl when SHARED. Reduce cfi size a little by better
45095 placement of cfi directives.
45096 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45097 make a stack frame. Instead use parm save area as a temp.
45098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45099 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45101 Don't make a stack frame for parent, use parm save area.
45102 Increase child stack frame to 112 bytes. Don't save unused reg,
45103 and adjust reg usage. Set up cfi on error recovery and
45104 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45106 (__makecontext): Add dummy nop after jump to exit.
45107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45108 Use correct parm save area and cr save, reduce stack frame.
45109 Correct cfi for possible PSEUDO_RET frame setup.
45110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45111 Branch to local label emitted by PSEUDO_RET rather than
45112 __syscall_error.
45113
02637374
AS
451142010-08-12 Andreas Schwab <schwab@redhat.com>
45115
45116 [BZ #11904]
45117 * locale/programs/locale.c (print_assignment): New function.
45118 (show_locale_vars): Use it.
45119
c3e2f19b
UD
451202010-08-11 Ulrich Drepper <drepper@redhat.com>
45121
3cdaa6ad
UD
45122 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45123 field.
45124 (struct statfs64): Likewise.
45125 (_STATFS_F_FLAGS): Define.
45126 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45127 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45128 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45129 (ST_VALID): Define locally.
45130 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45131 __statvfs_getflags, use the provided value.
45132 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45133 __ASSUME_STATFS_F_FLAGS.
45134
754f7da3
UD
45135 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45136
10b3bedc
UD
45137 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45138 Add sys/fanotify.h.
45139 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45140 fanotify_mask for GLIBC_2.13.
45141 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45142 fanotify_init and fanotify_mark.
45143 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45144 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45145
c08fb0d7
UD
45146 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45147 Add prlimit.
45148 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45149 prlimit64 for GLIBC_2.13.
45150 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45151 prlimit64.
45152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45153 syscall.
45154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45155 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45156 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45157 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45158 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45159 add prlimit alias.
45160 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45161
15bac72b
UD
45162 [BZ #11903]
45163 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45164 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45165
c3e2f19b
UD
45166 * nss/Makefile: Add rules to build and run tst-nss-test1.
45167 * shlib-versions: Add entry for libnss_test1.
45168 * nss/nss_test1.c: New file.
45169 * nss/tst-nss-test1.c: New file.
45170
45171 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45172 (__nss_configure_lookup): Set appropriate entry in
45173 __nss_configure_lookup to true.
45174 * nss/nsswitch.h: Define enum with indeces of databases in
45175 databases and __nss_database_custom arrays. Declare
45176 __nss_database_custom.
45177 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45178 to avoid using nscd when custom rules are installed.
45179 * nss/getXXbyYY_r.c: Likewise.
45180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45181
45182 * nss/nss_files/files-parse.c: Whitespace fixes.
45183
f15ce4d8
UD
451842010-08-09 Ulrich Drepper <drepper@redhat.com>
45185
45186 [BZ #11883]
45187 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45188 * posix/fnmatch_loop.c: Likewise.
45189
d22e4cc9
AK
451902010-07-17 Andi Kleen <ak@linux.intel.com>
45191
45192 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45193 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45194 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45195 * Versions.def [GLIBC_2.13]: Add.
45196
805bc17d
UD
451972010-08-06 Ulrich Drepper <drepper@redhat.com>
45198
45199 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45200 Also fail if tpwd after pwuid call is NULL.
45201
5a42321d
ST
452022010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45203
45204 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45205 when converting to ms.
45206
fd3ebeda
ST
452072010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45208
45209 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45210 EOPNOTSUPP errors with ENOTTY.
45211 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45212 EOPNOTSUPP errors with ENOTTY.
45213
73507d3a
UD
452142010-07-31 Ulrich Drepper <drepper@redhat.com>
45215
45216 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45217 Add strcasecmp_l-ssse3.
45218 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45219 strcasecmp.
45220 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45221 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45222 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45223
fe36dd02
UD
452242010-07-30 Ulrich Drepper <drepper@redhat.com>
45225
66f6765a
UD
45226 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45227
42e08a54
UD
45228 * string/Makefile (strop-tests): Add strcasecmp.
45229 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45230 strcasecmp_l-nonascii.
45231 (gen-as-const-headers): Add locale-defines.sym.
45232 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45233 * sysdeps/x86_64/strcasecmp.S: New file.
45234 * sysdeps/x86_64/strcasecmp_l.S: New file.
45235 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45236 * sysdeps/x86_64/locale-defines.sym: New file.
45237 * string/test-strcasecmp.c: New file.
45238
fe36dd02
UD
45239 * string/test-strcasestr.c: Test both ends of the range of characters.
45240 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45241
48cbc0d6
RM
452422010-07-29 Roland McGrath <roland@redhat.com>
45243
76e6d6bc 45244 [BZ #11856]
48cbc0d6
RM
45245 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45246
880113d9
UD
452472010-07-27 Ulrich Drepper <drepper@redhat.com>
45248
45249 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45250 for ld.so.
45251
deb9cabb
AS
452522010-07-27 Andreas Schwab <schwab@redhat.com>
45253
45254 * manual/memory.texi (Malloc Tunable Parameters): Document
45255 M_PERTURB.
45256
1c7570ff
RM
452572010-07-26 Roland McGrath <roland@redhat.com>
45258
45259 [BZ #11840]
45260 * configure.in (-fgnu89-inline check): Set and substitute
45261 gnu89_inline, not libc_cv_gnu89_inline.
45262 * configure: Regenerated.
45263 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45264
24fb0f88
UD
452652010-07-26 Ulrich Drepper <drepper@redhat.com>
45266
45267 * string/test-strnlen.c: New file.
45268 * string/Makefile (strop-tests): Add strnlen.
45269 * string/tester.c (test_strnlen): Add a few more test cases.
45270 * string/tst-strlen.c: Better error reporting.
45271
45272 * sysdeps/x86_64/strnlen.S: New file.
45273
8e96b93a
UD
452742010-07-24 Ulrich Drepper <drepper@redhat.com>
45275
45276 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45277 lower-latency instructions.
45278
dbc676d4
UD
452792010-07-23 Ulrich Drepper <drepper@redhat.com>
45280
45281 * string/test-strcasestr.c: New file.
45282 * string/test-strstr.c: New file.
45283 * string/Makefile (strop-tests): Add strstr and strcasestr.
45284 * string/str-two-way.h: Don't undefine MAX.
45285 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45286
f6a31e0e
AS
452872010-07-21 Andreas Schwab <schwab@redhat.com>
45288
45289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45290 strcasestr-nonascii.
45291 (CFLAGS-strcasestr-nonascii.c): Define.
45292 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45293 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45294 Remove unused attribute.
45295
5dbc3b6c
RM
452962010-07-20 Roland McGrath <roland@redhat.com>
45297
45298 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45299 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45300 ld.so.cache was broken. With it, there is no way to disable dsocaps
45301 like LD_HWCAP_MASK can disable hwcaps.
45302
23d101d8
EPM
453032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45304
45305 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45306
cc9f2e47
UD
453072010-07-16 Ulrich Drepper <drepper@redhat.com>
45308
45309 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45310 call in strcasestr.
45311 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45312 __strcasestr_sse42_nonascii.
45313 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45314 strcasestr-nonascii.c.
45315 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45316
77c1b069
LM
453172010-06-15 Luis Machado <luisgpm@br.ibm.com>
45318
45319 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45320 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45321 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45322 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45323
440566c3
UD
453242010-07-09 Ulrich Drepper <drepper@redhat.com>
45325
45326 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45327 fcntl.
45328
5be9d05d
AS
453292010-07-06 Andreas Schwab <schwab@redhat.com>
45330
c30b7ee2 45331 [BZ #11577]
5be9d05d
AS
45332 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45333 dl_signal_cerror.
45334
8a492a67
UD
453352010-07-06 Ulrich Drepper <drepper@redhat.com>
45336
45337 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45338 _PC_PIPE_BUF using F_GETPIPE_SZ.
45339
713df3d5
RM
453402010-07-05 Roland McGrath <roland@redhat.com>
45341
45342 * manual/arith.texi (Rounding Functions): Fix rint description
45343 implicit in round description.
45344
702e8f14
UD
453452010-07-02 Ulrich Drepper <drepper@redhat.com>
45346
45347 * elf/Makefile: Fix linking for a few tests to make recent linker
45348 happy.
45349
52ed8be9
AS
453502010-06-30 Andreas Schwab <schwab@redhat.com>
45351
45352 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45353 $(common-objpfx)libc_nonshared.a.
45354
f47c9a11
LM
453552010-06-21 Luis Machado <luisgpm@br.ibm.com>
45356
45357 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45358 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45359 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45360 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45361 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45362 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45363 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45364 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45379 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45380 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45381 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45382 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45383 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45384 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45385 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45386 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45387 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45388 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45389 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45390 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45405
6fb8cbcb
L
454062010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45407
45408 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45409 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45410 * string/memmove.c (memmove): Renamed to ...
45411 (MEMMOVE): ...this. Default to memmove.
45412 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45413 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45414 (END_CHK): Define.
45415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45416 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45417 mempcpy-ssse3-back memmove-ssse3-back.
45418 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45419 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45420 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45421 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45422 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45423 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45424 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45425 * sysdeps/x86_64/multiarch/memmove.c: New file.
45426 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45427 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45428 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45429 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45430 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45431 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45432 Define.
45433 (index_Fast_Copy_Backward): Define.
45434 (HAS_ARCH_FEATURE): Define.
45435 (HAS_FAST_REP_STRING): Define.
45436 (HAS_FAST_COPY_BACKWARD): Define.
45437
4e733bac 454382010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
45439
45440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45441 Restore proper fallback handling.
45442
63c4ed22
UD
454432010-06-19 Ulrich Drepper <drepper@redhat.com>
45444
ac2b484c
UD
45445 [BZ #11701]
45446 * posix/group_member.c (__group_member): Correct checking loop.
45447
63c4ed22
UD
45448 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45449 OOM in getpwuid_r correctly. Return error number when the caller
45450 should return, otherwise -1.
45451 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45452 call returning > 0 value.
45453 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45454
765ade4b
AS
454552010-06-07 Andreas Schwab <schwab@redhat.com>
45456
45457 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45458 libc_nonshared.a from targets in modules-names.
45459
80da2e09
KS
454602010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45461
45462 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45463 requires it.
45464
158db122
LM
454652010-06-10 Luis Machado <luisgpm@br.ibm.com>
45466
45467 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45468 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45469 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45470 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45471
caa78cf8
AS
454722010-06-02 Andreas Schwab <schwab@redhat.com>
45473
45474 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45475
b2ef2c01
UD
454762010-06-14 Ulrich Drepper <drepper@redhat.com>
45477
45478 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45479 and F_GETPIPE_SZ.
45480 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45481 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45484 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45485 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45486
fbd643b6
RM
454872010-06-14 Roland McGrath <roland@redhat.com>
45488
45489 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45490
f32f2869
JJ
454912010-06-07 Jakub Jelinek <jakub@redhat.com>
45492
45493 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45494 __REDIRECT followed by __THROW.
45495 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45496 * posix/getopt.h (getopt): Likewise.
45497
2a50c078
EPM
454982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45499
45500 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45501 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45502 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45503 in AT_FLAGS.
45504 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45505 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45506
eb5ad2eb
LM
455072010-05-28 Luis Machado <luisgpm@br.ibm.com>
45508
45509 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45510
3c88fe1e
L
455112010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45512
45513 [BZ #11640]
45514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45515 Properly check family and model.
45516
d2f73151
TY
455172010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45518
45519 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45520
ebd2e13d
LM
455212010-05-24 Luis Machado <luisgpm@br.ibm.com>
45522
45523 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45524
b32b8b45
UD
455252010-05-21 Ulrich Drepper <drepper@redhat.com>
45526
45527 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45528 symbol reference.
45529
9acbe24d
AS
455302010-05-19 Andreas Schwab <schwab@redhat.com>
45531
45532 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45533 symbol reference.
45534
f0ccf6ea
AS
455352010-05-21 Andreas Schwab <schwab@redhat.com>
45536
3d04ff3a
AS
45537 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45538 and internal_recvmmsg.
45539 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45540 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45541 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45542 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45543
f0ccf6ea
AS
45544 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45545 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45546 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45547
5b08ac57
AS
455482010-05-20 Andreas Schwab <schwab@redhat.com>
45549
45550 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45551
4828935d
LM
455522010-05-17 Luis Machado <luisgpm@br.ibm.com>
45553
45554 POWER7 optimizations.
45555 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45556 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45557
373d545e
UD
455582010-05-19 Ulrich Drepper <drepper@redhat.com>
45559
45560 * version.h: Update for 2.13 development version.
45561
21a2b1ae
AS
455622010-05-12 Andrew Stubbs <ams@codesourcery.com>
45563
45564 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45565 exceptions. Return 0.
45566
3f7dcb2b
RM
455672010-05-07 Roland McGrath <roland@redhat.com>
45568
45569 * elf/ldconfig.c (main): Add a const.
45570
5f24d53a 455712010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45572
a160f8d8
UD
45573 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45574 (args_options): Add no-idn option.
45575 (ahosts_keys_int): Add idn_flags to ai_flags.
45576 (parse_option): Handle 'i' option to clear idn_flags.
45577
5f24d53a
UD
45578 * malloc/malloc.c (_int_free): Possible race in the most recently
45579 added check. Only act on the data if no current modification
45580 happened.
265bb1ce
UD
45581
45582See ChangeLog.17 for earlier changes.
This page took 6.636758 seconds and 5 git commands to generate.