]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Start cleaning up TLS initial value for pthread_create.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
962b744d
RM
12014-06-09 Roland McGrath <roland@hack.frob.com>
2
3 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4 if not already defined.
5 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8 (TLS_INIT_TP): Use it.
9 (TLS_DEFINE_INIT_TP): New macro.
10 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11
09f19b05
JM
122014-06-09 Joseph Myers <joseph@codesourcery.com>
13
14 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15 constant.
16 [POSIX] (IXANY): Likewise.
17 [POSIX] (OLCUC): Likewise.
18 [POSIX || POSIX2008] (CBAUD): Do not allow.
19 [POSIX || POSIX2008] (DEFECHO): Likewise.
20 [POSIX || POSIX2008] (ECHOCTL): Likewise.
21 [POSIX || POSIX2008] (ECHOKE): Likewise.
22 [POSIX || POSIX2008] (ECHOPRT): Likewise.
23 [POSIX || POSIX2008] (EXTA): Likewise.
24 [POSIX || POSIX2008] (EXTB): Likewise.
25 [POSIX || POSIX2008] (FLUSHO): Likewise.
26 [POSIX || POSIX2008] (LOBLK): Likewise.
27 [POSIX || POSIX2008] (PENDIN): Likewise.
28 [POSIX || POSIX2008] (SWTCH): Likewise.
29 [POSIX || POSIX2008] (VDISCARD): Likewise.
30 [POSIX || POSIX2008] (VDSUSP): Likewise.
31 [POSIX || POSIX2008] (VLNEXT): Likewise.
32 [POSIX || POSIX2008] (VREPRINT): Likewise.
33 [POSIX || POSIX2008] (VSTATUS): Likewise.
34 [POSIX || POSIX2008] (VWERASE): Likewise.
35 (B*): Change to B[0123456789]*.
36 * conform/data/time.h-data [POSIX || UNIX98]
37 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
38 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40 [POSIX] (tm_*): Do not allow.
41
686554bf
JM
422014-06-07 Joseph Myers <joseph@codesourcery.com>
43
44 * Makefile (install): Don't set LANGUAGE.
45 * Makefile.in (install): Likewise.
46 * assert/Makefile (test-assert-ENV): Remove variable.
47 (test-assert-perr-ENV): Likewise.
48 * elf/Makefile (neededtest4-ENV): Likewise.
49 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50 [$(cross-compiling) = no]: Don't set LANGUAGE.
51 * io/ftwtest-sh (LANG): Remove variable.
52 * libio/Makefile (tst-widetext-ENV): Likewise.
53 * manual/install.texi (Running make install): Don't refer to
54 environment settings for make install.
55 * INSTALL: Regenerated.
56 * nptl/tst-tls6.sh: Don't set LANG.
57 * posix/globtest.sh (LANG): Remove variable.
58 * string/Makefile (tester-ENV): Likewise.
59 (inl-tester-ENV): Likewise.
60 (noinl-tester-ENV): Likewise.
61 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
62 [$(cross-compiling) = no]: Don't set LANGUAGE.
63 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
64 without explicit environment settings.
65
68e6b6b1
RM
662014-06-06 Roland McGrath <roland@hack.frob.com>
67
68 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
69 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
70 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
71 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
72
4d3ae034
CM
732014-06-06 Chris Metcalf <cmetcalf@tilera.com>
74
75 * crypt/crypt-private.h [DOS]: Add some includes taken from the
76 other files in the crypt directory.
77 * crypt/crypt.c: Remove duplicate includes.
78 * crypt/crypt-entry.c: Likewise.
79 * crypt/crypt_util.c: Likewise.
80
8540f6d2
JM
812014-06-06 Joseph Myers <joseph@codesourcery.com>
82
83 * Makeconfig (run-program-env): New variable.
84 (run-program-prefix-before-env): Likewise.
85 (run-program-prefix-after-env): Likewise.
86 (run-program-prefix): Define in terms of new variables.
87 (built-program-cmd-before-env): New variable.
88 (built-program-cmd-after-env): Likewise.
89 (built-program-cmd): Define in terms of new variables.
90 (test-program-prefix-before-env): New variable.
91 (test-program-prefix-after-env): Likewise.
92 (test-program-prefix): Define in terms of new variables.
93 (test-program-cmd-before-env): New variable.
94 (test-program-cmd-after-env): Likewise.
95 (test-program-cmd): Define in terms of new variables.
96 * Rules (make-test-out): Use $(run-program-env).
97 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
98 (help): Do not mention environment variables. Mention
99 --timeoutfactor option.
100 (timeoutfactor): New variable.
101 (blacklist_exports): Remove function.
102 (exports): Remove variable.
103 (command): Do not include ${exports}.
104 * manual/install.texi (Configuring and compiling): Do not mention
105 test wrappers preserving environment variables. Mention that last
106 assignment to a variable must take precedence.
107 * INSTALL: Regenerated.
108 * benchtests/Makefile (run-bench): Use $(run-program-env).
109 * catgets/Makefile ($(objpfx)test1.cat): Use
110 $(built-program-cmd-before-env), $(run-program-env) and
111 $(built-program-cmd-after-env).
112 ($(objpfx)test2.cat): Do not specify environment variables
113 explicitly.
114 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
115 $(run-program-env) and $(built-program-cmd-after-env).
116 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
117 $(run-program-env) and $(test-program-cmd-after-env).
118 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
119 explicitly.
120 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
121 run_program_env and test_program_cmd_after_env arguments.
122 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
123 * elf/tst-pathopt.sh: Use run_program_env argument.
124 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
125 $(test-wrapper-env) and $(run-program-env).
126 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
127 run_program_env arguments.
128 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
129 * intl/Makefile ($(objpfx)tst-gettext.out): Use
130 $(test-program-prefix-before-env), $(run-program-env) and
131 $(test-program-prefix-after-env).
132 ($(objpfx)tst-gettext2.out): Likewise.
133 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
134 run_program_env and test_program_prefix_after_env arguments.
135 * intl/tst-gettext2.sh: Likewise.
136 * intl/tst-gettext4.sh: Do not set environment variables
137 explicitly.
138 * intl/tst-gettext6.sh: Likewise.
139 * intl/tst-translit.sh: Likewise.
140 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
141 $(test-program-prefix-before-env), $(run-program-env) and
142 $(test-program-prefix-after-env).
143 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
144 run_program_env and test_program_prefix_after_env arguments.
145 * math/Makefile (run-regen-ulps): Use $(run-program-env).
146 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
147 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
148 explicitly with each use of ${test_wrapper_env}.
149 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
150 $(test-program-prefix-before-env), $(run-program-env) and
151 $(test-program-prefix-after-env).
152 * posix/tst-getconf.sh: Do not set environment variables
153 explicitly.
154 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
155 run_program_env and test_program_prefix_after_env arguments.
156 * stdio-common/tst-printf.sh: Do not set environment variables
157 explicitly.
158 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
159 $(test-program-prefix-before-env), $(run-program-env) and
160 $(test-program-prefix-after-env).
161 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
162 run_program_env and test_program_prefix_after_env arguments.
163 Split $test calls into $test_pre and $test.
164 * timezone/Makefile (build-testdata): Use
165 $(built-program-cmd-before-env), $(run-program-env) and
166 $(built-program-cmd-after-env).
167
ed36bfa1
AZ
1682014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
169
170 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
171 strlen for non SHARED builds.
172
fc75bf46
SP
1732014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
174
175 * nptl/allocatestack.c (check_list): Inlined function...
176 (__reclaim_stacks): ... here.
177
d89b3d80
OB
1782014-06-05 Ondřej Bílka <neleai@seznam.cz>
179
180 [BZ #15698]
181 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
182 memory overrun.
183
2bf18041
JM
1842014-06-05 Joseph Myers <joseph@codesourcery.com>
185
186 * Rules (make-test-out): Include
187 LOCPATH=$(common-objpfx)localedata in default environment.
188 * debug/Makefile (tst-chk1-ENV): Remove variable.
189 (tst-chk2-ENV): Likewise.
190 (tst-chk3-ENV): Likewise.
191 (tst-chk4-ENV): Likewise.
192 (tst-chk5-ENV): Likewise.
193 (tst-chk6-ENV): Likewise.
194 (tst-lfschk1-ENV): Likewise.
195 (tst-lfschk2-ENV): Likewise.
196 (tst-lfschk3-ENV): Likewise.
197 (tst-lfschk4-ENV): Likewise.
198 (tst-lfschk5-ENV): Likewise.
199 (tst-lfschk6-ENV): Likewise.
200 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
201 (tst-iconv7-ENV): Likewise.
202 * intl/Makefile (LOCPATH-ENV): Likewise.
203 (tst-codeset-ENV): Likewise.
204 (tst-gettext3-ENV): Likewise.
205 (tst-gettext5-ENV): Likewise.
206 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
207 (tst-fopenloc-ENV): Likewise.
208 (tst-fgetws-ENV): Remove variable.
209 (tst-ungetwc1-ENV): Likewise.
210 (tst-ungetwc2-ENV): Likewise.
211 (bug-ungetwc2-ENV): Likewise.
212 (tst-swscanf-ENV): Likewise.
213 (bug-ftell-ENV): Likewise.
214 (tst-fgetwc-ENV): Likewise.
215 (tst-fseek-ENV): Likewise.
216 (tst-ftell-partial-wide-ENV): Likewise.
217 (tst-ftell-active-handler-ENV): Likewise.
218 (tst-ftell-append-ENV): Likewise.
219 * posix/Makefile (tst-fnmatch-ENV): Likewise.
220 (tst-regexloc-ENV): Likewise.
221 (bug-regex1-ENV): Likewise.
222 (tst-regex-ENV): Likewise.
223 (tst-regex2-ENV): Likewise.
224 (bug-regex5-ENV): Likewise.
225 (bug-regex6-ENV): Likewise.
226 (bug-regex17-ENV): Likewise.
227 (bug-regex18-ENV): Likewise.
228 (bug-regex19-ENV): Likewise.
229 (bug-regex20-ENV): Likewise.
230 (bug-regex22-ENV): Likewise.
231 (bug-regex23-ENV): Likewise.
232 (bug-regex25-ENV): Likewise.
233 (bug-regex26-ENV): Likewise.
234 (bug-regex30-ENV): Likewise.
235 (bug-regex32-ENV): Likewise.
236 (bug-regex33-ENV): Likewise.
237 (bug-regex34-ENV): Likewise.
238 (bug-regex35-ENV): Likewise.
239 (tst-rxspencer-ENV): Likewise.
240 (tst-rxspencer-no-utf8-ENV): Likewise.
241 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
242 (tst-sscanf-ENV): Likewise.
243 (tst-swprintf-ENV): Likewise.
244 (tst-swscanf-ENV): Likewise.
245 (test-vfprintf-ENV): Likewise.
246 (scanf13-ENV): Likewise.
247 (bug14-ENV): Likewise.
248 (tst-grouping-ENV): Likewise.
249 * stdlib/Makefile (tst-strtod-ENV): Likewise.
250 (tst-strtod3-ENV): Likewise.
251 (tst-strtod4-ENV): Likewise.
252 (tst-strtod5-ENV): Likewise.
253 (testmb2-ENV): Likewise./
254 * string/Makefile (tst-strxfrm-ENV): Likewise.
255 (tst-strxfrm2-ENV): Likewise.
256 (bug-strcoll1-ENV): Likewise.
257 (test-strcasecmp-ENV): Likewise.
258 (test-strncasecmp-ENV): Likewise.
259 * time/Makefile (tst-strptime-ENV): Likewise.
260 (tst-ftime_l-ENV): Likewise.
261 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
262 (tst-mbrtowc-ENV): Likewise.
263 (tst-wcrtomb-ENV): Likewise.
264 (tst-mbrtowc2-ENV): Likewise.
265 (tst-c16c32-1-ENV): Likewise.
266 (tst-mbsnrtowcs-ENV): Likewise.
267
cd1fb604
OB
2682014-06-05 Ondřej Bílka <neleai@seznam.cz>
269
270 * manual/resource.texi (How to get information about the memory
271 subsystem?): Fix typo.
272 Reported by Peon de la Parra Ivan <peon@keba.com>
273
b42eca7d
GY
2742014-06-03 Guo Yixuan <culu.gyx@gmail.com>
275
276 [BZ #16882]
277 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
278 (pthread_spin_lock): Branch out of spin loop to proper location.
279 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
280 (pthread_spin_lock): Likewise.
281
902b71f9
DM
282 * nptl/tst-spin4.c: New test.
283 * nptl/Makefile (tests): Add tst-spin4.
284
f9d2d032
AS
2852014-06-03 Andreas Schwab <schwab@suse.de>
286
287 [BZ #15946]
288 * resolv/res_send.c (send_dg): Reload file descriptor after
289 calling reopen.
290
cf7bfd28
SL
2912014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
292
293 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
294
111cc714
RH
2952014-06-03 Richard Henderson <rth@redhat.com>
296
89b4bd6b
RH
297 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
298 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
299 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
300 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
301 in the SAVE_PID block.
302 (__libc_vfork): New alias.
71840409 303 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 304
111cc714
RH
305 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
306 child in registers, not on the stack. Remove RESET_PID conditionals.
307 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
308
ccc39911
MS
3092014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
310
311 * sysdeps/aarch64/libm-test-ulps: Regenerate.
312
693096cc
W
3132014-06-03 Wilco <wdijkstr@arm.com>
314
315 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
316 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
317 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
318 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
319 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
320 Likewise.
321
0b4366bc
W
3222014-06-03 Wilco <wdijkstr@arm.com>
323
324 * sysdeps/aarch64/fpu/math_private.h
325 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
326 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
327 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
328 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
329 Fix declarations.
330
8747cd03
KS
3312014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
332
333 * crypt/crypt-private.h: Include ufc-crypt.h.
334 (__b64_from_24bit): Declare extern.
335 * crypt/crypt_util.c(__b64_from_24bit): New function.
336 (b64t): New static const variable.
337 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
338 (b64t): Remove variable.
339 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
340 * crypt/sha256-crypt.c: Include crypt-private.h.
341 (b64t): Remove variable.
342 (__sha256_crypt_r): Remove b64_from_24bit and replace
343 with __b64_from_24bit.
344 * crypt/sha512-crypt.c: Likewise.
345
d936d379
RM
3462014-06-02 Roland McGrath <roland@hack.frob.com>
347
348 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
349 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
350 Label the code __libc_vfork rather than __vfork.
351 [!NOT_IN_libc] (vfork): Define as weak alias.
352 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
353 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
354 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
355
9fa76613
SP
3562014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
357
358 * malloc/malloc.c (malloc_info): Fix format specifier for
359 n_mmaps.
360
a88dadbe
W
3612014-06-02 Wilco <wdijkstr@arm.com>
362
363 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
364 FPCR write.
365
c95b3011
W
3662014-06-02 Wilco <wdijkstr@arm.com>
367
368 [BZ #17009]
369 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
370 Rewrite to reduce FPCR/FPSR accesses.
371
6b4d7a90
DM
3722014-06-01 David S. Miller <davem@davemloft.net>
373
374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
375
30f3d07c
DM
3762014-05-31 David S. Miller <davem@davemloft.net>
377
378 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
379 to occur in round to nearest mode when |x| >= 2.0
380
74f31c18
RH
3812014-05-30 Richard Henderson <rth@twiddle.net>
382
f0712b54
RH
383 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
384 (PSEUDO_RET_NOERRNO): Remove.
385 (ret): Don't redefine.
386 (ret_NOERRNO): Define in terms of ret.
387 (ret_ERRVAL): Likewise.
388
74f31c18
RH
389 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
390 use of PSEUDO_RET; perform the error check directly.
391
30477995
MM
3922014-05-30 Marko Myllynen <myllynen@redhat.com>
393
394 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
395 with __int128_t.
396
62a58816
SP
3972014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
398
399 * malloc/malloc (malloc_info): Fix formatting.
400
4d653a59
SP
4012014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
402 Roland McGrath <roland@hack.frob.com>
403
404 * malloc/malloc (malloc_info): Also print mmapped statistics.
405
5190c17f
RM
4062014-05-30 Roland McGrath <roland@hack.frob.com>
407
408 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
409 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
410
987c0269
OB
4112014-05-30 Ondřej Bílka <neleai@seznam.cz>
412
413 * malloc/malloc.c (malloc_info): Inline mi_arena.
414
af4e8ef9
RH
4152014-05-29 Richard Henderson <rth@twiddle.net>
416
1670e207
RH
417 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
418 Remove comma before expanding ASM_ARGS_##nr.
419 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
420 Make _x0 a strict output; make _x8 a strict input; adjust expansion
421 of ASM_ARGS_##nr.
422 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
423 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
424 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
425 (ASM_ARGS_1): Add leading comma.
426
11a28aee
RH
427 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
428 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
429 to __errno_location.
430 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
431 Remove the expected plt for __errno_location.
432
a17e5ffb 433 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 434 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
435 call to __read_tp.
436
b5be4597
RH
437 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
438 Always allocate 64 bytes of stack frame. Use ldp/stp to create
439 it and break it down.
440 (DOCARGS_0, DOCARGS_1): Do nothing.
441 (DOCARGS_2): Update to store into the new stack frame.
442 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
443 (UNDOCARGS_1): Update to restore from the new stack frame.
444 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
445 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
446
645d44ab
RH
447 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
448 (SINGLE_THREAD_P): New parameter for result regno.
449 (PSEUDO): Update to match; use cbz instead of beq.
450
a8b4f04a
RH
451 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
452 Use ENTRY to define the _nocancel entry point. Share the syscall
453 and syscall error check paths with the cancel path.
454 (PSEUDO_END): New.
455
af4e8ef9
RH
456 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
457 whitespace; tabs before and after asm mnemonics.
458
26b0d2e1
EW
4592014-05-29 Eric Wong <normalperson@yhbt.net>
460
461 [BZ #15132]
462 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
463 Call fstat64 or stat64 internally, depending on arguments passed.
464 Replace stat buffer argument with file descriptor argument.
465 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
466 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
467 Pass fd to __internal_statvfs instead of calling fstat64.
468 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
469 Pass fd to __internal_statvfs64 instead of calling fstat64.
470 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
471 Pass -1 to __internal_statvfs instead of calling stat64.
472 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
473 Pass -1 to __internal_statvfs64 instead of calling stat64.
474
1efe2bd9
RM
4752014-05-28 Roland McGrath <roland@hack.frob.com>
476
0d3b7a19
RM
477 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
478 that was previously under [RESET_PID].
479 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
480
1efe2bd9
RM
481 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
482 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
483
a6bea3ca
RM
4842014-05-27 Roland McGrath <roland@hack.frob.com>
485
30b6629e
RM
486 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
487
a6bea3ca
RM
488 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
489 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
490
3dfb9a5c
OB
4912014-05-27 Ondřej Bílka <neleai@seznam.cz>
492
493 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
494
774f9285
AS
4952014-05-27 Andreas Schwab <schwab@suse.de>
496
497 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
498 TLS_INIT_TP macro.
499 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
500 * elf/rtld.c (init_tls, dl_main): Likewise.
501 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
502 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
503 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
504 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
505 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
506 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
507 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
508 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
509 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
510 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
511 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
512 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
513 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
514 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
515 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
516 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
517 * sysdeps/generic/tls.h: Update description.
518
36ffe739
WN
5192014-05-27 Will Newton <will.newton@linaro.org>
520
521 [BZ #16990]
522 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
523 and restore r2 rather than just restoring.
524
2482ae43
SP
5252014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
526
527 [BZ #16724]
528 * libio/tst-ftell-append.c: New test case.
529 * libio/Makefile (tests): Add test case.
530 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
531 append mode.
532 * libio/wfileops.c (do_ftell_wide): Likewise.
533
3d1024e8
AZ
5342014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
535
bab90016
AZ
536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
537
c7a8d667
AZ
538 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
539 ...
540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
542 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
543 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
544 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
545 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
546 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
547 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
548 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
549 Moved ...
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
551 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
552 Moved ...
553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
554 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
555 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
556 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
557 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
558 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
559 ...
560 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
561 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
562 Moved ...
563 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
564 here.
565 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
566 ...
567 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
568 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
569 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
570
daee7851
AZ
571 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
572 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
573 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
574 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
575
50a40819
AZ
576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
577 merge into ...
578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
579 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
580 ...
581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
583 ...
584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
585 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
586 Moved ...
587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
588 here.
589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
590 Moved ...
591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
593 Moved ...
594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
595
8464c2a1
AZ
596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
597 conditional [RESET_PID].
598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
600 removed.
601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
602 removed.
603
3d1024e8
AZ
604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
605 <tcb-offsets.h>.
606 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
607 (__libc_vfork): New strong alias.
608 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
609 removed.
610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
611 Removed.
612
613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
614 <tcb-offsets.h>.
615 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
616 (__libc_vfork): New strong alias.
617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
618 removed.
619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
620 removed.
621
fdfd175d
CD
6222014-05-26 Carlos O'Donell <carlos@redhat.com>
623
624 * malloc/malloc.c (mi_arena): New function.
625 (malloc_info): Remove nested function mi_arena. Call non-nosted
626 function mi_arena.
627
d298c416
AZ
6282014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
629
630 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
631 by insrwi.
632 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
633 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
634 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
635 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
636 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
637 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
638 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
639
b60ea6ff
AS
6402014-05-26 Andreas Schwab <schwab@suse.de>
641
642 [BZ #16984]
643 * locale/programs/repertoire.c (repertoire_read): Add slash
644 between I18NPATH element and file name.
645 * locale/programs/locfile.c (locfile_read): Likewise.
646
67365926
SL
6472014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
648
649 * nptl/pthread_mutexattr_settype.c
650 (__pthread_mutexattr_settype):
651 Disable lock elision for PTHREAD_MUTEX_NORMAL.
652
f8bdf1f0
SL
6532014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
654
655 * nptl/tst-mutex5 (do_test):
656 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
657
15eaf6ff
SP
6582014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
659
660 * benchtests/README: Document 'init' directive.
661 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
662 BENCH_INIT.
663 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
664 (parse_file): Recognize 'init' directive.
665
75f11331
KM
6662014-05-26 Kyle McMartin <kyle@redhat.com>
667
668 [BZ #16796]
669 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
670 alignment of struct pthread.
671
c3ec475c
SP
6722014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
673
674 [BZ #16878]
675 * nscd/netgroupcache.c (addgetnetgrentX): Look for
676 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
677 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
678 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
679
82aab97c
RH
6802014-05-25 Richard Henderson <rth@twiddle.net>
681
aa2f176d
RH
682 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
683 (SINGLE_THREAD_P_PIC): Remove.
684 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
685 (SINGLE_THREAD_P_PIC): Remove.
686
ca3cfa40
RH
687 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
688 branch to syscall error ...
689 (PSEUDO): ... here.
690 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
691 from __local_syscall_error to .Lsyscall_error.
692 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
693 (SYSCALL_ERROR): Update label name.
694
6e6c2d01
RH
695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
696 Do not use DOARGS/UNDOARGS.
697 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
698 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
699 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
700 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
701 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
702
c69abcee
RH
703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
704 block comment.
705
82aab97c
RH
706 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
707 define if !NOT_IN_libc.
708 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
709 define with non-default symbol versions.
710
8820e3ac
RH
7112014-05-23 Richard Henderson <rth@twiddle.net>
712
900e445f
RH
713 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
714 (vfork, __vfork): Define via compat_symbol.
715
8820e3ac
RH
716 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
717 [!HAVE_IFUNC] (vfork_compat): Remove.
718 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
719
e59252a5
JM
7202014-05-23 Joseph Myers <joseph@codesourcery.com>
721
722 [BZ #16978]
723 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
724 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
725 variable.
726
132c7f5f
RH
7272014-05-23 Richard Henderson <rth@twiddle.net>
728
bc89e962
RH
729 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
730 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
731 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
732 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
733
734 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
735 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
736 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
737 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
738 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
739 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
740 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
741 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
742 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
743 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
744 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
745 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
746 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
747 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
748 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
749 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
750 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
751 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
752 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
753 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
754 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
756 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
758 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
759 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
760 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
762 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
763 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
764 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
765 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
766 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
767 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
768 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
769 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
770 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
771 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
772 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
773 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
774 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
775 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
776 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
777 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
778 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
779 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
780 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
781 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
782 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
783 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
784 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
785 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
786 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
787 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
789 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
790
e2fa4bc2
RH
791 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
792 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
793 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
794 before exiting on error.
795 (__libc_vfork): New strong alias.
796 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
797 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
798
279b24e2
RH
799 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
800 that was previously under [RESET_PID].
801 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
802
132c7f5f
RH
803 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
804
b72592e7
JM
8052014-05-23 Joseph Myers <joseph@codesourcery.com>
806
807 [BZ #16977]
808 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
809 value when x - 1 is zero.
810 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
811 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
812 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
813 0.0L for an argument of 1.0L.
814 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
815 Likewise.
816 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
817 value when x - 1 is zero.
818 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
819 * sysdeps/i386/fpu/libm-test-ulps: Update.
820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
821
2302d679
RV
8222014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
823
824 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
825 alphasort and versionsort.
826
32999d63
AZ
8272014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
828
829 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
830 macro.
831 [copysignf]: Likewise.
832
019324d0
SP
8332014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
834
835 * crypt/md5-crypt.c: Fix formatting.
836
34fff5c2
KS
8372014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
838
839 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
840 (b64_from_24bit): New function.
841
3d2badac
AZ
8422014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
843
844 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
845 libc_hidden_builtin_def to ifunc.
846 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
847 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
848
f7bb179f 8492014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
850
851 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
852 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
853
4134b50d
JM
8542014-05-21 Joseph Myers <joseph@codesourcery.com>
855
bb7d0337
JM
856 * nscd/Depend (linuxthreads): Remove.
857 (nptl): Add.
858 * resolv/Depend (linuxthreads): Remove.
859 * rt/Depend (linuxthreads): Remove.
860
4134b50d
JM
861 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
862 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
863 $(common-objpfx)elf/.
864 (link-libc-before-gnulib): Likewise.
865 (elfobjdir): Remove variable.
866 * Makefile (install): Use $(elf-objpfx) instead of
867 $(common-objpfx)elf/.
868 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
869 $(elfobjdir)/.
870 (link-libc-deps): Likewise.
871 ($(common-objpfx)libc.so): Likewise.
872 ($(common-objpfx)linkobj/libc.so): Likewise.
873 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
874 instead of $(common-objpfx)elf/.
875 (symbolic-link-list): Likewise.
876 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
877 [$(cross-compiling) = no]: Likewise.
878 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
879 $(elfobjdir)/.
880 (static-gnulib-arch): Likewise.
881 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
882 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
883 $(common-objpfx)elf/.
884
3612eb8f
RH
8852014-05-21 Richard Henderson <rth@redhat.com>
886
a6b3657b
RH
887 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
888 (SINGLE_THREAD_P): Use the correct width load. Fold
889 into the ldr offset.
890
3612eb8f
RH
891 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
892 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
893
175cef41
JM
8942014-05-20 Joseph Myers <joseph@codesourcery.com>
895
896 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
897 (libgcc_s_resume): Use __attribute_used__.
898 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
899 Likewise.
900
e13bccd3
AZ
9012014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
902
903 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
904 optimization when used with float constants.
905
7c112a38
AZ
906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
907
ae75a883
AJ
9082014-05-20 Aurelien Jarno <aurelien@aurel32.net>
909
910 [BZ #16915]
911 * locale/nl_langinfo_l.c: Make direct reference to every
912 _nl_current_CATEGORY symbol.
913 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
914 (tests-static): Add tst-langinfo-static.
915 (tests-special): Add tst-langinfo-static.out.
916 ($(objpfx)tst-langinfo.out): Redirect output.
917 ($(objpfx)tst-langinfo-static.out): New.
918 * localedata/tst-langinfo.sh: Send output to stdout.
919 * localedata/tst-langinfo-static.c: New file.
920
4406c41c
AJ
921 [BZ #16965]
922 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
923 when the shift amount is modulo the limb size.
924
4c0a1e63
RH
9252014-05-20 Richard Henderson <rth@redhat.com>
926
de9d8f20
RH
927 [BZ #16967]
928 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
929 Change type of sa_flags from unsigned int to int.
930
4c0a1e63
RH
931 [BZ #16966]
932 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
933
934 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
935
a60339aa
WN
9362014-05-20 Will Newton <will.newton@linaro.org>
937
938 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
939 Test the return value of the system call in the nocancel case.
940
7d05a816
YR
9412014-05-20 Will Newton <will.newton@linaro.org>
942 Yvan Roux <yvan.roux@linaro.org>
943
944 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
945 #include of asm/ptrace.h.
946 (PTRACE_GET_THREAD_AREA): Remove #undef.
947 (PTRACE_GETHBPREGS): Likewise.
948 (PTRACE_SETHBPREGS): Likewise.
949 (struct user_regs_struct): New structure.
950 (struct user_fpsimd_struct): New structure.
951 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
952 #include of asm/ptrace.h and second #include of sys/user.h.
953 (PTRACE_GET_THREAD_AREA): Remove #undef.
954 (PTRACE_GETHBPREGS): Likewise.
955 (PTRACE_SETHBPREGS): Likewise.
956 (ELF_NGREG): Use new struct user_regs_struct.
957 (elf_fpregset_t): Use new struct user_fpsimd_struct.
958
af121e37
AZ
9592014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
960
961 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
962 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
963
834caf06
JM
9642014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
965
966 [BZ #16958]
967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
968 membar to avoid block loads/stores to overlap previous stores.
969
e184a918
RH
9702014-05-17 Richard Henderson <rth@redhat.com>
971
972 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
973 Create the __##syscall_name##_nocancel entry point.
974 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
975 Remove; let the sysdep-cancel.h code create it.
976
f56c7a6a
DM
9772014-05-17 David S. Miller <davem@davemloft.net>
978
979 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
980 Protect with __USE_GNU.
981 (TIOCSET_TEMPT): Likewise.
982 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
983 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
984 these are already provided in bits/ioctl-types.h
985
f75616b2
RM
9862014-05-16 Roland McGrath <roland@hack.frob.com>
987
3edeca86
RM
988 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
989 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
990
f75616b2
RM
991 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
992 Use wait4 regardless of [__NR_waitpid].
993
deb0f7f6
MR
9942014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
995
996 PR libgcc/60166
997 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
998 (_FP_NANSIGN_Q): Set the quiet bit.
999
79520f4b
JM
10002014-05-16 Joseph Myers <joseph@codesourcery.com>
1001
1002 * benchtests/Makefile
1003 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1004 not $(common-objpfx)math/libm.so.
1005 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1006 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1007 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1008 $(common-objpfx)dlfcn/libdl.so.
1009 ($(objpfx)tst-audit8): Depend on $(libm), not
1010 $(common-objpfx)math/libm.so.
1011 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1012 not $(common-objpfx)dlfcn/libdl.so.
1013 * math/Makefile
1014 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1015 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1016 [$(build-shared) = yes].
1017 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1018 $(common-objpfx)nptl/libpthread.so.
1019 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1020 $(common-objpfx)math/libm.so$(libm.so-version) or
1021 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1022 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1023 $(common-objpfx)dlfcn/libdl.so.
1024 * setjmp/Makefile (link-libm): Remove variable.
1025 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1026 * stdio-common/Makefile (link-libm): Remove variable.
1027 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1028 * stdlib/Makefile (link-libm): Remove variable.
1029 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1030 ($(objpfx)tst-strtod-round): Likewise.
1031 ($(objpfx)tst-tininess): Likewise.
1032 ($(objpfx)tst-strtod-underflow): Likewise.
1033 ($(objpfx)tst-strtod6): Likewise.
1034 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1035 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1036 $(common-objpfx)dlfcn/libdl.so.
1037
026b0fe4
AZ
10382014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1039
1040 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1041 BSD terminal modes definitions.
1042
def4bcb2
RM
10432014-05-16 Roland McGrath <roland@hack.frob.com>
1044
fe39b021
RM
1045 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1046 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1047
1d1fc46e 1048 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1049 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1050 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1051 Don't do #include_next.
1052 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1053 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1054 Don't do #include_next.
1055 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1056 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1057 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1058 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1059
c72399fb
AM
10602014-05-16 Allan McRae <allan@archlinux.org>
1061
d51d659d
AM
1062 * po/sv.po: Update Swedish translation from translation project.
1063
c72399fb
AM
1064 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1065 in sed expression.
1066
d0583c40
AJ
10672014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1068
1069 [BZ #16917]
1070 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1071 errno if the TIOCGPTN ioctl fails with an error different than
1072 EINVAL.
1073 * login/tst-ptsname.c: New file.
1074 * login/Makefile (tests): Add tst-ptsname.
1075
d16e6ec7
AJ
1076 [BZ #16943]
1077 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1078 and prlimit64.
1079
cf26a0cb
SP
10802014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1081
1082 [BZ #16849]
1083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1084 herrno to return EAI_AGAIN.
1085
5675da1e
RM
10862014-05-14 Roland McGrath <roland@hack.frob.com>
1087
a5d87b3d
RM
1088 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1089 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1090 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1091 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1093 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1094 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1095 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1096 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1097 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1099 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1100 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1101 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1102 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1103 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1104 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1105 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1106 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1107 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1108 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1109 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1110 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1111 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1112 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1113 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1114 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1115 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1116 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1117 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1119 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1121 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1123 Moved ...
1124 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1126 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1128 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1130 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1132 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1134 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1136 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1138 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1140 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1142 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1144 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1146 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1148 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1150 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1152 Moved ...
1153 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1155 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1157 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1159 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1161 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1163 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1165 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1167 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1173 Moved ...
1174 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1176 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1177
039890a6
RM
1178 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1179 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1180 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1181 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1182 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1183 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1184 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1185 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1186 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1187 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1188 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1189 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1190 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1191 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1192 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1193 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1194 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1195 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1196 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1197 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1198 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1199 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1200 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1201 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1202 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1203 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1204 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1205 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1206 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1207 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1208 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1209
65c89320
RM
1210 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1211 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1212
348f8e8c
RM
1213 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1214 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1215 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1216 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1217 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1218 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1219 Moved ...
1220 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1221 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1222 Moved ...
1223 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1224 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1225 Moved ...
1226 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1227 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1228 Moved ...
1229 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1230 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1231 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1232 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1233 Moved ...
1234 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1235 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1236 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1237 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1238 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1239 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1240 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1241 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1242 Moved ...
1243 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1244 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1245 Moved ...
1246 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1247 ... here.
1248 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1249 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1250 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1251 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1252 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1253 Moved ...
1254 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1255 ... here.
1256 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1257 Moved ...
1258 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1259 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1260 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1261 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1262 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1263 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1264 Moved ...
1265 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1266 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1267 Moved ...
1268 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1269 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1270 Moved ...
1271 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1272 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1273 Moved ...
1274 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1275 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1276 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1277 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1278 Moved ...
1279 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1280 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1281 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1282 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1283 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1284 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1285 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1286 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1287 Moved ...
1288 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1289 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1290 Moved ...
1291 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1292 ... here.
1293 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1294 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1295 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1296 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1297 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1298 Moved ...
1299 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1300 ... here.
1301 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1302 Moved ...
1303 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1304 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1305 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1306 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1307 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1308 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1309 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1310 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1311 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1312 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1313 Moved ...
1314 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1315 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1316 Moved ...
1317 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1318 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1319 Moved ...
1320 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1321 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1322 Moved ...
1323 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1324 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1325 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1326 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1327 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1328 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1329 Moved ...
1330 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1331 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1332 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1333 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1334 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1335 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1336 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1337 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1338 Moved ...
1339 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1340 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1341 Moved ...
1342 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1343 ... here.
1344 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1345 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1346 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1347 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1348 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1349 Moved ...
1350 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1351 ... here.
1352 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1353 Moved ...
1354 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1355 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1356 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1357 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1358 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1359 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1360 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1361 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1362 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1363 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1364 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1365
5085af05
RM
1366 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1367 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1368
708f0813
RM
1369 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1370 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1371
c96067bc
RM
1372 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1373 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1374 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1375 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1376 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1377 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1378 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1379 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1380 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1381 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1382 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1383 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1384 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1385 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1386 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1387 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1388 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1389 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1390 Moved ...
1391 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1392 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1393 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1394 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1395 Moved ...
1396 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1397 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1398 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1399 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1400 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1402 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1404 Moved ...
1405 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1406 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1407 Moved ...
1408 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1410 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1412 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1414 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1415 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1416 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1417 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1418 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1419 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1420 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1421 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1422 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1423 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1424 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1425
ec136444
RM
1426 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1427 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1428 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1429 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1430 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1431
2fbdf533
RM
1432 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1433 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1434 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1435 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1436 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1437 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1438 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1439 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1440 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1441 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1442
4c68138b
RM
1443 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1444 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1445
4eaae765
RM
1446 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1447 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
1448 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1449 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1450 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1451 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1452 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1453 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1454 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1455 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1456 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1457 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1459 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1460 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1461 Update #include.
1462 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1463 Likewise.
1464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1465 Likewise.
1466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1467 Likewise.
1468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1469 Likewise.
1470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1471 Likewise.
1472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1473 Likewise.
1474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1475 Likewise.
1476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1477 Likewise.
1478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1479 Likewise.
4ef6befa
RM
1480 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1481 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
1485 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1486 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1487 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1488 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1489 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1490 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1491 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1492 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1493 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1494 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 1495
941d7dfd
RM
1496 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1497 that was previously under [RESET_PID].
1498 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1499 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1500 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1501
1b731c35
RM
1502 * sysdeps/i386/nptl/Implies: New file.
1503 * sysdeps/x86_64/nptl/Implies: New file.
1504 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1505 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1506 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1507 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1508
e2787137
RM
1509 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1510 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1511 (__libc_vfork): New strong alias.
1512 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1513 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1514
1515 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1516 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1517 (__libc_vfork): New strong alias.
1518 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1519 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1520
5675da1e
RM
1521 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1522 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1523 (__libc_vfork): New strong alias.
1524 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1525 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1526 * nptl/pt-vfork.c: New file.
1527 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1528 (libpthread: GLIBC_2.20): New version set (empty).
1529
4f02e2b8
WN
15302014-05-14 Will Newton <will.newton@linaro.org>
1531
1532 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1533 rather than #if.
1534
0bf061d3
JM
15352014-05-14 Joseph Myers <joseph@codesourcery.com>
1536
1a84c3d6
JM
1537 [BZ #16564]
1538 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1539 arguments with exponent 65 or above.
1540 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1541 arguments 0x1p113L or above.
1542 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1543 to arguments 0x1p107L or above.
1544 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1545 positive arguments with exponent 65 or above.
1546 * math/auto-libm-test-in: Add more tests of log1p.
1547 * math/auto-libm-test-out: Regenerated.
1548
01dbacd2
JM
1549 [BZ #16928]
1550 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1551 non-finite arguments is +0.
1552 * math/s_cacosf.c (__cacosf): Likewise.
1553 * math/s_cacosl.c (__cacosl): Likewise.
1554 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1555 * sysdeps/i386/fpu/libm-test-ulps: Update.
1556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1557
913d03c8
JM
1558 [BZ #16927]
1559 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1560 value.
1561 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1562 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1563 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1564 for explicit high bit of mantissa when testing for argument equal
1565 to 1.
1566 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1567 * sysdeps/i386/fpu/libm-test-ulps: Update.
1568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1569
0bf061d3
JM
1570 [BZ #16516]
1571 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1572 (__erf): Scale by 16 instead of 8 in potentially underflowing
1573 case. Ensure exception if result actually underflows.
1574 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1575 (__erff): Scale by 16 instead of 8 in potentially underflowing
1576 case. Ensure exception if result actually underflows.
1577 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1578 (efx8): Remove variable.
1579 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1580 case. Ensure exception if result actually underflows.
1581 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1582 (efx8): Remove variable.
1583 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1584 case. Ensure exception if result actually underflows.
1585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1586 (efx8): Remove variable.
1587 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1588 case. Ensure exception if result actually underflows.
1589 * math/auto-libm-test-in: Add more tests of erf.
1590 * math/auto-libm-test-out: Regenerated.
1591
73ba67cb
AS
15922014-05-14 Andreas Schwab <schwab@suse.de>
1593
3d8c8bff
AS
1594 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1595 Remove code conditionalized on USE___THREAD.
1596
73ba67cb
AS
1597 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1598 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1599 not definedness.
1600
5c521ecd
JM
16012014-05-14 Joseph Myers <joseph@codesourcery.com>
1602
5e7698c6
JM
1603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1604 Define unconditionally.
1605 (__ASSUME_O_CLOEXEC): Likewise.
1606 (__ASSUME_SOCK_CLOEXEC): Likewise.
1607 (__ASSUME_IN_NONBLOCK): Likewise.
1608 (__ASSUME_PIPE2): Likewise.
1609 (__ASSUME_EVENTFD2): Likewise.
1610 (__ASSUME_SIGNALFD4): Likewise.
1611 (__ASSUME_DUP3): Likewise.
1612 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1613 (__ASSUME_DUP3): Do not define.
1614 (__ASSUME_EVENTFD2): Likewise.
1615 (__ASSUME_IN_NONBLOCK): Likewise.
1616 (__ASSUME_O_CLOEXEC): Likewise.
1617 (__ASSUME_PIPE2): Likewise.
1618 (__ASSUME_SIGNALFD4): Likewise.
1619 (__ASSUME_SOCK_CLOEXEC): Likewise.
1620 (__ASSUME_UTIMES): Undefine.
1621 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1622 (__ASSUME_UTIMES): Do not define.
1623 (__ASSUME_O_CLOEXEC): Likewise.
1624 (__ASSUME_SOCK_CLOEXEC): Likewise.
1625 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1626 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1627 0x020621].
1628 (__ASSUME_PIPE2): Likewise.
1629 (__ASSUME_EVENTFD2): Likewise.
1630 (__ASSUME_SIGNALFD4): Likewise.
1631 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1632 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1633 Do not define.
1634 (__ASSUME_EVENTFD2): Likewise.
1635 (__ASSUME_SIGNALFD4): Likewise.
1636 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1637 (__ASSUME_32BITUIDS): Likewise.
1638 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1639 (__ASSUME_IPC64): Likewise.
1640 (__ASSUME_ST_INO_64_BIT): Likewise.
1641 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1642 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1643 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1644 (__ASSUME_UTIMES): Do not define.
1645 (__ASSUME_PSELECT): Likewise.
1646 (__ASSUME_PPOLL): Likewise.
1647 (__ASSUME_O_CLOEXEC): Likewise.
1648 (__ASSUME_SOCK_CLOEXEC): Likewise.
1649 (__ASSUME_IN_NONBLOCK): Likewise.
1650 (__ASSUME_PIPE2): Likewise.
1651 (__ASSUME_EVENTFD2): Likewise.
1652 (__ASSUME_SIGNALFD4): Likewise.
1653 (__ASSUME_DUP3): Likewise.
1654 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1655 (__ASSUME_UTIMES): Likewise.
1656 (__ASSUME_O_CLOEXEC): Likewise.
1657 (__ASSUME_SOCK_CLOEXEC): Likewise.
1658 (__ASSUME_IN_NONBLOCK): Likewise.
1659 (__ASSUME_PIPE2): Likewise.
1660 (__ASSUME_EVENTFD2): Likewise.
1661 (__ASSUME_SIGNALFD4): Likewise.
1662 (__ASSUME_DUP3): Likewise.
1663 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1664 (__ASSUME_UTIMES): Likewise.
1665 (__ASSUME_O_CLOEXEC): Likewise.
1666 (__ASSUME_SOCK_CLOEXEC): Likewise.
1667 (__ASSUME_IN_NONBLOCK): Likewise.
1668 (__ASSUME_PIPE2): Likewise.
1669 (__ASSUME_EVENTFD2): Likewise.
1670 (__ASSUME_SIGNALFD4): Likewise.
1671 (__ASSUME_DUP3): Likewise.
1672 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1673 Likewise.
1674 (__ASSUME_UTIMES): Likewise.
1675 (__ASSUME_EVENTFD2): Likewise.
1676 (__ASSUME_SIGNALFD4): Likewise.
1677 * sysdeps/unix/sysv/linux/tile/kernel-features.h
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 (__ASSUME_UTIMES): Undefine.
1686
5c521ecd
JM
1687 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1688 feclearexcept. Remove symbol versioning code.
1689 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1690 symbol versioning code.
1691 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1692 symbol versioning code.
1693 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1694 feupdateenv. Remove symbol versioning code.
1695 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1696 fegetexceptflag. Remove symbol versioning code.
1697 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1698 fesetexceptflag. Remove symbol versioning code.
1699 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1700 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1701 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1702 (__posix_fadvise64_l32): Remove prototype.
1703 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1704 code.
1705
5da9dfad
RM
17062014-05-13 Roland McGrath <roland@hack.frob.com>
1707
1708 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1709 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1710 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1711 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1712
893b4f37
SK
17132014-05-13 Sami Kerola <kerolasa@iki.fi>
1714
1715 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1716 current working directory
1717
e0db6517
RM
17182014-05-13 Roland McGrath <roland@hack.frob.com>
1719
58aa195d
RM
1720 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1721 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1722 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1723 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1724 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1725 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1726 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1727 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1728 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1729 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1730 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1731 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1732 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1733 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1734 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1735 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1736 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1737 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1738 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1739 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1740 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1741 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1742 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1743 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1744 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1745 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1746 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1747 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1748 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1749 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1750 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1751 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1752 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1753 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1754 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1755 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1756 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1757 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1758 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1759 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1760 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1761 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1762
8c6d01f0
RM
1763 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1764 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1765
1766 * sysdeps/unix/sysv/linux/arm/Makefile
1767 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1768 Add rt-aeabi_unwind_cpp_pr1.
1769 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1770 Add nptl-aeabi_unwind_cpp_pr1.
1771 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1772 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1773 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1774 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1775 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1776 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1777
1778 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1779 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1780 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1781 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1782
bba6da4e
RM
1783 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1784 Deconditionalize the code that was previously under [RESET_PID].
1785 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1786
e0db6517
RM
1787 * sysdeps/generic/exit-thread.h: New file.
1788 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1789 * include/unistd.h (__exit_thread): Remove declaration.
1790 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1791 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1792 * csu/libc-start.c: Include <exit-thread.h>.
1793 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1794 * nptl/pthread_create.c: Include <exit-thread.h>.
1795 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1796 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1797 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1798 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1799 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1800 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1801 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1802 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1803 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1804 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1805 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1806 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1807 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1808 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1809 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1810 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1811 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1812
01eb16fd
AS
18132014-05-13 Andreas Schwab <schwab@suse.de>
1814
1815 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1816
637461d9
JM
18172014-05-12 Joseph Myers <joseph@codesourcery.com>
1818
1819 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1820 (__ASSUME_UTIMES): Do not condition on kernel version.
1821 (__ASSUME_PSELECT): Define unconditionally.
1822 (__ASSUME_PPOLL): Likewise.
1823 (__ASSUME_ATFCTS): Likewise.
1824 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1825 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1826 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1827 (__ASSUME_UTIMENSAT): Define unconditionally.
1828 (__ASSUME_PRIVATE_FUTEX): Likewise.
1829 (__ASSUME_FALLOCATE): Likewise.
1830 (__ASSUME_O_CLOEXEC): Likewise.
1831 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1832 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1833 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1834 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1835 (__ASSUME_IN_NONBLOCK): Likewise.
1836 (__ASSUME_PIPE2): Likewise.
1837 (__ASSUME_EVENTFD2): Likewise.
1838 (__ASSUME_SIGNALFD4): Likewise.
1839 (__ASSUME_DUP3): Likewise.
1840 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1841 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1842 (__ASSUME_AT_RANDOM): Likewise.
1843 (__ASSUME_PREADV): Likewise.
1844 (__ASSUME_PWRITEV): Likewise.
1845 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1846 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1847 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1848 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1849 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1850 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1851 (__ASSUME_O_CLOEXEC): Define unconditionally.
1852 (__ASSUME_PSELECT): Do not undefine conditionally.
1853 (__ASSUME_PPOLL): Likewise.
1854 (__ASSUME_ATFCTS): Likewise.
1855 (__ASSUME_SET_ROBUST_LIST): Likewise.
1856 (__ASSUME_UTIMENSAT): Likewise.
1857 (__ASSUME_FDATASYNC): Define unconditionally.
1858 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1859 (__ASSUME_SIGFRAME_V2): Likewise.
1860 )__ASSUME_EVENTFD2): Likewise.
1861 (__ASSUME_SIGNALFD4): Likewise.
1862 (__ASSUME_PSELECT): Do not undefine conditionally.
1863 (__ASSUME_PPOLL): Likewise.
1864 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1865 (__ASSUME_PSELECT): Define unconditionally.
1866 (__ASSUME_PPOLL): Likewise.
1867 (__ASSUME_O_CLOEXEC): Likewise.
1868 (__ASSUME_SOCK_CLOEXEC): Likewise.
1869 (__ASSUME_IN_NONBLOCK): Likewise.
1870 (__ASSUME_PIPE2): Likewise.
1871 (__ASSUME_EVENTFD2): Likewise.
1872 (__ASSUME_SIGNALFD4): Likewise.
1873 (__ASSUME_DUP3): Likewise.
1874 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1875 (__ASSUME_O_CLOEXEC): Likewise.
1876 (__ASSUME_SOCK_CLOEXEC): Likewise.
1877 (__ASSUME_IN_NONBLOCK): Likewise.
1878 (__ASSUME_PIPE2): Likewise.
1879 (__ASSUME_EVENTFD2): Likewise.
1880 (__ASSUME_SIGNALFD4): Likewise.
1881 (__ASSUME_DUP3): Likewise.
1882 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1883 (__ASSUME_EVENTFD2): Likewise.
1884 (__ASSUME_SIGNALFD4): Likewise.
1885 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1886
315eb1d8
AS
18872014-05-12 Andreas Schwab <schwab@suse.de>
1888
1889 [BZ #16932]
1890 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1891 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1892 than maximum RPC packet size.
1893 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1894 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1895 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1896 (_nss_nis_getservbyport_r): Likewise.
1897
91df99f7
WN
18982014-05-12 Will Newton <will.newton@linaro.org>
1899
1900 * malloc/Makefile (tests): Add tst-mallopt.
1901 * malloc/tst-mallopt.c: New file.
1902
0a982a29
RM
19032014-05-09 Roland McGrath <roland@hack.frob.com>
1904
1905 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1906 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1907
0ded08a5
AZ
19082014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1909
1910 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1911 (tst-tlsmod6.so): Likewise.
1912
55d4d550
RM
19132014-05-09 Roland McGrath <roland@hack.frob.com>
1914
1915 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1916
77d08aca
JM
19172014-05-09 Joseph Myers <joseph@codesourcery.com>
1918
1919 [BZ #16064]
1920 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1921 and <dl-procinfo.h>.
1922 (__fegetenv): Save SSE state in envp->__eip if supported.
1923 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1924 envp->__eip if supported.
1925 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1926 and <dl-procinfo.h>.
1927 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1928 __data_offset and __data_selector in environment to 0. Set SSE
1929 state if supported.
1930 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1931 test-fenv-sse.
1932 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1933 -mfpmath=sse.
1934 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1935
28162f4d
WN
19362014-05-09 Will Newton <will.newton@linaro.org>
1937
1938 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1939 and libc_relro_required for ARM.
1940 * sysdeps/arm/preconfigure: Regenerate.
1941
5a414ff7
DV
19422014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1943 Stefan Liebler <stli@linux.vnet.ibm.com>
1944
1945 * config.make.in (enable-lock-elision): New Makefile variable.
1946 * configure.ac: Likewise.
1947 * configure: Regenerate.
1948 * sysdeps/s390/configure.ac:
1949 Add check for gcc transactions support.
1950 * sysdeps/s390/configure: Regenerate.
1951 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1952 Build elision files if enabled.
1953 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1954 Add lock elision support for s390.
1955 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1956 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1957 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1958 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1959 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1960 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1961 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1962 Likewise.
1963 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1964 Likewise.
1965 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1966 Likewise.
1967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1968 Likewise.
1969 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1970 (__lll_timedlock_elision, __lll_lock_elision)
1971 (__lll_unlock_elision, __lll_trylock_elision)
1972 (lll_timedlock_elision, lll_lock_elision)
1973 (lll_unlock_elision, lll_trylock_elision): Add.
1974 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1975 (pthread_mutex_t): Add lock elision support for s390.
1976
1a2f40e5
W
19772014-05-14 Wilco <wdijkstr@arm.com>
1978
1979 * sysdeps/arm/fclrexcpt.c: Cleanup.
1980 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1981 * sysdeps/arm/feenablxcpt.c: Cleanup.
1982 * sysdeps/arm/fegetenv.c: Cleanup.
1983 * sysdeps/arm/fegetexcept.c: Cleanup.
1984 * sysdeps/arm/fegetround.c: Cleanup.
1985 * sysdeps/arm/feholdexcpt.c: Cleanup.
1986 * sysdeps/arm/fesetenv.c: Cleanup.
1987 * sysdeps/arm/fesetround.c: Cleanup.
1988 * sysdeps/arm/feupdateenv.c: Cleanup.
1989 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1990 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1991 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1992 * sysdeps/arm/ftestexcept.c: Cleanup.
1993 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1994 * sysdeps/arm/setfpucw.c: Cleanup.
1995
f63c86fe
WN
19962014-05-09 Will Newton <will.newton@linaro.org>
1997
1998 * sysdeps/arm/armv7/strcmp.S: New file.
1999 * NEWS: Mention addition of ARMv7 optimized strcmp.
2000
7a1a51b5
RM
20012014-05-08 Roland McGrath <roland@hack.frob.com>
2002
95afbbe5
RM
2003 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2004 look for %.ac rather than %.in.
2005
2006 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2007 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2008 * sysdeps/mach/hurd/configure: Regenerated.
2009 * sysdeps/unix/sysv/linux/configure: Regenerated.
2010
7a1a51b5
RM
2011 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2012
5057ad3b
SE
20132014-05-07 Steve Ellcey <sellcey@mips.com>
2014
2015 [BZ# 16922]
2016 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2017 (LONG_SUB): Ditto.
2018 (PTR_SUB): Ditto.
2019
8dc97517
AS
20202014-05-07 Andreas Schwab <schwab@suse.de>
2021
2022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2023 when skipping over non-matching result from nscd.
2024
ce0c5b8f
OB
20252014-05-07 Ondřej Bílka <neleai@seznam.cz>
2026
2027 [BZ #16876]
2028 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2029
a1189263
OB
2030 [BZ #16877]
2031 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2032 nscd security class.
ce0c5b8f 2033
0f58d252
RM
20342014-05-06 Roland McGrath <roland@hack.frob.com>
2035
2036 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2037 * sysdeps/arm/unwind.h: ... here.
2038
83df9ad0
AJ
20392014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2040
ce0c5b8f
OB
2041 [BZ# 16916]
2042 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2043 Define.
83df9ad0 2044
f360f94a
VR
20452014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2046
2047 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2048 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2049 multiarch strncpy for PPC64.
2050 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2051 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2053 multiarch optimizations.
2054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2055 (__libc_ifunc_impl_list): Likewise.
2056 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2057 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2058 multiarch stpncpy for PPC64.
2059 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2060 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2061
978a41c3
AS
20622014-05-06 Andreas Schwab <schwab@suse.de>
2063
2064 [BZ #16912]
2065 * gmon/mcount.c (_MCOUNT_DECL): Use
2066 atomic_compare_and_exchange_bool_acq instead of
2067 catomic_compare_and_exchange_bool_acq.
2068
eb1ed03d
RM
20692014-05-05 Roland McGrath <roland@hack.frob.com>
2070
fe658845
RM
2071 * elf/Makefile (others, install-bin): Remove pldd.
2072 (pldd-modules): Variable removed.
2073 ($(objpfx)pldd): Target removed.
2074 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2075 (others, install-bin): Append pldd here.
2076 ($(objpfx)pldd): New target.
2077
eb1ed03d
RM
2078 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2079 to 0, so the first #if test emitted later doesn't see it undefined.
2080 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2081 * sysdeps/gnu/errlist.c: Regenerated.
2082
19c4bec0
AZ
20832014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2084
2085 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2086 [libc_hidden_builtin_def]: Define to empty value.
2087 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2088 [libc_hidden_builtin_def]: Likewise.
2089 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2090 [libc_hidden_builtin_def]: Likewise.
2091 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2092 [libc_hidden_builtin_def]: Likewise.
2093 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2094 __redirect_memcpy and define ifunc as default hidden symbol.
2095 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2096 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2097
7776e669
AC
20982014-05-04 Adam Conrad <adconrad@0c3.net>
2099
2100 * locale/iso-4217.def: Reintroduce XDR currency.
2101
d69aeb12
AM
21022014-05-04 Allan McRae <allan@archlinux.org>
2103
2104 * po/eo.po: Update Esperanto translation from translation project.
2105
8f1df5cf
CD
21062014-05-02 Carlos O'Donell <carlos@redhat.com>
2107
2108 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2109 and FEATURE_INDEX_MAX to 1.
2110 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2111
13e402e7
SE
21122014-05-01 Steve Ellcey <sellcey@mips.com>
2113
2114 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2115 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2116 * iconvdata/big5.c (ONE_DIRECTION): Define.
2117 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2118 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2119 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2120 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2121 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2122 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2123 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2124 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2125 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2126 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2127 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2128 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2129 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2130 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2131 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2132 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2133 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2134 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2135 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2136 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2137 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2138 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2139 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2140 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2141 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2142 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2143 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2144 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2145 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2146 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2147 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2148 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2149 * iconvdata/johab.c (ONE_DIRECTION): Define.
2150 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2151 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2152 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2153 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2154 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2155 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2156 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2157 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2158 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2159 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2160
c727f032
RM
21612014-05-01 Roland McGrath <roland@hack.frob.com>
2162
8f2f08d0
RM
2163 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2164 (_IO_JUMPS_OFFSET): Define to 0.
2165
c727f032
RM
2166 * nptl/sysdeps/pthread/bits/libc-lock.h
2167 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2168 (__libc_lock_define_initialized_recursive): Always define using
2169 initializer. Modern compilers treat uninitialized (implicit zero) and
2170 explicit zero initializers the same (i.e. put the datum in bss).
2171
a849e800
AS
21722014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2173
2174 * nscd/nscd-client.h: Include <string.h>.
2175
5331255b
DM
21762014-05-01 David S. Miller <davem@davemloft.net>
2177
2178 [BZ #16885]
2179 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2180 multiple zero bytes exist at the end of a string.
2181 Reported by Aurelien Jarno <aurelien@aurel32.net>
2182
2183 * string/test-strcmp.c (check): Add explicit test for situations where
2184 there are multiple zero bytes after the first.
2185
4fdfe821
AS
21862014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2187
2188 [BZ #16890]
2189 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2190 when compiling wprintf.
2191 * stdio-common/tstdiomisc.c (t3): New function.
2192 (main): Call it.
2193
0cdddc25
SE
21942014-05-01 Steve Ellcey <sellcey@mips.com>
2195
2196 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2197 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2198 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2199 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2200
6426d77e
SE
22012014-05-01 Steve Ellcey <sellcey@mips.com>
2202
2203 * stdlib/longlong.h: Updated from GCC.
2204
6d96f5e4
WN
22052014-05-01 Will Newton <will.newton@linaro.org>
2206 Bernard Ogden <bernie.ogden@linaro.org>
2207
7470db0c
WN
2208 * NEWS: Update fixed bug list.
2209
6d96f5e4
WN
2210 [BZ #15119]
2211 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2212
211d653c
DM
22132014-04-30 David S. Miller <davem@davemloft.net>
2214
4fa262fa
DM
2215 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2216 (libc_feholdexcept_setround_sparc_ctx): New function.
2217 (libc_fesetenv_sparc_ctx): Likewise.
2218 (libc_feupdateenv_sparc_ctx): Likewise.
2219 (libc_feholdsetround_sparc_ctx): Likewise.
2220 (libc_feholdexcept_setround_ctx): Define.
2221 (libc_feholdexcept_setroundf_ctx): Likewise.
2222 (libc_feholdexcept_setroundl_ctx): Likewise.
2223 (libc_fesetenv_ctx): Likewise.
2224 (libc_fesetenvf_ctx): Likewise.
2225 (libc_fesetenvl_ctx): Likewise.
2226 (libc_feupdateenv_ctx): Likewise.
2227 (libc_feupdateenvf_ctx): Likewise.
2228 (libc_feupdateenvl_ctx): Likewise.
2229 (libc_feresetround_ctx): Likewise.
2230 (libc_feresetroundf_ctx): Likewise.
2231 (libc_feresetroundl_ctx): Likewise.
2232 (libc_feholdsetround_ctx): Likewise.
2233 (libc_feholdsetroundf_ctx): Likewise.
2234 (libc_feholdsetroundl_ctx): Likewise.
2235
1d3d93ef
DM
2236 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2237 with __USE_GNU instead of XOPEN cpp guards.
2238
8aa583c3
DM
2239 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2240 0.
2241
211d653c
DM
2242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2243 with XOPEN cpp guards.
2244
60c8f1f6
JB
22452014-04-30 Julian Brown <julian@codesourcery.com>
2246
2247 [BZ #16888]
2248 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2249 handling.
2250
9a461d46
JM
22512014-04-30 Joseph Myers <joseph@codesourcery.com>
2252
d0f5b3f8
JM
2253 [BZ #9894]
2254 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2255 Change to 2.6.32.
2256 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2257 * sysdeps/unix/sysv/linux/configure: Regenerated.
2258 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2259 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2260 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2261 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2262 * README: Update reference to required Linux kernel version.
2263 * manual/install.texi (Linux): Update reference to required Linux
2264 kernel headers version.
2265 * INSTALL: Regenerated.
2266
9a461d46
JM
2267 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2268 header inclusion.
2269 [POSIX] (limits.h): Likewise.
2270 [POSIX] (math.h): Likewise.
2271 [POSIX] (sys/wait.h): Likewise.
2272 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2273 function.
2274 [POSIX] (stddef.h): Do not allow header inclusion.
2275
1775babf
AZ
22762014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2277
57f41c40 2278 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2279
8f630cca
YY
22802014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2281
2282 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2283 Return immediately after lll_futex_wake.
2284
1cdeb237
SP
22852014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2286
bc8f194c
SP
2287 [BZ #16791]
2288 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2289 structure.
2290 (datahead_init_pos): Call datahead_init_common early.
2291 (datahead_init_neg): Likewise.
2292
1cdeb237
SP
2293 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2294 datahead_init_neg): New functions.
2295 * nscd/aicache.c (addhstaiX): Use them.
2296 * nscd/grpcache.c (cache_addgr): Likewise.
2297 * nscd/hstcache.c (cache_addhst): Likewise.
2298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2299 * nscd/netgroupcache.c (do_notfound): Likewise.
2300 (addgetnetgrentX): Likewise.
2301 (addinnetgrX): Likewise.
2302 * nscd/pwdcache.c (cache_addpw): Likewise.
2303 * nscd/servicescache.c (cache_addserv): Likewise.
2304
16b293a7
SP
23052014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2306 Atsushi Onoe <atsushi@onoe.org>
2307
2308 [BZ #14308]
2309 [BZ #12994]
2310 [BZ #13651]
2311 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2312 one response is valid.
2313 * resolv/res_send.c (send_dg): Check for validity of other
2314 response if the current response is a referral.
2315
a28a9b94
SE
23162014-04-29 Steve Ellcey <sellcey@mips.com>
2317
2318 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2319
2ca180e9
SL
23202014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2321
2322 [BZ #16823]
2323 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2324 Always divide by positive zero when computing -Inf result.
2325 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2326 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2327
18f2945a
AZ
23282014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2329
2330 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2331 FPSCR if value do not change.
2332 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2333 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2334 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2335 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2336 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2337 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2338 function.
2339
5abebba4
CD
23402014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2341
2342 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2343 * sysdeps/unix/sysv/linux/hppa: Move directory from
2344 ports/systeps/unix/sysv/linux/hppa.
2345 * README: Update listing for hppa-*-linux-gnu.
2346
f7ed60c2
OB
23472014-04-28 Ondřej Bílka <neleai@seznam.cz>
2348
fff763a5
OB
2349 [BZ #16754]
2350 * manual/stdio.texi (Hook functions): Fix types of stream hook
2351 functions.
f7ed60c2
OB
2352 [BZ #16854]
2353 * socket/sys/socket.h: Fix typo in comment.
2354
df639d73
WD
23552014-04-28 Wilco <wdijkstr@arm.com>
2356
f7ed60c2 2357 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2358 * sysdeps/arm/math_private.h: New file.
2359 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2360
48332d82
L
23612014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2362
2363 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2364 with __int128_t.
2365 (La_x86_64_retval): Likewise.
2366
e5e0d9a4
IB
23672014-04-24 Ian Bolton <ian.bolton@arm.com>
2368
2369 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2370 fpsr if value didn't change.
2371 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2372 to fpcr if value didn't change.
2373 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2374 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2375 fpsr or fpcr if value didn't change.
2376 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2377 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2378 fpcr if value didn't change.
2379 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2380 to fpsr if value didn't change.
2381
bacc75f7
SP
23822014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2383
2384 * nptl/tst-sem3.c: Use test-skeleton.c
2385 (main): Rename to do_test. Use return instead of
2386 exit.
2387 * nptl/tst-sem4.c: Use test-skeleton.c
2388 (main): Rename to do_test.
2389
a059d359
DM
23902014-04-22 David S. Miller <davem@davemloft.net>
2391
2392 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2393 (struct sigaction): New struct member __glibc_reserved0, change
2394 type of sa_flags to int.
2395
ea6c92f3
YZ
23962014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2397
2398 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2399 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2400
766c4a36
SP
24012014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2402
2403 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2404 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2405
140cc7ab
VK
24062014-04-22 Will Newton <will.newton@linaro.org>
2407 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2408
2409 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2410 (__longjmp): Add longjmp and longjmp_target SystemTap
2411 probes.
2412 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2413 (__sigsetjmp): Add setjmp SystemTap probe.
2414
c54e5cf7
CD
24152014-04-17 Carlos O'Donell <carlos@redhat.com>
2416
2417 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2418 match manual order.
2419
75ffb047
AZ
24202014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2421
2422 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2423
2cd925f7
AZ
2424 * sysdeps/powerpc/fpu/fenv_private.h
2425 (libc_feholdexcept_setroundl_ctx): Define to
2426 libc_feholdexcept_setround_ppc_ctx.
2427 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2428 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2429 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2430 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2431
39e6cd8d
IB
24322014-04-17 Ian Bolton <ian.bolton@arm.com>
2433
2434 * sysdeps/aarch64/math-tests.h: New file.
2435
f9281df9
SY
24362014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2437
2438 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2439 New.
2440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2441 Check and set bit_AVX2_Usable.
2442 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2443 macro.
2444 (bit_AVX2): Likewise.
2445 (index_AVX2_Usable): Likewise.
2446 (CPUID_AVX2): Likewise.
2447 (HAS_AVX2): Likewise.
2448
37d35007
WN
24492014-04-17 Will Newton <will.newton@linaro.org>
2450
7c677662
WN
2451 * manual/setjmp.texi (System V contexts): Add note that
2452 calling setcontext on a context created by a call to a
2453 signal handler is undefined. Update text to note that
2454 setcontext from a signal handler is possible but not
2455 recommended.
2456
37d35007 2457 [BZ #16629]
e04a4e9d
WN
2458 * stdlib/tst-setcontext.c: Include signal.h.
2459 (main): Check that the signal stack before and
2460 after swapcontext is the same.
2461
37d35007
WN
2462 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2463 Re-implement to restore registers in user code and avoid
2464 rt_sigreturn system call.
2465
423a7160
W
24662014-04-17 Wilco <wdijkstr@arm.com>
2467
2468 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2469 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2470 * math/test-fenv.c: Skip exception trap tests on targets which only
2471 support non-stop mode.
2472
bc93ab29
IB
24732014-04-17 Ian Bolton <ian.bolton@arm.com>
2474 Wilco Dijkstra <wilco.dijkstra@arm.com>
2475
2476 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2477 (libc_feholdsetround_aarch64_ctx)
2478 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2479 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2480 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2481 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2482 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2483 (libc_feresetround_noexl_ctx): Define.
2484
95fc5fa3
RH
24852014-04-16 Richard Henderson <rth@redhat.com>
2486
ddb04724
RH
2487 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2488
d77c0899
RH
2489 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2490 unwind tables.
2491
a3df56fc
RH
2492 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2493 const from the non-libc, non-ldso copy.
2494
95fc5fa3
RH
2495 * sysdeps/alpha/libm-test-ulps: Regenerate.
2496
7e0b6763
IB
24972014-04-16 Ian Bolton <ian.bolton@arm.com>
2498 Wilco Dijkstra <wilco.dijkstra@arm.com>
2499
2500 * sysdeps/aarch64/fpu/math_private.h: New file.
2501
a9ea2e0c
MS
25022014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2503
2504 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2505
ea8ba7cd
IZ
25062014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2507
2508 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2509 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2511 Intel MPX bound registers before _dl_profile_fixup.
2512 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2513 registers after _dl_profile_fixup. Save and restore bound
2514 registers bnd0/bnd1 when calling _dl_call_pltexit.
2515 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2516 (LR_BND_OFFSET): Likewise.
2517 (LRV_BND0_OFFSET): Likewise.
2518 (LRV_BND1_OFFSET): Likewise.
2519
9f2a4fbc
ST
25202014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2521
2522 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2523 to...
2524 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
2525 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2526 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2527 fields.
9f2a4fbc 2528
fd15a59b
ST
25292014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2530
2531 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2532
f19dfa0a
SL
25332014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2534
2535 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2536
4fa8bc3b
SL
25372014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2538
2539 [BZ #14770]
2540 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2541 * sysdeps/s390/configure: Regenerate.
2542
8ea587db
SL
2543 [BZ #16824]
2544 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2545 Set round-to-nearest internally to reduce error accumulation.
2546
aa5f0ff1
AM
25472014-04-16 Alan Modra <amodra@gmail.com>
2548
2549 [BZ #16740]
2550 [BZ #16619]
2551 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2552 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2553 * NEWS: Update fixed bug list.
aa5f0ff1 2554
bb9c256f
SP
25552014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2556
2557 * benchtests/Makefile: Depend on libraries in build directory.
2558 (bench-math): Separate out math tests.
2559 (bench-pthread): Separate out pthread tests.
2560 (bench): Include math and pthread tests.
2561
f737dfd0
CD
25622014-04-14 Carlos O'Donell <carlos@redhat.com>
2563
2564 [BZ #16831]
2565 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2566 _dl_debug_initialize.
2567
0699f766
CD
2568 * configure.ac: Remove SELinux header check.
2569 * configure: Regenerate.
2570 * nscd/selinux.c (perms): Array of const char* to permission names.
2571 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2572 default policy. Call string_to_security_class and string_to_av_perm to
2573 translate strings. Enforce default policy and call avs_has_perm with
2574 results of translated strings.
2575
809bd45f
DM
25762014-04-13 David S. Miller <davem@davemloft.net>
2577
2578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2579
89e691f2
AM
25802014-04-12 Allan McRae <allan@archlinux.org>
2581
2582 [BZ #16838]
2583 * manual/string.texi (Collation Functions): Fix qsort argument
2584 order in example.
2585 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2586
9c9daaeb
CM
25872014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2588
2589 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2590 Make the test a no-op if there are no exceptions defined.
2591
95561fb9
PP
25922014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2593
fe8d072c 2594 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2595 enable-hardcoded-path-in-tests
2596
970c602a
WN
25972014-04-11 Will Newton <will.newton@linaro.org>
2598
2599 * benchtests/Makefile (extra-objs): Add json-lib.o.
2600 (bench-func): Tidy up JSON output.
2601 * benchtests/bench-skeleton.c: Include json-lib.h.
2602 (main): Use JSON library functions to do output of
2603 benchmark results.
2604 * benchtests/bench-timing-type.c (main): Output the
2605 timing type simply, leaving formatting to the user.
2606 * benchtests/json-lib.c: New file.
2607 * benchtests/json-lib.h: Likewise.
2608
36875b06
TR
26092014-04-11 Torvald Riegel <triegel@redhat.com>
2610
2611 [BZ #15215]
2612 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2613 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2614 memory barriers. Add comments.
2615 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2616 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2617 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2618 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2619 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2620 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2621
579db35a
SL
26222014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2623
2624 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2625 * sysdeps/s390/s390-64/configure.ac: ... this ...
2626 * sysdeps/s390/configure.ac: ... to here.
2627 * sysdeps/s390/s390-32/configure: Delete file.
2628 * sysdeps/s390/s390-64/configure: Delete file.
2629 * sysdeps/s390/configure: Regenerate.
2630
c12e9f37
JAPH
26312014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2632
2633 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2634
439bda32
WN
26352014-04-11 Will Newton <will.newton@linaro.org>
2636
2637 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2638 to zero if it is not defined elsewhere. (mtrim): Test
2639 the value of MALLOC_DEBUG with #if rather than #ifdef.
2640
6a5d6ea1
TR
26412014-04-10 Torvald Riegel <triegel@redhat.com>
2642
2643 * benchtests/pthread_once-inputs: New file.
2644 * benchtests/pthread_once-source.c: New file.
2645 * benchtests/README: Update documentation.
2646
a4c75cfd
IZ
26472014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2648 H.J. Lu <hongjiu.lu@intel.com>
2649
2650 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2651 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2652 * sysdeps/x86_64/configure: Regenerated.
2653 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2654 macro.
2655 (REGISTER_SAVE_RAX): Likewise.
2656 (REGISTER_SAVE_RCX): Likewise.
2657 (REGISTER_SAVE_RDX): Likewise.
2658 (REGISTER_SAVE_RSI): Likewise.
2659 (REGISTER_SAVE_RDI): Likewise.
2660 (REGISTER_SAVE_R8): Likewise.
2661 (REGISTER_SAVE_R9): Likewise.
2662 (REGISTER_SAVE_BND0): Likewise.
2663 (REGISTER_SAVE_BND1): Likewise.
2664 (REGISTER_SAVE_BND2): Likewise.
2665 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2666 bound registers when calling _dl_fixup.
2667
27822ce6
AZ
26682014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2669
2670 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2671 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2672 of its definition.
27822ce6
AZ
2673 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2674 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2675 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2676 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2677 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2678 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2679 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2680
a88ddc90
PTB
26812014-04-09 Peter Brett <peter@peter-b.co.uk>
2682
2683 [BZ #15514]
2684 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2685 pathconf(_PC_NAME_MAX).
2686
01f8eac2
AZ
26872014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2688
2689 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2690 Remove macro usage.
2691 (__PTHREAD_SPINS): Move definition to ...
2692 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2693 (__PTHREAD_SPINS): ... here.
2694 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2695 (__PTHREAD_SPIN): Likewise.
2696 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2697 (__PTHREAD_SPIN): Likewise.
2698 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2699 (__PTHREAD_SPIN): Likewise.
2700 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2701 (__PTHREAD_SPIN): Likewise.
2702 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2703 (__PTHREAD_SPIN): Likewise.
2704 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2705 (__PTHREAD_SPIN): Likewise.
2706 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2707 (__PTHREAD_SPIN): Likewise.
2708 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2709 (__PTHREAD_SPIN): Likewise.
2710 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2711 (__PTHREAD_SPIN): Likewise.
2712 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2713 (__PTHREAD_SPIN): Likewise.
2714 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2715 (__PTHREAD_SPIN): Likewise.
2716 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2717 (__PTHREAD_SPIN): Likewise.
2718
de21c33c
AZ
2719 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2720 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2721 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2722 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2723 imply folder.
2724 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2725 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2726 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2727 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2728 correct imply path.
2729 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2730 strlen symbol for non multi-arch builds.
2731 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2732 missing hidden_def and weak_alias.
2733
862c472e
CD
27342014-04-08 Carlos O'Donell <carlos@redhat.com>
2735
2736 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2737
8667f90e
WN
27382014-04-07 Will Newton <will.newton@linaro.org>
2739
2740 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2741 and contents. [!_LIBC] Remove #ifndef and contents.
2742 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2743 * string/memccpy.c (__memccpy): Use ANSI prototype.
2744 * string/memfrob.c (memfrob): Likewise.
2745 * string/strcoll.c (STRCOLL): Likewise.
2746 * string/strlen.c (strlen): Likewise.
2747 * string/strtok.c (STRTOK): Likewise.
2748 * string/strcat.c: Remove unused #include of memcopy.h.
2749 (strcat): Use ANSI prototype.
2750 * string/strchr.c: Remove unused #include of memcopy.h.
2751 (strchr): Use ANSI prototype.
2752 * string/strcmp.c: Remove unused #include of memcopy.h.
2753 (strcmp): Use ANSI prototype.
2754 * string/strcpy.c: Remove unused #include of memcopy.h.
2755 (strcpy): Use ANSI prototype.
2756
7ffa9423
AZ
27572014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2758
2759 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2760 * config.make.in (config-extra-cppflags): Set it from
2761 libc_extra_cppflags.
2762 * configure.ac (libc_extra_cflags): Make it accumulate over
2763 configure fragments.
2764 (libc_extra_cppflags): New flag.
2765 * configure. Regenerate.
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2767 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2768 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2770
8bd70862
AZ
2771 [BZ #16815]
2772 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2773 result for FE_DOWNWARD rounding mode.
2774 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2775 Likewise.
2776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2777
d42f3448
CM
27782014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2779
2780 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2781 in function argument name.
2782
1c21d115
DS
27832014-04-03 David Svoboda <svoboda@cert.org>
2784
2785 [BZ #5666]
2786 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2787 explicitly.
2788
fcccd512
RM
27892014-04-03 Roland McGrath <roland@hack.frob.com>
2790
2791 * elf/dl-unmap-segments.h: New file.
2792 * sysdeps/generic/ldsodefs.h
2793 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2794 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2795 * elf/dl-fptr.c: Likewise.
2796 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2797 * sysdeps/aarch64/tlsdesc.c: Likewise.
2798 * sysdeps/arm/tlsdesc.c: Likewise.
2799 * sysdeps/i386/tlsdesc.c: Likewise.
2800 * sysdeps/tile/dl-runtime.c: Likewise.
2801 * sysdeps/x86_64/tlsdesc.c: Likewise.
2802 * elf/dl-load.h: New file.
2803 * elf/dl-load.c: Include it.
2804 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2805 Macros moved to dl-load.h.
2806 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2807 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2808 Use _dl_unmap_segments in place of __munmap.
2809 Break out segment-mapping loop into ...
2810 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2811
f6488e2b
WN
28122014-04-03 Will Newton <will.newton@linaro.org>
2813
2814 * elf/dl-lookup.c (do_lookup_x): Remove comment
2815 referring to nested function and move variable
2816 declarations down to before first use.
2817
6f05bafe
JM
28182014-04-02 Joseph Myers <joseph@codesourcery.com>
2819
a84e78c8
JM
2820 [BZ #16799]
2821 [BZ #16800]
2822 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2823 with 0 numerator.
2824 * math/s_catanf.c (__catanf): Likewise.
2825 * math/s_catanh.c (__catanh): Likewise.
2826 * math/s_catanhf.c (__catanhf): Likewise.
2827 * math/s_catanhl.c (__catanhl): Likewise.
2828 * math/s_catanl.c (__catanl): Likewise.
2829 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2830 by positive zero when computing -Inf result.
2831 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2832 (catanh_test): Likewise.
2833 * sysdeps/i386/fpu/libm-test-ulps: Update.
2834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2835
6f05bafe
JM
2836 [BZ #16789]
2837 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2838 instead of using underflowing value in computing result.
2839 * math/s_clog10.c (__clog10): Likewise.
2840 * math/s_clog10f.c (__clog10f): Likewise.
2841 * math/s_clog10l.c (__clog10l): Likewise.
2842 * math/s_clogf.c (__clogf): Likewise.
2843 * math/s_clogl.c (__clogl): Likewise.
2844 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2845 (clog10_test): Likewise.
2846 * sysdeps/i386/fpu/libm-test-ulps: Update.
2847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2848
b0abbc21
AM
28492014-04-02 Alan Modra <amodra@gmail.com>
2850
2851 [BZ #16739]
2852 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2853 output when value is near a power of two. Use int64_t for lx and
2854 remove casts. Use decimal rather than hex exponent constants.
2855 Don't use long double multiplication when double will suffice.
2856 * math/libm-test.inc (nextafter_test_data): Add tests.
2857 * NEWS: Add 16739 and 16786 to bug list.
2858
af6b1797
AM
2859 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2860
483818d7
AM
2861 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2862
f6c55796
WN
28632014-04-01 Will Newton <will.newton@linaro.org>
2864
2865 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2866 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2867
13f7fe35
FW
28682014-04-01 Florian Weimer <fweimer@redhat.com>
2869
2870 [BZ #13347]
2871 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2872 * nptl/tst-setuid2.c: New file.
2873 * nptl/Makefile (xtests): Add tst-setuid2.
2874
c859b32e
AM
28752014-04-01 Alan Modra <amodra@gmail.com>
2876
2877 [BZ #16786]
2878 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2879
54fa2475
JM
28802014-03-31 Joseph Myers <joseph@codesourcery.com>
2881
8795b4a4
JM
2882 [BZ #6803]
2883 [BZ #6804]
2884 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2885 set errno as appropriate.
2886 * math/w_scalbf.c (__scalbf): Likewise.
2887 * math/w_scalbl.c (__scalbl): Likewise.
2888 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2889 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2890 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2891 Add more NaN tests.
2892
54fa2475
JM
2893 [BZ #16349]
2894 * math/w_atan2.c: Include <errno.h>.
2895 (__atan2): Set errno for result underflowing to zero.
2896 * math/w_atan2f.c: Include <errno.h>.
2897 (__atan2f): Set errno for result underflowing to zero.
2898 * math/w_atan2l.c: Include <errno.h>.
2899 (__atan2l): Set errno for result underflowing to zero.
2900 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2901 tests.
2902 * math/auto-libm-test-out: Regenerated.
2903
757d9dd5
AZ
29042014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2905
2906 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2907 Encode instruction correctly in little endian.
2908 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2909 Likewise.
2910 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2911 Likewise.
2912 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2913 Likewise.
2914 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2915 Likewise.
2916
d7a68734
JM
29172014-03-31 Joseph Myers <joseph@codesourcery.com>
2918
47c5adeb
JM
2919 [BZ #9894]
2920 * sysdeps/unix/sysv/linux/kernel-features.h
2921 [__sparc__ && !__arch64__ && !__sparc_v9__]
2922 (__ASSUME_SET_ROBUST_LIST): Do not define.
2923 [__sparc__ && !__arch64__ && !__sparc_v9__]
2924 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2925 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2926 Likewise.
2927 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2928 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2929 (__ASSUME_REQUEUE_PI): Likewise.
2930 (__ASSUME_SET_ROBUST_LIST): Likewise.
2931 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2932 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2933 Undefine.
2934 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2935 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2936 Likewise.
2937 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2938 Likewise.
2939 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2940 Likewise.
2941 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2942 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2943 Undefine.
2944 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2945 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2946 Likewise.
2947
d7a68734
JM
2948 [BZ #16648]
2949 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2950 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2951 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2952
c760f5c2
WN
29532014-03-31 Will Newton <will.newton@linaro.org>
2954
2955 * benchtests/Makefile (bench): Add ffs and ffsll to list
2956 of tests.
2957 * benchtests/ffs-inputs: New file.
2958 * benchtests/ffsll-inputs: Likewise.
2959
ea6029b1
JM
29602014-03-29 Joseph Myers <joseph@codesourcery.com>
2961
2962 [BZ #16770]
2963 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2964 too large before casting to int.
2965 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2966 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2967 * math/libm-test.inc (scalb_test_data): Add more tests.
2968
cf806aff
SP
29692014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2970
56737508
SP
2971 * benchtests/Makefile (DETAILED_OPT): New make option.
2972 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2973 set.
2974 * benchtests/bench-skeleton.c: Include stdbool.h.
2975 (main): Store and print timings per input.
2976 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2977 member to each argument value.
2978 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2979 (_print_arg_data): Initialize per-input timing to 0.
2980
cb5e4aad
SP
2981 * benchtests/Makefile (timing-type): New binary.
2982 (bench-clean): Also remove bench-timing-type.
2983 (bench): New target for timing-type.
2984 (bench-func): Print output in JSON format.
2985 * benchtests/bench-skeleton.c (main): Print output in JSON
2986 format.
2987 * benchtests/bench-timing-type.c: New file.
2988 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2989 (TIMING_PRINT_STATS): Remove.
2990 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2991 name separately.
2992
cf806aff
SP
2993 * benchtests/bench-modf.c: Remove.
2994 * benchtests/modf-inputs: New inputs file.
2995
289e0779
JM
29962014-03-28 Joseph Myers <joseph@codesourcery.com>
2997
2998 [BZ #16362]
2999 * math/s_clog10.c (M_PI_LOG10E): New macro.
3000 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3001 imaginary parts are 0.
3002 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3003 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3004 imaginary parts are 0.
3005 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3006 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3007 imaginary parts are 0.
3008 * math/libm-test.inc (clog10_test_data): Update expected results
3009 for when real and imaginary parts are 0.
3010
277ae3f1
PP
30112014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3012
3013 * elf/dl-load.c: Finish conversion of __builtin_expect into
3014 __glibc_{un}likely.
3015
03a7091f
JM
30162014-03-27 Joseph Myers <joseph@codesourcery.com>
3017
3018 [BZ #16348]
3019 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3020 1+x for argument with exponent below -67.
3021 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3022 Likewise.
3023 * math/auto-libm-test-in: Add more tests of exp.
3024 * math/auto-libm-test-out: Regenerated.
3025
ea7d8b95
SP
30262014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3027
dd3022d7
SP
3028 [BZ #16759]
3029 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3030 (nscd_getnetgrent): Use it.
3031
ea7d8b95
SP
3032 [BZ #16760]
3033 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3034 of stpcpy.
3035
df5b85da
AK
30362014-03-27 Andi Kleen <ak@linux.intel.com>
3037
57f41c40
AS
3038 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3039 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3040 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3041 (lll_robust_unlock): Remove out of line section. Use cfi
3042 intrinsics.
df5b85da 3043 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3044 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3045 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3046 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3047 (lll_robust_unlock): Remove out of line section. Use cfi
3048 intrinsics.
df5b85da
AK
3049 (LLL_STUB_UNWIND_INFO*): Remove.
3050
fbd6b5a4
SP
30512014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3052
3053 [BZ #16758]
3054 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3055 blank values.
3056
1b26b855
PP
30572014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3058
3059 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3060
9be36fb8
JM
30612014-03-26 Joseph Myers <joseph@codesourcery.com>
3062
3063 [BZ #16198]
3064 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3065 fnstenv.
3066 * math/test-fenv-preserve.c: New file.
3067 * math/Makefile (tests): Add test-fenv-preserve.
3068
60a2f3c1
WN
30692014-03-26 Will Newton <will.newton@linaro.org>
3070
3071 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3072
a5e5f1e2
RM
30732014-03-25 Roland McGrath <roland@hack.frob.com>
3074
3075 * scripts/versionlist.awk: Partition the version sets and emit all
3076 GLIBC_* (sorted) before all others (sorted).
3077
00f4012a
JM
30782014-03-25 Joseph Myers <joseph@codesourcery.com>
3079
3080 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3081 GLIBC_2.2.5 version.
3082
7bc5a741
AZ
30832014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3084
3085 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3086 calls.
3087
7578473b
AZ
3088 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3089 previous change.
3090
f3f1dab3
AZ
3091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3092
6da36183
AS
30932014-03-25 Andreas Schwab <schwab@suse.de>
3094
3095 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3096 label to be used after in6ailist is initialized.
3097
f3f1dab3 30982014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3099
7578473b 3100 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3101 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3102
046651c1
JM
31032014-03-25 Joseph Myers <joseph@codesourcery.com>
3104
3105 [BZ #16357]
3106 [BZ #16599]
3107 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3108 min_plus_half.
3109 (fp_formats): Update initializers.
3110 (init_fp_formats): Initialize new field.
3111 (output_for_one_input_case): Allow underflow for results up to
3112 min_plus_half.
3113 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3114 * math/auto-libm-test-in: Don't mark some underflows from asin and
3115 atanh as spurious.
3116 * math/auto-libm-test-out: Regenerated.
3117 * sysdeps/i386/fpu/libm-test-ulps: Update.
3118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3119
003e49ed
AS
31202014-03-25 Andreas Schwab <schwab@suse.de>
3121
3122 * libio/Makefile (tst-ftell-partial-wide-ENV)
3123 (tst-ftell-active-handler-ENV): Define.
3124
de031874
SL
31252014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3126
3127 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3128
55a81e3b
PP
31292014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3130
3131 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3132
f3426898
JM
31332014-03-24 Joseph Myers <joseph@codesourcery.com>
3134
3135 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3136 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3137 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3138
a42faf59
PP
31392014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3140
3141 [BZ #16634]
a42faf59 3142 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3143 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3144 (open_path): Change from boolean 'secure' to complete flag 'mode'
3145 (_dl_map_object): Adjust.
a42faf59
PP
3146 * elf/Makefile (tests): Add tst-dlopen-aout.
3147 * elf/tst-dlopen-aout.c: New test.
3148
50936127
SL
31492014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3150
3151 [BZ #16714]
3152 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3153 (struct stat): Rename member pad0 to __glibc_reserved0.
3154
26011b5c
SL
3155 [BZ #16712]
3156 * sysdeps/s390/s390-32/bits/wordsize.h
3157 (__WORDSIZE32_SIZE_ULONG): New define.
3158 * sysdeps/s390/s390-64/bits/wordsize.h
3159 (__WORDSIZE32_SIZE_ULONG): Likewise.
3160 * sysdeps/generic/stdint.h (SIZE_MAX):
3161 Define as UL if __WORDSIZE32_SIZE_ULONG.
3162
a2d86bf1
SL
3163 [BZ #16713]
3164 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3165 (__glibc_reserved0): New variable.
3166 (sa_flags): Change type to int.
3167
78b6eebc
SL
3168 * posix/Makefile (before-compile): Use += before-compile instead
3169 of a :=.
3170
f1399b5a
SL
3171 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3172 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3173
a071766e
AS
31742014-03-20 Andreas Schwab <schwab@suse.de>
3175
3176 [BZ #16743]
3177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3178 non-matching result from nscd.
3179
27c673b8
SP
31802014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3181
3182 * scripts/bench.py: Moved to ...
3183 * benchtests/scripts/bench.py: ... here.
3184 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3185
44152e4b
AS
31862014-03-24 Andreas Schwab <schwab@suse.de>
3187
3188 [BZ #16002]
3189 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3190 alloca_account and account alloca use for struct in6ailist.
3191
b376a11a
JM
31922014-03-24 Joseph Myers <joseph@codesourcery.com>
3193
3194 [BZ #16284]
3195 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3196 rounding mode to recompute results that overflow to infinity or
3197 underflow to zero.
3198 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3199 bug 16284.
3200 * math/auto-libm-test-out: Regenerated.
3201 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3202 (ccosh_test): Likewise.
3203 (csin_test_data): Use plus_oflow.
3204 (csin_test): Use ALL_RM_TEST.
3205 (csinh_test_data): Use plus_oflow.
3206 (csinh_test): Use ALL_RM_TEST.
3207 * sysdeps/i386/fpu/libm-test-ulps: Update.
3208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3209
f7be7376
JM
32102014-03-21 Joseph Myers <joseph@codesourcery.com>
3211
1ca2d03e
JM
3212 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3213 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3214 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3215
f7be7376
JM
3216 [BZ #16731]
3217 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3218 when x - 1 is zero.
3219 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3220 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3221 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3222 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3223 argument is 1.
3224 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3225 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3226 zero.
3227 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3228 * sysdeps/i386/fpu/libm-test-ulps: Update.
3229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3230
fdf4534d
SP
32312014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3232
df26ea53
SP
3233 * scripts/bench.pl: Remove file.
3234 * scripts/bench.py: New benchmark script.
3235 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3236 * benchtests/README: Mention python dependency.
3237 * scripts/pylintrc: New file.
3238 * scripts/pylint: New file.
3239
fdf4534d
SP
3240 * bits/mathdef.h: Use #ifdef instead of #if.
3241 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3242 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3243 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3244 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3245 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3246 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3247
6f23d093
AZ
32482014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3249 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3250
3251 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3253 and strpbrk-ppc64 objects.
3254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3255 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3256 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3257 multiarch strpbrk for POWER7.
3258 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3259 multiarch strpbrk for PPC64.
3260 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3261 ifunc selector.
3262 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3263 strpbrk for POWER7.
3264
8c92dfff
JM
32652014-03-20 Joseph Myers <joseph@codesourcery.com>
3266
3267 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3268 (atan_test): Likewise.
3269 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3270 (atanh_test): Use ALL_RM_TEST.
3271 (atan2_test_data): Likewise.
3272 (cabs_test): Likewise.
3273 (cacosh_test): Likewise.
3274 (carg_test): Likewise.
3275 (casin_test): Likewise.
3276 (casinh_test): Likewise.
3277 (cbrt_test): Likewise.
3278 (csqrt_test): Likewise.
3279 (erf_test): Likewise.
3280 (erfc_test): Likewise.
3281 (pow10_test): Likewise.
3282 (exp2_test): Likewise.
3283 (hypot_test): Likewise.
3284 (j0_test): Likewise.
3285 (j1_test): Likewise.
3286 (lgamma_test): Likewise.
3287 (gamma_test): Likewise.
3288 (sincos_test): Likewise.
3289 (tanh_test): Likewise.
3290 (y0_test): Likewise.
3291 (y1_test): Likewise.
3292 * sysdeps/i386/fpu/libm-test-ulps: Update.
3293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3294
6eaf95cb
AZ
32952014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3296
a387428c
SP
3297 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3299 and strcspn-ppc64 objects.
3300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3301 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3302 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3303 multiarch strcspn for POWER7.
3304 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3305 multiarch strcspn for PPC64.
3306 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3307 ifunc selector.
3308 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3309 strcspn for POWER7.
3310
ae3a5dff
JM
33112014-03-20 Joseph Myers <joseph@codesourcery.com>
3312
3313 * math/gen-libm-test.pl (generate_testfile): Expect only function
3314 name as argument to AUTO_TESTS_* and pass results for all rounding
3315 modes to parse_args.
3316 (parse_auto_input): Separate inputs of automatic tests from
3317 outputs before storing in %auto_tests.
3318 * math/libm-test.inc (acos_test_data): Update call to
3319 AUTO_TESTS_f_f.
3320 (acos_test): Use ALL_RM_TEST.
3321 (acos_tonearest_test_data): Remove.
3322 (acos_test_tonearest): Likewise.
3323 (acos_towardzero_test_data): Likewise.
3324 (acos_test_towardzero): Likewise.
3325 (acos_downward_test_data): Likewise.
3326 (acos_test_downward): Likewise.
3327 (acos_upward_test_data): Likewise.
3328 (acos_test_upward): Likewise.
3329 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3330 (asin_test_data): Likewise.
3331 (asin_test): Use ALL_RM_TEST.
3332 (asin_tonearest_test_data): Remove.
3333 (asin_test_tonearest): Likewise.
3334 (asin_towardzero_test_data): Likewise.
3335 (asin_test_towardzero): Likewise.
3336 (asin_downward_test_data): Likewise.
3337 (asin_test_downward): Likewise.
3338 (asin_upward_test_data): Likewise.
3339 (asin_test_upward): Likewise.
3340 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3341 (atan_test_data): Likewise.
3342 (atanh_test_data): Likewise.
3343 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3344 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3345 (carg_test_data): Likewise.
3346 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3347 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3348 (ccosh_test_data): Likewise.
3349 (cexp_test_data): Likewise.
3350 (clog_test_data): Likewise.
3351 (clog10_test_data): Likewise.
3352 (cos_test_data): Update call to AUTO_TESTS_f_f.
3353 (cos_test): Use ALL_RM_TEST.
3354 (cos_tonearest_test_data): Remove.
3355 (cos_test_tonearest): Likewise.
3356 (cos_towardzero_test_data): Likewise.
3357 (cos_test_towardzero): Likewise.
3358 (cos_downward_test_data): Likewise.
3359 (cos_test_downward): Likewise.
3360 (cos_upward_test_data): Likewise.
3361 (cos_test_upward): Likewise.
3362 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3363 (cosh_test): Use ALL_RM_TEST.
3364 (cosh_tonearest_test_data): Remove.
3365 (cosh_test_tonearest): Likewise.
3366 (cosh_towardzero_test_data): Likewise.
3367 (cosh_test_towardzero): Likewise.
3368 (cosh_downward_test_data): Likewise.
3369 (cosh_test_downward): Likewise.
3370 (cosh_upward_test_data): Likewise.
3371 (cosh_test_upward): Likewise.
3372 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3373 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3374 (ctan_test_data): Likewise.
3375 (ctan_test): Use ALL_RM_TEST.
3376 (ctan_tonearest_test_data): Remove.
3377 (ctan_test_tonearest): Likewise.
3378 (ctan_towardzero_test_data): Likewise.
3379 (ctan_test_towardzero): Likewise.
3380 (ctan_downward_test_data): Likewise.
3381 (ctan_test_downward): Likewise.
3382 (ctan_upward_test_data): Likewise.
3383 (ctan_test_upward): Likewise.
3384 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3385 (ctanh_test): Use ALL_RM_TEST.
3386 (ctanh_tonearest_test_data): Remove.
3387 (ctanh_test_tonearest): Likewise.
3388 (ctanh_towardzero_test_data): Likewise.
3389 (ctanh_test_towardzero): Likewise.
3390 (ctanh_downward_test_data): Likewise.
3391 (ctanh_test_downward): Likewise.
3392 (ctanh_upward_test_data): Likewise.
3393 (ctanh_test_upward): Likewise.
3394 (erf_test_data): Update call to AUTO_TESTS_f_f.
3395 (erfc_test_data): Likewise.
3396 (exp_test_data): Likewise.
3397 (exp_test): Use ALL_RM_TEST.
3398 (exp_tonearest_test_data): Remove.
3399 (exp_test_tonearest): Likewise.
3400 (exp_towardzero_test_data): Likewise.
3401 (exp_test_towardzero): Likewise.
3402 (exp_downward_test_data): Likewise.
3403 (exp_test_downward): Likewise.
3404 (exp_upward_test_data): Likewise.
3405 (exp_test_upward): Likewise.
3406 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3407 (exp10_test): Use ALL_RM_TEST.
3408 (exp10_tonearest_test_data): Remove.
3409 (exp10_test_tonearest): Likewise.
3410 (exp10_towardzero_test_data): Likewise.
3411 (exp10_test_towardzero): Likewise.
3412 (exp10_downward_test_data): Likewise.
3413 (exp10_test_downward): Likewise.
3414 (exp10_upward_test_data): Likewise.
3415 (exp10_test_upward): Likewise.
3416 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3417 (expm1_test_data): Likewise.
3418 (expm1_test): Use ALL_RM_TEST.
3419 (expm1_tonearest_test_data): Remove.
3420 (expm1_test_tonearest): Likewise.
3421 (expm1_towardzero_test_data): Likewise.
3422 (expm1_test_towardzero): Likewise.
3423 (expm1_downward_test_data): Likewise.
3424 (expm1_test_downward): Likewise.
3425 (expm1_upward_test_data): Likewise.
3426 (expm1_test_upward): Likewise.
3427 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3428 (fma_test): Use ALL_RM_TEST.
3429 (fma_towardzero_test_data): Remove.
3430 (fma_test_towardzero): Likewise.
3431 (fma_downward_test_data): Likewise.
3432 (fma_test_downward): Likewise.
3433 (fma_upward_test_data): Likewise.
3434 (fma_test_upward): Likewise.
3435 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3436 (j0_test_data): Update call to AUTO_TESTS_f_f.
3437 (j1_test_data): Likewise.
3438 (jn_test_data): Update call to AUTO_TESTS_if_f.
3439 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3440 (log_test_data): Update call to AUTO_TESTS_f_f.
3441 (log10_test_data): Likewise.
3442 (log1p_test_data): Likewise.
3443 (log2_test_data): Likewise.
3444 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3445 (pow_tonearest_test_data): Likewise.
3446 (sin_test_data): Update call to AUTO_TESTS_f_f.
3447 (sin_test): Use ALL_RM_TEST.
3448 (sin_tonearest_test_data): Remove.
3449 (sin_test_tonearest): Likewise.
3450 (sin_towardzero_test_data): Likewise.
3451 (sin_test_towardzero): Likewise.
3452 (sin_downward_test_data): Likewise.
3453 (sin_test_downward): Likewise.
3454 (sin_upward_test_data): Likewise.
3455 (sin_test_upward): Likewise.
3456 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3457 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3458 (sinh_test): Use ALL_RM_TEST.
3459 (sinh_tonearest_test_data): Remove.
3460 (sinh_test_tonearest): Likewise.
3461 (sinh_towardzero_test_data): Likewise.
3462 (sinh_test_towardzero): Likewise.
3463 (sinh_downward_test_data): Likewise.
3464 (sinh_test_downward): Likewise.
3465 (sinh_upward_test_data): Likewise.
3466 (sinh_test_upward): Likewise.
3467 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3468 (sqrt_test): Use ALL_RM_TEST.
3469 (sqrt_tonearest_test_data): Remove.
3470 (sqrt_test_tonearest): Likewise.
3471 (sqrt_towardzero_test_data): Likewise.
3472 (sqrt_test_towardzero): Likewise.
3473 (sqrt_downward_test_data): Likewise.
3474 (sqrt_test_downward): Likewise.
3475 (sqrt_upward_test_data): Likewise.
3476 (sqrt_test_upward): Likewise.
3477 (tan_test_data): Update call to AUTO_TESTS_f_f.
3478 (tan_test): Use ALL_RM_TEST.
3479 (tan_tonearest_test_data): Remove.
3480 (tan_test_tonearest): Likewise.
3481 (tan_towardzero_test_data): Likewise.
3482 (tan_test_towardzero): Likewise.
3483 (tan_downward_test_data): Likewise.
3484 (tan_test_downward): Likewise.
3485 (tan_upward_test_data): Likewise.
3486 (tan_test_upward): Likewise.
3487 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3488 (tgamma_test_data): Likewise.
3489 (y0_test_data): Likewise.
3490 (y1_test_data): Likewise.
3491 (yn_test_data): Update call to AUTO_TESTS_if_f.
3492 (main): Do not call removed functions.
3493
d71aeee8
JM
34942014-03-19 Joseph Myers <joseph@codesourcery.com>
3495
3496 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3497 (ldexp_test_data): Remove.
3498 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3499 scalbn_test_data.
3500 (scalb_test): Use ALL_RM_TEST.
3501
baaf1ded
AS
35022014-03-19 Andreas Schwab <schwab@suse.de>
3503
3504 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3505
b1115e91
JM
35062014-03-19 Joseph Myers <joseph@codesourcery.com>
3507
3508 [BZ #16649]
3509 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3510 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3511 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3512 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3513 (__ASSUME_PREADV): Undefine.
3514 (__ASSUME_PWRITEV): Likewise.
3515
0283ecca
RM
35162014-03-18 Roland McGrath <roland@hack.frob.com>
3517
7d375303
RM
3518 * bits/mman-linux.h: Add comment about non-Linux use.
3519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3520 bits/mman-linux.h resting place.
3521
0283ecca
RM
3522 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3523 * bits/mman-linux.h: ... here.
3524
aebe1003
AZ
35252014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3526
3527 * conform/conformtest.pl: Add standard definition when calling C
3528 preprocessor on data files.
3529 (checknamespace): Remove unused variable.
3530
b29b6bb8
JM
35312014-03-18 Joseph Myers <joseph@codesourcery.com>
3532
3533 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3534 minus_oflow, plus_uflow and minus_uflow in expected results.
3535 * math/libm-test.inc (scalbn_test_data): Add more tests of
3536 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3537 minus_uflow.
3538 (scalbn_test): Use ALL_RM_TEST.
3539 (scalbln_test_data): Add more tests of negative arguments. Use
3540 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3541 (scalbln_test): Use ALL_RM_TEST.
3542
c8f8fa15
RM
35432014-03-18 Roland McGrath <roland@hack.frob.com>
3544
3545 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3546
fede7a5f
WN
35472014-03-18 Will Newton <will.newton@linaro.org>
3548
3549 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3550 inaccurate comment.
3551
80cf0a58
JM
35522014-03-18 Joseph Myers <joseph@codesourcery.com>
3553
3554 * Makerules [!subdir] (check-abi): Exit with error status if a
3555 test failed.
3556
b3620862
JM
35572014-03-17 Joseph Myers <joseph@codesourcery.com>
3558
3559 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3560 for rint. Include results for all rounding modes.
3561 (nearbyint_test): Use ALL_RM_TEST.
3562 (rint_test_data): Include all tests used for nearbyint.
3563
788bba36
WN
35642014-03-17 Will Newton <will.newton@linaro.org>
3565
04ec140a
WN
3566 * nptl/sysdeps/pthread/pthread.h: Revert previous
3567 change.
3568
7579d8d5
WN
3569 * sysdeps/generic/ldsodefs.h: Revert previous
3570 change.
3571
c15cf13a
WN
3572 * libio/genops.c: Revert previous change.
3573 * libio/libioP.h: Likewise.
3574 * stdio-common/vfprintf.c: Likewise.
3575
d0ac1324
WN
3576 * sysdeps/generic/math_private.h: Revert previous
3577 change.
3578
9290130a
WN
3579 * sysdeps/generic/math_private.h: Check whether
3580 HAVE_RM_CTX is defined with #ifdef rather
3581 than #if.
3582
afb466fc
WN
3583 * argp/argp-fmtstream.h: Check whether
3584 __STRICT_ANSI__ is defined with #ifdef rather
3585 than #if.
3586 * argp/argp.h: Likewise.
3587
f7efd7c3
WN
3588 * libio/genops.c: Check whether
3589 _IO_JUMPS_OFFSET is defined with #ifdef rather
3590 than #if.
3591 * libio/libioP.h: Likewise.
3592 * stdio-common/vfprintf.c: Likewise.
3593
53f1bed3
WN
3594 * sysdeps/generic/ldsodefs.h: Check whether
3595 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3596 than #if.
3597
788bba36
WN
3598 * nptl/sysdeps/pthread/pthread.h: Check
3599 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3600 its value.
3601
fcd89ebe
SP
36022014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3603
ae42bbc5
SP
3604 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3605 setting O_APPEND.
3606 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3607 test case.
3608
ea33158c
SP
3609 [BZ #16680]
3610 * libio/fileops.c (_IO_file_open): Seek to end of file but
3611 don't cache the offset.
3612 (get_file_offset): Remove function.
3613 (do_ftell): Use cached offset when available.
3614 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3615 don't cache the offset.
3616 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3617 case.
3618 (do_one_test): Call it.
3619 (do_ftell_test): Fix up expected old offset for a+ mode.
3620 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3621 available.
3622
b1dbb426
SP
3623 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3624 up test status with function return status.
3625 (do_write_test): Likewise.
3626 (do_append_test): Likewise.
3627
fcd89ebe
SP
3628 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3629 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3630 Remove.
3631
9962a2d3
JM
36322014-03-17 Joseph Myers <joseph@codesourcery.com>
3633
3634 * math/gen-libm-test.pl (parse_args): Handle results specified for
3635 each rounding mode separately.
3636 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3637 tests and results from lrint_tonearest_test_data,
3638 lrint_towardzero_test_data, lrint_downward_test_data and
3639 lrint_upward_test_data.
3640 (lrint_test): Use ALL_RM_TEST.
3641 (lrint_tonearest_test_data): Remove.
3642 (lrint_test_tonearest): Likewise.
3643 (lrint_towardzero_test_data): Likewise.
3644 (lrint_test_towardzero): Likewise.
3645 (lrint_downward_test_data): Likewise.
3646 (lrint_test_downward): Likewise.
3647 (lrint_upward_test_data): Likewise.
3648 (lrint_test_upward): Likewise.
3649 (llrint_test_data): Merge in per-rounding-mode tests and results
3650 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3651 llrint_downward_test_data and llrint_upward_test_data.
3652 (llrint_test): Use ALL_RM_TEST.
3653 (llrint_tonearest_test_data): Remove.
3654 (llrint_test_tonearest): Likewise.
3655 (llrint_towardzero_test_data): Likewise.
3656 (llrint_test_towardzero): Likewise.
3657 (llrint_downward_test_data): Likewise.
3658 (llrint_test_downward): Likewise.
3659 (llrint_upward_test_data): Likewise.
3660 (llrint_test_upward): Likewise.
3661 (rint_test_data): Merge in per-rounding-mode tests and results
3662 from rint_tonearest_test_data, rint_towardzero_test_data,
3663 rint_downward_test_data and rint_upward_test_data. Add
3664 per-rounding-mode results for tests not in those arrays.
3665 (rint_test): Use ALL_RM_TEST.
3666 (rint_tonearest_test_data): Remove.
3667 (rint_test_tonearest): Likewise.
3668 (rint_towardzero_test_data): Likewise.
3669 (rint_test_towardzero): Likewise.
3670 (rint_downward_test_data): Likewise.
3671 (rint_test_downward): Likewise.
3672 (rint_upward_test_data): Likewise.
3673 (rint_test_upward): Likewise.
3674 (main): Don't call removed functions.
3675
5006148e
RM
36762014-03-14 Roland McGrath <roland@hack.frob.com>
3677
3678 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3679 "Compiled on ..." crapola. It is anti-useful.
3680
d6fe5e58
JM
36812014-03-14 Joseph Myers <joseph@codesourcery.com>
3682
3683 * scripts/evaluate-test.sh: Handle fourth argument to determine
3684 whether test run should stop on failure.
3685 * Makeconfig (stop-on-test-failure): New variable.
3686 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3687 $(stop-on-test-failure).
3688 * Makefile (tests): Give a summary of results from testing and
3689 exit with failure status if they include an ERROR or FAIL.
3690 (xtests): Likewise.
3691 * manual/install.texi (Configuring and compiling): Mention
3692 stop-on-test-failure=y.
3693 * INSTALL: Regenerated.
3694
498a2233
RM
36952014-03-14 Roland McGrath <roland@hack.frob.com>
3696
22dbc19d
RM
3697 * scripts/versionlist.awk: New file.
3698 * Makerules [$(build-shared) = yes]
3699 (postclean-generated): Add Versions.def, not Versions.def.v and
3700 Versions.def.v.i.
3701 ($(common-objpfx)Versions.def.v.i): Target removed.
3702 ($(common-objpfx)Versions.def): New target.
3703 ($(common-objpfx)Versions.all): Depend on that rather that
3704 $(common-objpfx)Versions.def.v.
3705 * Versions.def: File removed.
3706
498a2233
RM
3707 * Makeconfig (+gccwarn): Add -Wundef.
3708 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3709 a dl-sysdep.h breaking its contract.
3710 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3711 * include/stackinfo.h: New file.
3712 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3713 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3714 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3715 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3716 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3717 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3718 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3719 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3720 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3721 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3722 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3723 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3724 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3725 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3726 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3727
c7de5025
AZ
37282014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3729
3730 [BZ #16707]
3731 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3732 implementation.
3733 * math/libm-test.inc (round_test_data): Add more tests.
3734
98fb27a3
AZ
3735 [BZ #16706]
3736 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3737 implementation.
3738 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3739
374f7f61
AZ
3740 [BZ #16701]
3741 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3742 implementation.
3743 * math/libm-test.inc (ceil_test_data): Add more tests.
3744
4655c291
AZ
3745 * math/libm-test.inc (trunc_test_data): Add more tests related to
3746 BZ#16414.
3747
d7329d4b
RM
37482014-03-14 Roland McGrath <roland@hack.frob.com>
3749
3750 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3751 with #if rather than #ifdef.
3752 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3753
aa4de9ce
L
37542014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3755
3756 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3757 first. Disable AVX-512 GCC support if assembler doesn't support
3758 it.
3759 * sysdeps/x86_64/configure: Regenerated.
3760
2e03fae7
CD
37612014-03-13 Carlos O'Donell <carlos@redhat.com>
3762
3763 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3764 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3765 (__old_pthread_attr_setstack): Likewise.
3766 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3767 [!_STACK_GROWS_DOWN]: Likewise.
3768
43ca83ec
MF
37692014-03-13 Mike Frysinger <vapier@gentoo.org>
3770
3771 * config.make.in (have-bash2): Delete.
3772 * configure.ac (libc_cv_have_bash2): Delete.
3773 * configure: Regenerate.
3774 * elf/Makefile (common-ldd-rewrite): Rename to ...
3775 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3776 (sh-ldd-rewrite): Delete.
3777 (bash-ldd-rewrite): Delete.
3778 (have-bash2): Delete checks.
57f41c40
AS
3779 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3780 ldd-rewrite.
c66e48b4
MF
3781
3782 * config.make.in (have-ksh): Delete.
3783 (KSH): Delete.
3784 * configure.ac (libc_cv_have_ksh): Delete.
3785 * configure: Regenerate.
3786
b93834ef
MF
3787 * elf/Makefile: Delete $(have-ksh) check.
3788 ($(objpfx)sotruss): Change KSH to BASH.
3789 * elf/sotruss.ksh: Rename to ...
3790 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3791 function style to match POSIX. Drop ksh vim mode setting.
3792
f3a4632a
MF
3793 * manual/time.texi (Specifying the Time Zone with TZ): Change
3794 Tuesday to Thursday.
3795
5896c8bd
MF
3796 * debug/tst-longjmp_chk2.c: Update header comment.
3797 (stackoverflow_handler): Add comment. Call assert on pass value.
3798
2d63a517
IZ
37992014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3800
3801 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3802 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3803 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3804 (La_x86_64_vector): Add zmm.
3805 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3806 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3807 ($(objpfx)tst-audit10): New target.
3808 ($(objpfx)tst-audit10.out): Likewise.
3809 (tst-audit10-ENV): New.
3810 (AVX512-CFLAGS): Likewise.
3811 (CFLAGS-tst-audit10.c): Likewise.
3812 (CFLAGS-tst-auditmod10a.c): Likewise.
3813 (CFLAGS-tst-auditmod10b.c): Likewise.
3814 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3815 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3816 * sysdeps/x86_64/configure: Regenerated.
3817 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3818 AVX-512 zmm register support.
3819 (_dl_x86_64_save_sse): Likewise.
3820 (_dl_x86_64_restore_sse): Likewise.
3821 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3822 size vector registers.
3823 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3824 (ZMM_SIZE): Likewise.
3825 * sysdeps/x86_64/tst-audit10.c: New file.
3826 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3827 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3828
44c4e5d5
RM
38292014-03-13 Roland McGrath <roland@hack.frob.com>
3830
3831 * configure.ac (HAVE_EHDR_START): New check.
3832 * configure: Regenerated.
3833 * config.h.in (HAVE_EHDR_START): New #undef.
3834 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3835 assuming the lowest-addressed segment maps the start of the file.
3836
acd6e389
JM
38372014-03-13 Joseph Myers <joseph@codesourcery.com>
3838
3839 * INSTALL: Regenerated.
3840
6f918f36
WN
38412014-03-13 Will Newton <will.newton@linaro.org>
3842
3843 * manual/setjmp.texi (System V contexts): Improve
3844 clarity and grammar of documentation.
3845
798212a0
PP
38462014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3847
3848 [BZ #16381]
798212a0 3849 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3850 (tests-pie): Add tst-pie2.
798212a0
PP
3851 * elf/tst-pie2.c: New file.
3852 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3853 for ET_EXEC.
3854 * elf/rtld.c (map_doit): Load executable as lt_executable.
3855 (dl_main): Likewise.
3856
abe6d90c
JM
38572014-03-12 Joseph Myers <joseph@codesourcery.com>
3858
3859 [BZ #16642]
3860 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3861 (__ASSUME_PSELECT): Undefine.
3862
dd3946c6
AZ
38632014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3864
3865 [BZ #16689]
3866 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3867 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3868 static build.
3869 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3870 selector for static builds.
3871
c44496df
SP
38722014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3873
3874 [BZ #16695]
3875 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3876 key in the buffer.
3877
27c7220a
AZ
38782014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3879
57f41c40
AS
3880 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3881 IFUNC selector for static builds.
27c7220a 3882
600fa361
JM
38832014-03-11 Joseph Myers <joseph@codesourcery.com>
3884
76c96cf7
JM
3885 * sysdeps/mips/math_private.h [__mips_hard_float]
3886 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3887 libc_feresetround_mips_ctx.
3888 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3889 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3890 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3891
600fa361
JM
3892 [BZ #16677]
3893 * math/s_nextafter.c (__nextafter): Do not return value from
3894 overflowing computation.
3895 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3896 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3897 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3898 Likewise.
3899 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3900 Likewise.
3901 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3902 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3903
d7706c32
RM
39042014-03-11 Roland McGrath <roland@hack.frob.com>
3905
3906 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3907 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3908 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3909 the new mov targetting sp.
3910
4facea47
AZ
39112014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3912
3913 [BZ #16683]
3914 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3915 Define it for static builds as well.
3916 (NO_BZERO_IMPL): Likewise.
3917
e65caf1f
VR
39182014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3919
3920 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3921 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3922 multiarch strspn for PPC64.
3923 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3924 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3926 (__libc_ifunc_impl_list): Likewise.
3927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3928 multiarch optimizations
3929 * string/strspn.c (strspn): Using macro to redefine symbol name.
3930
ba9cc071
AZ
39312014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3932 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3933
3934 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3935 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3936 multiarch strncat for PPC64.
3937 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3938 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3940 (__libc_ifunc_impl_list): Likewise.
3941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3942 multiarch optimizations
3943
8b4ff974
SP
39442014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3945
3946 [BZ #16639]
3947 * nscd/nscd.service: Make service type forking.
3948
54b46a4b
AZ
39492014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3950
3951 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3952 sign in non default rounding modes.
3953 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3954
e9996ef7
JM
39552014-03-08 Joseph Myers <joseph@codesourcery.com>
3956
3957 * math/libm-test.inc (ALL_RM_TEST): New macro.
3958 (ceil_test): Use ALL_RM_TEST.
3959 (cimag_test): Likewise.
3960 (conj_test): Likewise.
3961 (copysign_test): Likewise.
3962 (cproj_test): Likewise.
3963 (creal_test): Likewise.
3964 (fabs_test): Likewise.
3965 (floor_test): Likewise.
3966 (fmax_test): Likewise.
3967 (fmin_test): Likewise.
3968 (fmod_test): Likewise.
3969 (fpclassify_test): Likewise.
3970 (frexp_test): Likewise.
3971 (ilogb_test): Likewise.
3972 (isfinite_test): Likewise.
3973 (finite_test): Likewise.
3974 (isgreater_test): Likewise.
3975 (isgreaterequal_test): Likewise.
3976 (isinf_test): Likewise.
3977 (isless_test): Likewise.
3978 (islessequal_test): Likewise.
3979 (islessgreater_test): Likewise.
3980 (isnan_test): Likewise.
3981 (isnormal_test): Likewise.
3982 (issignaling_test): Likewise.
3983 (isunordered_test): Likewise.
3984 (logb_test): Likewise.
3985 (logb_downward_test_data): Remove.
3986 (logb_test_downward): Likewise.
3987 (lround_test): Use ALL_RM_TEST.
3988 (llround_test): Likewise.
3989 (modf_test): Likewise.
3990 (nexttoward_test): Likewise.
3991 (remainder_test): Likewise.
3992 (drem_test): Likewise.
3993 (remainder_tonearest_test_data): Likewise.
3994 (remainder_test_tonearest): Likewise.
3995 (drem_test_tonearest): Likewise.
3996 (remainder_towardzero_test_data): Likewise.
3997 (remainder_test_towardzero): Likewise.
3998 (drem_test_towardzero): Likewise.
3999 (remainder_downward_test_data): Likewise.
4000 (remainder_test_downward): Likewise.
4001 (drem_test_downward): Likewise.
4002 (remainder_upward_test_data): Likewise.
4003 (remainder_test_upward): Likewise.
4004 (drem_test_upward): Likewise.
4005 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4006 (round_test): Use ALL_RM_TEST.
4007 (signbit_test): Likewise.
4008 (trunc_test): Likewise.
4009 (significand_test): Likewise.
4010 (main): Don't call removed functions.
4011
bc61d27c
JM
40122014-03-07 Joseph Myers <joseph@codesourcery.com>
4013
5c780849
JM
4014 [BZ #16674]
4015 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4016 || __USE_XOPEN2K8].
4017 (ILL_ILLOPN): Likewise.
4018 (ILL_ILLADR): Likewise.
4019 (ILL_ILLTRP): Likewise.
4020 (ILL_PRVOPC): Likewise.
4021 (ILL_PRVREG): Likewise.
4022 (ILL_COPROC): Likewise.
4023 (ILL_BADSTK): Likewise.
4024 (FPE_INTDIV): Likewise.
4025 (FPE_INTOVF): Likewise.
4026 (FPE_FLTDIV): Likewise.
4027 (FPE_FLTOVF): Likewise.
4028 (FPE_FLTUND): Likewise.
4029 (FPE_FLTRES): Likewise.
4030 (FPE_FLTINV): Likewise.
4031 (FPE_FLTSUB): Likewise.
4032 (SEGV_MAPERR): Likewise.
4033 (SEGV_ACCERR): Likewise.
4034 (BUS_ADRALN): Likewise.
4035 (BUS_ADRERR): Likewise.
4036 (BUS_OBJERR): Likewise.
4037 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4038 (TRAP_TRACE): Likewise.
4039 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4040 __USE_XOPEN2K8].
4041 (CLD_KILLED): Likewise.
4042 (CLD_DUMPED): Likewise.
4043 (CLD_TRAPPED): Likewise.
4044 (CLD_STOPPED): Likewise.
4045 (CLD_CONTINUED): Likewise.
4046 (POLL_IN): Likewise.
4047 (POLL_OUT): Likewise.
4048 (POLL_MSG): Likewise.
4049 (POLL_ERR): Likewise.
4050 (POLL_PRI): Likewise.
4051 (POLL_HUP): Likewise.
4052 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4053 Likewise.
4054 (ILL_ILLOPN): Likewise.
4055 (ILL_ILLADR): Likewise.
4056 (ILL_ILLTRP): Likewise.
4057 (ILL_PRVOPC): Likewise.
4058 (ILL_PRVREG): Likewise.
4059 (ILL_COPROC): Likewise.
4060 (ILL_BADSTK): Likewise.
4061 (FPE_INTDIV): Likewise.
4062 (FPE_INTOVF): Likewise.
4063 (FPE_FLTDIV): Likewise.
4064 (FPE_FLTOVF): Likewise.
4065 (FPE_FLTUND): Likewise.
4066 (FPE_FLTRES): Likewise.
4067 (FPE_FLTINV): Likewise.
4068 (FPE_FLTSUB): Likewise.
4069 (SEGV_MAPERR): Likewise.
4070 (SEGV_ACCERR): Likewise.
4071 (BUS_ADRALN): Likewise.
4072 (BUS_ADRERR): Likewise.
4073 (BUS_OBJERR): Likewise.
4074 (BUS_MCEERR_AR): Likewise.
4075 (BUS_MCEERR_AO): Likewise.
4076 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4077 (TRAP_TRACE): Likewise.
4078 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4079 __USE_XOPEN2K8].
4080 (CLD_KILLED): Likewise.
4081 (CLD_DUMPED): Likewise.
4082 (CLD_TRAPPED): Likewise.
4083 (CLD_STOPPED): Likewise.
4084 (CLD_CONTINUED): Likewise.
4085 (POLL_IN): Likewise.
4086 (POLL_OUT): Likewise.
4087 (POLL_MSG): Likewise.
4088 (POLL_ERR): Likewise.
4089 (POLL_PRI): Likewise.
4090 (POLL_HUP): Likewise.
4091 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4092 (ILL_ILLOPN): Likewise.
4093 (ILL_ILLADR): Likewise.
4094 (ILL_ILLTRP): Likewise.
4095 (ILL_PRVOPC): Likewise.
4096 (ILL_PRVREG): Likewise.
4097 (ILL_COPROC): Likewise.
4098 (ILL_BADSTK): Likewise.
4099 (FPE_INTDIV): Likewise.
4100 (FPE_INTOVF): Likewise.
4101 (FPE_FLTDIV): Likewise.
4102 (FPE_FLTOVF): Likewise.
4103 (FPE_FLTUND): Likewise.
4104 (FPE_FLTRES): Likewise.
4105 (FPE_FLTINV): Likewise.
4106 (FPE_FLTSUB): Likewise.
4107 (SEGV_MAPERR): Likewise.
4108 (SEGV_ACCERR): Likewise.
4109 (BUS_ADRALN): Likewise.
4110 (BUS_ADRERR): Likewise.
4111 (BUS_OBJERR): Likewise.
4112 (BUS_MCEERR_AR): Likewise.
4113 (BUS_MCEERR_AO): Likewise.
4114 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4115 (TRAP_TRACE): Likewise.
4116 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4117 __USE_XOPEN2K8].
4118 (CLD_KILLED): Likewise.
4119 (CLD_DUMPED): Likewise.
4120 (CLD_TRAPPED): Likewise.
4121 (CLD_STOPPED): Likewise.
4122 (CLD_CONTINUED): Likewise.
4123 (POLL_IN): Likewise.
4124 (POLL_OUT): Likewise.
4125 (POLL_MSG): Likewise.
4126 (POLL_ERR): Likewise.
4127 (POLL_PRI): Likewise.
4128 (POLL_HUP): Likewise.
4129 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4130 Likewise.
4131 (ILL_ILLOPN): Likewise.
4132 (ILL_ILLADR): Likewise.
4133 (ILL_ILLTRP): Likewise.
4134 (ILL_PRVOPC): Likewise.
4135 (ILL_PRVREG): Likewise.
4136 (ILL_COPROC): Likewise.
4137 (ILL_BADSTK): Likewise.
4138 (ILL_BADIADDR): Likewise.
4139 (ILL_BREAK): Likewise.
4140 (FPE_INTDIV): Likewise.
4141 (FPE_INTOVF): Likewise.
4142 (FPE_FLTDIV): Likewise.
4143 (FPE_FLTOVF): Likewise.
4144 (FPE_FLTUND): Likewise.
4145 (FPE_FLTRES): Likewise.
4146 (FPE_FLTINV): Likewise.
4147 (FPE_FLTSUB): Likewise.
4148 (FPE_DECOVF): Likewise.
4149 (FPE_DECDIV): Likewise.
4150 (FPE_DECERR): Likewise.
4151 (FPE_INVASC): Likewise.
4152 (FPE_INVDEC): Likewise.
4153 (SEGV_MAPERR): Likewise.
4154 (SEGV_ACCERR): Likewise.
4155 (SEGV_PSTKOVF): Likewise.
4156 (BUS_ADRALN): Likewise.
4157 (BUS_ADRERR): Likewise.
4158 (BUS_OBJERR): Likewise.
4159 (BUS_MCEERR_AR): Likewise.
4160 (BUS_MCEERR_AO): Likewise.
4161 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4162 (TRAP_TRACE): Likewise.
4163 (TRAP_BRANCH): Likewise.
4164 (TRAP_HWBKPT): Likewise.
4165 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4166 __USE_XOPEN2K8].
4167 (CLD_KILLED): Likewise.
4168 (CLD_DUMPED): Likewise.
4169 (CLD_TRAPPED): Likewise.
4170 (CLD_STOPPED): Likewise.
4171 (CLD_CONTINUED): Likewise.
4172 (POLL_IN): Likewise.
4173 (POLL_OUT): Likewise.
4174 (POLL_MSG): Likewise.
4175 (POLL_ERR): Likewise.
4176 (POLL_PRI): Likewise.
4177 (POLL_HUP): Likewise.
4178 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4179 (ILL_ILLOPN): Likewise.
4180 (ILL_ILLADR): Likewise.
4181 (ILL_ILLTRP): Likewise.
4182 (ILL_PRVOPC): Likewise.
4183 (ILL_PRVREG): Likewise.
4184 (ILL_COPROC): Likewise.
4185 (ILL_BADSTK): Likewise.
4186 (FPE_INTDIV): Likewise.
4187 (FPE_INTOVF): Likewise.
4188 (FPE_FLTDIV): Likewise.
4189 (FPE_FLTOVF): Likewise.
4190 (FPE_FLTUND): Likewise.
4191 (FPE_FLTRES): Likewise.
4192 (FPE_FLTINV): Likewise.
4193 (FPE_FLTSUB): Likewise.
4194 (SEGV_MAPERR): Likewise.
4195 (SEGV_ACCERR): Likewise.
4196 (BUS_ADRALN): Likewise.
4197 (BUS_ADRERR): Likewise.
4198 (BUS_OBJERR): Likewise.
4199 (BUS_MCEERR_AR): Likewise.
4200 (BUS_MCEERR_AO): Likewise.
4201 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4202 (TRAP_TRACE): Likewise.
4203 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4204 __USE_XOPEN2K8].
4205 (CLD_KILLED): Likewise.
4206 (CLD_DUMPED): Likewise.
4207 (CLD_TRAPPED): Likewise.
4208 (CLD_STOPPED): Likewise.
4209 (CLD_CONTINUED): Likewise.
4210 (POLL_IN): Likewise.
4211 (POLL_OUT): Likewise.
4212 (POLL_MSG): Likewise.
4213 (POLL_ERR): Likewise.
4214 (POLL_PRI): Likewise.
4215 (POLL_HUP): Likewise.
4216 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4217 (ILL_ILLOPN): Likewise.
4218 (ILL_ILLADR): Likewise.
4219 (ILL_ILLTRP): Likewise.
4220 (ILL_PRVOPC): Likewise.
4221 (ILL_PRVREG): Likewise.
4222 (ILL_COPROC): Likewise.
4223 (ILL_BADSTK): Likewise.
4224 (FPE_INTDIV): Likewise.
4225 (FPE_INTOVF): Likewise.
4226 (FPE_FLTDIV): Likewise.
4227 (FPE_FLTOVF): Likewise.
4228 (FPE_FLTUND): Likewise.
4229 (FPE_FLTRES): Likewise.
4230 (FPE_FLTINV): Likewise.
4231 (FPE_FLTSUB): Likewise.
4232 (SEGV_MAPERR): Likewise.
4233 (SEGV_ACCERR): Likewise.
4234 (BUS_ADRALN): Likewise.
4235 (BUS_ADRERR): Likewise.
4236 (BUS_OBJERR): Likewise.
4237 (BUS_MCEERR_AR): Likewise.
4238 (BUS_MCEERR_AO): Likewise.
4239 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4240 (TRAP_TRACE): Likewise.
4241 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4242 __USE_XOPEN2K8].
4243 (CLD_KILLED): Likewise.
4244 (CLD_DUMPED): Likewise.
4245 (CLD_TRAPPED): Likewise.
4246 (CLD_STOPPED): Likewise.
4247 (CLD_CONTINUED): Likewise.
4248 (POLL_IN): Likewise.
4249 (POLL_OUT): Likewise.
4250 (POLL_MSG): Likewise.
4251 (POLL_ERR): Likewise.
4252 (POLL_PRI): Likewise.
4253 (POLL_HUP): Likewise.
4254 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4255 (ILL_ILLOPN): Likewise.
4256 (ILL_ILLADR): Likewise.
4257 (ILL_ILLTRP): Likewise.
4258 (ILL_PRVOPC): Likewise.
4259 (ILL_PRVREG): Likewise.
4260 (ILL_COPROC): Likewise.
4261 (ILL_BADSTK): Likewise.
4262 (FPE_INTDIV): Likewise.
4263 (FPE_INTOVF): Likewise.
4264 (FPE_FLTDIV): Likewise.
4265 (FPE_FLTOVF): Likewise.
4266 (FPE_FLTUND): Likewise.
4267 (FPE_FLTRES): Likewise.
4268 (FPE_FLTINV): Likewise.
4269 (FPE_FLTSUB): Likewise.
4270 (SEGV_MAPERR): Likewise.
4271 (SEGV_ACCERR): Likewise.
4272 (BUS_ADRALN): Likewise.
4273 (BUS_ADRERR): Likewise.
4274 (BUS_OBJERR): Likewise.
4275 (BUS_MCEERR_AR): Likewise.
4276 (BUS_MCEERR_AO): Likewise.
4277 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4278 (TRAP_TRACE): Likewise.
4279 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4280 __USE_XOPEN2K8].
4281 (CLD_KILLED): Likewise.
4282 (CLD_DUMPED): Likewise.
4283 (CLD_TRAPPED): Likewise.
4284 (CLD_STOPPED): Likewise.
4285 (CLD_CONTINUED): Likewise.
4286 (POLL_IN): Likewise.
4287 (POLL_OUT): Likewise.
4288 (POLL_MSG): Likewise.
4289 (POLL_ERR): Likewise.
4290 (POLL_PRI): Likewise.
4291 (POLL_HUP): Likewise.
4292 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4293 (ILL_ILLOPN): Likewise.
4294 (ILL_ILLADR): Likewise.
4295 (ILL_ILLTRP): Likewise.
4296 (ILL_PRVOPC): Likewise.
4297 (ILL_PRVREG): Likewise.
4298 (ILL_COPROC): Likewise.
4299 (ILL_BADSTK): Likewise.
4300 (ILL_DBLFLT): Likewise.
4301 (ILL_HARDWALL): Likewise.
4302 (FPE_INTDIV): Likewise.
4303 (FPE_INTOVF): Likewise.
4304 (FPE_FLTDIV): Likewise.
4305 (FPE_FLTOVF): Likewise.
4306 (FPE_FLTUND): Likewise.
4307 (FPE_FLTRES): Likewise.
4308 (FPE_FLTINV): Likewise.
4309 (FPE_FLTSUB): Likewise.
4310 (SEGV_MAPERR): Likewise.
4311 (SEGV_ACCERR): Likewise.
4312 (BUS_ADRALN): Likewise.
4313 (BUS_ADRERR): Likewise.
4314 (BUS_OBJERR): Likewise.
4315 (BUS_MCEERR_AR): Likewise.
4316 (BUS_MCEERR_AO): Likewise.
4317 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4318 (TRAP_TRACE): Likewise.
4319 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4320 __USE_XOPEN2K8].
4321 (CLD_KILLED): Likewise.
4322 (CLD_DUMPED): Likewise.
4323 (CLD_TRAPPED): Likewise.
4324 (CLD_STOPPED): Likewise.
4325 (CLD_CONTINUED): Likewise.
4326 (POLL_IN): Likewise.
4327 (POLL_OUT): Likewise.
4328 (POLL_MSG): Likewise.
4329 (POLL_ERR): Likewise.
4330 (POLL_PRI): Likewise.
4331 (POLL_HUP): Likewise.
4332 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4333 (ILL_ILLOPN): Likewise.
4334 (ILL_ILLADR): Likewise.
4335 (ILL_ILLTRP): Likewise.
4336 (ILL_PRVOPC): Likewise.
4337 (ILL_PRVREG): Likewise.
4338 (ILL_COPROC): Likewise.
4339 (ILL_BADSTK): Likewise.
4340 (FPE_INTDIV): Likewise.
4341 (FPE_INTOVF): Likewise.
4342 (FPE_FLTDIV): Likewise.
4343 (FPE_FLTOVF): Likewise.
4344 (FPE_FLTUND): Likewise.
4345 (FPE_FLTRES): Likewise.
4346 (FPE_FLTINV): Likewise.
4347 (FPE_FLTSUB): Likewise.
4348 (SEGV_MAPERR): Likewise.
4349 (SEGV_ACCERR): Likewise.
4350 (BUS_ADRALN): Likewise.
4351 (BUS_ADRERR): Likewise.
4352 (BUS_OBJERR): Likewise.
4353 (BUS_MCEERR_AR): Likewise.
4354 (BUS_MCEERR_AO): Likewise.
4355 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4356 (TRAP_TRACE): Likewise.
4357 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4358 __USE_XOPEN2K8].
4359 (CLD_KILLED): Likewise.
4360 (CLD_DUMPED): Likewise.
4361 (CLD_TRAPPED): Likewise.
4362 (CLD_STOPPED): Likewise.
4363 (CLD_CONTINUED): Likewise.
4364 (POLL_IN): Likewise.
4365 (POLL_OUT): Likewise.
4366 (POLL_MSG): Likewise.
4367 (POLL_ERR): Likewise.
4368 (POLL_PRI): Likewise.
4369 (POLL_HUP): Likewise.
4370 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4371 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4372
bc61d27c
JM
4373 [BZ #16670]
4374 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4375 before #include of <time.h>.
4376 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4377 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4378 (test-xfail-UNIX98/sched.h/conform): Likewise.
4379
302949e2
MS
43802014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4381
4382 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4383 error absence of trapping exception support.
4384 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4385
a00f522a
JM
43862014-03-07 Joseph Myers <joseph@codesourcery.com>
4387
6f99f280
JM
4388 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4389 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4390 * timezone/Makefile (testdata): Move definition above include of
4391 Rules.
4392 (test-zones): New variable.
4393 (tests-special): Add zone files.
4394 (build-testdata): Use $(evaluate-test).
4395
0b20a9e8
JM
4396 * elf/Makefile (tests-special): Rename tests to end with .out.
4397 ($(objpfx)noload-mem): Likewise.
4398 ($(objpfx)tst-leaks1-mem): Likewise.
4399 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4400 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4401 $(objpfx)test-iconvconfig.out.
4402 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4403 set -e inside subshell and redirect output to file.
4404 * iconvdata/Makefile (generated): Rename tests to end with .out.
4405 Correct type.
4406 (tests-special): Rename tests to end with .out.
4407 ($(objpfx)mtrace-tst-loading): Likewise.
4408 * intl/Makefile (generated): Likewise.
4409 (tests-special): Likewise.
4410 ($(objpfx)mtrace-tst-gettext): Likewise.
4411 * misc/Makefile (generated): Likewise.
4412 (tests-special): Likewise.
4413 ($(objpfx)tst-error1-mem): Likewise.
4414 * nptl/Makefile (tests-special): Likewise.
4415 ($(objpfx)tst-stack3-mem): Likewise.
4416 (generated): Likewise.
4417 * posix/Makefile (generated): Likewise.
4418 (tests-special): Likewise.
4419 (xtests-special): Likewise.
4420 ($(objpfx)tst-fnmatch-mem): Likewise.
4421 ($(objpfx)bug-regex2-mem): Likewise.
4422 ($(objpfx)bug-regex14-mem): Likewise.
4423 ($(objpfx)bug-regex21-mem): Likewise.
4424 ($(objpfx)bug-regex31-mem): Likewise.
4425 ($(objpfx)tst-vfork3-mem): Likewise.
4426 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4427 ($(objpfx)tst-pcre-mem): Likewise.
4428 ($(objpfx)tst-boost-mem): Likewise.
4429 ($(objpfx)bug-ga2-mem): Likewise.
4430 ($(objpfx)bug-glob2-mem): Likewise.
4431 * resolv/Makefile (generate): Likewise.
4432 (tests-special): Likewise.
4433 (xtests-special): Likewise.
4434 (generated): Likewise.
4435 ($(objpfx)mtrace-tst-leaks): Likewise.
4436 ($(objpfx)mtrace-tst-leaks2): Likewise.
4437
265d52ab
JM
4438 * scripts/merge-test-results.sh: New file.
4439 * Makefile (tests-special-notdir): New variable.
4440 (tests): Run merge-test-results.sh.
4441 (xtests): Likewise.
4442 * Rules (tests-special-notdir): New variable.
4443 (xtests-special-notdir): Likewise.
4444 (tests): Run merge-test-results.sh
4445 (xtests): Likewise.
4446
54ee292d
JM
4447 * Makeconfig (test-xfail-name): New variable.
4448 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4449 compute variable name for expected failures.
4450 * conform/Makefile (conformtest-headers-data): New variable.
4451 (conformtest-standards): Likewise.
4452 (conformtest-headers-ISO): Likewise.
4453 (conformtest-headers-ISO99): Likewise.
4454 (conformtest-headers-ISO11): Likewise.
4455 (conformtest-headers-POSIX): Likewise.
4456 (conformtest-headers-XPG3): Likewise.
4457 (conformtest-headers-XPG4): Likewise.
4458 (conformtest-headers-UNIX98): Likewise.
4459 (conformtest-headers-XOPEN2K): Likewise.
4460 (conformtest-headers-POSIX2008): Likewise.
4461 (conformtest-headers-XOPEN2K8): Likewise.
4462 (conformtest-header-list-base): Likewise.
4463 (conformtest-header-list-tests): Likewise.
4464 (conformtest-header-base): Likewise.
4465 (conformtest-header-tests): Likewise.
4466 (tests-special): Add $(conformtest-header-list-tests). If
4467 [$(fast-check) && !$(cross-compiling)], add
4468 $(conformtest-header-tests) instead of
4469 $(objpfx)run-conformtest.out.
4470 (generated): Add $(conformtest-header-list-base). If
4471 [$(fast-check) && !$(cross-compiling)], add
4472 $(conformtest-header-base). Remove previous setting.
4473 ($(conformtest-header-list-tests)): New target.
4474 (test-xfail-run-conformtest): Remove variable.
4475 ($(objpfx)run-conformtest.out): Remove target.
4476 (test-xfail-ISO11/complex.h/conform): New variable.
4477 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4478 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4479 (test-xfail-XPG3/varargs.h/conform): Likewise.
4480 (test-xfail-XPG4/varargs.h/conform): Likewise.
4481 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4482 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4483 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4484 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4485 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4486 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4487 (test-xfail-XPG3/ftw.h/conform): Likewise.
4488 (test-xfail-XPG3/grp.h/conform): Likewise.
4489 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4490 (test-xfail-XPG3/limits.h/conform): Likewise.
4491 (test-xfail-XPG3/pwd.h/conform): Likewise.
4492 (test-xfail-XPG3/search.h/conform): Likewise.
4493 (test-xfail-XPG3/signal.h/conform): Likewise.
4494 (test-xfail-XPG3/stdio.h/conform): Likewise.
4495 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4496 (test-xfail-XPG3/string.h/conform): Likewise.
4497 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4498 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4499 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4500 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4501 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4502 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4503 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4504 (test-xfail-XPG3/termios.h/conform): Likewise.
4505 (test-xfail-XPG3/time.h/conform): Likewise.
4506 (test-xfail-XPG3/unistd.h/conform): Likewise.
4507 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4508 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4509 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4510 (test-xfail-XPG4/netdb.h/conform): Likewise.
4511 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4512 (test-xfail-XPG4/signal.h/conform): Likewise.
4513 (test-xfail-XPG4/stdio.h/conform): Likewise.
4514 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4515 (test-xfail-XPG4/stropts.h/conform): Likewise.
4516 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4517 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4518 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4519 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4520 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4521 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4522 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4523 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4524 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4525 (test-xfail-XPG4/termios.h/conform): Likewise.
4526 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4527 (test-xfail-XPG4/unistd.h/conform): Likewise.
4528 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4529 (test-xfail-POSIX/sched.h/conform): Likewise.
4530 (test-xfail-POSIX/signal.h/conform): Likewise.
4531 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4532 (test-xfail-POSIX/tar.h/conform): Likewise.
4533 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4534 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4535 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4536 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4537 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4538 (test-xfail-UNIX98/sched.h/conform): Likewise.
4539 (test-xfail-UNIX98/signal.h/conform): Likewise.
4540 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4541 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4542 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4543 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4544 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4545 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4546 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4547 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4548 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4549 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4550 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4551 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4552 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4553 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4554 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4555 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4556 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4557 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4558 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4559 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4560 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4561 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4562 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4563 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4564 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4565 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4566 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4567 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4568 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4569 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4570 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4571 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4572 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4573 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4574 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4575 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4576 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4577 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4578 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4579 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4580 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4581 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4582 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4583 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4584 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4585 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4586 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4587 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4588 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4589 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4590 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4591 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4592 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4593 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4594 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4595 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4596 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4597 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4598 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4599 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4600 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4601 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4602 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4603 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4604 (conformtest-cc-flags): Likewise.
4605 ($(conformtest-header-tests): New target.
4606 * conform/check-header-lists.sh: New file.
4607 * conform/run-conformtest.sh: Remove.
4608
a00f522a
JM
4609 * conform/conformtest.pl: Allow ' and \ in values given for
4610 constants.
4611 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4612 inclusion.
4613 [POSIX] (sys/types.h): Likewise.
4614 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4615 inclusion.
4616 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4617 inclusion.
4618 * conform/data/signal.h-data (SIGIO): Remove expectation.
4619 [XPG3] (SIGBUS): Do not expect.
4620 [POSIX || XPG3] (SIGPOLL): Likewise.
4621 [POSIX || XPG3] (SIGPROF): Likewise.
4622 [POSIX || XPG3] (SIGSYS): Likewise.
4623 [XPG3] (SIGTRAP): Likewise.
4624 [POSIX || XPG3] (SIGURG): Likewise.
4625 [POSIX || XPG3] (SIGVTALRM): Likewise.
4626 [POSIX || XPG3] (SIGXCPU): Likewise.
4627 [POSIX || XPG3] (SIGXFSZ): Likewise.
4628 [POSIX] (SA_SIGINFO): Expect.
4629 [XPG3] (siginfo_t): Do not expect type or contents.
4630 [POSIX] (si_pid): Do not expect element.
4631 [POSIX] (si_uid): Likewise.
4632 [POSIX] (si_addr): Likewise.
4633 [POSIX] (si_status): Likewise.
4634 [POSIX] (si_band): Likewise.
4635 [XPG4] (si_value): Likewise.
4636 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4637 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4638 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4639 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4640 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4641 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4642 [POSIX || XPG3] (ILL_COPROC): Likewise.
4643 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4644 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4645 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4646 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4647 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4648 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4649 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4650 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4651 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4652 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4653 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4654 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4655 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4656 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4657 [POSIX || XPG3] (CLD_EXITED): Likewise.
4658 [POSIX || XPG3] (CLD_KILLED): Likewise.
4659 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4660 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4661 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4662 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4663 [POSIX || XPG3] (POLL_IN): Likewise.
4664 [POSIX || XPG3] (POLL_OUT): Likewise.
4665 [POSIX || XPG3] (POLL_MSG): Likewise.
4666 [POSIX || XPG3] (POLL_ERR): Likewise.
4667 [POSIX || XPG3] (POLL_PRI): Likewise.
4668 [POSIX || XPG3] (POLL_HUP): Likewise.
4669 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4670 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4671 (SIG*): Do not allow.
4672 [XPG3] (si_*): Likewise.
4673 [XPG3] (SI_*): Likewise.
4674 [XPG3 || XPG4] (sigev_*): Likewise.
4675 [XPG3 || XPG4] (SIGEV_*): Likewise.
4676 [XPG3 || XPG4] (sival_*): Likewise.
4677 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4678 [POSIX || XPG3] (BUS_*): Likewise.
4679 [POSIX || XPG3] (CLD_*): Likewise.
4680 [POSIX || XPG3] (FPE_*): Likewise.
4681 [POSIX || XPG3] (ILL_*): Likewise.
4682 [POSIX || XPG3] (POLL_*): Likewise.
4683 [POSIX || XPG3] (SEGV_*): Likewise.
4684 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4685 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4686 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4687 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4688 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4689 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4690 Specify type and value.
4691 (TVERSLEN): Likewise.
4692 (REGTYPE): Likewise.
4693 (AREGTYPE): Likewise.
4694 (LNKTYPE): Likewise.
4695 (SYMTYPE): Likewise.
4696 (CHRTYPE): Likewise.
4697 (BLKTYPE): Likewise.
4698 (DIRTYPE): Likewise.
4699 (FIFOTYPE): Likewise.
4700 (CONTTYPE): Likewise.
4701 (TSUID): Likewise.
4702 (TSGID): Likewise.
4703 (TSVTX): Likewise.
4704 (TUREAD): Likewise.
4705 (TUWRITE): Likewise.
4706 (TUEXEC): Likewise.
4707 (TGREAD): Likewise.
4708 (TGWRITE): Likewise.
4709 (TGEXEC): Likewise.
4710 (TOREAD): Likewise.
4711 (TOWRITE): Likewise.
4712 (TOEXEC): Likewise.
4713 [POSIX] (TSVTX): Expect constant.
4714
aa97dee1
JM
47152014-03-06 Joseph Myers <joseph@codesourcery.com>
4716
f214606a
JM
4717 * Makefile (tests): Change dependencies to ....
4718 (tests-special): ... additions to this variable.
4719 (tests): Depend on $(tests-special).
4720 * Makerules (check-abi-list): New variable.
4721 (check-abi): Depend on $(check-abi-list).
4722 [$(subdir) = elf] (tests-special): Add
4723 $(objpfx)check-abi-libc.out.
4724 [$(build-shared) = yes && subdir] (tests-special): Add
4725 $(check-abi-list).
4726 [$(build-shared) = yes && subdir] (tests): Do not depend on
4727 check-abi.
4728 * Rules (tests): Depend on $(tests-special).
4729 (xtests): Depend on $(xtests-special).
4730 * catgets/Makefile (tests): Change dependencies to ....
4731 (tests-special): ... additions to this variable.
4732 * conform/Makefile (tests): Change dependencies to ....
4733 (tests-special): ... additions to this variable.
4734 * elf/Makefile (tests): Change dependencies to ....
4735 (tests-special): ... additions to this variable.
4736 * grp/Makefile (tests): Change dependencies to ....
4737 (tests-special): ... additions to this variable.
4738 * iconv/Makefile (xtests): Change dependencies to ....
4739 (xtests-special): ... additions to this variable.
4740 * iconvdata/Makefile (tests): Change dependencies to ....
4741 (tests-special): ... additions to this variable.
4742 * intl/Makefile (tests): Change dependencies to ....
4743 (tests-special): ... additions to this variable. Also add
4744 $(objpfx)tst-gettext.out.
4745 * io/Makefile (tests): Change dependencies to ....
4746 (tests-special): ... additions to this variable.
4747 * libio/Makefile (tests): Change dependencies to ....
4748 (tests-special): ... additions to this variable.
4749 * malloc/Makefile (tests): Change dependencies to ....
4750 (tests-special): ... additions to this variable.
4751 * misc/Makefile (tests): Change dependencies to ....
4752 (tests-special): ... additions to this variable.
4753 * nptl/Makefile (tests): Change dependencies to ....
4754 (tests-special): ... additions to this variable.
4755 * nptl_db/Makefile (tests): Change dependencies to ....
4756 (tests-special): ... additions to this variable.
4757 * posix/Makefile (tests): Change dependencies to ....
4758 (tests-special): ... additions to this variable.
4759 (xtests): Change dependencies to ....
4760 (xtests-special): ... additions to this variable.
4761 * resolv/Makefile (tests): Change dependencies to ....
4762 (tests-special): ... additions to this variable.
4763 (xtests): Change dependencies to ....
4764 (xtests-special): ... additions to this variable.
4765 * stdio-common/Makefile (tests): Change dependencies to ....
4766 (tests-special): ... additions to this variable.
4767 (do-tst-unbputc): Remove target.
4768 (do-tst-printf): Likewise.
4769 * stdlib/Makefile (tests): Change dependencies to ....
4770 (tests-special): ... additions to this variable.
4771 * string/Makefile (tests): Change dependencies to ....
4772 (tests-special): ... additions to this variable.
4773 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4774 (tests-special): ... additions to this variable.
4775
81700b53
JM
4776 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4777 whole file.
4778 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4779 whole file.
4780 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4781 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4782
2ea18461
JM
4783 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4784 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4785 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4786 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4787 * conform/data/libgen.h-data [XPG3]: Likewise.
4788 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4789 * conform/data/ndbm.h-data [XPG3]: Likewise.
4790 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4791 * conform/data/netdb.h-data [XPG3]: Likewise.
4792 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4793 * conform/data/poll.h-data [XPG3]: Likewise.
4794 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4795 * conform/data/strings.h-data [XPG3]: Likewise.
4796 * conform/data/stropts.h-data [XPG3]: Likewise.
4797 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4798 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4799 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4800 Likewise.
4801 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4802 * conform/data/sys/time.h-data [XPG3]: Likewise.
4803 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4804 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4805 * conform/data/sys/un.h-data [XPG3]: Likewise.
4806 * conform/data/syslog.h-data [XPG3]: Likewise.
4807 * conform/data/ucontext.h-data [XPG3]: Likewise.
4808 * conform/data/utmpx.h-data [XPG3]: Likewise.
4809 * conform/data/varargs.h-data [UNIX98]: Enable file.
4810
355bc986
JM
4811 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4812
215db402
JM
4813 * math/libm-test.inc (struct test_f_f_data): Move expected results
4814 into structure for each rounding mode.
4815 (struct test_ff_f_data): Likewise.
4816 (struct test_ff_f_data_nexttoward): Likewise.
4817 (struct test_fi_f_data): Likewise.
4818 (struct test_fl_f_data): Likewise.
4819 (struct test_if_f_data): Likewise.
4820 (struct test_fff_f_data): Likewise.
4821 (struct test_c_f_data): Likewise.
4822 (struct test_f_f1_data): Likewise.
4823 (struct test_fF_f1_data): Likewise.
4824 (struct test_ffI_f1_data): Likewise.
4825 (struct test_c_c_data): Likewise.
4826 (struct test_cc_c_data): Likewise.
4827 (struct test_f_i_data): Likewise.
4828 (struct test_ff_i_data): Likewise.
4829 (struct test_f_l_data): Likewise.
4830 (struct test_f_L_data): Likewise.
4831 (struct test_fFF_11_data): Likewise.
4832 (RM_): New macro.
4833 (RM_FE_DOWNWARD): Likewise.
4834 (RM_FE_TONEAREST): Likewise.
4835 (RM_FE_TOWARDZERO): Likewise.
4836 (RM_FE_UPWARD): Likewise.
4837 (RUN_TEST_LOOP_f_f): Update references to expected results.
4838 (RUN_TEST_LOOP_2_f): Likewise.
4839 (RUN_TEST_LOOP_fff_f): Likewise.
4840 (RUN_TEST_LOOP_c_f): Likewise.
4841 (RUN_TEST_LOOP_f_f1): Likewise.
4842 (RUN_TEST_LOOP_fF_f1): Likewise.
4843 (RUN_TEST_LOOP_fI_f1): Likewise.
4844 (RUN_TEST_LOOP_ffI_f1): Likewise.
4845 (RUN_TEST_LOOP_c_c): Likewise.
4846 (RUN_TEST_LOOP_cc_c): Likewise.
4847 (RUN_TEST_LOOP_f_i): Likewise.
4848 (RUN_TEST_LOOP_f_i_tg): Likewise.
4849 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4850 (RUN_TEST_LOOP_f_b): Likewise.
4851 (RUN_TEST_LOOP_f_b_tg): Likewise.
4852 (RUN_TEST_LOOP_f_l): Likewise.
4853 (RUN_TEST_LOOP_f_L): Likewise.
4854 (RUN_TEST_LOOP_fFF_11): Likewise.
4855 * math/gen-libm-test.pl (parse_args): Output four copies of
4856 expected results for each test.
4857
67737b8f
JM
4858 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4859 (__ASSUME_UTIMES): Remove.
4860 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4861 (__ASSUME_UTIMES): Likewise.
4862
aa97dee1
JM
4863 * math/gen-auto-libm-tests.c: Update comment on output format.
4864 (output_for_one_input_case): Generate before-rounding and
4865 after-rounding information as conditions on output flags not
4866 floating-point format.
4867 * math/auto-libm-test-out: Regenerated.
4868 * math/gen-libm-test.pl (cond_value): New function.
4869 (or_cond_value): Use cond_value.
4870 (generate_testfile): Handle conditional exceptions.
4871
e6b6a857
JM
48722014-03-05 Joseph Myers <joseph@codesourcery.com>
4873
2f0a0f44
JM
4874 * math/libm-test.inc (max_valid_error): New variable.
4875 (init_max_error): Take new argument specifying whether function
4876 results are exactly determined. Set max_valid_error and bound
4877 other variables for errors based on this argument.
4878 (set_max_error): Do not record results above max_valid_error.
4879 (check_float_internal): Only accept errors of up to 0.5ulps if
4880 also at most max_valid_error.
4881 (START): Take new argument EXACT and pass it to init_max_error.
4882 (acos_test): Update call to START.
4883 (acos_test_tonearest): Likewise.
4884 (acos_test_towardzero): Likewise.
4885 (acos_test_downward): Likewise.
4886 (acos_test_upward): Likewise.
4887 (acosh_test): Likewise.
4888 (asin_test): Likewise.
4889 (asin_test_tonearest): Likewise.
4890 (asin_test_towardzero): Likewise.
4891 (asin_test_downward): Likewise.
4892 (asin_test_upward): Likewise.
4893 (asinh_test): Likewise.
4894 (atan_test): Likewise.
4895 (atanh_test): Likewise.
4896 (atan2_test): Likewise.
4897 (cabs_test): Likewise.
4898 (cacos_test): Likewise.
4899 (cacosh_test): Likewise.
4900 (carg_test): Likewise.
4901 (casin_test): Likewise.
4902 (casinh_test): Likewise.
4903 (catan_test): Likewise.
4904 (catanh_test): Likewise.
4905 (cbrt_test): Likewise.
4906 (ccos_test): Likewise.
4907 (ccosh_test): Likewise.
4908 (ceil_test): Likewise.
4909 (cexp_test): Likewise.
4910 (cimag_test): Likewise.
4911 (clog_test): Likewise.
4912 (clog10_test): Likewise.
4913 (conj_test): Likewise.
4914 (copysign_test): Likewise.
4915 (cos_test): Likewise.
4916 (cos_test_tonearest): Likewise.
4917 (cos_test_towardzero): Likewise.
4918 (cos_test_downward): Likewise.
4919 (cos_test_upward): Likewise.
4920 (cosh_test): Likewise.
4921 (cosh_test_tonearest): Likewise.
4922 (cosh_test_towardzero): Likewise.
4923 (cosh_test_downward): Likewise.
4924 (cosh_test_upward): Likewise.
4925 (cpow_test): Likewise.
4926 (cproj_test): Likewise.
4927 (creal_test): Likewise.
4928 (csin_test): Likewise.
4929 (csinh_test): Likewise.
4930 (csqrt_test): Likewise.
4931 (ctan_test): Likewise.
4932 (ctan_test_tonearest): Likewise.
4933 (ctan_test_towardzero): Likewise.
4934 (ctan_test_downward): Likewise.
4935 (ctan_test_upward): Likewise.
4936 (ctanh_test): Likewise.
4937 (ctanh_test_tonearest): Likewise.
4938 (ctanh_test_towardzero): Likewise.
4939 (ctanh_test_downward): Likewise.
4940 (ctanh_test_upward): Likewise.
4941 (erf_test): Likewise.
4942 (erfc_test): Likewise.
4943 (exp_test): Likewise.
4944 (exp_test_tonearest): Likewise.
4945 (exp_test_towardzero): Likewise.
4946 (exp_test_downward): Likewise.
4947 (exp_test_upward): Likewise.
4948 (exp10_test): Likewise.
4949 (exp10_test_tonearest): Likewise.
4950 (exp10_test_towardzero): Likewise.
4951 (exp10_test_downward): Likewise.
4952 (exp10_test_upward): Likewise.
4953 (pow10_test): Likewise.
4954 (exp2_test): Likewise.
4955 (expm1_test): Likewise.
4956 (expm1_test_tonearest): Likewise.
4957 (expm1_test_towardzero): Likewise.
4958 (expm1_test_downward): Likewise.
4959 (expm1_test_upward): Likewise.
4960 (fabs_test): Likewise.
4961 (fdim_test): Likewise.
4962 (floor_test): Likewise.
4963 (fma_test): Likewise.
4964 (fma_test_towardzero): Likewise.
4965 (fma_test_downward): Likewise.
4966 (fma_test_upward): Likewise.
4967 (fmax_test): Likewise.
4968 (fmin_test): Likewise.
4969 (fmod_test): Likewise.
4970 (fpclassify_test): Likewise.
4971 (frexp_test): Likewise.
4972 (hypot_test): Likewise.
4973 (ilogb_test): Likewise.
4974 (isfinite_test): Likewise.
4975 (finite_test): Likewise.
4976 (isgreater_test): Likewise.
4977 (isgreaterequal_test): Likewise.
4978 (isinf_test): Likewise.
4979 (isless_test): Likewise.
4980 (islessequal_test): Likewise.
4981 (islessgreater_test): Likewise.
4982 (isnan_test): Likewise.
4983 (isnormal_test): Likewise.
4984 (issignaling_test): Likewise.
4985 (isunordered_test): Likewise.
4986 (j0_test): Likewise.
4987 (j1_test): Likewise.
4988 (jn_test): Likewise.
4989 (ldexp_test): Likewise.
4990 (lgamma_test): Likewise.
4991 (gamma_test): Likewise.
4992 (lrint_test): Likewise.
4993 (lrint_test_tonearest): Likewise.
4994 (lrint_test_towardzero): Likewise.
4995 (lrint_test_downward): Likewise.
4996 (lrint_test_upward): Likewise.
4997 (llrint_test): Likewise.
4998 (llrint_test_tonearest): Likewise.
4999 (llrint_test_towardzero): Likewise.
5000 (llrint_test_downward): Likewise.
5001 (llrint_test_upward): Likewise.
5002 (log_test): Likewise.
5003 (log10_test): Likewise.
5004 (log1p_test): Likewise.
5005 (log2_test): Likewise.
5006 (logb_test): Likewise.
5007 (logb_test_downward): Likewise.
5008 (lround_test): Likewise.
5009 (llround_test): Likewise.
5010 (modf_test): Likewise.
5011 (nearbyint_test): Likewise.
5012 (nextafter_test): Likewise.
5013 (nexttoward_test): Likewise.
5014 (pow_test): Likewise.
5015 (pow_test_tonearest): Likewise.
5016 (pow_test_towardzero): Likewise.
5017 (pow_test_downward): Likewise.
5018 (pow_test_upward): Likewise.
5019 (remainder_test): Likewise.
5020 (drem_test): Likewise.
5021 (remainder_test_tonearest): Likewise.
5022 (drem_test_tonearest): Likewise.
5023 (remainder_test_towardzero): Likewise.
5024 (drem_test_towardzero): Likewise.
5025 (remainder_test_downward): Likewise.
5026 (drem_test_downward): Likewise.
5027 (remainder_test_upward): Likewise.
5028 (drem_test_upward): Likewise.
5029 (remquo_test): Likewise.
5030 (rint_test): Likewise.
5031 (rint_test_tonearest): Likewise.
5032 (rint_test_towardzero): Likewise.
5033 (rint_test_downward): Likewise.
5034 (rint_test_upward): Likewise.
5035 (round_test): Likewise.
5036 (scalb_test): Likewise.
5037 (scalbn_test): Likewise.
5038 (scalbln_test): Likewise.
5039 (signbit_test): Likewise.
5040 (sin_test): Likewise.
5041 (sin_test_tonearest): Likewise.
5042 (sin_test_towardzero): Likewise.
5043 (sin_test_downward): Likewise.
5044 (sin_test_upward): Likewise.
5045 (sincos_test): Likewise.
5046 (sinh_test): Likewise.
5047 (sinh_test_tonearest): Likewise.
5048 (sinh_test_towardzero): Likewise.
5049 (sinh_test_downward): Likewise.
5050 (sinh_test_upward): Likewise.
5051 (sqrt_test): Likewise.
5052 (sqrt_test_tonearest): Likewise.
5053 (sqrt_test_towardzero): Likewise.
5054 (sqrt_test_downward): Likewise.
5055 (sqrt_test_upward): Likewise.
5056 (tan_test): Likewise.
5057 (tan_test_tonearest): Likewise.
5058 (tan_test_towardzero): Likewise.
5059 (tan_test_downward): Likewise.
5060 (tan_test_upward): Likewise.
5061 (tanh_test): Likewise.
5062 (tgamma_test): Likewise.
5063 (trunc_test): Likewise.
5064 (y0_test): Likewise.
5065 (y1_test): Likewise.
5066 (yn_test): Likewise.
5067 (significand_test): Likewise.
5068
e6b6a857
JM
5069 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5070 individual tests in comment.
5071 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5072 (prev_max_error): New variable.
5073 (prev_real_max_error): Likewise.
5074 (prev_imag_max_error): Likewise.
5075 (compare_ulp_data): Don't refer to test names in comment.
5076 (find_test_ulps): Remove function.
5077 (find_function_ulps): Likewise.
5078 (find_complex_function_ulps): Likewise.
5079 (init_max_error): Take function name as argument. Look up ulps
5080 for that function.
5081 (print_ulps): Remove function.
5082 (print_max_error): Use prev_max_error instead of calling
5083 find_function_ulps.
5084 (print_complex_max_error): Use prev_real_max_error and
5085 prev_imag_max_error instead of calling find_complex_function_ulps.
5086 (check_float_internal): Take max_ulp parameter instead of calling
5087 find_test_ulps. Don't call print_ulps.
5088 (check_float): Update call to check_float_internal.
5089 (check_complex): Update calls to check_float_internal.
5090 (START): Pass argument to init_max_error.
5091 * math/gen-libm-test.pl (%results): Don't include "kind"
5092 information.
5093 (parse_ulps): Don't handle ulps of individual tests.
5094 (print_ulps_file): Likewise.
5095 (output_ulps): Likewise.
5096 * math/README.libm-test: Update.
5097 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5098 individual tests.
5099 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5100 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5101 * sysdeps/arm/libm-test-ulps: Likewise.
5102 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5103 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5104 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5105 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5106 * sysdeps/microblaze/libm-test-ulps: Likewise.
5107 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5108 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5109 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5110 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5111 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5112 * sysdeps/sh/libm-test-ulps: Likewise.
5113 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5114 * sysdeps/tile/libm-test-ulps: Likewise.
5115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5116
45adef3c
JM
51172014-03-04 Joseph Myers <joseph@codesourcery.com>
5118
5119 * math/libm-test.inc (print_complex_max_error): Check separately
5120 whether real and imaginary errors are within allowed range and
5121 pass 0 to print_complex_function_ulps instead of value within
5122 allowed range.
5123
000232b9
SP
51242014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5125
d4b17258
SP
5126 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5127 formatting.
5128 (get_handles_fopen): Likewise.
5129 (do_write_test): Likewise.
5130
091eff71
SP
5131 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5132
fa3cd248
SP
5133 * libio/fileops.c (do_ftell): Use cached offset when
5134 available.
5135 * libio/iofwide.c (do_ftell_wide): Likewise.
5136 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5137 _IO_file_attach.
5138 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5139
000232b9
SP
5140 [BZ #16532]
5141 * libio/libioP.h (get_file_offset): New function.
5142 * libio/fileops.c (get_file_offset): Likewise.
5143 (do_ftell): Likewise.
5144 (_IO_new_file_seekoff): Split out ftell logic.
5145 * libio/wfileops.c (do_ftell_wide): Likewise.
5146 (_IO_wfile_seekoff): Split out ftell logic.
5147 * libio/tst-ftell-active-handler.c: New test case.
5148 * libio/Makefile (tests): Add it.
5149
116f4d1a
RM
51502014-03-03 Roland McGrath <roland@hack.frob.com>
5151
5152 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5153 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5154
532a6035
SP
51552014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5156
5157 [BZ #16639]
5158 * nscd/connections.c (nscd_init): Call do_exit.
5159 (start_threads): Call do_exit and notify_parent.
5160 (begin_drop_privileges): Call do_exit.
5161 (finish_drop_privileges): Likewise.
5162 * nscd/selinux.c (preserve_capabilities): Likewise.
5163 (install_real_capabilities): Likewise.
5164 (nscd_selinux_enabled): Likewise.
5165 (avc_create_thread): Likewise.
5166 (avc_alloc_lock): Likewise.
5167 (nscd_avc_init): Likewise.
5168 * nscd/nscd.c (parent_fd): New static variable.
5169 (main): Create a pipe between parent and child processes.
5170 Skip closing parent_fd.
5171 (monitor_child): New function.
5172 (do_exit): Likewise.
5173 (notify_parent): Likewise.
5174 * nscd/nscd.h (notify_parent): Likewise.
5175 (do_exit): Likewise.
5176
d6285c9f
CD
51772014-03-03 Carlos O'Donell <carlos@redhat.com>
5178
5179 * malloc/malloc.c (__libc_calloc): Revert last change.
5180
2b85d2a0
AZ
51812014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5182
5183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5184
c7debbdf
RS
51852014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5186
5187 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5189 implementation.
5190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5191 (__libc_ifunc_impl_list): Likewise.
5192 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5193 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5194 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5195 * string/strrchr.c: Define STRRCHR.
5196
235eed86
OB
51972014-02-28 Ondřej Bílka <neleai@seznam.cz>
5198
5199 * benchtest/bench-strtok.c (simple_strtok): Delete.
5200 (strtok_string): Use as benchmark.
5201 * string/strtok (STRTOK): New macro.
5202
8e25d1e7
CD
52032014-02-28 Carlos O'Donell <carlos@redhat.com>
5204
ef563f92
CD
5205 * manual/threads.texi: Add header and standard comments to all
5206 functions.
5207
8e25d1e7
CD
5208 * elf/dl-lookup.c (check_match): New function.
5209 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5210 (do_lookup_x): Remove nested function check_match. Use non-nested
5211 function check_match.
5212
ff71cc37
RM
52132014-02-28 Roland McGrath <roland@hack.frob.com>
5214
f08e9a26
RM
5215 * csu/Makefile (generated, before-compile): Use += rather than =.
5216 * catgets/Makefile (generated, generated-dirs): Likewise.
5217 * debug/Makefile (generated): Likewise.
5218 * dlfcn/Makefile (generated): Likewise.
5219 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5220 * iconvdata/Makefile (before-compile, generated): Likewise.
5221 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5222 * libio/Makefile (generated): Likewise.
5223 * malloc/Makefile (generated): Likewise.
5224 * manual/Makefile (generated, generated-dirs): Likewise.
5225 * misc/Makefile (generated): Likewise.
5226 * posix/Makefile (generated): Likewise.
5227 * resolv/Makefile (generated): Likewise.
5228 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5229 * timezone/Makefile (generated, generated-dirs): Likewise.
5230
ff71cc37
RM
5231 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5232
fe13a20c
AZ
52332014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5234
57f41c40
AS
5235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5236 power8 implementation.
5237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5238 file: POWER8 llround ifunc implementation.
5239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5240 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5241 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5242 POWER8 llround implementation.
5243
57f41c40
AS
5244 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5245 power8 implementation.
5246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5247 file: POWER8 llrint ifunc implementation.
5248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5249 Add POWER8 implementation.
1ad8950a
AZ
5250 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5251 POWER8 llrint implementation.
5252
57f41c40
AS
5253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5254 power8 implementation.
5255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5256 file: POWER8 finite ifunc implementation.
5257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5258 Add POWER8 implementation.
cac626d6
AZ
5259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5260 Likewise.
5261 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5262 POWER8 finite implementation.
5263 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5264
57f41c40
AS
5265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5266 power8 implementation.
5267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5268 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5270 POWER8 implementation.
5271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5272 Likewise.
57f41c40
AS
5273 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5274 isinf implementation.
4393fc11
AZ
5275 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5276
57f41c40
AS
5277 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5278 (INIT_ARCH): Add hwcap2 initialization.
5279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5280 power8 implementation.
5281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5282 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5284 POWER8 implementation.
5285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5286 Likewise.
57f41c40
AS
5287 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5288 isnan implementation.
487972ae
AZ
5289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5290
7d92b787
JY
52912014-02-27 Joey Ye <joey.ye@arm.com>
5292
5293 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5294 (_FP_NANFRAC_Q): Set to zero.
5295
1cadc858
SP
52962014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5297
5298 [BZ #16623]
5299 * math/auto-libm-test-in: New test inputs.
5300 * math/auto-libm-test-out: Regenerate.
5301 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5302 and DA.
5303 (__cos): Likewise.
5304 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5305
f8c17e79
JM
53062014-02-27 Joseph Myers <joseph@codesourcery.com>
5307
5308 * scripts/evaluate-test.sh: Take new argument indicating whether
5309 failure is expected.
5310 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5311 indicating whether failure is expected.
5312 * conform/Makefile (test-xfail-run-conformtest): New variable.
5313 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5314 level.
5315 * posix/Makefile (test-xfail-annexc): New variable.
5316 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5317
a5f891ac
JM
53182014-02-26 Joseph Myers <joseph@codesourcery.com>
5319
5320 * argp/Makefile: Include Makeconfig immediately after defining
5321 subdir.
5322 * assert/Makefile: Likewise.
5323 * benchtests/Makefile: Likewise.
5324 * catgets/Makefile: Likewise.
5325 * conform/Makefile: Likewise.
5326 * crypt/Makefile: Likewise.
5327 * csu/Makefile: Likewise.
5328 (all): Remove target.
5329 * ctype/Makefile: Include Makeconfig immediately after defining
5330 subdir.
5331 * debug/Makefile: Likewise.
5332 * dirent/Makefile: Likewise.
5333 * dlfcn/Makefile: Likewise.
5334 * gmon/Makefile: Likewise.
5335 * gnulib/Makefile: Likewise.
5336 * grp/Makefile: Likewise.
5337 * gshadow/Makefile: Likewise.
5338 * hesiod/Makefile: Likewise.
5339 * hurd/Makefile: Likewise.
5340 (all): Remove target.
5341 * iconvdata/Makefile: Include Makeconfig immediately after
5342 defining subdir.
5343 * inet/Makefile: Likewise.
5344 * intl/Makefile: Likewise.
5345 * io/Makefile: Likewise.
5346 * libio/Makefile: Likewise.
5347 (all): Remove target.
5348 * locale/Makefile: Include Makeconfig immediately after defining
5349 subdir.
5350 * login/Makefile: Likewise.
5351 * mach/Makefile: Likewise.
5352 (all): Remove target.
5353 * malloc/Makefile: Include Makeconfig immediately after defining
5354 subdir.
5355 (all): Remove target.
5356 * manual/Makefile: Include Makeconfig immediately after defining
5357 subdir.
5358 * math/Makefile: Likewise.
5359 * misc/Makefile: Likewise.
5360 * nis/Makefile: Likewise.
5361 * nss/Makefile: Likewise.
5362 * po/Makefile: Likewise.
5363 (all): Remove target.
5364 * posix/Makefile: Include Makeconfig immediately after defining
5365 subdir.
5366 * pwd/Makefile: Likewise.
5367 * resolv/Makefile: Likewise.
5368 * resource/Makefile: Likewise.
5369 * rt/Makefile: Likewise.
5370 * setjmp/Makefile: Likewise.
5371 * shadow/Makefile: Likewise.
5372 * signal/Makefile: Likewise.
5373 * socket/Makefile: Likewise.
5374 * soft-fp/Makefile: Likewise.
5375 * stdio-common/Makefile: Likewise.
5376 * stdlib/Makefile: Likewise.
5377 * streams/Makefile: Likewise.
5378 * string/Makefile: Likewise.
5379 * sunrpc/Makefile: Likewise.
5380 (all): Remove target.
5381 * sysvipc/Makefile: Include Makeconfig immediately after defining
5382 subdir.
5383 * termios/Makefile: Likewise.
5384 * time/Makefile: Likewise.
5385 * timezone/Makefile: Likewise.
5386 (all): Remove target.
5387 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5388 subdir.
5389 * wctype/Makefile: Likewise.
5390
5b456e9d
SE
53912014-02-26 Steve Ellcey <sellcey@mips.com>
5392
5393 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5394 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5395 (libc_feholdexcept_setround_mips): Ditto.
5396 (libc_feholdsetround): New.
5397 (libc_feholdsetroundf): New.
5398 (libc_feholdsetroundl): New.
5399 (libc_feupdateenv_test_mips): New.
5400 (libc_feupdateenv_test): New.
5401 (libc_feupdateenv_testf): New.
5402 (libc_feupdateenv_testl): New.
5403 (libc_feresetround): New.
5404 (libc_feresetroundf): New.
5405 (libc_feresetroundl): New.
5406 (libc_fetestexcept_mips): New.
5407 (libc_fetestexcept): New.
5408 (libc_fetestexceptf): New.
5409 (libc_fetestexceptl): New.
5410 (HAVE_RM_CTX): New.
5411 (libc_feholdexcept_setround_mips_ctx): New.
5412 (libc_feholdexcept_setround_ctx): New.
5413 (libc_feholdexcept_setroundf_ctx): New.
5414 (libc_feholdexcept_setroundl_ctx): New.
5415 (libc_fesetenv_mips_ctx): New.
5416 (libc_fesetenv_ctx): New.
5417 (libc_fesetenv_ctxf): New.
5418 (libc_fesetenv_ctxl): New.
5419 (libc_feupdateenv_mips_ctx): New.
5420 (libc_feupdateenv_ctx): New.
5421 (libc_feupdateenvf_ctx): New.
5422 (libc_feupdateenvl_ctx): New.
5423 (libc_feholdsetround_mips_ctx): New.
5424 (libc_feholdsetround_ctx): New.
5425 (libc_feholdsetroundf_ctx): New.
5426 (libc_feholdsetroundl_ctx): New.
5427 (libc_feresetround_mips_ctx): New.
5428 (libc_feresetround_ctx): New.
5429 (libc_feresetroundf_ctx): New.
5430 (libc_feresetroundl_ctx): New.
5431
085d0e35
CD
54322014-02-26 Carlos O'Donell <carlos@redhat.com>
5433
f067bf1f
CD
5434 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5435
085d0e35
CD
5436 * manual/ipc.texi: New file.
5437 * manual/Makefile (chapters): Add ipc.
5438 * manual/job.texi: Add "Inter-Process Communication" to next.
5439 * manual/process.texi: Add "Inter-Process Communication" to prev.
5440
86e58c08
AZ
54412014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5442
5443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5444
4248f0da
OB
54452014-02-26 Ondřej Bílka <neleai@seznam.cz>
5446
5447 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5448
cf822e3c
OB
5449 * manual/arith.texi: Fix spaces after sentences.
5450 * manual/charset.texi: Likewise.
5451 * manual/errno.texi: Likewise.
5452 * manual/install.texi: Likewise.
5453 * manual/llio.texi: Likewise.
5454 * manual/locale.texi: Likewise.
5455 * manual/maint.texi: Likewise.
5456 * manual/math.texi: Likewise.
5457 * manual/memory.texi: Likewise.
5458 * manual/message.texi: Likewise.
5459 * manual/probes.texi: Likewise.
5460 * manual/resource.texi: Likewise.
5461 * manual/signal.texi: Likewise.
5462 * manual/socket.texi: Likewise.
5463 * manual/stdio.texi: Likewise.
5464 * manual/string.texi: Likewise.
5465 * manual/time.texi: Likewise.
5466 * manual/users.texi: Likewise.
5467
ade40b10
CD
54682014-02-25 Carlos O'Donell <carlos@redhat.com>
5469
5470 [BZ #16632]
5471 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5472 _DEFAULT_SOURCE is defined.
5473
d0503676
CD
54742014-02-25 Ulrich Drepper <drepper@gmail.com>
5475 Carlos O'Donell <carlos@redhat.com>
5476
5477 [BZ #16613]
5478 * elf/dl-tls.c (_dl_count_modids): New function.
5479 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5480 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5481 audit library and increment generation counter.
5482 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5483 * elf/tst-audit9.c: New file.
5484 * elf/tst-auditmod9a.c: New file.
5485 * elf/tst-auditmod9b.c: New file.
5486 * elf/Makefile: Add rules to build and run tst-audit9.
5487
4cbf380c
FW
54882014-02-25 Florian Weimer <fweimer@redhat.com>
5489
5490 [BZ #15347]
5491 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5492
80a56cc3
WN
54932014-02-25 Will Newton <will.newton@linaro.org>
5494
5495 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5496 (__longjmp): Restore sp and lr before restoring callee
5497 saved registers. Add longjmp and longjmp_target
5498 SystemTap probe point.
5499 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5500 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5501 Define to zero to match jmpbuf layout.
5502 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5503 (__sigsetjmp): Save sp and lr before saving callee
5504 saved registers. Add setjmp SystemTap probe point.
5505
3ea0f74e
SL
55062014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5507
5508 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5509
b04acb26
AS
55102014-02-24 Andreas Schwab <schwab@suse.de>
5511
5512 [BZ #15804]
5513 * elf/pldd.c (wait_for_ptrace_stop): New function.
5514 (main): Call it after attaching.
5515
098ad55c
RM
55162014-02-22 Roland McGrath <roland@hack.frob.com>
5517
d4ec6ae1
RM
5518 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5519 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5520 Versions files is now verboten.
5521 * hurd/Versions (libc: GLIBC_2.0):
5522 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5523 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5524 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5525 * mach/Versions: Likewise.
5526
098ad55c
RM
5527 * csu/Versions: Remove unused %include.
5528 * resolv/Versions: Likewise.
5529
acd7f096
JM
55302014-02-21 Joseph Myers <joseph@codesourcery.com>
5531
f0881698
JM
5532 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5533 ($(objpfx)check-local-headers.out): Likewise.
5534 ($(objpfx)begin-end-check.out): Likewise.
5535 * Makerules (check-abi-%.out): Likewise.
5536 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5537 ($(objpfx)test2.cat): Likewise.
5538 ($(objpfx)de/libc.cat): Likewise.
5539 ($(objpfx)test-gencat.out): Likewise.
5540 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5541 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5542 ($(objpfx)noload-mem): Likewise.
5543 ($(objpfx)tst-pathopt.out): Likewise.
5544 ($(objpfx)tst-rtld-load-self.out): Likewise.
5545 ($(objpfx)tst-array1-cmp.out): Likewise.
5546 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5547 ($(objpfx)tst-array2-cmp.out): Likewise.
5548 ($(objpfx)tst-array3-cmp.out): Likewise.
5549 ($(objpfx)tst-array4-cmp.out): Likewise.
5550 ($(objpfx)tst-array5-cmp.out): Likewise.
5551 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5552 ($(objpfx)check-textrel.out): Likewise.
5553 ($(objpfx)check-execstack.out): Likewise.
5554 ($(objpfx)check-localplt.out): Likewise.
5555 ($(objpfx)order2-cmp.out): Likewise.
5556 ($(objpfx)tst-leaks1-mem): Likewise.
5557 ($(objpfx)tst-leaks1-static-mem): Likewise.
5558 ($(objpfx)tst-initorder-cmp.out): Likewise.
5559 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5560 ($(objpfx)tst-unused-dep.out): Likewise.
5561 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5562 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5563 * iconv/Makefile (test-iconvconfig): Likewise.
5564 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5565 ($(objpfx)iconv-test.out): Likewise.
5566 ($(objpfx)tst-tables.out): Likewise.
5567 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5568 ($(objpfx)tst-gettext.out): Likewise.
5569 ($(objpfx)tst-translit.out): Likewise.
5570 ($(objpfx)tst-gettext2.out): Likewise.
5571 ($(objpfx)tst-gettext4.out): Likewise.
5572 ($(objpfx)tst-gettext6.out): Likewise.
5573 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5574 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5575 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5576 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5577 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5578 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5579 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5580 ($(objpfx)wordexp-tst.out): Likewise.
5581 ($(objpfx)annexc.out): Likewise.
5582 ($(objpfx)tst-fnmatch-mem): Likewise.
5583 ($(objpfx)bug-regex2-mem): Likewise.
5584 ($(objpfx)bug-regex14-mem): Likewise.
5585 ($(objpfx)bug-regex21-mem): Likewise.
5586 ($(objpfx)bug-regex31-mem): Likewise.
5587 ($(objpfx)tst-vfork3-mem): Likewise.
5588 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5589 ($(objpfx)tst-pcre-mem): Likewise.
5590 ($(objpfx)tst-boost-mem): Likewise.
5591 ($(objpfx)tst-getconf.out): Likewise.
5592 ($(objpfx)bug-ga2-mem): Likewise.
5593 ($(objpfx)bug-glob2-mem): Likewise.
5594 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5595 ($(objpfx)mtrace-tst-leaks2): Likewise.
5596 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5597 ($(objpfx)tst-printf.out): Likewise.
5598 ($(objpfx)tst-setvbuf1.out): Likewise.
5599 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5600 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5601 ($(objpfx)tst-fmtmsg.out): Likewise.
5602 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5603 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5604
acd7f096
JM
5605 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5606 * bits/sigaction.h [__USE_MISC]: Likewise.
5607 * bits/waitstatus.h: Update #endif comments.
5608 * ctype/ctype.h: Likewise.
5609 * dirent/dirent.h: Likewise.
5610 [__USE_MISC]: Remove redundant conditionals.
5611 * grp/grp.h: Update #endif comments.
5612 [__USE_GNU]: Remove redundant conditionals.
5613 [__USE_MISC]: Likewise.
5614 * inet/netinet/in.h [__USE_GNU]: Likewise.
5615 * io/sys/stat.h [__USE_MISC]: Likewise.
5616 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5617 * libio/bits/stdio.h: Update #endif comments.
5618 [__USE_MISC]: Remove redundant conditionals.
5619 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5620 * libio/stdio.h: Update #endif comments.
5621 [__USE_MISC]: Remove redundant conditionals.
5622 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5623 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5624 * math/math.h: Update #else and #endif comments.
5625 [__USE_MISC]: Remove redundant conditionals.
5626 * misc/sys/uio.h: Update #endif comments.
5627 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5628 * posix/glob.h [__USE_MISC]: Likewise.
5629 * posix/sys/types.h: Update #endif comments.
5630 [__USE_MISC]: Remove redundant conditionals.
5631 * posix/sys/wait.h: Update #endif comments.
5632 [__USE_MISC]: Remove redundant conditionals.
5633 * posix/unistd.h: Update #endif comments.
5634 [__USE_MISC]: Remove redundant conditionals.
5635 * pwd/pwd.h [__USE_GNU]: Likewise.
5636 [__USE_MISC]: Likewise.
5637 * resolv/netdb.h [__USE_GNU]: Likewise.
5638 * signal/signal.h: Update #endif comments.
5639 [__USE_MISC]: Remove redundant conditionals.
5640 * stdlib/stdlib.h: Update #else and #endif comments.
5641 [__USE_MISC]: Remove redundant conditionals.
5642 [__USE_GNU]: Likewise.
5643 * string/bits/string2.h [__USE_MISC]: Likewise.
5644 * string/string.h: Update #endif comments.
5645 [__USE_MISC]: Remove redundant conditionals.
5646 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5647 Likewise.
5648 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5649 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5650 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5651 Likewise.
5652 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5653 Likewise.
5654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5655 comments.
5656 [__USE_MISC]: Remove redundant conditionals.
5657 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5658 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5659 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5660 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5661 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5662 Likewise.
5663 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5664 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5665 Likewise.
5666 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5667 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5668 Likewise.
5669 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5670 Likewise.
5671 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5672 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5673 Likewise.
5674 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5675 Likewise.
5676 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5677 * sysdeps/x86/bits/string.h: Update #endif comments.
5678 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5679 conditionals.
5680 * time/sys/time.h: Update #endif comments.
5681 * time/time.h: Likewise.
5682 [__USE_MISC]: Remove redundant conditionals.
5683
a5d82e4e
YG
56842014-02-21 Yury Gribov <y.gribov@samsung.com>
5685
5686 [BZ #16600]
5687 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5688
9a80491d
AS
56892014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5690
5691 * Versions.def (librt): Add GLIBC_2.17.
5692
105fa381
AC
56932014-02-21 Adam Conrad <adconrad@0c3.net>
5694
5695 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5696 synonym for _SYS_AUXV_H to allow direct inclusion.
5697 * sysdeps/sparc/bits/hwcap.h: Likewise.
5698 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5699 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5700 * sysdeps/sparc/sysdep.h: Likewise.
5701
b8cd1c4e
SP
57022014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5703
5704 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5705
bd939d23
RS
57062014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5707
5708 * benchtests/bench-strrchr.c: Print length instead of position.
5709
5d7b57ca
JM
57102014-02-20 Joseph Myers <joseph@codesourcery.com>
5711
bc688c10
JM
5712 [BZ #16611]
5713 * sysdeps/unix/sysv/linux/kernel-features.h
5714 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5715 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5716 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5717 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5718 Likewise.
5719 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5720 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5721 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5722 (__ASSUME_SENDMMSG): Define instead of using previous
5723 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5724 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5725 (__ASSUME_SENDMMSG_SYSCALL): Define.
5726 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5727 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5728 Likewise.
5729 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5730 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5731 Likewise.
5732 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5733 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5734 Likewise.
5735 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5736 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5737 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5738 [__ASSUME_SENDMMSG]: Change conditionals to
5739 [__ASSUME_SENDMMSG_SOCKETCALL].
5740 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5741 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5742 Define.
5743 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5744 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5745 Likewise.
5746 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5747 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5748 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5749 [!__ASSUME_SENDMMSG]: Change conditional to
5750 [!__ASSUME_SENDMMSG_SOCKETCALL].
5751 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5752 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5753 Define.
5754
0e31b18c
JM
5755 [BZ #16610]
5756 * sysdeps/unix/sysv/linux/kernel-features.h
5757 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5758 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5759 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5760 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5761 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5762 [__i386__ || __sparc__]
5763 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5764 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5765 (__ASSUME_RECVMMSG): Define instead of using previous
5766 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5767 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5768 (__ASSUME_RECVMMSG_SYSCALL): Define.
5769 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5770 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5771 Likewise.
5772 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5773 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5774 Likewise.
5775 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5776 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5777 Likewise.
5778 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5779 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5780 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5781 [__ASSUME_RECVMMSG]: Change condition to
5782 [__ASSUME_RECVMMSG_SOCKETCALL].
5783 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5784 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5785 Define.
5786 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5787 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5788 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5789 Likewise.
5790 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5791 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5792 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5793 [!__ASSUME_RECVMMSG]: Change condition to
5794 [!__ASSUME_RECVMMSG_SOCKETCALL].
5795 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5796 (__ASSUME_RECVMMSG_SYSCALL): Define.
5797
dd481ccf
JM
5798 [BZ #16609]
5799 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5800 __powerpc__ || __s390__ || __sh__ || __sparc__]
5801 (__ASSUME_SOCKETCALL): Define.
5802 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5803 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5804 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5805 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5806 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5807 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5808 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5809 (__ASSUME_ACCEPT4): Define instead of using previous
5810 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5811 __powerpc__ || __sparc__ || __s390__)] condition.
5812 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5813 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5814 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5815 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5816 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5817 [!__ASSUME_ACCEPT4]: Change condition to
5818 [!__ASSUME_ACCEPT4_SOCKETCALL].
5819 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5820 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5821 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5822 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5823 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5824 __ASSUME_ACCEPT4_SYSCALL.
5825 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5826 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5827 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5828 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5829 __ASSUME_ACCEPT4_SYSCALL.
5830 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5831 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5832 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5833 [__ASSUME_ACCEPT4]: Change condition to
5834 [__ASSUME_ACCEPT4_SOCKETCALL].
5835 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5836 (__ASSUME_SOCKETCALL): Define.
5837 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5838 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5839 (__ASSUME_SOCKETCALL): Define.
5840 (__ASSUME_ACCEPT4): Remove.
5841 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5842 Define.
5843 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5844 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5845 Likewise.
5846 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5847 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5848
5d7b57ca
JM
5849 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5850 macro.
5851 (HWCAP_ARM_LPAE): Likewise.
5852 (HWCAP_ARM_EVTSTRM): Likewise.
5853 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5854 Add vpfd32, lpae and evtstrm.
5855 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5856 Increase to 22.
5857
63689d61
JM
58582014-02-19 Joseph Myers <joseph@codesourcery.com>
5859
5860 * math/auto-libm-test-in: Add tests of clog10.
5861 * math/auto-libm-test-out: Regenerated.
5862 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5863 * sysdeps/i386/fpu/libm-test-ulps: Update.
5864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5865
ab09bf61
AS
58662014-02-18 Andreas Schwab <schwab@suse.de>
5867
5868 [BZ #16574]
5869 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5870 Store non-zero if the second buffer was newly allocated.
5871 (send_dg): Likewise.
5872 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5873 to send_vc and send_dg.
5874 (res_nsend): Pass NULL for ansp2_malloced.
5875 * resolv/res_query.c (__libc_res_nquery): Add parameter
5876 answerp2_malloced and pass it down to __libc_res_nsend.
5877 (res_nquery): Pass additional NULL to __libc_res_nquery.
5878 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5879 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5880 second answer buffer if answerp2_malloced was set.
5881 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5882 (__libc_res_nquerydomain): Add parameter
5883 answerp2_malloced and pass it down to __libc_res_nquery.
5884 (res_nquerydomain): Pass additional NULL to
5885 __libc_res_nquerydomain.
5886 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5887 additional NULL to __libc_res_nsend and __libc_res_nquery.
5888 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5889 additional NULL to __libc_res_nsearch.
5890 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5891 parameter of __libc_res_nsearch to check for separately allocated
5892 second buffer.
5893 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5894 __libc_res_nquery.
5895 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5896 additional NULL to __libc_res_nquery.
5897 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5898 __libc_res_nsearch.
5899 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5900 * include/resolv.h: Update prototypes of __libc_res_nquery,
5901 __libc_res_nsearch, __libc_res_nsend.
5902
a4fb7861
JM
59032014-02-18 Joseph Myers <joseph@codesourcery.com>
5904
c6af2d89
JM
5905 * math/auto-libm-test-in: Add tests of fma.
5906 * math/auto-libm-test-out: Regenerated.
5907 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5908 (fma_towardzero_test_data): Likewise.
5909 (fma_downward_test_data): Likewise.
5910 (fma_upward_test_data): Likewise.
5911 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5912 mpc_mode.
5913 (rounding_modes): Add values for new field.
5914 (func_calc_method): Add value mpfr_fff_f.
5915 (func_calc_desc): Add mpfr_fff_f union field.
5916 (test_function): Add field exact_args.
5917 (FUNC): Add macro argument EXACT_ARGS.
5918 (FUNC_mpfr_f_f): Update call to FUNC.
5919 (FUNC_mpfr_f_f): Likewise.
5920 (FUNC_mpfr_ff_f): Likewise.
5921 (FUNC_mpfr_if_f): Likewise.
5922 (FUNC_mpc_c_f): Likewise.
5923 (FUNC_mpc_c_c): Likewise.
5924 (test_functions): Add fma. Update calls to FUNC.
5925 (handle_input_arg): Add argument exact_args.
5926 (add_test): Update call to handle_input_arg.
5927 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5928 (output_for_one_input_case): Update call to calc_generic_results.
5929 Recalculate exact zero results in each rounding mode.
5930
a4fb7861
JM
5931 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5932 non-negative before setting low bit.
5933 * math/auto-libm-test-in: Mark one asin test possibly having
5934 spurious underflow.
5935 * math/auto-libm-test-out: Regenerated.
5936 * sysdeps/i386/fpu/libm-test-ulps: Update.
5937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5938
ef114eaf
DH
59392014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5940
2b7f4f2c
SP
5941 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5942 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5943 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5944 * README: Add missing listing for microblaze*-*-linux-gnu.
5945
c70a4b1d
MF
59462014-02-16 Mike Frysinger <vapier@gentoo.org>
5947
5948 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5949 * sysdeps/unix/sysv/linux/ia64: Move directory from
5950 ports/sysdeps/unix/sysv/linux/ia64.
5951 * README: Update listing for ia64-*-linux-gnu.
5952
591aeaf7
TD
59532014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5954 Joseph Myers <joseph@codesourcery.com>
5955
5956 * Makeconfig (test-name): New variable.
5957 (evaluate-test): Likewise.
5958 * Makerules (do-test-clean): Remove .test-result files.
5959 (common-mostlyclean): Likewise.
5960 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5961 * scripts/evaluate-test.sh: New file.
5962
6e89caf1
JM
59632014-02-14 Joseph Myers <joseph@codesourcery.com>
5964
7f98f180
JM
5965 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5966 separate $(objpfx)tst-fopenloc-cmp.out and
5967 $(objpfx)tst-fopenloc-mem.out targets.
5968 (tests): Update dependencies.
5969 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5970 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5971 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5972 (tst-rxspencer-no-utf8-ARGS): New variable.
5973 (tst-rxspencer-no-utf8-ENV): Likewise.
5974 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5975 instead of $(objpfx)tst-rxspencer-mem.
5976 ($(objpfx)tst-rxspencer-mem): Change target to
5977 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5978 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5979 * posix/tst-rxspencer-no-utf8.c: New file.
5980
6e89caf1
JM
5981 * elf/Makefile ($(objpfx)order.out): Remove rule.
5982 [$(run-built-tests) = yes] (tests): Depend on
5983 $(objpfx)order-cmp.out.
5984 ($(objpfx)order-cmp.out): New rule.
5985 [$(run-built-tests) = yes] (tests): Depend on
5986 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5987 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5988 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5989 $(objpfx)tst-array5-static-cmp.out.
5990 ($(objpfx)tst-array1.out): Remove rule.
5991 ($(objpfx)tst-array1-cmp.out): New rule.
5992 ($(objpfx)tst-array1-static.out): Remove rule.
5993 ($(objpfx)tst-array1-static-cmp.out): New rule.
5994 ($(objpfx)tst-array2.out): Remove rule.
5995 ($(objpfx)tst-array2-cmp.out): New rule.
5996 ($(objpfx)tst-array3.out): Remove rule.
5997 ($(objpfx)tst-array3-cmp.out): New rule.
5998 ($(objpfx)tst-array4.out): Remove rule.
5999 ($(objpfx)tst-array4-cmp.out): New rule.
6000 ($(objpfx)tst-array5.out): Remove rule.
6001 ($(objpfx)tst-array5-cmp.out): New rule.
6002 ($(objpfx)tst-array5-static.out): Remove rule.
6003 ($(objpfx)tst-array5-static-cmp.out): New rule.
6004 [$(run-built-tests) = yes] (tests): Depend on
6005 $(objpfx)order2-cmp.out.
6006 ($(objpfx)order2.out): Remove rule.
6007 ($(objpfx)order2-cmp.out): New rule.
6008 ($(objpfx)tst-initorder.out): Remove rule.
6009 [$(run-built-tests) = yes] (tests): Depend on
6010 $(objpfx)tst-initorder-cmp.out.
6011 ($(objpfx)tst-initorder-cmp.out): New rule.
6012 ($(objpfx)tst-initorder2.out): Remove rule.
6013 [$(run-built-tests) = yes] (tests): Depend on
6014 $(objpfx)tst-initorder2-cmp.out.
6015 ($(objpfx)tst-initorder2-cmp.out): New rule.
6016 [$(run-built-tests) = yes] (tests): Depend on
6017 $(objpfx)tst-unused-dep-cmp.out.
6018 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6019 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6020 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6021 on $(objpfx)tst-setvbuf1-cmp.out.
6022 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6023 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6024 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6025 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6026 ($(objpfx)tst-svc.out): Remove rule.
6027 ($(objpfx)tst-svc-cmp.out): New rule.
6028
ed9a38e2
JM
60292014-02-13 Joseph Myers <joseph@codesourcery.com>
6030
6031 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6032 * ctype/ctype.h [__USE_MISC]: Likewise.
6033 * dirent/dirent.h [__USE_MISC]: Likewise.
6034 * grp/grp.h [__USE_MISC]: Likewise.
6035 * io/fcntl.h [__USE_MISC]: Likewise.
6036 * io/sys/stat.h [__USE_MISC]: Likewise.
6037 * libio/stdio.h [__USE_MISC]: Likewise.
6038 * posix/unistd.h [__USE_MISC]: Likewise.
6039 * pwd/pwd.h [__USE_MISC]: Likewise.
6040 * stdlib.h [__USE_MISC]: Likewise.
6041 * string/bits/string2.h [__USE_MISC]: Likewise.
6042 * string/string.h [__USE_MISC]: Likewise.
6043 * time/time.h [__USE_MISC]: Likewise.
6044
d6680619
AS
60452014-02-13 Andreas Schwab <schwab@suse.de>
6046
6047 [BZ #16574]
6048 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6049 second answer buffer if it was separately allocated.
6050
ace614b8
JM
60512014-02-12 Joseph Myers <joseph@codesourcery.com>
6052
743151ae
JM
6053 * sysdeps/mips/math-tests.h: Include <features.h>.
6054 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6055 (ROUNDING_TESTS_long_double): Do not define.
6056 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6057 (EXCEPTION_TESTS_long_double): Likewise.
6058 * sysdeps/mips/mips64/libm-test-ulps: Update.
6059
498afc54
JM
6060 * include/features.h (__USE_BSD): Remove macro definitions.
6061 (__USE_SVID): Likewise.
6062 (_BSD_SOURCE): Likewise.
6063 (_SVID_SOURCE): Likewise.
6064 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6065 from definition of _DEFAULT_SOURCE.
6066 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6067 [_DEFAULT_SOURCE].
6068 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6069 * bits/mman.h [__USE_BSD]: Likewise.
6070 * bits/termios.h [__USE_BSD]: Likewise.
6071 * bits/waitstatus.h [__USE_BSD]: Likewise.
6072 * ctype/ctype.h [__USE_SVID]: Likewise.
6073 * dirent/dirent.h [__USE_BSD]: Likewise.
6074 * grp/grp.h [__USE_SVID]: Likewise.
6075 [__USE_BSD]: Likewise.
6076 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6077 * io/fcntl.h [__USE_BSD]: Likewise.
6078 * io/ftw.h [__USE_BSD]: Likewise.
6079 * io/sys/stat.h [__USE_BSD]: Likewise.
6080 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6081 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6082 * libio/stdio.h [__USE_SVID]: Likewise.
6083 [__USE_BSD]: Likewise.
6084 * math/math.h [__USE_SVID]: Likewise.
6085 [__USE_BSD]: Likewise.
6086 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6087 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6088 * misc/search.h [__USE_SVID]: Likewise.
6089 * misc/sys/mman.h [__USE_BSD]: Likewise.
6090 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6091 * misc/sys/uio.h [__USE_BSD]: Likewise.
6092 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6093 * posix/glob.h [__USE_BSD]: Likewise.
6094 * posix/regex.h [__USE_BSD]: Likewise.
6095 * posix/sys/types.h [__USE_BSD]: Likewise.
6096 [__USE_SVID]: Likewise.
6097 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6098 * posix/sys/wait.h [__USE_BSD]: Likewise.
6099 [__USE_SVID]: Likewise.
6100 * posix/unistd.h [__USE_BSD]: Likewise.
6101 [__USE_SVID]: Likewise.
6102 * pwd/pwd.h [__USE_SVID]: Likewise.
6103 * resolv/netdb.h [__USE_BSD]: Likewise.
6104 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6105 * signal/signal.h [__USE_BSD]: Likewise.
6106 [__USE_SVID]: Likewise.
6107 * socket/sys/socket.h [__USE_BSD]: Likewise.
6108 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6109 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6110 [__USE_SVID]: Likewise.
6111 * string/bits/string2.h [__USE_BSD]: Likewise.
6112 [__USE_SVID]: Likewise.
6113 * string/bits/string3.h [__USE_BSD]: Likewise.
6114 * string/endian.h [__USE_BSD]: Likewise.
6115 * string/string.h [__USE_SVID]: Likewise.
6116 [__USE_BSD]: Likewise.
6117 * string/strings.h [__USE_BSD]: Likewise.
6118 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6119 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6120 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6121 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6122 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6123 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6124 Likewise.
6125 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6126 Likewise.
6127 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6128 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6129 Likewise.
6130 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6131 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6132 Likewise.
6133 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6134 Likewise.
6135 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6136 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6137 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6138 Likewise.
6139 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6140 Likewise.
6141 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6142 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6143 * termios/termios.h [__USE_BSD]: Likewise.
6144 * time/sys/time.h [__USE_BSD]: Likewise.
6145 * time/time.h [__USE_BSD]: Likewise.
6146 [__USE_SVID]: Likewise.
6147
dd7b064c
JM
6148 * Makefile (subdir_targets): Remove subdir_lint.out.
6149
a2c4c199
JM
6150 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6151 (do-tst-printf): Likewise.
6152 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6153 $(objpfx)tst-printf.out.
6154
8756f740
JM
6155 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6156
1b6dd3f1
JM
6157 * Makerules (check-abi-%): Change target to
6158 $(objpfx)check-abi-%.out.
6159 (check-abi target): Update dependencies.
6160 (check-abi-pattern variable): Redirect output of diff to $@.
6161 (check-abi variable): Likewise.
6162 * elf/Makefile (check-abi): Update dependencies.
6163
ace614b8
JM
6164 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6165 unused.
6166 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6167 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6168 subnormal range.
6169 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6170 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6171 value has largest subnormal exponent.
6172 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6173 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6174 * sysdeps/aarch64/soft-fp/sfp-machine.h
6175 (_FP_TININESS_AFTER_ROUNDING): New macro.
6176 * sysdeps/alpha/soft-fp/sfp-machine.h
6177 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6178 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6179 Likewise.
6180 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6181 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6182 * sysdeps/mips/soft-fp/sfp-machine.h
6183 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6184 * sysdeps/powerpc/soft-fp/sfp-machine.h
6185 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6186 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6187 Likewise.
6188 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6189 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6190 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6191 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6192 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6193 Likewise.
6194
fbfdf9cb
DAS
61952014-02-12 Dylan Alex Simon <dylan@dylex.net>
6196
6197 [BZ #16545]
6198 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6199 model 1.
6200
68b7efaa
RH
62012014-02-12 Richard Henderson <rth@redhat.com>
6202
c70a4b1d 6203 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6204 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6205 * sysdeps/unix/sysv/linux/alpha: Move directory from
6206 ports/sysdeps/unix/sysv/linux/alpha.
6207 * README: Update listing for alpha-*-linux-gnu.
6208
cb4a2928
JM
62092014-02-11 Joseph Myers <joseph@codesourcery.com>
6210
c941736c
JM
6211 * include/features.h: Update comment documenting feature test
6212 macros.
6213 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6214 _DEFAULT_SOURCE.
6215 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6216 (_SVID_SOURCE): Likewise.
6217 (_DEFAULT_SOURCE): Update description of default features.
6218 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6219 with _GNU_SOURCE.
6220 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6221 (S_ISVTX): Likewise.
6222 * manual/math.texi (Mathematical Constants): Likewise.
6223 * manual/signal.texi (Interrupted Primitives): Likewise.
6224 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6225 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6226 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6227 Don't refer to _SVID_SOURCE in warning text.
6228
e8d8d7ec
JM
6229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6230
cb4a2928
JM
6231 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6232 already defined.
6233 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6234 * sysdeps/mips/dl-lookup.c: Remove.
6235 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6236
7e6424e3
AK
62372014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6238
6239 [BZ #16447]
6240 * math/auto-libm-test-in: Add testcase for expl.
6241 * math/auto-libm-test-out: Regenerate.
6242 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6243 calculation of unsafe.
6244 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6245
75eff3fe
MS
62462014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6247
6248 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6249 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6250 ports/sysdeps/unix/sysv/linux/aarch64.
6251 * README: Update listing for aarch64*-*-linux-gnu.
6252
d35f1e80
WN
62532014-02-11 Will Newton <will.newton@linaro.org>
6254
6255 * manual/probes.texi (Mathematical Function Probes): Use
6256 "triggered" instead of "hit".
6257
7b3436d4
WN
6258 * manual/probes.texi (Internal Probes): Add documentation
6259 of setjmp, longjmp and longjmp_target probes.
6260
b4f12ca3
WN
6261 * include/stap-probe.h: Add comment about probe argument
6262 format.
6263
c13a72b7
WN
6264 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6265 definition. (tr_where, tr_freehook, tr_mallochook,
6266 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6267
195b8165
DM
62682014-02-11 David S. Miller <davem@davemloft.net>
6269
6270 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6271 processing int_tests.
6272
2ad7600b
JM
62732014-02-10 Joseph Myers <joseph@codesourcery.com>
6274
6275 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6276 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6277 * sysdeps/unix/sysv/linux/mips: Move directory from
6278 ports/sysdeps/unix/sysv/linux/mips.
6279 * README: Update listing for mips-*-linux-gnu and
6280 mips64-*-linux-gnu.
6281
73588a72
AS
62822014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6283
6284 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6285 * sysdeps/unix/sysv/linux/m68k: Move directory from
6286 ports/sysdeps/unix/sysv/linux/m68k.
6287 * README: Update listing for m68k-*-linux-gnu.
6288
4372980f
CM
62892014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6290
6291 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6292 * sysdeps/unix/sysv/linux/generic: Move directory from
6293 ports/sysdeps/unix/sysv/linux/generic.
6294 * sysdeps/unix/sysv/linux/tile: Move directory from
6295 ports/sysdeps/unix/sysv/linux/tile.
6296 * README: Update listing for tile*-*-linux-gnu.
6297
a1ffb40e
OB
62982014-02-10 Ondřej Bílka <neleai@seznam.cz>
6299
57f41c40
AS
6300 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6301 __builtin_expect.
a1ffb40e
OB
6302 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6303 * catgets/open_catalog.c (__open_catalog): Likewise.
6304 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6305 * debug/confstr_chk.c: Likewise.
6306 * debug/fread_chk.c (__fread_chk): Likewise.
6307 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6308 * debug/getgroups_chk.c: Likewise.
6309 * debug/mbsnrtowcs_chk.c: Likewise.
6310 * debug/mbsrtowcs_chk.c: Likewise.
6311 * debug/mbstowcs_chk.c: Likewise.
6312 * debug/memcpy_chk.c: Likewise.
6313 * debug/memmove_chk.c: Likewise.
6314 * debug/mempcpy_chk.c: Likewise.
6315 * debug/memset_chk.c: Likewise.
6316 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6317 * debug/strcat_chk.c (__strcat_chk): Likewise.
6318 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6319 * debug/strncat_chk.c (__strncat_chk): Likewise.
6320 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6321 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6322 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6323 * debug/wcpncpy_chk.c: Likewise.
6324 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6325 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6326 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6327 * debug/wcsncpy_chk.c: Likewise.
6328 * debug/wcsnrtombs_chk.c: Likewise.
6329 * debug/wcsrtombs_chk.c: Likewise.
6330 * debug/wcstombs_chk.c: Likewise.
6331 * debug/wmemcpy_chk.c: Likewise.
6332 * debug/wmemmove_chk.c: Likewise.
6333 * debug/wmempcpy_chk.c: Likewise.
6334 * debug/wmemset_chk.c: Likewise.
6335 * dirent/scandirat.c (SCANDIRAT): Likewise.
6336 * dlfcn/dladdr1.c (dladdr1): Likewise.
6337 * dlfcn/dladdr.c (dladdr): Likewise.
6338 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6339 * dlfcn/dlerror.c (__dlerror): Likewise.
6340 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6341 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6342 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6343 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6344 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6345 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6346 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6347 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6348 Likewise.
6349 * elf/dl-conflict.c: Likewise.
6350 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6351 * elf/dl-dst.h: Likewise.
6352 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6353 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6354 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6355 * elf/dl-init.c (call_init, _dl_init): Likewise.
6356 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6357 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6358 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6359 Likewise.
a1ffb40e
OB
6360 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6361 Likewise.
6362 * elf/dl-minimal.c (__libc_memalign): Likewise.
6363 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6364 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6365 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6366 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
6367 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6368 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
6369 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6370 * elf/dl-writev.h (_dl_writev): Likewise.
6371 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
6372 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6373 (dl_main): Likewise.
a1ffb40e
OB
6374 * elf/setup-vdso.h (setup_vdso): Likewise.
6375 * grp/compat-initgroups.c (compat_call): Likewise.
6376 * grp/fgetgrent.c (fgetgrent): Likewise.
6377 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6378 * grp/putgrent.c (putgrent): Likewise.
6379 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6380 Likewise.
6381 * hurd/hurdinit.c: Likewise.
6382 * iconvdata/8bit-gap.c (struct): Likewise.
6383 * iconvdata/ansi_x3.110.c : Likewise.
6384 * iconvdata/big5.c : Likewise.
6385 * iconvdata/big5hkscs.c : Likewise.
6386 * iconvdata/cp1255.c: Likewise.
6387 * iconvdata/cp1258.c : Likewise.
6388 * iconvdata/cp932.c : Likewise.
6389 * iconvdata/euc-cn.c: Likewise.
6390 * iconvdata/euc-jisx0213.c : Likewise.
6391 * iconvdata/euc-jp.c: Likewise.
6392 * iconvdata/euc-jp-ms.c : Likewise.
6393 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6394 * iconvdata/gb18030.c : Likewise.
6395 * iconvdata/gbbig5.c (const): Likewise.
6396 * iconvdata/gbgbk.c: Likewise.
6397 * iconvdata/gbk.c : Likewise.
6398 * iconvdata/ibm1364.c : Likewise.
6399 * iconvdata/ibm930.c : Likewise.
6400 * iconvdata/ibm932.c: Likewise.
6401 * iconvdata/ibm933.c : Likewise.
6402 * iconvdata/ibm935.c : Likewise.
6403 * iconvdata/ibm937.c : Likewise.
6404 * iconvdata/ibm939.c : Likewise.
6405 * iconvdata/ibm943.c: Likewise.
6406 * iconvdata/iso_11548-1.c: Likewise.
6407 * iconvdata/iso-2022-cn.c : Likewise.
6408 * iconvdata/iso-2022-cn-ext.c : Likewise.
6409 * iconvdata/iso-2022-jp-3.c: Likewise.
6410 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6411 * iconvdata/iso-2022-kr.c : Likewise.
6412 * iconvdata/iso646.c (gconv_end): Likewise.
6413 * iconvdata/iso_6937-2.c : Likewise.
6414 * iconvdata/iso_6937.c : Likewise.
6415 * iconvdata/iso8859-1.c: Likewise.
6416 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6417 * iconvdata/shift_jisx0213.c : Likewise.
6418 * iconvdata/sjis.c : Likewise.
6419 * iconvdata/t.61.c : Likewise.
6420 * iconvdata/tcvn5712-1.c : Likewise.
6421 * iconvdata/tscii.c: Likewise.
6422 * iconvdata/uhc.c : Likewise.
6423 * iconvdata/unicode.c (gconv_end): Likewise.
6424 * iconvdata/utf-16.c (gconv_end): Likewise.
6425 * iconvdata/utf-32.c (gconv_end): Likewise.
6426 * iconvdata/utf-7.c (base64): Likewise.
6427 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6428 * iconv/gconv_close.c (__gconv_close): Likewise.
6429 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
6430 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6431 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6432 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6433 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6434 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
6435 * iconv/iconv.c (iconv): Likewise.
6436 * iconv/iconv_close.c: Likewise.
6437 * iconv/loop.c (SINGLE): Likewise.
6438 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6439 * include/atomic.h: Likewise.
6440 * inet/inet6_option.c (option_alloc): Likewise.
6441 * intl/bindtextdom.c (set_binding_values): Likewise.
6442 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6443 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6444 * intl/localealias.c (read_alias_file): Likewise.
6445 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
6446 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6447 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
6448 * libio/fmemopen.c (fmemopen): Likewise.
6449 * libio/iofgets.c (_IO_fgets): Likewise.
6450 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6451 * libio/iofgetws.c (fgetws): Likewise.
6452 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6453 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6454 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6455 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6456 * locale/findlocale.c (_nl_find_locale): Likewise.
6457 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6458 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6459 Likewise.
6460 * locale/setlocale.c (setlocale): Likewise.
6461 * login/programs/pt_chown.c (main): Likewise.
6462 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6463 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
6464 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6465 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
6466 * math/e_exp2l.c: Likewise.
6467 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6468 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6469 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6470 * math/s_catan.c (__catan): Likewise.
6471 * math/s_catanf.c (__catanf): Likewise.
6472 * math/s_catanh.c (__catanh): Likewise.
6473 * math/s_catanhf.c (__catanhf): Likewise.
6474 * math/s_catanhl.c (__catanhl): Likewise.
6475 * math/s_catanl.c (__catanl): Likewise.
6476 * math/s_ccosh.c (__ccosh): Likewise.
6477 * math/s_ccoshf.c (__ccoshf): Likewise.
6478 * math/s_ccoshl.c (__ccoshl): Likewise.
6479 * math/s_cexp.c (__cexp): Likewise.
6480 * math/s_cexpf.c (__cexpf): Likewise.
6481 * math/s_cexpl.c (__cexpl): Likewise.
6482 * math/s_clog10.c (__clog10): Likewise.
6483 * math/s_clog10f.c (__clog10f): Likewise.
6484 * math/s_clog10l.c (__clog10l): Likewise.
6485 * math/s_clog.c (__clog): Likewise.
6486 * math/s_clogf.c (__clogf): Likewise.
6487 * math/s_clogl.c (__clogl): Likewise.
6488 * math/s_csin.c (__csin): Likewise.
6489 * math/s_csinf.c (__csinf): Likewise.
6490 * math/s_csinh.c (__csinh): Likewise.
6491 * math/s_csinhf.c (__csinhf): Likewise.
6492 * math/s_csinhl.c (__csinhl): Likewise.
6493 * math/s_csinl.c (__csinl): Likewise.
6494 * math/s_csqrt.c (__csqrt): Likewise.
6495 * math/s_csqrtf.c (__csqrtf): Likewise.
6496 * math/s_csqrtl.c (__csqrtl): Likewise.
6497 * math/s_ctan.c (__ctan): Likewise.
6498 * math/s_ctanf.c (__ctanf): Likewise.
6499 * math/s_ctanh.c (__ctanh): Likewise.
6500 * math/s_ctanhf.c (__ctanhf): Likewise.
6501 * math/s_ctanhl.c (__ctanhl): Likewise.
6502 * math/s_ctanl.c (__ctanl): Likewise.
6503 * math/w_pow.c: Likewise.
6504 * math/w_powf.c: Likewise.
6505 * math/w_powl.c: Likewise.
6506 * math/w_scalb.c (sysv_scalb): Likewise.
6507 * math/w_scalbf.c (sysv_scalbf): Likewise.
6508 * math/w_scalbl.c (sysv_scalbl): Likewise.
6509 * misc/error.c (error_tail): Likewise.
6510 * misc/pselect.c (__pselect): Likewise.
6511 * nis/nis_callback.c (__nis_create_callback): Likewise.
6512 * nis/nis_call.c (__nisfind_server): Likewise.
6513 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6514 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6515 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6516 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6517 * nis/nis_lookup.c (nis_lookup): Likewise.
6518 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
6519 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6520 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 6521 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
6522 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6523 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6524 * nis/nss_compat/compat-initgroups.c (add_group)
6525 (internal_getgrent_r): Likewise.
6526 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6527 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6528 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6529 (internal_getspnam_r): Likewise.
6530 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6531 (_nss_nis_getaliasbyname_r): Likewise.
6532 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6533 (_nss_nis_getntohost_r): Likewise.
6534 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6535 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6536 (_nss_nis_getgrgid_r): Likewise.
6537 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6538 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6539 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6540 (_nss_nis_gethostbyname4_r): Likewise.
6541 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6542 (initgroups_netid): Likewise.
a1ffb40e 6543 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6544 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6545 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6546 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6547 (_nss_nis_getprotobynumber_r): Likewise.
6548 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6549 (_nss_nis_getsecretkey): Likewise.
6550 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6551 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6552 (_nss_nis_getpwuid_r): Likewise.
6553 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6554 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6555 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6556 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6557 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6558 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6559 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6560 Likewise.
57f41c40
AS
6561 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6562 (_nss_nisplus_getntohost_r): Likewise.
6563 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6564 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6565 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6566 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6567 Likewise.
57f41c40
AS
6568 * nis/nss_nisplus/nisplus-initgroups.c
6569 (_nss_nisplus_initgroups_dyn): Likewise.
6570 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6571 (_nss_nisplus_getnetbyaddr_r): Likewise.
6572 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6573 (_nss_nisplus_getprotobynumber_r): Likewise.
6574 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6575 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6576 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6577 Likewise.
57f41c40
AS
6578 * nis/nss_nisplus/nisplus-service.c
6579 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6580 (_nss_nisplus_getservbyport_r): Likewise.
6581 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6582 (_nss_nisplus_getspnam_r): Likewise.
6583 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6584 Likewise.
a1ffb40e
OB
6585 * nscd/aicache.c (addhstaiX): Likewise.
6586 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6587 * nscd/connections.c (register_traced_file, send_ro_fd)
6588 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6589 (main_loop_epoll): Likewise.
a1ffb40e
OB
6590 * nscd/grpcache.c (addgrbyX): Likewise.
6591 * nscd/hstcache.c (addhstbyX): Likewise.
6592 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6593 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6594 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6595 (addinnetgrX): Likewise.
6596 * nscd/nscd-client.h (__nscd_acquire_maplock)
6597 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6598 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6599 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6600 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6601 Likewise.
6602 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6604 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6605 (__nscd_get_map_ref): Likewise.
a1ffb40e 6606 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6607 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6608 Likewise.
a1ffb40e
OB
6609 * nscd/pwdcache.c (addpwbyX): Likewise.
6610 * nscd/selinux.c (preserve_capabilities): Likewise.
6611 * nscd/servicescache.c (addservbyX): Likewise.
6612 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6613 * posix/fnmatch.c (fnmatch): Likewise.
6614 * posix/getopt.c (_getopt_internal_r): Likewise.
6615 * posix/glob.c (glob, glob_in_dir): Likewise.
6616 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6617 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6618 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6619 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6620 * resolv/res_init.c: Likewise.
6621 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6622 * resolv/res_query.c (__libc_res_nquery): Likewise.
6623 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6624 Likewise.
6625 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6626 * stdio-common/perror.c (perror): Likewise.
6627 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6628 * stdio-common/tmpnam.c (tmpnam): Likewise.
6629 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6630 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6631 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6632 Likewise.
a1ffb40e
OB
6633 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6634 * stdlib/putenv.c (putenv): Likewise.
6635 * stdlib/setenv.c (__add_to_environ): Likewise.
6636 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6637 * stdlib/strtol_l.c (INTERNAL): Likewise.
6638 * string/memmem.c (memmem): Likewise.
6639 * string/strerror.c (strerror): Likewise.
6640 * string/strnlen.c (__strnlen): Likewise.
6641 * string/test-memmem.c (simple_memmem): Likewise.
6642 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6643 * sunrpc/pm_getport.c (__get_socket): Likewise.
6644 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6645 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6646 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6647 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6648 Likewise.
6649 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6650 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6651 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6652 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6653 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6654 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6655 Likewise.
6656 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6657 Likewise.
a1ffb40e
OB
6658 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6659 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6660 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6661 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6662 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6664 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6665 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6666 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6667 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6668 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6669 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6670 Likewise.
6671 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6672 Likewise.
6673 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6674 Likewise.
6675 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6677 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6678 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6679 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6680 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6681 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6684 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6685 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6687 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6688 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6690 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6691 Likewise.
a1ffb40e
OB
6692 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6693 Likewise.
6694 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6695 Likewise.
6696 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6697 Likewise.
6698 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6700 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6701 Likewise.
6702 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6703 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6704 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6705 * sysdeps/posix/sleep.c: Likewise.
6706 * sysdeps/posix/tempname.c: Likewise.
6707 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6708 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6709 Likewise.
57f41c40
AS
6710 * sysdeps/powerpc/powerpc32/dl-machine.h
6711 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6712 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6714 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6715 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6716 Likewise.
6717 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6718 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6719 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6720 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6721 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6722 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6723 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6724 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6725 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6726 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6728 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6729 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6731 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6732 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6733 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6734 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6735 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6736 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6737 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6738 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6740 Likewise.
6741 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6742 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6743 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6744 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6745 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6746 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6747 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6748 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6749 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6750 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6751 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6752 Likewise.
6753 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6754 (__posix_fallocate64_l64): Likewise.
6755 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6756 (posix_fallocate): Likewise.
57f41c40
AS
6757 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6758 Likewise.
a1ffb40e 6759 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6760 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6761 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6762 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6763 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6764 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6765 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6766 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6767 (__posix_fallocate64_l64): Likewise.
6768 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6769 Likewise.
6770 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6771 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6772 (__get_clockfreq): Likewise.
a1ffb40e
OB
6773 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6774 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6775 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6778 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6779 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6780 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6781 Likewise.
6782 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6783 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6784 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6785 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6786 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6787 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6788 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6789 Likewise.
6790 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6791 (posix_fallocate): Likewise.
6792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6793 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6794 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6795 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6796 (elf_machine_rela, elf_machine_rela_relative)
6797 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6798 * time/asctime.c (asctime_internal): Likewise.
6799 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6800 * time/tzset.c (__tzset_parse_tz): Likewise.
6801 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6802 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6803 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6804 * wcsmbs/wcsmbsload.h: Likewise.
6805
f3d338c9
OB
6806 [BZ #15894]
6807 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6808
57f41c40
AS
6809 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6810 (arena_get2): Remove THREAD_STATS conditionals.
6811 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6812 (__malloc_stats, int): Likewise.
bdfe308a 6813
d674667c
MF
68142014-02-08 Mike Frysinger <vapier@gentoo.org>
6815
6816 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6817 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6818
6349768c
MF
6819 * manual/setjmp.texi: Fix typos/grammar errors.
6820
0b7c7473
MF
6821 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6822 Only return early when n is <= 0. Delete unused return statement.
6823
ac8cc9e3
MF
6824 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6825 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6826 * debug/tst-longjmp_chk3.c: New file.
6827
c5bb8e23
MF
6828 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6829 (test_main): Replace code with set_fortify_handler call.
6830 * debug/test-strcpy_chk.c: Likewise.
6831 * debug/tst-chk1.c: Likewise.
6832 * debug/tst-longjmp_chk.c: Likewise.
6833 * test-skeleton.c: Include fcntl.h & paths.h
6834 (set_fortify_handler): Define.
6835
10444e42
MF
6836 * debug/tst-longjmp_chk.c: Add header comment and include
6837 ../test-skeleton.c.
6838 (do_test): Mark static.
6839 (TEST_FUNCTION): Define.
6840
1e805e8d
MF
6841 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6842 (IP_PMTUDISC_INTERFACE): Likewise.
6843 (IP_MULTICAST_IF): Likewise.
6844 (IP_MULTICAST_TTL): Likewise.
6845 (IP_MULTICAST_LOOP): Likewise.
6846 (IP_ADD_MEMBERSHIP): Likewise.
6847 (IP_DROP_MEMBERSHIP): Likewise.
6848 (IP_UNBLOCK_SOURCE): Likewise.
6849 (IP_BLOCK_SOURCE): Likewise.
6850 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6851 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6852 (IP_MSFILTER): Likewise.
6853 (MCAST_JOIN_GROUP): Likewise.
6854 (MCAST_BLOCK_SOURCE): Likewise.
6855 (MCAST_UNBLOCK_SOURCE): Likewise.
6856 (MCAST_LEAVE_GROUP): Likewise.
6857 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6858 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6859 (MCAST_MSFILTER): Likewise.
6860 (IP_MULTICAST_ALL): Likewise.
6861 (IP_UNICAST_IF): Likewise.
6862
73f79bb7
MF
6863 * timezone/Makefile: Delete $(have-ksh) check.
6864 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6865 * timezone/tzselect.ksh: Add +x mode bits.
6866
8da79b60
MF
6867 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6868 (ANON_INODE_FS_MAGIC): Likewise.
6869 (BDEVFS_MAGIC): Likewise.
6870 (BINFMTFS_MAGIC): Likewise.
6871 (BTRFS_TEST_MAGIC): Likewise.
6872 (CRAMFS_MAGIC_WEND): Likewise.
6873 (DEBUGFS_MAGIC): Likewise.
6874 (ECRYPTFS_SUPER_MAGIC): Likewise.
6875 (EXT3_SUPER_MAGIC): Likewise.
6876 (EXT4_SUPER_MAGIC): Likewise.
6877 (FUTEXFS_SUPER_MAGIC): Likewise.
6878 (HOSTFS_SUPER_MAGIC): Likewise.
6879 (HUGETLBFS_MAGIC): Likewise.
6880 (MINIX3_SUPER_MAGIC): Likewise.
6881 (MTD_INODE_FS_MAGIC): Likewise.
6882 (NILFS_SUPER_MAGIC): Likewise.
6883 (OPENPROM_SUPER_MAGIC): Likewise.
6884 (PIPEFS_MAGIC): Likewise.
6885 (PSTOREFS_MAGIC): Likewise.
6886 (QNX6_SUPER_MAGIC): Likewise.
6887 (RAMFS_MAGIC): Likewise.
6888 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6889 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6890 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6891 (SECURITYFS_MAGIC): Likewise.
6892 (SELINUX_MAGIC): Likewise.
6893 (SMACK_MAGIC): Likewise.
6894 (SOCKFS_MAGIC): Likewise.
6895 (SQUASHFS_MAGIC): Likewise.
6896 (STACK_END_MAGIC): Likewise.
6897 (TMPFS_MAGIC): Likewise.
6898 (USBDEVICE_SUPER_MAGIC): Likewise.
6899 (V9FS_MAGIC): Likewise.
6900 (XENFS_SUPER_MAGIC): Likewise.
6901 (CRAMFS_MAGIC): Fix typo in comment.
6902 (EXT2_SUPER_MAGIC): Update comment.
6903 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6904
464263cc
JM
69052014-02-08 Joseph Myers <joseph@codesourcery.com>
6906
c6bfe5c4
JM
6907 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6908 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6909 * sysdeps/unix/sysv/linux/arm: Move directory from
6910 ports/sysdeps/unix/sysv/linux/arm.
6911 * README: Update listing for arm-*-linux-gnueabi.
6912
464263cc
JM
6913 * README: Remove mention of am33.
6914
32749f6c
RM
69152014-02-07 Roland McGrath <roland@hack.frob.com>
6916
6917 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6918 than the comma operator, to avoid "rhs of comma has no effect"
6919 compiler warnings.
6920 (__sigfillset, __sigandset, __sigorset): Likewise.
6921 * include/signal.h (__sigemptyset): Likewise.
6922 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6923
d5b396c1
AM
69242014-02-07 Allan McRae <allan@archlinux.org>
6925
6926 * version.h (RELEASE): Set to "development".
6927 (VERSION): Set to "2.19.90"
6928 * NEWS: Add 2.20 section.
6929
3bfff2ed
CD
69302014-02-06 Carlos O'Donell <carlos@redhat.com>
6931
6932 [BZ #16529]
6933 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6934
ee7cc385
SP
69352014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6936
6937 * manual/contrib.texi: Update entry for Carlos O'Donell,
6938 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6939
f877c4f2
CD
69402014-02-05 Carlos O'Donell <carlos@rehdat.com>
6941
27e839f6
CD
6942 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6943
f877c4f2
CD
6944 * sysdeps/unix/sysv/linux/kernel-features.h
6945 [__LINUX_KERNEL_VERSION >= 0x020621]
6946 (__ASSUME_PROC_PID_TASK_COMM): Define.
6947
68159946
SP
69482014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6949
ba17cdbd
SP
6950 [BZ #16398]
6951 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6952 conversion when destination buffer does not have enough space.
6953 * libio/tst-ftell-partial-wide.c: New test case.
6954 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6955
68159946
SP
6956 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6957 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6958 Leonard and Allan McRae.
6959
2b528732
DM
69602014-02-04 David S. Miller <davem@davemloft.net>
6961
6962 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6963 32-bit.
6964
0ff82463
AZ
69652014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6966
57f41c40
AS
6967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6968 New file
c01603f7
AZ
6969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6970 New file
57f41c40
AS
6971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6972 New file.
6973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6974 New file.
c01603f7
AZ
6975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6976 New file.
57f41c40
AS
6977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6978 New file.
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6980 New file.
c01603f7
AZ
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6982 New file.
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6984 New file.
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6986 New file.
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6988 New file.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6990 New file.
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6992 New file.
6993
69942014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6995
0ff82463
AZ
6996 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6997 * shlib-versions: Likewise.
6998
1695c773
AZ
69992014-02-04 Roland McGrath <roland@hack.frob.com>
7000 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7001
7002 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7003 (abilist-pattern): New variable, set to %-le.abilist.
7004
7005 * Makerules (abilist-pattern): New variable.
7006 (vpath): Use $(abilist-pattern) in place of %.abilist.
7007 (check-abi-% pattern rule): Likewise.
7008 (check-abi, update-abi): Likewise.
7009
6c0ce4b4
EW
70102014-02-04 Eric Wong <normalperson@yhbt.net>
7011
7012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7013
481e3524
CD
70142014-02-03 Carlos O'Donell <carlos@redhat.com>
7015
7016 * manual/startup.texi: Add next, previous, and top entries for
7017 the `Program Arguments' and `Environment Variables' nodes.
7018
375592d3
AO
70192014-02-03 Alexandre Oliva <aoliva@redhat.com>
7020
7021 * manual/macros.texi: Add comments before MTASC-safety macros.
7022
f54838ba
AO
7023 * manual/users.texi: Document MTASC-safety properties.
7024
57f41c40
AS
7025 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7026 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7027 @deftypefun, and add @safety note.
7028 * manual/signal.texi: Move comments that analyze the above
7029 functions to their home place.
7030
fd3daba4
AM
70312014-02-03 Allan McRae <allan@archlinux.org>
7032
7033 * po/sl.po: Update Slovenian translation from translation project.
7034
597636d7
AO
70352014-02-02 Alexandre Oliva <aoliva@redhat.com>
7036
7037 * manual/time.texi (timegm): Add missing blank after @c.
7038 Reported by Joseph Myers <joseph@codesourcery.com>.
7039
ee196e3c
AO
70402014-02-01 Alexandre Oliva <aoliva@redhat.com>
7041
7042 * manual/check-safety.sh: New.
7043 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7044
f8d529d5
AO
7045 * manual/terminal.texi: Document MTASC-safety properties.
7046
de55fdf4
AO
7047 * manual/filesys.texi: Document MTASC-safety properties.
7048
c3299c08
AO
7049 * manual/errno.texi: Document MTASC-safety properties.
7050
06e90b14
AO
7051 * manual/intro.texi: Document safety identifiers and
7052 conditionals.
7053
1acd4371
AO
7054 * manual/string.texi (wcstok): Fix prototype.
7055 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7056
23e5b8cb
AO
7057 * manual/time.texi: Document MTASC-safety properties.
7058
11087373
AO
7059 * manual/string.texi: Document MTASC-safety properties.
7060
5da2c93d
AO
7061 * manual/threads.texi: Document MTASC-safety properties.
7062
171e9210
AO
7063 * manual/stdio.texi: Document MTASC-safety properties.
7064
d9e02532
AO
7065 * manual/syslog.texi: Document MTASC-safety properties.
7066
6af8bab7
AO
7067 * manual/sysinfo.texi: Document MTASC-safety properties.
7068
663b02d7
AO
7069 * manual/startup.texi: Document MTASC-safety properties.
7070
973f180b
AO
7071 * manual/socket.texi: Document MTASC-safety properties.
7072
8f3c25c8
AO
7073 * manual/signal.texi: Document MTASC-safety properties.
7074
542210fb
AO
70752014-01-31 Alexandre Oliva <aoliva@redhat.com>
7076
7077 * manual/setjmp.texi: Document MTASC-safety properties.
7078
433c45a2
AO
7079 * manual/search.texi: Document MTASC-safety properties.
7080
c8ce789c
AO
7081 * manual/resource.texi: Document MTASC-safety properties.
7082
19f5d29c
AO
7083 * manual/process.texi: Document MTASC-safety properties.
7084
e2dfb7f4
AO
7085 * manual/platform.texi: Document MTASC-safety properties.
7086
8c1413f5
AO
7087 * manual/pipe.texi: Document MTASC-safety properties.
7088
03483ada
AO
7089 * manual/pattern.texi: Document MTASC-safety properties.
7090
29e7e2df
AO
7091 * manual/message.texi: Document MTASC-safety properties.
7092
9f529d7c
AO
7093 [BZ #12751]
7094 * manual/memory.texi: Document MTASC-safety properties.
7095
27aaa791
AO
7096 * manual/math.texi: Document MTASC-safety properties.
7097
f2d58726
AO
7098 * manual/locale.texi: Document MTASC-safety properties.
7099
2cc3615c
AO
7100 * manual/llio.texi: Document MTASC-safety properties.
7101
d9f0ec97
AO
7102 * manual/libdl.texi: New.
7103
e7c4409a
AO
7104 * manual/lang.texi: Document MTASC-safety properties.
7105
27bdc63c
AO
7106 * manual/job.texi: Document MTASC-safety properties.
7107
a7b90ea9
AO
7108 * manual/getopt.texi: Document MTASC-safety properties.
7109
c49130e3
AO
7110 * manual/ctype.texi: Document MTASC-safety properties.
7111
0d23a5c1
MR
71122014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7113
7114 [BZ #16046]
7115 * csu/libc-tls.c (static_map): Remove variable.
7116 (__libc_setup_tls): Use main executable's link map for TLS data.
7117 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7118 casing for LM_ID_BASE and GL(dl_nns).
7119 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7120 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7121 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7122 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7123 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7124 member.
7125 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7126 l_phnum members.
7127
0037bb60
AO
71282014-01-30 Alexandre Oliva <aoliva@redhat.com>
7129
7130 * manual/debug.texi: Document MTASC-safety properties.
7131
409e00bd
L
71322014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7133
7134 [BZ #16510]
7135 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7136 of __x86_64__ when disabling x87 inline functions.
7137
86e60666
AO
71382014-01-29 Alexandre Oliva <aoliva@redhat.com>
7139
7140 * manual/charset.texi: Document MTASC-safety properties.
7141
76167637
AO
7142 * manual/crypt.texi: Document MTASC-safety properties.
7143
e567f2a0
AO
7144 * manual/conf.texi: Document MTASC-safety properties.
7145
b719dafd
AO
7146 * manual/arith.texi: Document MTASC-safety properties.
7147
4a16c662
AO
7148 * manual/argp.texi: Document MTASC-safety properties.
7149
0a57b83e
AO
7150 * manual/macros.texi: Introduce macros to document multi
7151 thread, asynchronous signal and asynchronous cancellation
7152 safety properties.
7153 * manual/intro.texi: Introduce the properties themselves.
7154
feab2397
KK
71552014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7156
7157 * sysdeps/sh/sh4/Makefile: New file.
7158
1c0d11bc
AS
71592014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7160
7161 * math/gen-libm-test.pl ($srcdir): New variable.
7162 ($auto_input): Use it.
7163
af37a8a3
SP
71642014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7165
d7b00f98
SP
7166 [BZ #16506]
7167 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7168 access beyond array bounds when parsing netgroups file.
7169
af37a8a3
SP
7170 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7171 the old buffer before realloc.
7172
0c00f062
AM
71732014-01-27 Allan McRae <allan@archlinux.org>
7174
7175 * po/fr.po: Update French translation from translation project.
7176
7d69a1b0
KK
71772014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7178
7179 * sysdeps/sh/libm-test-ulps: Regenerate.
7180
6e697ff7
DM
71812014-01-24 David S. Miller <davem@davemloft.net>
7182
7183 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7184
9cadb35c
KK
71852014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7186
7187 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7188 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7189
5d41dadf
SP
71902013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7191
7192 [BZ #16474]
7193 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7194 string pointers after reallocation.
7195
0bad441c
KK
71962014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7197
7198 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7199 __SH4A__ instead of __SH_FPU_ANY__.
7200
7007c661
KK
72012014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7202
7203 * sysdeps/sh/fpu_control.h: New file.
7204 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7205 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7206 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7207 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7208 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7209 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7210 * sysdeps/sh/sys/ucontext.h: Remove.
7211 * sysdeps/sh/sys: Remove directory.
7212
0f0c35e4
AK
72132014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7214
7215 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7216 s390/sys/ucontext.h.
7217 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7218 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7219
4959e284
L
72202014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7221
7222 [BZ #15605]
7223 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7224
d98720e0
AZ
72252014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7226
7227 [BZ#16431]
7228 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7229 Adjust the vDSO correctly for internal calls.
7230 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7231
91cbd0bc
AM
72322014-01-20 Allan McRae <allan@archlinux.org>
7233
7234 * po/ca.po: Update Catalan translation from translation project.
7235
7a02cfad
MF
72362014-01-16 Mike Frysinger <vapier@gentoo.org>
7237
7238 * sysdeps/s390/sotruss-lib.c: New file.
7239
736c304a
AZ
72402014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7241
7242 [BZ#16430]
6e077ee5 7243 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7244 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7245 local calls issues by not having a PLT stub required for IFUNC calls.
7246 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7247
94d0cea0
JM
72482014-01-16 Joseph Myers <joseph@codesourcery.com>
7249
7250 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7251 * math/test-fpucw-static.c: Likewise.
7252
980cb518
SP
72532013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7254
7255 [BZ #16453]
7256 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7257
2393fc01
AZ
72582014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7259
7260 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7261 implementation for powerpc.
7262
d359bcc2
OB
72632014-01-15 Ondřej Bílka <neleai@seznam.cz>
7264
7265 [BZ #14782]
7266 * sysdeps/posix/system.c (__libc_system): Do not enable
7267 asynchronous cancellation.
7268
7beb48cb
AK
72692014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7270
7271 [BZ #16427]
7272 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7273 handling only for numbers special also in the IEEE case.
7274
c20d5bf5
AK
72752014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7276
7277 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7278
e83bd4ee
AM
72792014-01-11 Allan McRae <allan@archlinux.org>
7280
76d0ea69
AM
7281 * po/bg.po: Update Bulgarian translation from translation project.
7282
e83bd4ee
AM
7283 * po/de.po: Update German translation from translation project.
7284
bc2ba20a
RM
72852014-01-10 Roland McGrath <roland@hack.frob.com>
7286
7287 * sysdeps/generic/gcc-compat.h: New file.
7288
649ecea2
SP
72892014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7290
7291 * benchtests/asin-inputs: Correct slow inputs.
7292 * benchtests/acos-inputs: Likewise.
7293
1b19c006
AM
72942014-01-10 Allan McRae <allan@archlinux.org>
7295
a46dab08
AM
7296 * po:sv.po: Update Swedish translation from translation project.
7297
421df74a
AM
7298 * po/vi.po: Update Vietnamese translation from translation project.
7299
d61c51a7
AM
7300 * po/eo.po: Update Esperanto translation from translation project.
7301
0339a319
AM
7302 * po/cs.po: Update Czech translation from translation project.
7303
94ad3e99
AM
7304 * po/nl.po: Update Dutch translation from translation project.
7305
e349ca71
AM
7306 * po/pl.po: Update Polish translation from translation project.
7307
ddf930c1
AM
7308 * po/ru.po: Update Russian translation from translation project.
7309
1b19c006
AM
7310 * po/uk.po: Update Ukrainian translation from translation project.
7311
9f236c49
BM
73122014-01-08 Brooks Moses <bmoses@google.com>
7313
7314 * elf/dl-load.c: Fix comment typo.
7315
cd6701cf
CD
73162014-01-08 Carlos O'Donell <carlos@redhat.com>
7317
7318 * po/header.pot: Rename to...
7319 * po/pot.header: ... this.
7320 * po/Makefile: Use pot.header.
7321
66671c84
YK
73222014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7323 Maxim Kuvyrkov <maxim@kugelworks.com>
7324
7325 [BZ #16394]
cd6701cf
CD
7326 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7327 SRC and DEST against LEN.
66671c84 7328
38f34581
AZ
73292014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7330
7331 [BZ #16414]
7332 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7333 implementation.
7334 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7335
73362014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7337
7338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7339
4c327f2a
JM
73402014-01-08 Joseph Myers <joseph@codesourcery.com>
7341
7342 [BZ #16408]
7343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7344 for large positive arguments.
7345
b821f414
JM
73462014-01-07 Joseph Myers <joseph@codesourcery.com>
7347
1f0f2067
JM
7348 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7349
a5a326f6
JM
7350 * math/auto-libm-test-in: Mark various tests with
7351 xfail-rounding:ldbl-128ibm.
7352 * math/auto-libm-test-out: Regenerated.
7353
b821f414
JM
7354 [BZ #16407]
7355 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7356 Increase overflow threshold.
7357
94c8a4bc
OB
73582014-01-07 Ondřej Bílka <neleai@seznam.cz>
7359
7360 [BZ #14286]
7361 * stdio-common/vfprintf.c: Check for integer overflow.
7362
87ded0c3
AK
73632014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7364
7365 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7366 the first argument and return value of __tls_get_addr_internal.
7367
c5eebdd0
AK
73682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7369
7370 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7371 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7372
05d138ef
AK
73732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7374
7375 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7376 * sysdeps/s390/rtld-global-offsets.sym: New file.
7377 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7378 GLIBC_2.19 symbol.
7379 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7380 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7381 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7382 ... this.
7383 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7384 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7385 ... this.
7386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7387 Regenerate.
7388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7389 Regenerate.
7390 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7391 halfs of GPRs for high_gprs contexts.
7392 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7393 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7394 field.
7395 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7396 uc_flags field.
7397 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7398 64 bit versions:
7399 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7400 for high GPRs (uc_high_gprs) and for future extensions
7401 (__reserved).
7402 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7403 for future extensions (__reserved).
7404 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7405 64 bit versions:
7406 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7407 SC_HIGHGPRS offset definition.
7408 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7409 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7410
93a45ff1
AK
7411 * Versions.def: Add GLIBC_2.19 for libpthread.
7412 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7413 siglongjmp for libpthread with GLIBC_2.19 symver.
7414 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7415 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7416 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7417 * sysdeps/s390/__longjmp.c: New file.
7418 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7419 * sysdeps/s390/longjmp.c: New file.
7420 * sysdeps/s390/setjmp.S: New file.
7421 * sysdeps/s390/sigjmp.S: New file.
7422 * sysdeps/s390/v1-longjmp.c: New file.
7423 * sysdeps/s390/v1-setjmp.h: New file.
7424 * sysdeps/s390/v1-sigjmp.c: New file.
7425 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7426 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7427 GLIBC_2.19 version.
7428 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7429 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7430 versioned symbols for ____longjmp_chk.
7431 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7432 Likewise.
7433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7434 Regenerate.
7435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7436 Regenerate.
7437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7438 Regenerate.
7439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7440 Regenerate.
7441 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7442 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7443 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7444 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7445 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7446 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7447 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7448 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7449 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7450 * sysdeps/s390/rtld-__longjmp.c: New file.
7451 * sysdeps/s390/rtld-setjmp.S: New file.
7452
eb3fc44b
JM
74532014-01-06 Joseph Myers <joseph@codesourcery.com>
7454
7455 [BZ #16400]
7456 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7457 Return -__logl (x) for small positive arguments without evaluating
7458 a polynomial.
7459
9341dde4
MF
74602014-01-06 Mike Frysinger <vapier@gentoo.org>
7461
7462 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7463 Rename to ...
7464 (__ptrace_peeksiginfo_args): ... this.
7465 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7466 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7467 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7468
4cff0293
AM
74692014-01-06 Allan McRae <allan@archlinux.org>
7470
7471 * inet/netinet/in.h: Fix typo in comment.
7472
75595dcf
AJ
74732014-01-05 Andreas Jaeger <aj@suse.de>
7474
7475 * sysdeps/i386/fpu/libm-test-ulps: Update.
7476
79c1e109
AM
74772014-01-05 Allan McRae <allan@archlinux.org>
7478
dd804818
AM
7479 * po/libc.pot: Regenerated.
7480
79c1e109
AM
7481 * malloc/memusagestat.c: Fix gettext call formatting.
7482
0c813d1f
SK
74832014-01-04 Sami Kerola <kerolasa@iki.fi>
7484
7485 * nscd/nscd.c: Improve usage() output.
7486
20f4a8d9
MF
74872014-01-04 Mike Frysinger <vapier@gentoo.org>
7488
7489 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7490 * sysdeps/unix/sysv/linux/configure: Regenerated.
7491 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7492 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7493
22562bb2
JM
74942014-01-03 Joseph Myers <joseph@codesourcery.com>
7495
7496 [BZ #16390]
7497 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7498 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7499
d7ad2d9b
AZ
75002014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7501
7502 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7503 extra tokens at end of #undef directive.
7504 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7505 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7506 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7507
7dd009d8
JM
75082014-01-03 Joseph Myers <joseph@codesourcery.com>
7509
24db925a
JM
7510 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7511
7dd009d8
JM
7512 * math/auto-libm-test-in: Mark various tests with
7513 xfail-rounding:ldbl-128ibm.
7514 * math/auto-libm-test-out: Regenerated.
7515
396e3ecf
JM
75162014-01-02 Joseph Myers <joseph@codesourcery.com>
7517
819e5d50
JM
7518 [BZ #16386]
7519 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7520 numbers with subnormal high part when calculating exponent.
7521
90b6a1e5
JM
7522 [BZ #16385]
7523 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7524 fabs.
7525
396e3ecf
JM
7526 [BZ #16384]
7527 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7528 M_LN2l.
7529 (__ieee754_acoshl): Use __log1pl not __log1p.
7530
6c8dbf00
OB
75312013-01-02 Ondřej Bílka <neleai@seznam.cz>
7532
57f41c40
AS
7533 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7534 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7535 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7536 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7537 (reused_arena, arena_get2): Convert to GNU style.
7538 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7539 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7540 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7541 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7542 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7543 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7544 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7545 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7546 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7547 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7548 * malloc/malloc.h: Likewise.
57f41c40
AS
7549 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7550 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7551 * malloc/mcheck.h: Likewise.
57f41c40
AS
7552 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7553 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7554 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7555 * malloc/morecore.c (__default_morecore): Likewise.
7556 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7557 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7558 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7559 (print_and_abort): Likewise.
6c8dbf00
OB
7560 * malloc/obstack.h: Likewise.
7561 * malloc/set-freeres.c (__libc_freeres): Likewise.
7562 * malloc/tst-mallocstate.c (main): Likewise.
7563 * malloc/tst-mtrace.c (main): Likewise.
7564 * malloc/tst-realloc.c (do_test): Likewise.
7565
d4124212
SP
75662013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7567
9a3c6a6f
SP
7568 [BZ #16366]
7569 * nscd/netgroupcache.c (do_notfound): New function.
7570 (addgetnetgrentX): Use it.
7571
d4124212
SP
7572 [BZ # 16365]
7573 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7574 NSS_STATUS_NOTFOUND.
7575
97b9a009
JM
75762014-01-01 Joseph Myers <joseph@codesourcery.com>
7577
7578 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7580
d4697bc9
AM
75812014-01-01 Allan McRae <allan@archlinux.org>
7582
ddb3687f
AM
7583 * scripts/update-copyrights: Update configure input file suffix.
7584
88726d48
AM
7585 * NEWS: Update copyright year.
7586 * catgets/gencat.c: Likewise.
7587 * csu/version.c: Likewise.
7588 * debug/catchsegv.sh: Likewise.
7589 * debug/pcprofiledump.c: Likewise.
7590 * debug/xtrace.sh: Likewise.
7591 * elf/ldconfig.c: Likewise.
7592 * elf/ldd.bash.in: Likewise.
7593 * elf/pldd.c: Likewise.
7594 * elf/sotruss.ksh: Likewise.
7595 * elf/sprof.c: Likewise.
7596 * iconv/iconv_prog.c: Likewise.
7597 * iconv/iconvconfig.c: Likewise.
7598 * locale/programs/locale.c: Likewise.
7599 * locale/programs/localedef.c: Likewise.
7600 * login/programs/pt_chown.c: Likewise.
7601 * malloc/memusage.sh: Likewise.
7602 * malloc/memusagestat.c: Likewise.
7603 * malloc/mtrace.pl: Likewise.
7604 * manual/libc.texinfo: Likewise.
7605 * nscd/nscd.c: Likewise.
7606 * nss/getent.c: Likewise.
7607 * nss/makedb.c: Likewise.
7608 * posix/getconf.c: Likewise.
7609 * scripts/test-installation.pl: Likewise.
7610
d4697bc9
AM
7611 * All files with FSF copyright notices: Update copyright dates
7612 using scripts/update-copyrights.
7613 * intl/plural.c: Regenerated.
7614 * locale/programs/charmap-kw.h: Likewise.
7615 * locale/programs/locfile-kw.h: Likewise.
7616
c8590f9d
MF
76172013-12-31 Mike Frysinger <vapier@gentoo.org>
7618
7619 * sysdeps/unix/sysv/linux/configure: Regenerated.
7620 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7621 the linux/fanotify.h header.
7622 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7623 HAVE_LINUX_FANOTIFY_H is defined.
7624
b19221b9
SP
76252013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7626
dd1d85e5
SP
7627 * benchtests/cos-inputs: New inputs.
7628 * benchtests/sin-inputs: Likewise.
7629
1acbb90f
SP
7630 * benchtests/atan-inputs: New inputs. Fix name of multiple
7631 precision fallback inputs.
7632
4c012ed3
SP
7633 * benchtests/atanh-inputs: New inputs.
7634 * benchtests/tanh-inputs: Likewise.
7635
eff98324
SP
7636 * benchtests/acosh-inputs: New inputs.
7637 * benchtests/asinh-inputs: Likewise.
7638
ce641152
SP
7639 * benchtests/cosh-inputs: New inputs.
7640 * benchtests/sinh-inputs: Likewise.
7641
b19221b9
SP
7642 * benchtests/acos-inputs: Add more inputs.
7643 * benchtests/asin-inputs: Likewise.
7644
030a4976 76452013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7646
030a4976 7647 [BZ #16375]
9dcc8f11
VS
7648 * manual/arith.texi: Fix spelling.
7649 * manual/charset.texi: Likewise.
7650 * manual/errno.texi: Likewise.
7651 * manual/filesys.texi: Likewise.
7652 * manual/lang.texi: Likewise.
7653 * manual/llio.texi: Likewise.
7654 * manual/locale.texi: Likewise.
7655 * manual/message.texi: Likewise.
7656 * manual/resource.texi: Likewise.
7657 * manual/search.texi: Likewise.
7658 * manual/setjmp.texi: Likewise.
7659 * manual/stdio.texi: Likewise.
7660 * manual/string.texi: Likewise.
7661 * manual/sysinfo.texi: Likewise.
7662 * manual/time.texi: Likewise.
7663
11520a57
CD
76642013-12-27 Carlos O'Donell <carlos@redhat.com>
7665
7666 * po/sl.po: New file.
7667
471103ae
MF
76682013-12-27 Mike Frysinger <vapier@gentoo.org>
7669
7670 * .gitignore: Add core/.gdbinit/.gdb_history.
7671
6c9642ed
AM
76722013-12-27 Allan McRae <allan@archlinux.org>
7673
7674 [BZ #16369]
7675 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7676 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7677
3f637079
BM
76782013-12-24 Brooks Moses <bmoses@google.com>
7679
7680 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7681 all compilers that claim C++98 compliance, not just GCC.
7682 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7683 Likewise.
7684
abc26e99
MK
76852013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7686
7687 * NEWS: Restore accidentally deleted bug-fix entries.
7688
362b47fe
MK
76892013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7690 Ondřej Bílka <neleai@seznam.cz>
7691
7692 [BZ #15073]
7693 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7694 have_lock.
362b47fe 7695
b9bcbbcb
OB
76962013-12-23 Ondřej Bílka <neleai@seznam.cz>
7697
7698 [BZ #12986]
7699 * manual/stdio.texi (String Input Conversions): Clarify that character
7700 classes are not supported.
7701
fb55fcd2
AZ
77022013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7703
7704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7705
ef7344f0
JM
77062013-12-22 Joseph Myers <joseph@codesourcery.com>
7707
4f40e4b3
JM
7708 [BZ #16337]
7709 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7710 Calculate results for small negative arguments directly rather
7711 than using reflection formula with special underflow handling.
7712
ef7344f0
JM
7713 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7714 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7715 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7716 (fchflags): Likewise.
7717 (revoke): Likewise.
7718 (setlogin): Likewise.
7719 (sigaltstack): Likewise.
7720 (wait4): Likewise.
7721 (sigblock): Remove.
7722 (sigsetmask): Likewise.
7723 (wait3): Likewise.
7724 (waitpid): Likewise.
7725 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7726 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7727 file.
7728 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7729 * sysdeps/unix/bsd/Makefile: ... here.
7730 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7731 * sysdeps/unix/bsd/Versions: ... here.
7732 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7733 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7734 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7735 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7736 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7737 * sysdeps/unix/bsd/sigblock.c: ... here.
7738 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7739 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7740 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7741 * sysdeps/unix/bsd/sigvec.c: ... here.
7742 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7743 * sysdeps/unix/bsd/tcdrain.c: ... here.
7744 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7745 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7746 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7747 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7748 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7749 * sysdeps/unix/bsd/wait.c: ... here.
7750 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7751 * sysdeps/unix/bsd/wait3.c: ... here.
7752 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7753 * sysdeps/unix/bsd/waitpid.c: ... here.
7754
5b0626b9
JM
77552013-12-21 Joseph Myers <joseph@codesourcery.com>
7756
7757 [BZ #16356]
7758 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7759 round-to-nearest for [!USE_AS_EXPM1L].
7760 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7761 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7762 more tests of exp and exp10. Expect some exp10 tests to miss
7763 exceptions or fail in directed rounding modes.
7764 * math/auto-libm-test-out: Regenerated.
7765 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7766 (exp10_test_tonearest): New function.
7767 (exp10_towardzero_test_data): New array.
7768 (exp10_test_towardzero): New function.
7769 (exp10_downward_test_data): New array.
7770 (exp10_test_downward): New function.
7771 (exp10_upward_test_data): New array.
7772 (exp10_test_upward): New function.
7773 (main): Call the new functions.
7774 * sysdeps/i386/fpu/libm-test-ulps: Update.
7775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7776
7fda5682
JM
77772013-12-20 Joseph Myers <joseph@codesourcery.com>
7778
31e3a405
JM
7779 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7780 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7781 * math/auto-libm-test-out: Regenerated.
7782 * math/libm-test.inc (acosh_test_data): Add more tests.
7783 (atanh_test_data): Likewise.
7784 (ceil_test_data): Likewise.
7785 (copysign_test_data): Likewise.
7786 * sysdeps/i386/fpu/libm-test-ulps: Update.
7787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7788
85bff96a
JM
7789 * timezone/checktab.awk: Update from tzcode 2013i.
7790 * timezone/private.h: Likewise.
7791 * timezone/scheck.c: Likewise.
7792 * timezone/tzfile.h: Likewise.
7793 * timezone/tzselect.ksh: Likewise.
7794 * timezone/zdump.c: Likewise.
7795 * timezone/zic.c: Likewise.
7796
b7867a3b
JM
7797 * math/auto-libm-test-in: Add tests of cpow.
7798 * math/auto-libm-test-out: Regenerated.
7799 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7800 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7801 mpc_cc_c.
7802 (func_calc_desc): Add mpc_cc_c union field.
7803 (test_functions): Add cpow.
7804 (special_fill_2pi): New function.
7805 (special_real_inputs): Add 2pi.
7806 (calc_generic_results): Handle mpc_cc_c.
7807 * sysdeps/i386/fpu/libm-test-ulps: Update.
7808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7809
7fda5682
JM
7810 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7811 csqrt, ctan and ctanh.
7812 * math/auto-libm-test-out: Regenerated.
7813 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7814 (TEST_COND_x86): Likewise.
7815 (ccos_test_data): Use AUTO_TESTS_c_c.
7816 (ccosh_test_data): Likewise.
7817 (cexp_test_data): Likewise.
7818 (clog_test_data): Likewise.
7819 (csqrt_test_data): Likewise.
7820 (ctan_test_data): Likewise.
7821 (ctan_tonearest_test_data): Likewise.
7822 (ctan_towardzero_test_data): Likewise.
7823 (ctan_downward_test_data): Likewise.
7824 (ctan_upward_test_data): Likewise.
7825 (ctanh_test_data): Likewise.
7826 (ctanh_tonearest_test_data): Likewise.
7827 (ctanh_towardzero_test_data): Likewise.
7828 (ctanh_downward_test_data): Likewise.
7829 (ctanh_upward_test_data): Likewise.
7830 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7831 mpc_c_c.
7832 (func_calc_desc): Add mpc_c_c union field.
7833 (FUNC_mpc_c_c): New macro.
7834 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7835 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7836 ctanh.
7837 (special_fill_min_subnorm_p120): New function.
7838 (special_real_inputs): Add min_subnorm_p120.
7839 (calc_generic_results): Handle mpc_c_c.
7840 * sysdeps/i386/fpu/libm-test-ulps: Update.
7841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7842
5ff8d60e
SP
78432013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7844
57f41c40
AS
7845 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7846 (do_sin_slow): New functions.
7847 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7848 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7849
84ba214c
SP
7850 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7851 Use M to change sign of result instead of X. Assume X is
7852 positive.
7853 (csloww1): Likewise.
7854 (__sin): Adjust.
7855 (__cos): Adjust.
7856
975195e4
SP
7857 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7858 arguments A and DA.
7859 (__sin): Adjust.
7860 (__cos): Likewise.
7861
5ff8d60e
SP
7862 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7863 (__cos): Likewise.
7864 (sloww1): Don't adjust sign of DX.
7865 (csloww1): Likewise.
7866 (sloww2): Use X directly and don't adjust sign of DX.
7867 (csloww2): Likewise.
7868
eb983568
JM
78692013-12-19 Joseph Myers <joseph@codesourcery.com>
7870
64a17f1a
JM
7871 * math/auto-libm-test-in: Add tests of cabs and carg.
7872 * math/auto-libm-test-out: Regenerated.
7873 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7874 (carg_test_data): Likewise.
7875 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7876 mpc_c_f.
7877 (func_calc_desc): Add mpc_c_f union field.
7878 (test_functions): Add cabs and carg.
7879 (calc_generic_results): Handle mpc_c_f.
7880
eb983568
JM
7881 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7882 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7883 as a macro and a compat symbol.
7884 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7885 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7886 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7887 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7888 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7889 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7890 not use .hidden.
7891 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7892 Likewise.
7893 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7894 Likewise.
7895 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7896 Likewise.
7897 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7898 Likewise.
7899 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7900 Likewise.
7901 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7902 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7903 from GLIBC_2.3.2.
7904
6eeb678a
AZ
79052013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7906
7907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7908
6f6fc482
JM
79092013-12-19 Joseph Myers <joseph@codesourcery.com>
7910
21fea2e2
JM
7911 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7912 trailing whitespace removed.
7913 * scripts/config.guess: Update to version 2013-11-29.
7914 * scripts/config.sub: Update to version 2013-10-01.
7915
6f6fc482
JM
7916 * math/auto-libm-test-in: Add tests of sincos.
7917 * math/auto-libm-test-out: Regenerated.
7918 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7919 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7920 mpfr_f_11.
7921 (func_calc_desc): Add mpfr_f_11 union field.
7922 (test_functions): Add sincos.
7923 (calc_generic_results): Handle mpfr_f_11.
7924 * sysdeps/i386/fpu/libm-test-ulps: Update.
7925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7926
83f5c32d
AS
79272013-12-19 Andreas Schwab <schwab@suse.de>
7928
7929 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7930 CALL_MCOUNT.
7931 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7932 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7933 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7934
c688b419
JM
79352013-12-19 Joseph Myers <joseph@codesourcery.com>
7936
335ee092
JM
7937 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7938 * sysdeps/i386/fpu/libm-test-ulps: Update.
7939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7940
f88acd39
JM
7941 [BZ #16293]
7942 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7943 round-to-nearest mode when using frndint.
7944 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7945 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7946 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7947 Likewise.
7948 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7949 sinh test to fail.
7950 * math/auto-libm-test-out: Regenerated.
7951 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7952 (TEST_COND_x86): Likewise.
7953 (expm1_tonearest_test_data): New array.
7954 (expm1_test_tonearest): New function.
7955 (expm1_towardzero_test_data): New array.
7956 (expm1_test_towardzero): New function.
7957 (expm1_downward_test_data): New array.
7958 (expm1_test_downward): New function.
7959 (expm1_upward_test_data): New array.
7960 (expm1_test_upward): New function.
7961 (main): Run the new test functions.
7962 * sysdeps/i386/fpu/libm-test-ulps: Update.
7963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7964
c688b419
JM
7965 * include/features.h: Update comment documenting feature test
7966 macros. Mention _DEFAULT_SOURCE in comment.
7967 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7968 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7969 _BSD_SOURCE and _SVID_SOURCE.
7970 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7971 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7972 !_SVID_SOURCE]: Likewise.
7973 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7974 (__USE_POSIX_IMPLICITLY): Define.
7975 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7976 (_POSIX_SOURCE): Undefine and redefine.
7977 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7978 (_POSIX_C_SOURCE): Likewise.
7979 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7980 (Feature Test Macros): Update documentation of default features.
7981
9f6e964c
RS
79822013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7983
7984 * benchtests/Makefile: Add bench-strtok.
7985 * benchtests/bench-strtok.c: New file: strtok benchtest.
7986
ee0a148a
AM
79872013-12-19 Allan McRae <allan@archlinux.org>
7988
7989 * manual/install.texi: Suppress menu for plain text output.
7990 * INSTALL: Regenerated.
7991
b9ab448f
BM
79922013-12-18 Brooks Moses <bmoses@google.com>
7993
7994 [BZ #15846]
7995 * misc/getauxval.c: Include errno.h.
7996 (__getauxval): Set errno to ENOENT if the requested type is not
7997 found.
7998 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7999 don't declare with __attribute_const__.
8000 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8001 * manual/startup.texi: Document that getauxval sets errno.
8002
23776487
JM
80032013-12-18 Joseph Myers <joseph@codesourcery.com>
8004
f889953b
JM
8005 * math/auto-libm-test-in: Add tests of jn and yn.
8006 * math/auto-libm-test-out: Regenerated.
8007 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8008 (yn_test_data): Likewise.
8009 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8010 mpfr_if_f.
8011 (func_calc_desc): Add mpfr_if_f union field.
8012 (FUNC_mpfr_if_f): New macro.
8013 (test_functions): Add jn and yn.
8014 (calc_generic_results): Assert type of second input for
8015 mpfr_ff_f. Handle mpfr_if_f.
8016 (output_for_one_input_case): Disable all checking for arguments
8017 fitting floating-point types in case of an integer argument.
8018 * sysdeps/i386/fpu/libm-test-ulps: Update.
8019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8020
23776487
JM
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8022 Don't expect fegetround reference in libm.so.
8023
cb756c6d
MS
80242013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8025
8026 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8027 $(config-cflags-nofma).
8028
2dec468f
JM
80292013-12-18 Joseph Myers <joseph@codesourcery.com>
8030
5953eb3a
JM
8031 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8032 * math/auto-libm-test-out: Regenerated.
8033
2dec468f
JM
8034 [BZ #16338]
8035 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8036 to determine exponent and adjust argument to have exponent of -1.
8037 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8038 log2.
8039 * math/auto-libm-test-out: Regenerated.
8040 * sysdeps/i386/fpu/libm-test-ulps: Update.
8041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8042
4d84e6ad
OB
80432013-12-18 Ondřej Bílka <neleai@seznam.cz>
8044
8045 * manual/probes.texi: Remove cases when per-thread arenas are
8046 disabled.
8047
1818483b
AS
80482013-12-18 Andreas Schwab <schwab@suse.de>
8049
8050 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8051 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8052 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8053 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8054 * sysdeps/i386/i686/multiarch/Makefile: Update.
8055 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8056
25de95bf
JM
80572013-12-17 Joseph Myers <joseph@codesourcery.com>
8058
8059 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8060 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8061
674762d9
PE
80622013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8063
ed27ed83 8064 [BZ #15968]
0748546f
PE
8065 Support TZ transition times < 00:00:00.
8066 This is needed for version-3 tz-format files; it supports time
8067 stamps past 2037 for America/Godthab (the only entry in the tz
8068 database for which this change is relevant).
8069 * manual/time.texi (TZ Variable): Document transition times
8070 from -167:59:59 through -00:00:01.
8071 * time/tzset.c (tz_rule): Time of day is now signed.
8072 (__tzset_parse_tz): Parse negative time of day.
8073
4480e934
PE
8074 Document TZ transition times >= 25:00:00.
8075 * manual/time.texi (TZ Variable): Document transition times from
8076 25:00:00 through 167:59:59. These are already supported, and this
8077 support will help with version-3 tz-format files.
8078
69947401
PE
8079 * manual/time.texi (TZ Variable): Modernize North America example
8080 to reflect current (i.e., 2007-and-later) daylight saving rules.
8081
674762d9
PE
8082 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8083
7011c262
JM
80842013-12-17 Joseph Myers <joseph@codesourcery.com>
8085
2fc6557e
JM
8086 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8087 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8088 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8089 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8090 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8091 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8092 * sysdeps/unix/bsd/clock.c: Likewise.
8093 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8094 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8095 * sysdeps/unix/bsd/init-posix.c: Likewise.
8096 * sysdeps/unix/bsd/poll.c: Likewise.
8097 * sysdeps/unix/bsd/ptsname.c: Likewise.
8098 * sysdeps/unix/bsd/seekdir.c: Likewise.
8099 * sysdeps/unix/bsd/setegid.c: Likewise.
8100 * sysdeps/unix/bsd/seteuid.c: Likewise.
8101 * sysdeps/unix/bsd/setgid.c: Likewise.
8102 * sysdeps/unix/bsd/setrgid.c: Likewise.
8103 * sysdeps/unix/bsd/setruid.c: Likewise.
8104 * sysdeps/unix/bsd/setsid.c: Likewise.
8105 * sysdeps/unix/bsd/setuid.c: Likewise.
8106 * sysdeps/unix/bsd/sigaction.c: Likewise.
8107 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8108 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8109 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8110 * sysdeps/unix/bsd/telldir.c: Likewise.
8111 * sysdeps/unix/bsd/times.c: Likewise.
8112 * sysdeps/unix/bsd/usleep.c: Likewise.
8113
029c7b25
JM
8114 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8115 ($(objpfx)libbsd-compat.a): Remove rule.
8116
7011c262
JM
8117 * include/features.h (__FAVOR_BSD): Do not define.
8118 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8119 features conflicting with POSIX.
8120 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8121 (_BSD_SOURCE): Remove description of not being a subset of other
8122 feature test macros.
8123 * manual/job.texi (getpgrp): Do not document BSD version.
8124 (getpgid): Do not document by reference to BSD getpgrp.
8125 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8126 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8127 * signal/signal.h [__FAVOR_BSD]: Likewise.
8128 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8129 instead of making contents conditional on [__FAVOR_BSD].
8130 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8131
affb6f78
AZ
81322013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8133
8134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8135
c88769dd
JM
81362013-12-17 Joseph Myers <joseph@codesourcery.com>
8137
6432a540
JM
8138 [BZ #16314]
8139 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8140 values below 2**-450, not 2**-500.
8141 * math/auto-libm-test-in: Don't allow spurious underflow from
8142 hypot.
8143 * math/auto-libm-test-out: Regenerated.
8144
c88769dd
JM
8145 [BZ #16316]
8146 [BZ #16330]
8147 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8148 values of ha and hb and sort them after adjusting subnormal
8149 arguments.
8150 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8151 Likewise.
8152 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8153 values of ea and eb and sort them after adjusting subnormal
8154 arguments.
8155 * math/auto-libm-test-in: Do not expect some hypot tests of
8156 subnormals to fail. Add more hypot tests.
8157 * math/auto-libm-test-out: Regenerated.
8158
29618f6b
KK
81592013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8160
8161 [BZ #13304]
8162 * sysdeps/sh/s_fma.c: New file.
8163 * sysdeps/sh/s_fmaf.c: New file.
8164 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8165 version.
8166 * sysdeps/sh/Implies: Add sh/soft-fp.
8167
eacfdfbf
RM
81682013-12-16 Roland McGrath <roland@hack.frob.com>
8169
8170 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8171 level of indirection to members `objname', `errstring', `malloced'.
8172 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8173 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8174 it as the __longjmp argument (just pass 1 instead).
8175 (_dl_catch_error): Initialize C with argument pointers and address of
8176 volatile local ERRCODE rather than copying values out of C at return.
8177
ff362e5b
JM
81782013-12-16 Joseph Myers <joseph@codesourcery.com>
8179
8180 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8181 * math/auto-libm-test-out: Regenerated.
8182 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8183 (hypot_test_data): Likewise.
8184 (pow_test_data): Likewise.
8185 (pow_tonearest_test_data): Likewise.
8186 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8187 mpfr_ff_f.
8188 (func_calc_desc): Add mpfr_ff_f union field.
8189 (FUNC_mpfr_ff_f): New macro.
8190 (test_functions): Add atan2, hypot and pow.
8191 (special_fill_min): New function.
8192 (special_fill_minus_min): Likewise.
8193 (special_fill_min_subnorm): Likewise.
8194 (special_fill_minus_min_subnorm): Likewise.
8195 (special_real_inputs): Add min, -min, min_subnorm and
8196 -min_subnorm.
8197 (calc_generic_results): Handle mpfr_ff_f.
8198 * sysdeps/i386/fpu/libm-test-ulps: Update.
8199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8200
5764c27f
WN
82012013-12-16 Will Newton <will.newton@linaro.org>
8202
8203 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8204 (Aligned Memory Blocks): Add documentation for aligned_alloc
8205 and suggest it as an alternative to posix_memalign.
8206 (Hooks for Malloc): Document __memalign_hook is also called
8207 for aligned_alloc. (Summary of Malloc): Add summary for
8208 aligned alloc. Document __memalign_hook is also called
8209 for aligned_alloc.
8210
0a096e44
WN
82112013-12-16 Will Newton <will.newton@linaro.org>
8212
8213 * manual/memory.texi (Malloc Examples): Clarify default
8214 alignment documentation. Suggest posix_memalign rather
8215 than memalign or valloc.
8216 (Aligned Memory Blocks): Remove suggestion to use memalign
8217 or valloc. Remove obsolete comment about BSD.
8218 Document memalign errno values and mark the function obsolete.
8219 Document posix_memalign returned error codes. Mark valloc
8220 as obsolete. (Hooks for Malloc): __memalign_hook is also
8221 called for posix_memalign and valloc.
8222 (Summary of Malloc): Add posix_memalign to function summary.
8223 __memalign_hook is also called for posix_memalign and valloc.
8224
8d561986
SP
82252013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8226
8227 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8228 TAYLOR_SIN.
8229 (__sin): Adjust.
8230 (__cos): Likewise.
8231 (sloww): Use mynumber union. Expand ternary operator into
8232 if-else statements.
8233 (cslow): use mynumber union.
8234
73616a74
AM
82352013-12-16 Allan McRae <allan@archlinux.org>
8236
9e8ac24b
AM
8237 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8238 * configure: Regenerated.
8239
6f8e37eb
AM
8240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8241
8894bad3
AM
8242 [BZ #14120]
8243 * configure.ac: Added --enable-maintainer-mode. Check for
8244 autoconf when enabled.
8245 * configure: Regenerated.
8246
73616a74
AM
8247 * nscd/nscd.service: New file.
8248 * nscd/nscd.tmpfiles: New file.
8249
584b18eb
OB
82502013-12-14 Ondřej Bílka <neleai@seznam.cz>
8251
8252 [BZ #12100]
8253 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8254 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8255 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8256 (strstr): Add __strstr_sse2_unaligned ifunc.
8257 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8258 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8259 (strcasestr): Remove __strcasestr_sse42 ifunc.
8260 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8263
8a5c7897
KK
82642013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8265
8266 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8267 * sysdeps/sh/bits/fenv.h: ... here.
8268 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8269
fd712ef3
AZ
82702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8271
8272 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8273
42fcb46c
AZ
8274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8275 hypotf multiarch implementations.
8276 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8278 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8279 multiarch hypot for PPC64.
8280 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8281 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8282 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8283 multiarch hypotf for PPC64.
8284
83efded4
AZ
8285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8286 modff multiarch implementations.
8287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8290 multiarch modf for PPC64.
8291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8294 multiarch modff for PPC64.
8295
43e246d2
AZ
8296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8297 and logl multiarch implementations.
8298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8301 multiarch logb for PPC64.
8302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8305 multiarch logb for PPC64.
8306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8309 multiarch logb for PPC64.
8310
8fdad123
AZ
8311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8312 isinff multiarch implementation.
8313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8314 file.
8315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8317 multiarch isinf for PPC64.
8318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8319 file.
8320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8321 multiarch isinff for PPC64.
8322
1481d706
AZ
8323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8324 finitef multiarch implementation.
8325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8326 file.
8327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8329 multiarch finite for PPC64.
8330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8331 file.
8332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8333 multiarch finitef for PPC64.
8334
5ccd5fc8
AZ
8335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8336 lrint multiarch implementation.
8337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8338 file.
8339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8341 multiarch llrint for PPC64.
8342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8343 multiarch lrint for PPC64.
8344
2568f3fa
AZ
8345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8346 copysignf multiarch implementation.
8347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8348 file.
8349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8350 file.
8351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8352 multiarch copysign for PPC64.
8353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8354 multiarch copysignf for PPC64.
8355
1cb341fd
AZ
8356 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8357 multiarch implementation.
8358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8359 file.
8360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8361 file.
8362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8363 file.
8364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8365 file.
8366 multiarch llround for PPC64.
8367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8368 multiarch trunc for PPC64.
8369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8370 multiarch truncf for PPC64.
8371
59a3e194
AZ
8372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8373 multiarch implementation.
8374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8375 file.
8376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8377 file.
8378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8379 file.
8380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8381 file.
8382 multiarch llround for PPC64.
8383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8384 multiarch round for PPC64.
8385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8386 multiarch roundf for PPC64.
8387
357fd3b4
AZ
8388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8389 multiarch implementation.
8390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8391 file.
8392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8393 file.
8394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8395 file.
8396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8397 file.
8398 multiarch llround for PPC64.
8399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8400 multiarch floor for PPC64.
8401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8402 multiarch floorf for PPC64.
8403
96770f12
AZ
8404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8405 multiarch implementation.
8406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8407 file.
8408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8409 file.
8410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8411 file.
8412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8413 file.
8414 multiarch llround for PPC64.
8415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8416 multiarch ceil for PPC64.
8417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8418 multiarch ceilf for PPC64.
8419
c3627f6e
AZ
8420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8421 multiarch implementation.
8422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8423 file.
8424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8425 file.
8426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8427 file.
8428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8429 multiarch llround for PPC64.
8430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8431 multiarch lround for PPC64.
8432
b2284ad7
AZ
8433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8434 multiarch implementation.
8435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8438 file.
8439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8442 multiarch isnan for PPC64.
8443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8444 multiarch isnanf for PPC64.
8445
69bbc63d
AZ
8446 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8447 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8448 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8449 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8450 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8452
c24517c9
AZ
8453 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8454 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8455 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8456 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8457
a52374e8
AZ
8458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8459 multiarch implementations.
8460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8461 (__libc_ifunc_impl_list): Likewise.
8462 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8463 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8464 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8465 multiarch stpcpy for PPC64.
8466
7f5ec113
AZ
8467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8468 multiarch implementations.
8469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8470 (__libc_ifunc_impl_list): Likewise.
8471 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8472 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8473 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8474 multiarch strcpy for PPC64.
8475
e28bcd42
AZ
8476 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8477 redefine function name.
8478 (_wordcopy_fwd_dest_aligned): Likewise.
8479 (_wordcopy_bwd_aligned): Likewise.
8480 (_wordcopy_bwd_dest_aligned): Likewise.
8481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8482 multiarch implementations.
8483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8484 (__libc_ifunc_impl_list): Likewise.
8485 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8486 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8487 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8488 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8489 multiarch wcscpy for PPC64.
8490
92cacfce
AZ
8491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8492 multiarch implementations.
8493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8494 (__libc_ifunc_impl_list): Likewise.
8495 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8496 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8497 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8498 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8499 multiarch wcscpy for PPC64.
8500
7b714620
AZ
8501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8502 multiarch implementations.
8503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8504 (__libc_ifunc_impl_list): Likewise.
8505 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8506 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8507 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8508 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8509 multiarch wcsrchr for PPC64.
8510
16fd2ae3
AZ
8511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8512 multiarch implementations.
8513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8514 (__libc_ifunc_impl_list): Likewise.
8515 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8516 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8517 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8518 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8519 multiarch wcschr for PPC64.
8520
9ee2969b
AZ
8521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8522 multiarch implementations.
8523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8524 (__libc_ifunc_impl_list): Likewise.
8525 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8526 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8527 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8528 multiarch strchrnul for PPC64.
8529
372dc060
AZ
8530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8531 implementations.
8532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8533 (__libc_ifunc_impl_list): Likewise.
8534 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8535 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8536 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8537 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8538 strchr for PPC64.
8539
24c2c3b9
AZ
8540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8541 implementations.
8542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8543 (__libc_ifunc_impl_list): Likewise.
8544 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8545 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8546 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8547 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8548 strncmp for PPC64.
8549
1c92d9a0
AZ
8550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8551 multiarch implementations.
8552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8553 (__libc_ifunc_impl_list): Likewise.
8554 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8555 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8556 strncasecmp for PPC64.
8557 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8558 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8559 multiarch strncasecmp_l for PPC64.
8560
17de3ee3
AZ
8561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8562 multiarch implementations.
8563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8564 (__libc_ifunc_impl_list): Likewise.
8565 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8566 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8567 multiarch strcasecmp for PPC64.
8568 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8569 file.
8570 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8571 multiarch strcasecmp_l for PPC64.
8572
62982bf9
AZ
8573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8574 implementations.
8575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8576 (__libc_ifunc_impl_list): Likewise.
8577 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8578 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8579 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8580 strnlen for PPC64.
8581
a65f4904
AZ
8582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8583 implementations.
8584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8585 (__libc_ifunc_impl_list): Likewise.
8586 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8587 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8588 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8589 strlen for PPC64.
8590
1fd005ad
AZ
8591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8592 implementations.
8593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8594 (__libc_ifunc_impl_list): Likewise.
8595 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8596 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8597 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8598 rawmemrchr for PPC64.
8599
cd05ba91
AZ
8600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8601 implementation.
8602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8603 (__libc_ifunc_impl_list): Likewise.
8604 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8605 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8606 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8607 memrchr for PPC64.
8608
870f8676
AZ
8609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8610 implementation.
8611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8612 (__libc_ifunc_impl_list): Likewise.
8613 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8614 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8615 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8616 memchr for PPC64.
8617
f00be62b
AZ
8618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8619 implementation.
8620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8621 (__libc_ifunc_impl_list): Likewise.
8622 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8623 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8624 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8625 mempcpy for PPC64.
8626
8a29a3d0
AZ
8627 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8628 avoid cretion of __bzero symbol.
8629 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8630 Likewise.
8631 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8632 Likewise.
8633 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8634 Likewise.
8635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8636 multiarch implementations.
8637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8638 (__libc_ifunc_impl_list): Likewise.
8639 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8640 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8641 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8642 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8643 bzero for PPC32.
8644 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8645 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8646 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8647 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8648 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8649 memset for PPC64.
8650 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8651
07253fcf
AZ
8652 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8654 implementations.
8655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8656 (__libc_ifunc_impl_list): Likewise.
8657 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8658 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8659 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8660 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8661 memcmp for PPC64.
8662
b5beafbc
AZ
8663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8664 multiarch for POWER/PPC64.
8665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8666 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8667 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8668 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8669 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8670 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8671 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8672 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8673 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8674 memcpy for PPC64.
8675
5e6a4d4b
AZ
8676 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8677 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8678 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8679 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8680 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8681 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8682 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8683 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8684 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8685 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8686 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8687 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8688 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8689 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8690 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8698
ddfab6dc
KK
86992013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8700
8701 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8702
19b5525e
SP
87032013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8704
8705 * benchtests/Makefile (bench): Add exp2 and log2.
8706 (LDLIBS-bench-exp2): Add -lm.
8707 (LDLIBS-bench-log2): Likewise.
8708 * benchtests/exp2-inputs: New inputs file.
8709 * benchtests/log2-inputs: New inputs file.
8710 * benchtests/log-inputs: Add new inputs.
8711 * benchtests/tan-inputs: Likewise.
8712
196f7f5d
SP
87132013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8714
7a74607f
SP
8715 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8716 definition...
57f41c40
AS
8717 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8718 (csloww2): ... from here.
7a74607f 8719
196f7f5d
SP
8720 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8721 instead of structures.
8722 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8723 (POLYNOMIAL): Likewise.
8724 (TAYLOR_SLOW): Likewise.
8725 (__sin): Likewise.
8726 (__cos): Likewise.
8727 (slow1): Likewise.
8728 (slow2): Likewise.
8729 (sloww): Likewise.
8730 (sloww1); Likewise.
8731 (sloww2): Likewise.
8732 (bsloww1): Likewise.
8733 (bsloww2): Likewise.
8734 (cslow2): Likewise.
8735 (csloww): Likewise.
8736 (csloww1): Likewise.
8737 (csloww2): Likewise.
8738
0dfa665c
OB
87392013-12-10 Ondřej Bílka <neleai@seznam.cz>
8740
8741 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8742 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8743 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8744 * malloc/hooks.c (realloc_check): Likewise.
8745
5782a80f
OB
8746 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8747 * malloc/arena.c: Remove PER_THREAD conditional.
8748 [!PER_THREAD]: Remove code.
8749 (ptmalloc_unlock_all2): Likewise.
8750 (ptmalloc_init): Likewise.
8751 (_int_new_arena): Likewise.
8752 (arena_get2): Likewise.
8753 * malloc/hooks.c (__malloc_get_state): Likewise.
8754 (__malloc_set_state): Likewise.
8755 * malloc/malloc.c: Likewise.
8756 (struct malloc_state): Likewise.
8757 (struct malloc_par): Likewise.
8758 (__libc_realloc): Likewise.
8759 (__libc_mallopt): Likewise.
8760
aeb95445
AZ
87612013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8762
8763 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8764
e8349efd
OB
87652013-12-09 Ondřej Bílka <neleai@seznam.cz>
8766
8767 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8768 macro to a function. Check for zero perturb_byte.
8769 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8770
f3eeb3fc 8771 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8772 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8773 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8774 force_reg by atomic_forced_read.
8775 * malloc/arena.c (ptmalloc_init): Likewise.
8776 * malloc/hooks.c (top_check): Likewise.
8777
be2f9009
AZ
87782013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8779
8780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8781
e7b914bd
MT
87822013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8783
8784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8785
9f0be4f8
JM
87862013-12-08 Joseph Myers <joseph@codesourcery.com>
8787
8788 * math/auto-libm-test-in: Add tests of lgamma.
8789 * math/auto-libm-test-out: Regenerated.
8790 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8791 (M_LOG_2_SQRT_PIl): Likewise.
8792 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8793 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8794 mpfr_f_f1.
8795 (func_calc_desc): Add mpfr_f_f1 union field.
8796 (ARGS1): New macro.
8797 (ARGS2): Likewise.
8798 (ARGS3): Likewise.
8799 (ARGS4): Likewise.
8800 (RET1): Likewise.
8801 (RET2): Likewise.
8802 (CALC): Likewise.
8803 (FUNC): Likewise.
8804 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8805 (test_functions): Add lgamma.
8806 (calc_generic_results): Handle mpfr_f_f1.
8807 * sysdeps/i386/fpu/libm-test-ulps: Update.
8808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8809
24eeafdb
AZ
88102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8811
8812 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8813 __mpn_add_n for PowerPC64/POWER7.
8814 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8815 __mpn_sub_n for PowerPC64/POWER7.
8816
4a2c0fd4
AZ
8817 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8818 __mpn_addmul_1 for PowerPC64.
8819 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8820 __mpn_submul_1 for PowerPC64.
8821 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8822 for PowerPC64.
8823 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8824 for PowerPC64.
8825
4b5b548c
FS
88262013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8827
8828 [BZ #15089]
8829 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8830
0a3ac0aa
AZ
88312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8832
8833 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8834
ccdc8438
AZ
8835 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8836 add multiarch folders.
8837 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8838 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8839 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8840 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8841 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8842 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8843 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8844 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8845 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8846 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8847 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8854
2e973d99
AZ
8855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8856 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8858 New file.
8859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8860 New file.
8861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8862 multiarch __ieee754_hypot for PowerPC32.
8863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8864 New file.
8865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8866 New file.
8867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8868 multiarch __ieee754_hypotf for PowerPC32.
8869
2d9470b2
AZ
8870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8871 long_double_symbol only if __logbl is defined.
8872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8873 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8874 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8875 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8876 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8877 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8878 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8879 path for implementation.
8880 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8881 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8883 logb, and logbl multiarch implementations for PowerPC32.
8884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8885 file.
8886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8887 file.
8888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8889 multiarch logb for PowerPC32.
8890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8891 file.
8892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8893 file.
8894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8895 multiarch logbf for PowerPC32.
8896 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8898 file.
8899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8900 multiarch logbl implementation for PowerPC32.
8901
5212ffce
AZ
8902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8903 and modff multiarch implementations.
8904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8905 New file.
8906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8907 New file.
8908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8909 multiarch modf for PowerPC32.
8910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8911 New file.
8912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8913 New file.
8914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8915 multiarch modff for PowerPC32.
8916
79dccf31
AZ
8917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8918 and lrintf multiarch implementations.
8919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8920 New file.
8921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8922 New file.
8923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8924 multiarch lrint for PowerPC32.
8925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8926 file: multiarch lrintf for PowerPC32.
8927
deb66480
AZ
8928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8929 and lroundf multiarch implementations.
8930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8931 New file.
8932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8933 New file.
8934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8935 New file.
8936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8937 multiarch lround for PowerPC32.
8938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8939 file: multiarch lroundf for PowerPC32.
8940
264b036b
AZ
8941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8942 copysign and copysignf multiarch implementations.
8943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8944 New file.
8945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8946 New file.
8947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8948 file: multiarch copysign for PowerPC32.
8949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8950 file: multiarch copysignf for PowerPC32.
8951
d47db6c9
AZ
8952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8953 and truncf multiarch implementations.
8954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8955 New file.
8956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8957 file.
8958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8959 multiarch trunc for PowerPC32.
8960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8961 New file.
8962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8963 New file.
8964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8965 multiarch truncf for PowerPC32.
8966
ddb60b5a
AZ
8967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8968 and roundf multiarch implementations.
8969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8970 New file.
8971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8972 file.
8973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8974 multiarch round for PowerPC32.
8975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8976 New file.
8977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8978 New file.
8979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8980 multiarch roundf for PowerPC32.
8981
bedcf49b
AZ
8982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8983 and floorf multiarch implementations.
8984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8985 New file.
8986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8987 file.
8988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8989 multiarch floor for PowerPC32.
8990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8991 New file.
8992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8993 New file.
8994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8995 multiarch floorf for PowerPC32.
8996
35ae5b40
AZ
8997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8998 and ceilf multiarch implementations.
8999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9000 New file.
9001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9002 file.
9003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9004 multiarch ceil for PowerPC32.
9005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9006 New file.
9007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9008 file.
9009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9010 multiarch ceilf for PowerPC32.
9011
ae1a4cd9
AZ
9012 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9013 is defined.
9014 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9015 FINITEF is defined.
9016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9017 and finitef multiarch implementations.
9018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9019 New file.
9020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9021 file.
9022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9023 multiarch finite for PowerPC32.
9024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9025 New file.
9026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9027 file: multiarch finitef for PowerPC32.
9028
64fffd65
AZ
9029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9030 and isinff multiarch implementations.
9031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9032 file.
9033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9034 file.
9035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9036 multiarch isinf for PowerPC32.
9037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9038 New file.
9039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9040 multiarch isinff for PowerPC32.
9041
8e4e7ba2
AZ
9042 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9043 alias when __isnan is defined.
9044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9045 and isnanf multiarch implementations.
9046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9047 file.
9048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9049 file.
9050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9051 file.
9052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9053 file.
9054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9055 multiarch isnan for PowerPC32.
9056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9057 New file.
9058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9059 New file.
9060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9061 multiarch isnanf for PowerPC32.
9062
ddba588e
AZ
9063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9064 and sqrtf multiarch implementations.
9065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9066 file.
9067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9068 file.
9069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9070 multiarch sqrt for PowerPC32.
9071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9072 file.
9073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9074 file.
9075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9076 multiarch sqrtf for PowerPC32.
9077
0f96a2f0
AZ
9078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9079 and llroundf multiarch implementations.
9080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9081 New file.
9082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9083 New file.
9084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9085 New file.
9086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9087 file: multiarch llround for PowerPC32.
9088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9089 file: multiarch llroundf for PowerPC32.
9090
c9b5d79e
AZ
9091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9092 multiarch PowerPC32 fpu implementations.
9093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9094 New file.
9095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9096 New file.
9097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9098 multiarch llrint for PowerPC32.
9099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9100 New file.
9101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9102 New file.
9103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9104 file.
9105
9cbb3aab
AZ
9106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9107
ea5a72f8
AZ
9108 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9109 file.
9110 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9111 file.
9112 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9113 file.
9114 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9115 multiarch wordcopy for PPC32.
9116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9117 wordcopy objects.
9118 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9119 (__libc_ifunc_impl_list): Likewise.
9120 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9121 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9122 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9123 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9124 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9125 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9126
93be09e7
AZ
9127 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9128 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9129 file.
9130 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9131 file.
9132 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9133 file.
9134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9135 multiarch wcscpy for PPC32.
9136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9137 multiarch objects.
9138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9139 (__libc_ifunc_impl_list): Likewise.
9140 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9141 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9142 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9143 sysdeps/powerpc/power6/wcscpy.c.
9144
bb04e529
AZ
9145 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9147 file.
9148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9149 file.
9150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9151 file.
9152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9153 multiarch wcsrchr for PPC32.
9154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9155 multiarch objects.
9156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9157 (__libc_ifunc_impl_list): Likewise.
9158 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9159 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9160 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9161 sysdeps/powerpc/power6/wcsrchr.c.
9162
05b5cd1c
AZ
9163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9164 file.
9165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9166 file.
9167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9169 multiarch wcschr for PPc32.
9170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9171 multiarch objects.
9172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9173 (__libc_ifunc_impl_list): Likewise.
9174 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9175 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9176 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9177 sysdeps/powerpc/power6/wcschr.c.
9178
ba964147
AZ
9179 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9180 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9181 file.
9182 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9183 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9184 file: multiarch strchr for PPC32.
9185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9186 multiarch objects.
9187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9188 (__libc_ifunc_impl_list): Likewise.
9189
31c81aaa
AZ
9190 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9191 name.
9192 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9193 file.
9194 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9195 file.
9196 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9197 multiarch strchrnul for PPC32.
9198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9199 multiarch objects.
9200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9201 (__libc_ifunc_impl_list): Likewise.
9202
0d0607d9
AZ
9203 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9204 file.
9205 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9206 multiarch strncasecmp for PPC32.
9207 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9208 file.
9209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9210 multiarch strncasecmp_l for PPC32.
9211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9212 strncasecmp multiarch objects.
9213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9214 (__libc_ifunc_impl_list): Likewise.
9215
4dfd5c86
AZ
9216 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9217 file.
9218 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9219 multiarch strncasecmp for PPC32.
9220 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9221 New file.
9222 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9223 multiarch strcasecmp_l for PPC32.
9224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9225 multiarch objects.
9226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9227 (__libc_ifunc_impl_list): Likewise.
9228
a19e01a3
AZ
9229 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9230 file.
9231 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9232 file.
9233 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9234 multiarch strncmp for PPC32.
9235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9236 multiarch objects.
9237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9238 (__libc_ifunc_impl_list): Likewise.
9239
ae9cf7a2
AZ
9240 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9241 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9242 file.
9243 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9244 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9246 multiarch objects.
9247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9248 (__libc_ifunc_impl_list): Likewise.
9249
3148bb7d
AZ
9250 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9251 file.
9252 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9253 file.
9254 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9256 multiarch objects.
9257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9258 (__libc_ifunc_impl_list): Likewise.
9259
7af8b946
AZ
9260 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9261 file.
9262 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9263 file.
9264 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9265 multiarch rawmemchr for PPC32.
9266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9267 multiarch objects.
9268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9269 (__libc_ifunc_impl_list): Likewise.
9270
03a6aa6a
AZ
9271 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9272 file.
9273 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9274 file.
9275 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9276 file: memrchr multiarch for PPC32.
9277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9278 multiarch objects.
9279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9280 (__libc_ifunc_impl_list): Likewise.
9281
1c62e6d9
AZ
9282 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9283 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9284 file.
9285 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9286 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9287 multiarch memchr for PPC32.
9288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9289 multiarch objects.
9290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9291 (__libc_ifunc_impl_list): Likewise.
9292
87da8bdb
AZ
9293 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9294 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9295 file.
9296 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9297 file.
9298 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9299 file: multiarch mempcpy for PPC32.
9300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9301 multiarch objects.
9302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9303 (__libc_ifunc_impl_list): Likewise.
9304
20ed4714
AZ
9305 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9306 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9307 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9308 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9309 multiarch bzero for PPC32.
9310 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9311 file.
9312 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9313 file.
9314 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9315 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9316 file: multiarch memset for PPC32.
9317 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9318 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9319 memset multiarch objects.
9320 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9321 (__libc_ifunc_impl_list): Likewise.
9322
ab3e3a46
AZ
9323 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9324 file.
9325 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9326 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9327 memcmp for PPC32.
9328 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9330 multiarch objects.
9331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9332 (__libc_ifunc_impl_list): Likewise.
9333
930de6f0
AZ
9334 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9335 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9336 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9337 file.
9338 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9339 file.
9340 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9341 file.
9342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9343 multiarch memcpy for PPC32.
9344 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9345 multiarch objects.
9346 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9347 (__libc_ifunc_impl_list): Likewise.
9348
4c628e00
AZ
9349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9350 support multiarch for POWER/PPC32.
9351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9352 Likewise.
9353 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9355 Implies file to make multiarch folder appers before the fpu and
9356 default folder for power4 configuration.
9357
f4479220
SP
93582013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9359
9360 * scripts/bench.pl: Append volatile keyword to type.
9361
8517800f
KK
93622013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9363
9364 * sysdeps/sh/sotruss-lib.c: New file.
9365 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9366
180138f1
AZ
93672013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9368
9369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9370
bbf37bdc
JM
93712013-12-05 Joseph Myers <joseph@codesourcery.com>
9372
e47cc4e0
JM
9373 [BZ #6810]
9374 * math/w_tgamma.c: Include <errno.h>.
9375 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9376 * math/w_tgammaf.c: Include <errno.h>.
9377 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9378 * math/w_tgammal.c: Include <errno.h>.
9379 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9380 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9381 underflow. Add more tgamma tests.
9382 * math/auto-libm-test-out: Regenerated.
9383 * sysdeps/i386/fpu/libm-test-ulps: Update.
9384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9385
bbf37bdc
JM
9386 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9387 sin, sinh, tan, tanh, tgamma, y0 and y1.
9388 * math/auto-libm-test-out: Regenerated.
9389 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9390 (TEST_COND_x86): Likewise.
9391 (M_E2l): Remove macro.
9392 (M_E3l): Likewise.
9393 (M_2_SQRT_PIl): Likewise.
9394 (M_SQRT_PIl): Likewise.
9395 (M_1_DIV_El): Likewise.
9396 (log_test_data): Use AUTO_TESTS_f_f.
9397 (log10_test_data): Likewise.
9398 (log1p_test_data): Likewise.
9399 (log2_test_data): Likewise.
9400 (sin_test_data): Likewise.
9401 (sin_tonearest_test_data): Likewise.
9402 (sin_towardzero_test_data): Likewise.
9403 (sin_downward_test_data): Likewise.
9404 (sin_upward_test_data): Likewise.
9405 (sinh_test_data): Likewise.
9406 (sinh_tonearest_test_data): Likewise.
9407 (sinh_towardzero_test_data): Likewise.
9408 (sinh_downward_test_data): Likewise.
9409 (sinh_upward_test_data): Likewise.
9410 (tan_test_data): Likewise.
9411 (tan_tonearest_test_data): Likewise.
9412 (tan_towardzero_test_data): Likewise.
9413 (tan_downward_test_data): Likewise.
9414 (tan_upward_test_data): Likewise.
9415 (tanh_test_data): Likewise.
9416 (tgamma_test_data): Likewise.
9417 (y0_test_data): Likewise.
9418 (y1_test_data): Likewise.
9419 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9420 (special_real_inputs): Add pi/4.
9421 * sysdeps/i386/fpu/libm-test-ulps: Update.
9422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9423
eb5ad6b9
AZ
94242013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9425
9426 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9427 "longjmp_target" static probes.
9428 (__longjmp): Rename to __longjmp_symbol.
9429 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9430 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9431 on which longjmp to generate.
9432 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9433 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9434 probe.
9435 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9436 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9437 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9438 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9439 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9440 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9442 __longjmp_symbol based on which __longjmp to generate.
9443 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9444 probe.
9445 (setjmp): Rename to setjmp_symbol.
9446 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9447 (_setjmp): Rename to _setjmp_symbol.
9448 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9449 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9450 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9451 which setjmp to generate.
9452 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9453 "longjmp_target" static probes.
9454
d136c6dc
SP
94552013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9456
9298ecba
SP
9457 * benchtests/README: Add note about output arguments.
9458 * benchtests/bench-sincos.c: Remove file.
9459 * benchtests/sincos-inputs: New file.
9460 * scripts/bench.pl: Identify output arguments and define
9461 static variables for them.
9462
232983e9
SP
9463 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9464
d136c6dc
SP
9465 [BZ #15941]
9466 * Makefile (INSTALL): Add install-plain.texi as the primary
9467 dependency.
9468 * manual/install-plain.texi: New file.
9469 * manual/install.texi: Include node directive only for
9470 non-plaintext output.
9471
699ff837
JM
94722013-12-04 Joseph Myers <joseph@codesourcery.com>
9473
ab07cea8
JM
9474 * stdlib/longlong.h: Update from GCC.
9475
699ff837
JM
9476 [BZ #6807]
9477 [BZ #15901]
9478 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9479 * math/w_j0f.c (y0f): Likewise.
9480 * math/w_j0l.c (__y0l): Likewise.
9481 * math/w_j1.c (y1): Likewise.
9482 * math/w_j1f.c (y1f): Likewise.
9483 * math/w_j1l.c (__y1l): Likewise
9484 * math/w_jn.c (yn): Likewise.
9485 * math/w_jnf.c (ynf): Likewise.
9486 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9487 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9488 value for Bessel function domain errors outside _SVID_ mode.
9489 Adjust sign of return value for yn (negative integer, 0).
9490 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9491 by zero in return for negative x and set sign appropriately for
9492 negative n.
9493 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9494 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9495 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9496 expectations in error cases.
9497 (y1_test_data): Likewise.
9498 (yn_test_data): Likewise.
9499 * sysdeps/i386/fpu/libm-test-ulps: Update.
9500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9501
5b118558
UW
95022013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9503
9504 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9505 "64" to "64-v1". Add "64-v2".
9506 (abi-64-options): Rename to ...
9507 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9508 (abi-64-condition): Rename to ...
9509 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9510 (abi-64-ld-soname): Rename to ...
9511 (abi-64-v1-ld-soname): ... this.
9512 (abi-64-v2-options): Define.
9513 (abi-64-v2-condition): Likewise.
9514 (abi-64-v2-ld-soname): Likewise.
9515 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9516 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9520
61cd8fe4
UW
95212013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9522 Alan Modra <amodra@gmail.com>
9523
9524 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9525 New versions for use with the ELFv2 ABI.
9526 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9527 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9528 declaration.
9529 (struct La_ppc64v2_retval): Likewise.
9530 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9531 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9532 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9533 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9534 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9535 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9536 Do not save or restore CR.
9537 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9538 (_dl_profile_resolve): Do no save or restore CR. Support extended
9539 return values for ELFv2 ABI. Fix location of FPR return registers.
9540 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9541 updated values for _CALL_ELF == 2.
9542 (La_regs, La_retval, int_retval): Likewise.
9543
8b8a692c
UW
95442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9545
9546 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9547 (FRAME_MIN_SIZE_PARM): Likewise.
9548 (FRAME_BACKCHAIN): Likewise.
9549 (FRAME_CR_SAVE): Likewise.
9550 (FRAME_LR_SAVE): Likewise.
9551 (FRAME_TOC_SAVE): Likewise.
9552 (FRAME_PARM_SAVE): Likewise.
9553 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9554 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9555 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9556 (call_mcount_parm_offset): New macro.
9557 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9558 (PROF): Use symbolic stack frame offsets.
9559 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9560 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9561 Redefine in terms of FRAME_MIN_SIZE.
9562 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9563 (_dl_profile_resolve): Likewise. Update comment.
9564 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9565 symbols stack frame offsets.
9566 (__sigsetjmp): Likewise.
9567 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9568 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9569 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9570 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9571
9572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9573 (FRAME_BACKCHAIN): Remove.
9574 (FRAME_CR_SAVE): Likewise.
9575 (FRAME_LR_SAVE): Likewise.
9576 (FRAME_COMPILER_DW): Likewise.
9577 (FRAME_LINKER_DW): Likewise.
9578 (FRAME_TOC_SAVE): Likewise.
9579 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9580 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9581 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9582 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9584 (CHECK_SP): Use symbolic stack frame offsets.
9585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9586 zone" instead of caller's parameter save area for temp storage.
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9588 Likewise. Also, use symbolic stack frame offsets.
9589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9590 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9591 our own stack frame instead of the caller's.
9592 (__socket): Use symbolic stack frame offsets.
9593
122b66de
UW
95942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9595 Alan Modra <amodra@gmail.com>
9596
9597 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9598 Define.
57f41c40
AS
9599 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9600 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9601 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9602 New function.
9603 (elf_machine_fixup_plt): Call it.
9604 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9605 reloc arguments.
9606 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9607 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9608 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9609 r2 before calling target.
9610
696caf1d
UW
96112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9612 Alan Modra <amodra@gmail.com>
9613
9614 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9615 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9616 versions of macros to support ELFv2 ABI.
9617 (LOCALENTRY): New macro.
9618 (ENTRY, EALIGN): Use it.
9619 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9620 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9621 fall through into ENTRY entry point.
9622 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9623 Only define if _CALL_ELF != 2.
9624
9625 (elf_machine_matches_host): Verify ABI version matches.
9626 (RTLD_START): Use LOCALENTRY.
9627 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9628 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9629 (PLT_ENTRY_WORDS): New macro.
9630 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9631 (elf_machine_runtime_setup): Support ELFv2 ABI.
9632 (elf_machine_fixup_plt): Likewise.
9633 (elf_machine_plt_conflict): Likewise.
9634 (resolve_ifunc): Likewise.
9635 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9636 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9637 Likewise.
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9639 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9641 (makecontext): Support ELFv2 ABI.
9642 * elf/elf.h (EF_PPC64_ABI): Define.
9643
d31beafa
UW
96442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9645
57f41c40
AS
9646 * sysdeps/powerpc/powerpc64/sysdep.h
9647 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9648 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9649 (ENTRY) [ASSEMBLER]: ... but instead here ...
9650 (EALIGN) [ASSEMBLER]: ... and here.
9651 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9652 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9653 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9654 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9655 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9656 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9657 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9658 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9660 Use PPC64_LOAD_FUNCPTR.
9661
b525166b
UW
9662 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9663
7ec07d9a
AM
96642013-12-04 Alan Modra <amodra@gmail.com>
9665
9666 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9667 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9668 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9669 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9670
9671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9672 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9673 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9674 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9675 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9676 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9677
5162e7dd
UW
96782013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9679
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9681 (__makecontext): Fix incorrect CFI when backtracing out of
9682 context created via makecontext.
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9684 (__setcontext): Fix incorrect CFI during switch to new context.
9685 (__novec_setcontext): Likewise.
9686
19e3372b
OB
96872013-12-04 Ondřej Bílka <neleai@seznam.cz>
9688
9689 [BZ #4772]
9690 * time/strptime_l.c (__strptime_internal): Allow modifiers
9691 in strptime.
9692 * time/tst-strptime.c (day_tests): Add testcase.
9693
ecaf142d
SP
96942013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9695
9696 * scripts/bench.pl: Skip over blank lines.
9697
fbf964ae
PE
96982013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9699
9700 [BZ #926]
9701 * manual/time.texi (Calendar Time): Clarify what timezone functions
9702 use.
9703
fa60a674
AZ
97042013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9705
9706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9707
d674f0ef
OB
97082013-12-04 Ondřej Bílka <neleai@seznam.cz>
9709
9710 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9711 implementation.
9712 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9713 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9714 * debug/memset_chk.c (__memset_chk): Likewise.
9715 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9716 * debug/strncpy_chk.c: Likewise.
9717
17dea188
JM
97182013-12-03 Joseph Myers <joseph@codesourcery.com>
9719
749008ff
JM
9720 [BZ #15268]
9721 [BZ #15425]
9722 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9723 (__ieee754_exp): For possibly underflowing results, check size of
9724 result and force underflow exception if required.
9725 * math/auto-libm-test-in: Add more tests of exp.
9726 * math/auto-libm-test-out: Regenerated.
9727 * sysdeps/i386/fpu/libm-test-ulps: Update.
9728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9729
17dea188
JM
9730 [BZ #16283]
9731 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9732 * math/w_exp2f.c (__exp2f): Likewise.
9733 * math/w_exp2l.c (__exp2l): Likewise.
9734 * math/auto-libm-test-in: Do not allow missing errno on exp2
9735 underflow.
9736 * math/auto-libm-test-out: Regenerated.
9737
b20de2c3
OB
97382013-12-03 Ondřej Bílka <neleai@seznam.cz>
9739
9740 [BZ #16274]
9741 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9742 handle filename validation.
9743 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9744 (do_open): Delete.
9745
d8e2dbe3
JM
97462013-12-03 Joseph Myers <joseph@codesourcery.com>
9747
34e16df5
JM
9748 [BZ #6786]
9749 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9750 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9751 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9752 <float.h>.
9753 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9755 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9756 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9757 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9758 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9759 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9760 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9761 Add more erfc tests.
9762 * math/auto-libm-test-out: Regenerated.
9763 * sysdeps/i386/fpu/libm-test-ulps: Update.
9764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9765
d8e2dbe3
JM
9766 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9767 exp2, expm1, j0 and j1.
9768 * math/auto-libm-test-out: Regenerated.
9769 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9770 (erfc_test_data): Likewise.
9771 (exp_test_data): Likewise.
9772 (exp_tonearest_test_data): Likewise.
9773 (exp_towardzero_test_data): Likewise.
9774 (exp_downward_test_data): Likewise.
9775 (exp_upward_test_data): Likewise.
9776 (exp10_test_data): Likewise.
9777 (exp2_test_data): Likewise.
9778 (expm1_test_data): Likewise.
9779 (j0_test_data): Likewise.
9780 (j1_test_data): Likewise.
9781 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9782 (input_flag_type): Add flag_xfail_rounding.
9783 (input_flags): Add xfail-rounding.
9784 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9785 (output_for_one_input_case): Handle flag_xfail_rounding.
9786 * sysdeps/i386/fpu/libm-test-ulps: Update.
9787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9788
18d14251
AJ
97892013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9790
3d2e6075 9791 [BZ #16289]
18d14251
AJ
9792 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9793 division by 0.
9794
520d437b
SP
97952013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9796
9797 [BZ #16195]
9798 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9799 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9800 (STAP_PROBE0): New macro.
9801 (STAP_PROBE1): Likewise.
9802 (STAP_PROBE2): Likewise.
9803 (STAP_PROBE3): Likewise.
9804 (STAP_PROBE4): Likewise.
9805
416e0145
OB
98062013-12-02 Ondřej Bílka <neleai@seznam.cz>
9807
9808 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9809
9d17796a
SE
98102013-12-02 Steve Ellcey <sellcey@mips.com>
9811
9812 * benchtests/Makefile (bench): Add sqrt.
9813 (LDLIBS-bench-sqrt): New.
9814 * benchtests/sqrt-input: New.
9815
f524d6a8
PS
98162013-12-02 Pavel Simerda <psimerda@redhat.com>
9817
639a0ef8
PS
9818 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9819 (GAIH_EAI): Likewise.
9820 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9821 (gaih_inet): Likewise.
9822 (getaddrinfo): Don't use GAIH_EAI.
9823
f524d6a8
PS
9824 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9825 (struct gaih): Remove definition.
9826
df3aedaf
SP
98272013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9828
9829 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9830 Use HERRNOP directly.
9831
1ab19dec
AZ
98322013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9833
b42ad38d 9834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9835
176b0c79
JM
98362013-11-30 Joseph Myers <joseph@codesourcery.com>
9837
9838 * math/gen-auto-libm-tests.c (test_functions): Add more
9839 single-argument functions.
9840 (special_fill_pi_2): New function.
9841 (special_fill_minus_pi_2): Likewise.
9842 (special_fill_pi_6): Likewise.
9843 (special_fill_minus_pi_6): Likewise.
9844 (special_fill_pi_3): Likewise.
9845 (special_fill_2pi_3): Likewise.
9846 (special_fill_e): Likewise.
9847 (special_fill_1_e): Likewise.
9848 (special_fill_e_minus_1): Likewise.
9849 (special_real_inputs): Add more special inputs.
9850 (output_for_one_input_case): Do not require ERANGE on underflow to
9851 zero if round-to-nearest result does not underflow to zero, unless
9852 exact results required.
9853 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9854 atan, atanh, cbrt, cos and cosh.
9855 * math/auto-libm-test-out: Regenerated.
9856 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9857 (acos_tonearest_test_data): Likewise.
9858 (acos_towardzero_test_data): Likewise.
9859 (acos_downward_test_data): Likewise.
9860 (acos_upward_test_data): Likewise.
9861 (acosh_test_data): Likewise.
9862 (asin_test_data): Likewise.
9863 (asin_tonearest_test_data): Likewise.
9864 (asin_towardzero_test_data): Likewise.
9865 (asin_upward_test_data): Likewise.
9866 (asinh_test_data): Likewise.
9867 (atan_test_data): Likewise.
9868 (atanh_test_data): Likewise.
9869 (cbrt_test_data): Likewise.
9870 (cos_test_data): Likewise.
9871 (cos_tonearest_test_data): Likewise.
9872 (cos_towardzero_test_data): Likewise.
9873 (cos_downward_test_data): Likewise.
9874 (cos_upward_test_data): Likewise.
9875 (cosh_test_data): Likewise.
9876 (cosh_tonearest_test_data): Likewise.
9877 (cosh_towardzero_test_data): Likewise.
9878 (cosh_downward_test_data): Likewise.
9879 (cosh_upward_test_data): Likewise.
9880 * sysdeps/i386/fpu/libm-test-ulps: Update.
9881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9882
ffb536d0
JM
98832013-11-29 Joseph Myers <joseph@codesourcery.com>
9884
2a77a467
JM
9885 [BZ #6787]
9886 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9887 * math/w_exp10f.c (__exp10f): Likewise.
9888 * math/w_exp10l.c (__exp10l): Likewise.
9889 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9890 errno settings in existing tests.
9891
ea3bc4e8
JM
9892 [BZ #14032]
9893 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9894 precision control set to double precision.
9895 * sysdeps/i386/fpu/w_sqrt.c: New file.
9896 * math/auto-libm-test-in: Add more tests.
9897 * math/auto-libm-test-out: Update.
9898
0712c9d8
JM
9899 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9900 (sqrt_test_tonearest): New function.
9901 (sqrt_towardzero_test_data): New variable.
9902 (sqrt_test_towardzero): New function.
9903 (sqrt_downward_test_data): New variable.
9904 (sqrt_test_downward): New function.
9905 (sqrt_upward_test_data): New variable.
9906 (sqrt_test_upward): New function.
9907 (main): Call the new functions.
9908
ffb536d0
JM
9909 * math/gen-auto-libm-tests.c: New file.
9910 * math/auto-libm-test-in: Likewise.
9911 * math/auto-libm-test-out: New generated file.
9912 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9913 variables.
9914 (%beautify): Add generated representations of zero.
9915 (top level): Set $auto_input and call parse_auto_input.
9916 (beautify): Remove trailing "f" from hex float constants.
9917 (parse_args): Handle XFAIL_TEST.
9918 (convert_condition): New function.
9919 (or_value): Likewise.
9920 (or_cond_value): Likewise.
9921 (generate_testfile): Handle AUTO_TESTS_* lines.
9922 (parse_auto_input): New function.
9923 * math/libm-test.inc (XFAIL_TEST): New macro.
9924 (ERRNO_UNCHANGED): Update value.
9925 (ERRNO_EDOM): Likewise.
9926 (ERRNO_ERANGE): Likewise.
9927 (IGNORE_RESULT): Likewise.
9928 (TEST_COND_flt_32): New macro.
9929 (TEST_COND_dbl_64): Likewise.
9930 (TEST_COND_ldbl_96_intel): Likewise.
9931 (TEST_COND_ldbl_96_m68k): Likewise.
9932 (TEST_COND_ldbl_128): Likewise.
9933 (TEST_COND_ldbl_128ibm): Likewise.
9934 (TEST_COND_long32): Likewise.
9935 (TEST_COND_long64): Likewise.
9936 (TEST_COND_before_rounding): Likewise.
9937 (TEST_COND_after_rounding): Likewise.
9938 (enable_test): Handle XFAIL_TEST flag.
9939 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9940 with finite results.
9941 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9942 auto-libm-test-out.
9943
acd98a8e
AK
99442013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9945 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9946
9947 [BZ #16214]
9948 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9949 __tls_get_addr_internal instead of __tls_get_offset in order to
9950 avoid GOT pointer dependency. Make rtld export
9951 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9952 __tls_get_addr since we are a __tls_get_offset platform.
9953 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9954 GOT pointer being set up before.
9955 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9956
3c1c46a6
JM
99572013-11-28 Joseph Myers <joseph@codesourcery.com>
9958
7475aef5
JM
9959 * manual/math.texi (Errors in Math Functions): Document accuracy
9960 goals.
9961
8bca7cd8
JM
9962 [BZ #15004]
9963 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9964 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9965 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9967 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9969 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9972 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9979
91a1f3fe
JM
9980 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9981 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9982 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9983 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9984 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9985 Likewise.
9986 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9987 Likewise.
9988 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9989 Likewise.
9990 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9991 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9992 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9993 atomic-feupdateenv and flt-rounds.
9994 * sysdeps/powerpc/nofpu/Versions (libc): Add
9995 __atomic_feholdexcept, __atomic_feclearexcept,
9996 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9997 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9998 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9999 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10000 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10001 here.
10002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10003 Update.
10004
c5df7609
JM
10005 * manual/arith.texi (FP Exceptions): Document that exceptions may
10006 not be raised when matherr is used.
10007 (Math Error Reporting): Document overflow in directed rounding
10008 modes. Document that errno may not be set when finite values are
10009 returned on overflow. Document intent to set errno on underflow
10010 only for underflow to zero.
10011
3c1c46a6
JM
10012 [BZ #16271]
10013 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10014 round-to-nearest then adjust result for other rounding modes.
10015 * include/fenv.h (fegetround): Use libm_hidden_proto.
10016 * math/fegetround.c (fegetround): Use libm_hidden_def.
10017 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10018 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10019 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10020 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10021 Likewise.
10022 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10023 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10024 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10025 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10026
5a4c6d53
SP
100272013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10028
10029 [BZ #16077]
10030 * nss/Versions (libnss_files): Add
10031 _nss_files_gethostbyname3_r.
10032 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10033 New function.
10034 (HOST_DB_LOOKUP): Remove macro.
10035 (_nss_files_gethostbyname_r): Implement function without the
10036 HOST_DB_LOOKUP macro.
10037 (_nss_files_gethostbyname2_r): Likewise.
10038
897b98ba
OB
100392013-11-28 Ondřej Bílka <neleai@seznam.cz>
10040
10041 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10042
6f476861
UB
100432013-11-26 Uros Bizjak <ubizjak@gmail.com>
10044
10045 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10046 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10047 warning.
10048
bd12ab55
AZ
100492013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10050
10051 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10052 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10053 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10054 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10055 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10056 __fe_nomask_env_priv and attribute_hidden.
10057 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10058 (libc_feupdateenv_test_ppc): Likewise.
10059 (libc_feresetround_ppc): Likewise.
10060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10061 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10062 compat_symbol macro.
10063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10064 (__fe_nomask_env): Likewise.
10065 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10066
52bb6543
OB
100672013-11-26 Ondřej Bílka <neleai@seznam.cz>
10068
10069 * string/Makefile: Remove ifunc tests.
10070 * string/test-string.h: Define TEST_IFUNC.
10071 * string/test-bcopy-ifunc.c: Remove.
10072 * string/test-bzero-ifunc.c: Likewise.
10073 * string/test-memccpy-ifunc.c: Likewise.
10074 * string/test-memchr-ifunc.c: Likewise.
10075 * string/test-memcmp-ifunc.c: Likewise.
10076 * string/test-memcpy-ifunc.c: Likewise.
10077 * string/test-memmem-ifunc.c: Likewise.
10078 * string/test-memmove-ifunc.c: Likewise.
10079 * string/test-mempcpy-ifunc.c: Likewise.
10080 * string/test-memrchr-ifunc.c: Likewise.
10081 * string/test-memset-ifunc.c: Likewise.
10082 * string/test-rawmemchr-ifunc.c: Likewise.
10083 * string/test-stpcpy-ifunc.c: Likewise.
10084 * string/test-stpncpy-ifunc.c: Likewise.
10085 * string/test-strcasecmp-ifunc.c: Likewise.
10086 * string/test-strcasestr-ifunc.c: Likewise.
10087 * string/test-strcat-ifunc.c: Likewise.
10088 * string/test-strchr-ifunc.c: Likewise.
10089 * string/test-strchrnul-ifunc.c: Likewise.
10090 * string/test-strcmp-ifunc.c: Likewise.
10091 * string/test-strcpy-ifunc.c: Likewise.
10092 * string/test-strcspn-ifunc.c: Likewise.
10093 * string/test-strlen-ifunc.c: Likewise.
10094 * string/test-strncasecmp-ifunc.c: Likewise.
10095 * string/test-strncat-ifunc.c: Likewise.
10096 * string/test-strncmp-ifunc.c: Likewise.
10097 * string/test-strncpy-ifunc.c: Likewise.
10098 * string/test-strnlen-ifunc.c: Likewise.
10099 * string/test-strpbrk-ifunc.c: Likewise.
10100 * string/test-strrchr-ifunc.c: Likewise.
10101 * string/test-strspn-ifunc.c: Likewise.
10102 * string/test-strstr-ifunc.c: Likewise.
10103
ab260039 101042013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10105
10106 * benchtests/Makefile: Remove ifunc tests.
10107 * benchtests/bench-string.h: Define TEST_IFUNC.
10108 * benchtests/bench-bcopy-ifunc.c: Remove.
10109 * benchtests/bench-bzero-ifunc.c: Likewise.
10110 * benchtests/bench-memccpy-ifunc.c: Likewise.
10111 * benchtests/bench-memchr-ifunc.c: Likewise.
10112 * benchtests/bench-memcmp-ifunc.c: Likewise.
10113 * benchtests/bench-memcpy-ifunc.c: Likewise.
10114 * benchtests/bench-memmem-ifunc.c: Likewise.
10115 * benchtests/bench-memmove-ifunc.c: Likewise.
10116 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10117 * benchtests/bench-memrchr-ifunc.c: Likewise.
10118 * benchtests/bench-memset-ifunc.c: Likewise.
10119 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10120 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10121 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10122 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10123 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10124 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10125 * benchtests/bench-strcat-ifunc.c: Likewise.
10126 * benchtests/bench-strchr-ifunc.c: Likewise.
10127 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10128 * benchtests/bench-strcmp-ifunc.c: Likewise.
10129 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10130 * benchtests/bench-strcpy-ifunc.c: Likewise.
10131 * benchtests/bench-strcspn-ifunc.c: Likewise.
10132 * benchtests/bench-strlen-ifunc.c: Likewise.
10133 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10134 * benchtests/bench-strncat-ifunc.c: Likewise.
10135 * benchtests/bench-strncmp-ifunc.c: Likewise.
10136 * benchtests/bench-strncpy-ifunc.c: Likewise.
10137 * benchtests/bench-strnlen-ifunc.c: Likewise.
10138 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10139 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10140 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10141 * benchtests/bench-strspn-ifunc.c: Likewise.
10142 * benchtests/bench-strstr-ifunc.c: Likewise.
10143
101442013-11-26 Ondřej Bílka <neleai@seznam.cz>
10145
ab260039
OB
10146 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10147
d1d9eaf4 101482013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10149
d1d9eaf4
OB
10150 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10151 * rt/aio.h: Likewise.
10152 * sysdeps/gnu/bits/utmp.h: Likewise.
10153 * sysdeps/gnu/bits/utmpx.h: Likewise.
10154 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10155 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10156 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10157 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10158 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10159 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10160 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10161 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10162 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10163 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10164 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10165 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10166 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10168 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10169 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10170 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10171 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10172 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10173 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10174 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10175 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10176 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10177 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10178 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10180 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10181 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10182 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10183 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10184 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10185 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10186 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10187 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10188 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10189 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10190 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10191 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10192 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10193 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10194 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10195 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10196
a7624ed9
CD
101972013-11-25 Carlos O'Donell <carlos@redhat.com>
10198
10199 [BZ #16245]
10200 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10201 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10202
63cfe52b
JM
102032013-11-25 Joseph Myers <joseph@codesourcery.com>
10204
10205 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10206 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10207 Likewise.
10208
41e8926a
AZ
102092013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10210
10211 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10212 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10213 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10214 (__fesetround): Remove define.
10215 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10216 rounding and exceptions handling.
10217 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10218 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10219 (__fe_nomask_env): Likewise.
10220 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10221 __fegetround instead of fegetround.
10222 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10223 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10224
6851bd4d
RM
102252013-11-21 Roland McGrath <roland@hack.frob.com>
10226
070906ff
RM
10227 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10228 it's there.
10229
6851bd4d
RM
10230 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10231
84ae135d
MI
102322013-11-21 Meador Inge <meadori@codesourcery.com>
10233
10234 [BZ #11157]
10235 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10236 (encrypt_r): Likewise.
10237 * malloc/obstack.h (obstack_free): Likewise.
10238 * posix/unistd.h (encrypt): Likewise.
10239
daf75146
GM
102402013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10241
10242 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10243 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10244 DL_CALL_DT_FINI() that call the functions directly.
10245 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10246 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10247 * elf/dl-fini.c: Likewise.
10248
10ad46bc
OB
102492013-11-20 Ondřej Bílka <neleai@seznam.cz>
10250
10251 * malloc/hooks.c (memalign_check): Add alignment rounding.
10252 * malloc/malloc.c (_mid_memalign): New function.
10253 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10254 Implement by calling _mid_memalign.
10255 * manual/probes.texi (Memory Allocation Probes): Remove
10256 memory_valloc_retry and memory_pvalloc_retry.
10257
f3fd2628
SP
102582013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10259
4712799f
SP
10260 * locale/programs/locarchive.c (open_archive): Add const
10261 qualifier to ARCHIVEFNAME and copy default fname to
10262 DEFAULT_FNAME.
10263
0417b20f
SP
10264 [BZ #15601]
10265 * libio/tst-widetext.input: Rename Oriya to Odia.
10266 * locale/iso-639.def: Likewise.
10267
f3fd2628
SP
10268 * manual/probes.texi (Mathematical Function Probes): Add
10269 documentation for sin, cos, asin and acos probes.
10270 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10271 (__sin32): Add slowasin probe.
10272 (__cos32): Add slowacos probe.
10273 (__mpsin): Add slowsin probe.
10274 (__mpcos): Add slowcos probe.
10275
73c1ce4f
JM
102762013-11-19 Joseph Myers <joseph@codesourcery.com>
10277
10278 [BZ #15483]
10279 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10280 thread-local __sim_exceptions_thread and global
10281 __sim_exceptions_global.
10282 (__sim_disabled_exceptions): Change to thread-local
10283 __sim_disabled_exceptions_thread and global
10284 __sim_disabled_exceptions_global.
10285 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10286 and global __sim_round_mode_global.
10287 (__simulate_exceptions): Use thread-local floating-point state and
10288 set global state from it as needed.
10289 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10290 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10291 __sim_round_mode_thread.
10292 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10293 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10294 and global __sim_exceptions_global.
10295 (__sim_disabled_exceptions): Change to thread-local
10296 __sim_disabled_exceptions_thread and global
10297 __sim_disabled_exceptions_global.
10298 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10299 and global __sim_round_mode_global.
10300 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10301 (SIM_SET_GLOBAL): Likewise.
10302 * sysdeps/powerpc/soft-fp/sfp-machine.h
10303 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10304 __sim_round_mode_thread.
10305 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10306 __sim_disabled_exceptions_thread.
10307 (__sim_exceptions): Change to __sim_exceptions_thread.
10308 (__sim_disabled_exceptions): Change to
10309 __sim_disabled_exceptions_thread.
10310 (__sim_round_mode): Change to __sim_round_mode_thread.
10311 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10312 thread-local floating-point state and set global state from it as
10313 needed.
10314 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10315 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10316 (__sim_disabled_exceptions): Remove extern declaration.
10317 (feenableexcept): Use thread-local floating-point state and set
10318 global state from it as needed.
10319 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10320 extern declaration.
10321 (__sim_disabled_exceptions): Likewise.
10322 (__sim_round_mode): Likewise.
10323 (__fegetenv): Use thread-local floating-point state.
10324 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10325 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10326 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10327 floating-point state and set global state from it as needed.
10328 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10329 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10330 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10331 Likewise.
10332 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10333 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10334 Likewise.
10335 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10336 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10337 Use __sim_round_mode_thread.
10338 * math/test-fenv-tls.c: New file.
10339 * math/Makefile (tests): Add test-fenv-tls.
10340 ($(objpfx)test-fenv-tls): Depend on
10341 $(common-objpfx)nptl/libpthread.so.
10342
b5449b12
AS
103432013-11-19 Andreas Schwab <schwab@suse.de>
10344
10345 * locale/programs/locale.c (show_info): Decode wordarray elements.
10346 * locale/categories.def (LC_MONETARY): Add element for
10347 _NL_MONETARY_CRNCYSTR.
10348 * locale/C-monetary.c (conversion_rate): New variable.
10349 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10350 element.
10351
e186536b
CM
103522013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10353
10354 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10355 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10356
5c349950
PP
103572013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10358
10359 * elf/Makefile (tst-auxv): New test.
10360 * elf/tst-auxv.c: New
10361 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10362
699df45b
JM
103632013-11-18 Joseph Myers <joseph@codesourcery.com>
10364
10365 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10366 (hidden_proto): Caller changed.
10367 (hidden_tls_proto): New macro.
10368 (libc_hidden_tls_proto): Likewise.
10369 (rtld_hidden_tls_proto): Likewise.
10370 (libm_hidden_tls_proto): Likewise.
10371 (libresolv_hidden_tls_proto): Likewise.
10372 (librt_hidden_tls_proto): Likewise.
10373 (libdl_hidden_tls_proto): Likewise.
10374 (libnss_files_hidden_tls_proto): Likewise.
10375 (libnsl_hidden_tls_proto): Likewise.
10376 (libnss_nisplus_hidden_tls_proto): Likewise.
10377 (libutil_hidden_tls_proto): Likewise.
10378
b7589107
OB
103792013-11-18 Ondřej Bílka <neleai@seznam.cz>
10380
10381 [BZ #10253]
10382 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10383 (decompose_rpath): Defer expansion to fillin_rpath.
10384 (_dl_init_paths): Pass linkmap to fillin_rpath.
10385
250c23bd
RS
103862013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10387
10388 * benchtests/Makefile: Add strsep.
10389 * benchtests/bench-strsep.c: New file: strsep benchtest.
10390 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10391
a7931fcf
AS
103922013-11-18 Andreas Schwab <schwab@suse.de>
10393
10394 * locale/programs/locale.c (show_info) [case byte]: Check for
10395 '\377' instead of '\177'.
10396 * locale/C-monetary.c (not_available): Always use "\377".
10397 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10398 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10399 detect unavailable sign_posn locale elements.
10400 * locale/localeconv.c (__localeconv): For grouping and
10401 mon_grouping handle "\177" and "\377" like no grouping.
10402 (INT_ELEM): New macro. Use it to set all numeric members.
10403 * locale/programs/ld-monetary.c (monetary_read)
10404 <tok_mon_grouping>: Normalize single -1 to the empty string.
10405 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10406 Likewise.
10407
728dab0e
OB
104082013-11-07 Ondřej Bílka <neleai@seznam.cz>
10409
10410 [BZ #16055]
10411 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10412 when we match (nil).
10413 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10414
66294491
JM
104152013-11-16 Joseph Myers <joseph@codesourcery.com>
10416
ce665817
JM
10417 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10418 (NO_TEST_INLINE): Update value.
10419 (ERRNO_UNCHANGED): Likewise.
10420 (ERRNO_EDOM): Likewise.
10421 (ERRNO_ERANGE): Likewise.
10422 (IGNORE_RESULT): Likewise.
10423 (check_float_internal): Check signs of NaN results if
10424 TEST_NAN_SIGN used.
10425 (check_complex): Pass TEST_NAN_SIGN flag through to second
10426 check_float_internal call.
10427 (copysign_test_data): Add tests with quiet NaNs as second
10428 argument. Use TEST_NAN_SIGN.
10429 (fabs_test_data): Add test of negative quiet NaN argument. Use
10430 TEST_NAN_SIGN.
10431 (signbit_test_data): Add tests of quiet NaN argument.
10432 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10433
ee1466a9
JM
10434 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10435 $ignore_result.
10436 (parse_args): Handle function results specified as IGNORE.
10437 * math/libm-test.inc (IGNORE_RESULT): New macro.
10438 (check_float_internal): Do not check numerical result if flag
10439 IGNORE_RESULT set.
10440 (check_complex): Pass through IGNORE_RESULT to second
10441 check_float_internal call.
10442 (check_int): Do not check numerical result if flag IGNORE_RESULT
10443 set.
10444 (check_long): Likewise.
10445 (check_bool): Likewise.
10446 (check_longlong): Likewise.
10447 (lrint_test_data): Add tests of infinite and NaN arguments.
10448 (lrint_tonearest_test_data): Likewise.
10449 (lrint_towardzero_test_data): Likewise.
10450 (lrint_downward_test_data): Likewise.
10451 (lrint_upward_test_data): Likewise.
10452 (llrint_test_data): Likewise.
10453 (llrint_tonearest_test_data): Likewise.
10454 (llrint_towardzero_test_data): Likewise.
10455 (llrint_downward_test_data): Likewise.
10456 (llrint_upward_test_data): Likewise.
10457 (lround_test_data): Likewise.
10458 (llround_test_data): Likewise.
10459
14407b7e
JM
10460 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10461 (ERRNO_UNCHANGED): Update value.
10462 (ERRNO_EDOM): Likewise.
10463 (ERRNO_ERANGE): Likewise.
10464 (NO_TEST_INLINE_FLOAT): New macro.
10465 (NO_TEST_INLINE_DOUBLE): Likewise.
10466 (enable_test): New function.
10467 (RUN_TEST_f_f): Check enable_test before running test.
10468 (RUN_TEST_2_f): Likewise.
10469 (RUN_TEST_fff_f): Likewise.
10470 (RUN_TEST_c_f): Likewise.
10471 (RUN_TEST_f_f1): Likewise.
10472 (RUN_TEST_fF_f1): Likewise.
10473 (RUN_TEST_fI_f1): Likewise.
10474 (RUN_TEST_ffI_f1): Likewise.
10475 (RUN_TEST_c_c): Likewise.
10476 (RUN_TEST_cc_c): Likewise.
10477 (RUN_TEST_f_i): Likewise.
10478 (RUN_TEST_f_i_tg): Likewise.
10479 (RUN_TEST_ff_i_tg): Likewise.
10480 (RUN_TEST_f_b): Likewise.
10481 (RUN_TEST_f_b_tg): Likewise.
10482 (RUN_TEST_f_l): Likewise.
10483 (RUN_TEST_f_L): Likewise.
10484 (RUN_TEST_fFF_11): Likewise.
10485 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10486 conditionals.
10487 (cosh_test_data): Likewise.
10488 (exp_test_data): Likewise.
10489 (expm1_test_data): Likewise.
10490 (hypot_test_data): Likewise.
10491 (pow_test_data): Likewise.
10492 (sinh_test_data): Likewise.
10493 (tanh_test_data): Likewise.
10494 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10495 flags argument.
10496
ca07f197
JM
10497 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10498 tests with quiet NaN input and output.
10499 (acosh_test_data): Likewise.
10500 (asin_test_data): Likewise.
10501 (asinh_test_data): Likewise.
10502 (atan_test_data): Likewise.
10503 (atanh_test_data): Likewise.
10504 (atan2_test_data): Likewise.
10505 (cbrt_test_data): Likewise.
10506 (cos_test_data): Likewise.
10507 (cosh_test_data): Likewise.
10508 (erf_test_data): Likewise.
10509 (erfc_test_data): Likewise.
10510 (exp_test_data): Likewise.
10511 (exp10_test_data): Likewise.
10512 (exp2_test_data): Likewise.
10513 (expm1_test_data): Likewise.
10514 (hypot_test_data): Likewise.
10515 (j0_test_data): Likewise.
10516 (j1_test_data): Likewise.
10517 (jn_test_data): Likewise.
10518 (lgamma_test_data): Likewise.
10519 (log_test_data): Likewise.
10520 (log10_test_data): Likewise.
10521 (log1p_test_data): Likewise.
10522 (log2_test_data): Likewise.
10523 (pow_test_data): Likewise.
10524 (scalb_test_data): Likewise.
10525 (sin_test_data): Likewise.
10526 (sincos_test_data): Likewise.
10527 (sinh_test_data): Likewise.
10528 (tan_test_data): Likewise.
10529 (tanh_test_data): Likewise.
10530 (tgamma_test_data): Likewise.
10531 (y0_test_data): Likewise.
10532 (y1_test_data): Likewise.
10533 (yn_test_data): Likewise.
10534
66294491
JM
10535 [BZ #16167]
10536 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10537 argument being NaN and avoid computations with second argument in
10538 that case.
10539 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10540 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10541 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10542
1820b143
CL
105432013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10544
10545 * locale/iso-639.def: Add Chitwani Tharu (the).
10546
714bd261
AS
105472013-11-14 Andreas Schwab <schwab@suse.de>
10548
10549 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10550 word instead of empty string.
10551
7ab44563
AZ
105522013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10553
10554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10555 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10557 (__fe_nomask_env): Likewise.
10558
e8470ea2
SE
105592013-11-13 Steve Ellcey <sellcey@mips.com>
10560
10561 * benchtests/bench-timing.h: Include time.h.
10562
17c1d9f0
L
105632013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10564
10565 [BZ #15997]
10566 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10567 to 3.4.0 for x32.
10568 * sysdeps/unix/sysv/linux/configure: Regenerated.
10569
9310c284
JM
105702013-11-13 Joseph Myers <joseph@codesourcery.com>
10571
10572 [BZ #16151]
10573 * stdlib/strtod_l.c (round_and_return): Do not consider
10574 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10575 exponent one less than half the least subnormal exponent.
10576 * stdlib/test-strtod-round-data: Add more tests.
10577 * stdlib/tst-strtod-round.c (tests): Regenerated.
10578
7a2ad8cf
AZ
105792013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10580
10581 [BZ #14143]
10582 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10583 (__fe_mask_env): Likewise.
10584 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10585 libm_hidden_proto and add function prototype.
10586 (__fe_mask_env): Add function prototype.
10587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10588 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10590 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10592 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10593
50727aa7
MS
105942013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10595
b2f386c1 10596 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10597 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10598
a615be46
MS
105992013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10600
10601 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10602 of htab_find_slot().
10603
7ddace62
DM
106042013-11-11 David S. Miller <davem@davemloft.net>
10605
10606 [BZ #16150]
10607 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10608 symbol in the non-vis3 case in static builds.
10609 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10610 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10611 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10612 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10613
9182aa67
JK
106142013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10615
10616 [BZ #387]
10617 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10618 it is empty.
10619
450a2e2d
AZ
106202013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10621
b2f386c1
SP
10622 * benchtests/Makefile: Add bench-strtod.
10623 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10624
8ec3f656
AS
106252013-11-11 Andreas Schwab <schwab@suse.de>
10626
10627 [BZ #16153]
10628 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10629 terminating NUL in key length.
10630
76a9b998
AZ
106312013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10632
10633 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10634 Add artificial ODP entry for vDSO symbol for PPC64.
10635 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10636 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10637
e4368156
OB
106382013-11-07 Ondřej Bílka <neleai@seznam.cz>
10639
10640 [BZ #15374]
10641 * nss/getent.c (services_keys): Recognize services starting with digit.
10642
8d6bb57c
DM
106432013-11-06 David S. Miller <davem@davemloft.net>
10644
10645 [BZ #15985]
10646 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10647 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10648
e256c421
WN
106492013-11-06 Will Newton <will.newton@linaro.org>
10650
10651 * manual/memory.texi (Malloc Examples): Remove register
10652 keyword from examples.
10653
f6e12daa 106542013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10655
f6e12daa 10656 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10657
9d880655
AS
106582013-11-04 Joseph Myers <joseph@codesourcery.com>
10659
fd2f9486 10660 [BZ #6981]
9d880655
AS
10661 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10662 depending on [__GCC_IEC_559 > 0].
10663 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10664 depending on [__GCC_IEC_559_COMPLEX > 0].
10665
ae129d3c
CL
106662013-11-03 Chris Leonard <cjl@sugarlabs.org>
10667
10668 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10669 to iso-639.def.
10670
4a15c2a4 106712013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10672
10673 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10674
8b35e35d
OB
106752013-11-01 Ondřej Bílka <neleai@seznam.cz>
10676
10677 [BZ #16112]
10678 * malloc/malloc (malloc_info): Do not handle first bin as
10679 special case.
10680
1d70fd6c
CL
106812013-11-01 Chris Leonard <cjl@sugarlabs.org>
10682
10683 * locale/iso-639.def: Add Central Nahuatl (nhn).
10684
8c5c2600
BH
106852013-11-01 Bruno Haible <bruno@clisp.org>
10686
10687 [BZ #7003]
10688 * manual/math.texi (BSD Random): Specify range upper bound as
10689 in POSIX.
10690
da5579c2
CL
106912013-10-31 Chris Leonard <cjl@sugarlabs.org>
10692
10693 * locale/iso-639.def: Add Meadow Mari (mhr).
10694
5d30d853
OB
106952013-10-31 Ondřej Bílka <neleai@seznam.cz>
10696
10697 [BZ #14752], [BZ #15763]
10698 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10699 Validate name.
10700 * rt/tst_shm.c: Add test for escaping directory.
10701
a4966c61
AS
107022013-10-31 Andreas Schwab <schwab@suse.de>
10703
8a43e768 10704 [BZ #15917]
a4966c61
AS
10705 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10706 followed by 'x' as part of digit sequence.
10707 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10708
28d708c4
MAP
107092013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10710
10711 [BZ #16037]
10712 * configure.ac: allow GNU Make 4.0 and greater.
10713 * configure: Regenerated.
10714
a56ee40b
WN
107152013-10-30 Will Newton <will.newton@linaro.org>
10716
10717 [BZ #16038]
10718 * malloc/hooks.c (memalign_check): Limit alignment to the
10719 maximum representable power of two.
10720 * malloc/malloc.c (__libc_memalign): Likewise.
10721 * malloc/tst-memalign.c (do_test): Add test for very
10722 large alignment values.
10723 * malloc/tst-posix_memalign.c (do_test): Likewise.
10724
c6e4925d
OB
107252013-10-30 Ondřej Bílka <neleai@seznam.cz>
10726
10727 [BZ #11087]
10728 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10729 (munmap_chunk): Likewise.
10730 (mremap_chunk): Likewise.
10731
107322013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10733
8a43e768 10734 [BZ #15799]
bbea82f7
OB
10735 * stdlib/div.c (div): Remove obsolete code.
10736 * stdlib/ldiv.c (ldiv): Likewise.
10737 * stdlib/lldiv.c (lldiv): Likewise.
10738
977f4b31
SP
107392013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10740
10741 [BZ #16071]
10742 * nss/nss_files/files-XXX.c (get_contents_ret): New
10743 enumerator.
10744 (get_contents): New function.
10745 (internal_getent): Use it. Expand size of LINEBUFLEN.
10746
cb8a6dbd
MF
107472013-10-30 Mike Frysinger <vapier@gentoo.org>
10748
10749 * configure.in: Moved to ...
10750 * configure.ac: ... here. Change reference to configure.in
10751 to configure.ac.
10752 * sysdeps/arm/preconfigure.ac: ... here.
10753 configure.in to configure.ac.
10754 * sysdeps/gnu/configure.in: Moved to ...
10755 * sysdeps/gnu/configure.ac: ... here.
10756 * sysdeps/i386/configure.in: Moved to ...
10757 * sysdeps/i386/configure.ac: ... here.
10758 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10759 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10760 * sysdeps/mach/configure.in: Moved to ...
10761 * sysdeps/mach/configure.ac: ... here.
10762 * sysdeps/mach/hurd/configure.in: Moved to ...
10763 * sysdeps/mach/hurd/configure.ac: ... here.
10764 * sysdeps/powerpc/configure.in: Moved to ...
10765 * sysdeps/powerpc/configure.ac: ... here.
10766 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10767 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10768 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10769 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10770 * sysdeps/s390/s390-32/configure.in: Moved to ...
10771 * sysdeps/s390/s390-32/configure.ac: ... here.
10772 * sysdeps/s390/s390-64/configure.in: Moved to ...
10773 * sysdeps/s390/s390-64/configure.ac: ... here.
10774 * sysdeps/sh/configure.in: Moved to ...
10775 * sysdeps/sh/configure.ac: ... here.
10776 * sysdeps/sparc/configure.in: Moved to ...
10777 * sysdeps/sparc/configure.ac: ... here.
10778 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10779 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10780 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10781 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10782 * sysdeps/x86_64/configure.in: Moved to ...
10783 * sysdeps/x86_64/configure.ac: ... here.
10784 * sysdeps/x86_64/preconfigure.in: Moved to ...
10785 * sysdeps/x86_64/preconfigure.ac: ... here.
10786 * aclocal.m4: Change reference to configure.in to configure.ac.
10787 * config.h.in: Likewise.
10788 * manual/install.texi: Likewise.
10789 * manual/maint.texi: Likewise.
10790 * Makefile: Likewise.
10791 * malloc/Makefile: Likewise.
10792 * nscd/Makefile: Likewise.
10793 * Makeconfig: Change reference to configure.in and
10794 preconfigure.in to configure.ac and preconfigure.ac
10795 respectively.
10796 * INSTALL: Regenerated.
10797 * configure: Likewise.
10798 * sysdeps/gnu/configure: Likewise.
10799 * sysdeps/i386/configure: Likewise.
10800 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10801 * sysdeps/mach/configure: Likewise.
10802 * sysdeps/mach/hurd/configure: Likewise.
10803 * sysdeps/powerpc/configure: Likewise.
10804 * sysdeps/powerpc/powerpc32/configure: Likewise.
10805 * sysdeps/powerpc/powerpc64/configure: Likewise.
10806 * sysdeps/s390/s390-32/configure: Likewise.
10807 * sysdeps/s390/s390-64/configure: Likewise.
10808 * sysdeps/sh/configure: Likewise.
10809 * sysdeps/sparc/configure: Likewise.
10810 * sysdeps/unix/sysv/linux/configure: Likewise.
10811 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10812 * sysdeps/x86_64/configure: Likewise.
10813 * sysdeps/x86_64/preconfigure: Likewise.
10814
36a4953a
AS
108152013-10-29 Andreas Schwab <schwab@suse.de>
10816
10817 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10818
c79a1204
SP
108192013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10820
dfa1b402
SP
10821 * benchtests/pow-inputs: Add new inputs.
10822
54f73d9c
SP
10823 * benchtests/exp-inputs: Add new inputs.
10824
c79a1204
SP
10825 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10826 conditional check for return value.
10827 (__cos32): Likewise.
10828
67beb545 108292013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10830
10831 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10832 to provide a boost for large inputs with word alignment.
10833 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10834 implementation based on optimized PPC64 strcpy.
10835 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10836 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10837 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10838 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10839
151659f6
OB
108402013-10-25 Ondřej Bílka <neleai@seznam.cz>
10841
482a077e 10842 [BZ #2801]
151659f6
OB
10843 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10844
10b0f26b
OB
108452013-10-25 Ondřej Bílka <neleai@seznam.cz>
10846
10847 [BZ #14876]
10848 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10849 * time/tst-strptime.c (day_tests): Add testcase.
10850
ca42d35e
OB
108512013-10-25 Ondřej Bílka <neleai@seznam.cz>
10852
482a077e 10853 [BZ #14029]
ca42d35e
OB
10854 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10855
52e6d801
FB
108562013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10857
10858 [BZ #16074]
10859 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10860 MAP_FAILED on error.
10861
7cbcdb36
SP
108622013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10863
10864 [BZ #16072]
10865 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10866 heap for large requests.
10867
894f3f10
AM
108682013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10869
10870 [BZ #9954]
10871 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10872 result if the result has no associated interface.
10873 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10874 interface for all 127.X.Y.Z addresses.
10875
b85545a6
CL
108762013-10-24 Chris Leonard <cjl@sugarlabs.org>
10877
10878 * locale/iso-639.def: Add Ligurian (lij)
10879
d1f23d46
OB
108802013-10-21 Ondřej Bílka <neleai@seznam.cz>
10881
10882 [BZ #15825]
10883 * sunrpc/rpc_main.c: Document rpcgen -5.
10884
4db5b08f
MS
108852013-10-19 Michael Stahl <mstahl@redhat.com>
10886
10887 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10888
a471e96a
OB
108892013-10-19 Ondřej Bílka <neleai@seznam.cz>
10890
d1f23d46 10891 [BZ #10278]
a471e96a
OB
10892 * posix/glob.c: Match only directories when trailing slash is present.
10893 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10894 (main): Add testcase.
10895
45c30c61
OB
108962013-10-19 Ondřej Bílka <neleai@seznam.cz>
10897
10898 [BZ #15670]
10899 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10900
484c12fb
CD
109012013-10-18 Carlos O'Donell <carlos@redhat.com>
10902
3d7dc513
CD
10903 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10904 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10905 AUTH_DES and cindex for FIPS 140-2.
10906 (DES Encryption): Add cindex FIPS 46-3.
10907
484c12fb
CD
10908 * locale/locarchive.h (struct locarhandle): Add fname.
10909 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10910 if an optional argument was specified to --list-archive,
10911 otherwise NULL.
10912 * locale/programs/locarchive.c (show_archive_content): Take new
10913 argument fname and pass it via ah.fname to open_archive.
10914 * locale/programs/localedef.h: Update decl.
10915 (open_archive): If AH->fname is non-null, open that file
10916 rather than the default file name, and don't ignore ENOENT.
10917 (create_archive): Set AH.fname to NULL.
10918 (delete_locales_from_archive): Likewise.
10919 (add_locales_to_archive): Likewise.
10920 * locale/programs/locfile.c (write_all_categories): Likewise.
10921
3c8325fb
JM
109222013-10-18 Joseph Myers <joseph@codesourcery.com>
10923 Aldy Hernandez <aldyh@redhat.com>
10924
10925 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10926 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10927 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10928 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10929 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10930 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10931 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10932 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10933 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10934 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10935 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10936 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10937 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10938 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10939 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10940 Likewise.
10941 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10942 Likewise.
10943 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10944 Likewise.
10945 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10946 Likewise.
10947 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10948 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10949 Likewise.
10950 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10951 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10952 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10953 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10954 Likewise.
10955 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10956 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10957 * sysdeps/powerpc/preconfigure: Likewise.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10959 Likewise.
10960 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10961 Replace contents of file by #include of <fenv_libc.h>.
10962 * sysdeps/powerpc/soft-fp/sfp-machine.h
10963 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10964 and <sys/prctl.h>.
10965 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10966 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10967 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10968 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10969 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10970 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10972 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10973 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10978 Allow copysignl PLT reference to be missing.
10979
5abe0682
RS
109802013-10-18 Richard Sandiford <richard@codesourcery.com>
10981 Joseph Myers <joseph@codesourcery.com
10982
10983 [BZ #15948]
10984 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10985 single character.
10986 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10987
c7738d08
SP
109882013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10989
10990 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10991 * elf/tst-tls1.c: Likewise.
10992 * elf/tst-tls10.h: Likewise.
10993 * elf/tst-tls14.c: Likewise.
10994 * elf/tst-tls2.c: Likewise.
10995 * elf/tst-tls3.c: Likewise.
10996 * elf/tst-tls4.c: Likewise.
10997 * elf/tst-tls5.c: Likewise.
10998 * elf/tst-tls6.c: Likewise.
10999 * elf/tst-tls7.c: Likewise.
11000 * elf/tst-tls8.c: Likewise.
11001 * elf/tst-tls9.c: Likewise.
11002 * elf/tst-tlsmod1.c: Likewise.
11003 * elf/tst-tlsmod13.c: Likewise.
11004 * elf/tst-tlsmod13a.c: Likewise.
11005 * elf/tst-tlsmod14a.c: Likewise.
11006 * elf/tst-tlsmod16a.c: Likewise.
11007 * elf/tst-tlsmod16b.c: Likewise.
11008 * elf/tst-tlsmod2.c: Likewise.
11009 * elf/tst-tlsmod3.c: Likewise.
11010 * elf/tst-tlsmod4.c: Likewise.
11011 * elf/tst-tlsmod5.c: Likewise.
11012 * elf/tst-tlsmod6.c: Likewise.
11013
0bfcf2c7
OB
110142013-10-18 Ondřej Bílka <neleai@seznam.cz>
11015
11016 [BZ #12486]
11017 * malloc/malloc.c: remove checks for statistics.
11018
264aad1e
OB
110192013-10-17 Ondřej Bílka <neleai@seznam.cz>
11020
11021 [BZ #15277]
11022 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11023 * inet/tst-network.c: Add testcase.
11024
b957ced8
AS
110252013-10-17 Andreas Schwab <schwab@suse.de>
11026
11027 [BZ #15218]
11028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11029 to determine canonical name.
11030
c5d5d574
OB
110312013-10-17 Ondřej Bílka <neleai@seznam.cz>
11032
11033 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11034 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11035 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11036 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11038 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11039 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11040 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11041 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11044 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11045 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11046 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11047 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11051 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11057 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11058 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11062 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11063 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11065 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11066 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11068 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11069 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11070 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11071 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11072 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11073 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11074 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11075 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11076 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11080 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11081 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11087 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11088 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11089 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11090 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11091
e5c2c2d0
JM
110922013-10-17 Joseph Myers <joseph@codesourcery.com>
11093
11094 [BZ #16041]
11095 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11096 make result into a quiet NaN.
11097
51ca9e29
JM
110982013-10-16 Joseph Myers <joseph@codesourcery.com>
11099
11100 * soft-fp/adddf3.c: Fix horizontal whitespace.
11101 * soft-fp/addsf3.c: Likewise.
11102 * soft-fp/addtf3.c: Likewise.
11103 * soft-fp/divdf3.c: Likewise.
11104 * soft-fp/divsf3.c: Likewise.
11105 * soft-fp/divtf3.c: Likewise.
11106 * soft-fp/double.h: Likewise.
11107 * soft-fp/eqdf2.c: Likewise.
11108 * soft-fp/eqsf2.c: Likewise.
11109 * soft-fp/eqtf2.c: Likewise.
11110 * soft-fp/extenddftf2.c: Likewise.
11111 * soft-fp/extended.h: Likewise.
11112 * soft-fp/extendsfdf2.c: Likewise.
11113 * soft-fp/extendsftf2.c: Likewise.
11114 * soft-fp/extendxftf2.c: Likewise.
11115 * soft-fp/fixdfdi.c: Likewise.
11116 * soft-fp/fixdfsi.c: Likewise.
11117 * soft-fp/fixdfti.c: Likewise.
11118 * soft-fp/fixsfdi.c: Likewise.
11119 * soft-fp/fixsfsi.c: Likewise.
11120 * soft-fp/fixsfti.c: Likewise.
11121 * soft-fp/fixtfdi.c: Likewise.
11122 * soft-fp/fixtfsi.c: Likewise.
11123 * soft-fp/fixtfti.c: Likewise.
11124 * soft-fp/fixunsdfdi.c: Likewise.
11125 * soft-fp/fixunsdfsi.c: Likewise.
11126 * soft-fp/fixunsdfti.c: Likewise.
11127 * soft-fp/fixunssfdi.c: Likewise.
11128 * soft-fp/fixunssfsi.c: Likewise.
11129 * soft-fp/fixunssfti.c: Likewise.
11130 * soft-fp/fixunstfdi.c: Likewise.
11131 * soft-fp/fixunstfsi.c: Likewise.
11132 * soft-fp/fixunstfti.c: Likewise.
11133 * soft-fp/floatdidf.c: Likewise.
11134 * soft-fp/floatdisf.c: Likewise.
11135 * soft-fp/floatditf.c: Likewise.
11136 * soft-fp/floatsidf.c: Likewise.
11137 * soft-fp/floatsisf.c: Likewise.
11138 * soft-fp/floatsitf.c: Likewise.
11139 * soft-fp/floattidf.c: Likewise.
11140 * soft-fp/floattisf.c: Likewise.
11141 * soft-fp/floattitf.c: Likewise.
11142 * soft-fp/floatundidf.c: Likewise.
11143 * soft-fp/floatundisf.c: Likewise.
11144 * soft-fp/floatunditf.c: Likewise.
11145 * soft-fp/floatunsidf.c: Likewise.
11146 * soft-fp/floatunsisf.c: Likewise.
11147 * soft-fp/floatunsitf.c: Likewise.
11148 * soft-fp/floatuntidf.c: Likewise.
11149 * soft-fp/floatuntisf.c: Likewise.
11150 * soft-fp/floatuntitf.c: Likewise.
11151 * soft-fp/fmadf4.c: Likewise.
11152 * soft-fp/fmasf4.c: Likewise.
11153 * soft-fp/fmatf4.c: Likewise.
11154 * soft-fp/gedf2.c: Likewise.
11155 * soft-fp/gesf2.c: Likewise.
11156 * soft-fp/getf2.c: Likewise.
11157 * soft-fp/ledf2.c: Likewise.
11158 * soft-fp/lesf2.c: Likewise.
11159 * soft-fp/letf2.c: Likewise.
11160 * soft-fp/muldf3.c: Likewise.
11161 * soft-fp/mulsf3.c: Likewise.
11162 * soft-fp/multf3.c: Likewise.
11163 * soft-fp/negdf2.c: Likewise.
11164 * soft-fp/negsf2.c: Likewise.
11165 * soft-fp/negtf2.c: Likewise.
11166 * soft-fp/op-1.h: Likewise.
11167 * soft-fp/op-2.h: Likewise.
11168 * soft-fp/op-4.h: Likewise.
11169 * soft-fp/op-8.h: Likewise.
11170 * soft-fp/op-common.h: Likewise.
11171 * soft-fp/quad.h: Likewise.
11172 * soft-fp/single.h: Likewise.
11173 * soft-fp/soft-fp.h: Likewise.
11174 * soft-fp/sqrtdf2.c: Likewise.
11175 * soft-fp/sqrtsf2.c: Likewise.
11176 * soft-fp/sqrttf2.c: Likewise.
11177 * soft-fp/subdf3.c: Likewise.
11178 * soft-fp/subsf3.c: Likewise.
11179 * soft-fp/subtf3.c: Likewise.
11180 * soft-fp/truncdfsf2.c: Likewise.
11181 * soft-fp/trunctfdf2.c: Likewise.
11182 * soft-fp/trunctfsf2.c: Likewise.
11183 * soft-fp/trunctfxf2.c: Likewise.
11184 * soft-fp/unorddf2.c: Likewise.
11185 * soft-fp/unordsf2.c: Likewise.
11186 * soft-fp/unordtf2.c: Likewise.
11187
9ebb0332
JM
111882013-10-15 Joseph Myers <joseph@codesourcery.com>
11189
11190 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11191 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11192
4b1a6d8b
OB
111932013-10-15 Ondřej Bílka <neleai@seznam.cz>
11194
11195 * elf/dl-libc.c: Clear initfini list after freeing.
11196
1e145589
JM
111972013-10-14 Joseph Myers <joseph@codesourcery.com>
11198
11199 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11200 * soft-fp/addsf3.c: Likewise.
11201 * soft-fp/addtf3.c: Likewise.
11202 * soft-fp/divdf3.c: Likewise.
11203 * soft-fp/divsf3.c: Likewise.
11204 * soft-fp/divtf3.c: Likewise.
11205 * soft-fp/double.h: Likewise.
11206 * soft-fp/eqdf2.c: Likewise.
11207 * soft-fp/eqsf2.c: Likewise.
11208 * soft-fp/eqtf2.c: Likewise.
11209 * soft-fp/extenddftf2.c: Likewise.
11210 * soft-fp/extended.h: Likewise.
11211 * soft-fp/extendsfdf2.c: Likewise.
11212 * soft-fp/extendsftf2.c: Likewise.
11213 * soft-fp/extendxftf2.c: Likewise.
11214 * soft-fp/fixdfdi.c: Likewise.
11215 * soft-fp/fixdfsi.c: Likewise.
11216 * soft-fp/fixdfti.c: Likewise.
11217 * soft-fp/fixsfdi.c: Likewise.
11218 * soft-fp/fixsfsi.c: Likewise.
11219 * soft-fp/fixsfti.c: Likewise.
11220 * soft-fp/fixtfdi.c: Likewise.
11221 * soft-fp/fixtfsi.c: Likewise.
11222 * soft-fp/fixtfti.c: Likewise.
11223 * soft-fp/fixunsdfdi.c: Likewise.
11224 * soft-fp/fixunsdfsi.c: Likewise.
11225 * soft-fp/fixunsdfti.c: Likewise.
11226 * soft-fp/fixunssfdi.c: Likewise.
11227 * soft-fp/fixunssfsi.c: Likewise.
11228 * soft-fp/fixunssfti.c: Likewise.
11229 * soft-fp/fixunstfdi.c: Likewise.
11230 * soft-fp/fixunstfsi.c: Likewise.
11231 * soft-fp/fixunstfti.c: Likewise.
11232 * soft-fp/floatdidf.c: Likewise.
11233 * soft-fp/floatdisf.c: Likewise.
11234 * soft-fp/floatditf.c: Likewise.
11235 * soft-fp/floatsidf.c: Likewise.
11236 * soft-fp/floatsisf.c: Likewise.
11237 * soft-fp/floatsitf.c: Likewise.
11238 * soft-fp/floattidf.c: Likewise.
11239 * soft-fp/floattisf.c: Likewise.
11240 * soft-fp/floattitf.c: Likewise.
11241 * soft-fp/floatundidf.c: Likewise.
11242 * soft-fp/floatundisf.c: Likewise.
11243 * soft-fp/floatunsidf.c: Likewise.
11244 * soft-fp/floatunsisf.c: Likewise.
11245 * soft-fp/floatuntidf.c: Likewise.
11246 * soft-fp/floatuntisf.c: Likewise.
11247 * soft-fp/floatuntitf.c: Likewise.
11248 * soft-fp/fmadf4.c: Likewise.
11249 * soft-fp/fmasf4.c: Likewise.
11250 * soft-fp/fmatf4.c: Likewise.
11251 * soft-fp/gedf2.c: Likewise.
11252 * soft-fp/gesf2.c: Likewise.
11253 * soft-fp/getf2.c: Likewise.
11254 * soft-fp/ledf2.c: Likewise.
11255 * soft-fp/lesf2.c: Likewise.
11256 * soft-fp/letf2.c: Likewise.
11257 * soft-fp/muldf3.c: Likewise.
11258 * soft-fp/mulsf3.c: Likewise.
11259 * soft-fp/multf3.c: Likewise.
11260 * soft-fp/negdf2.c: Likewise.
11261 * soft-fp/negsf2.c: Likewise.
11262 * soft-fp/negtf2.c: Likewise.
11263 * soft-fp/op-1.h: Likewise.
11264 * soft-fp/op-2.h: Likewise.
11265 * soft-fp/op-4.h: Likewise.
11266 * soft-fp/op-8.h: Likewise.
11267 * soft-fp/op-common.h: Likewise.
11268 * soft-fp/quad.h: Likewise.
11269 * soft-fp/single.h: Likewise.
11270 * soft-fp/soft-fp.h: Likewise.
11271 * soft-fp/sqrtdf2.c: Likewise.
11272 * soft-fp/sqrtsf2.c: Likewise.
11273 * soft-fp/sqrttf2.c: Likewise.
11274 * soft-fp/subdf3.c: Likewise.
11275 * soft-fp/subsf3.c: Likewise.
11276 * soft-fp/subtf3.c: Likewise.
11277 * soft-fp/truncdfsf2.c: Likewise.
11278 * soft-fp/trunctfdf2.c: Likewise.
11279 * soft-fp/trunctfsf2.c: Likewise.
11280 * soft-fp/trunctfxf2.c: Likewise.
11281 * soft-fp/unorddf2.c: Likewise.
11282 * soft-fp/unordsf2.c: Likewise.
11283 * soft-fp/unordtf2.c: Likewise.
11284
17c48a60
OB
112852013-10-14 Ondřej Bílka <neleai@seznam.cz>
11286
11287 [BZ #15672]
11288 * misc/error.c (error_tail): Fix possible buffer overflow.
11289
cabba934
OB
112902013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11291
11292 [BZ #13028]
11293 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11294 address.
11295
94bf958a
PM
112962013-10-14 P. J. McDermott <pj@pehjota.net>
11297
11298 [BZ #832]
11299 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11300 testing pipefail option.
11301
71b4dea7
JM
113022013-10-12 Joseph Myers <joseph@codesourcery.com>
11303
11304 * soft-fp/double.h: Indent preprocessor directives inside #if.
11305 * soft-fp/extended.h: Likewise.
11306 * soft-fp/op-2.h: Likewise.
11307 * soft-fp/op-4.h: Likewise.
11308 * soft-fp/op-common.h: Likewise.
11309 * soft-fp/quad.h: Likewise.
11310 * soft-fp/single.h: Likewise.
11311 * soft-fp/soft-fp.h: Likewise.
11312
55602758
YC
113132013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11314
11315 * iconv/iconv_prog.c: Fix typos.
11316 * stdio-common/psiginfo-data.h: Likewise.
11317
9cd83302
RT
113182013-10-12 Reuben Thomas <rrt@sc3d.org>
11319
11320 [BZ #15764]
11321 * locale/setlocale.c: Fix typo.
11322
99fd9f47
JM
113232013-10-12 Joseph Myers <joseph@codesourcery.com>
11324
b7ea74f0
JM
11325 [BZ #16036]
11326 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11327 signaling NaN arguments.
11328 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11329 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11330
8a509447
JM
11331 [BZ #14910]
11332 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11333 unordered operands.
11334 * soft-fp/gesf2.c (__gesf2): Likewise.
11335 * soft-fp/getf2.c (__getf2): Likewise.
11336 * soft-fp/ledf2.c (__ledf2): Likewise.
11337 * soft-fp/lesf2.c (__lesf2): Likewise.
11338 * soft-fp/letf2.c (__letf2): Likewise.
11339
98998e9f
JM
11340 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11341 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11342 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11343 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11344 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11345 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11346 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11347 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11348 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11349 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11350 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11351 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11352 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11353 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11354 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11355 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11356 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11357 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11358 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11359 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11360 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11361 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11362 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11363 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11364 * soft-fp/floattidf.c (__floattidf): Likewise.
11365 * soft-fp/floattisf.c (__floattisf): Likewise.
11366 * soft-fp/floattitf.c (__floattitf): Likewise.
11367 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11368 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11369 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11370 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11371 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11372 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11373 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11374 * soft-fp/gesf2.c (__gesf2): Likewise.
11375 * soft-fp/getf2.c (__getf2): Likewise.
11376 * soft-fp/ledf2.c (__ledf2): Likewise.
11377 * soft-fp/lesf2.c (__lesf2): Likewise.
11378 * soft-fp/letf2.c (__letf2): Likewise.
11379
8edc4a11
JM
11380 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11381 Undefine and redefine.
11382 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11383 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11384 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11385 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11386 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11387 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11388 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11389 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11390 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11391 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11392 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11393 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11394 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11395 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11396 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11397
8399acaf
JM
11398 [BZ #16032]
11399 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11400 without decrementing exponent if mantissa >= that for the
11401 denominator, not >.
11402 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11403 denominator, not >. Decrement exponent in < case instead of
11404 incrementing in >= case.
11405 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11406 without decrementing exponent if mantissa >= that for the
11407 denominator, not >.
11408
99fd9f47
JM
11409 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11410 computing saturated result for unsigned overflow.
11411
10e1cf6b
SP
114122013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11413 Jeff Law <law@redhat.com>
11414
11415 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11416 (atan2Mp): Add systemtap probe marker.
11417 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11418 (__ieee754_log): Add systemtap probe marker.
11419 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11420 (atanMp): Add systemtap probe marker.
11421 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11422 (tanMp): Add systemtap probe marker.
11423 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11424 (__slowexp): Add systemtap probe marker.
11425 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11426 (__slowpow): Add systemtap probe marker.
11427 * manual/probes.texi: Document probes.
11428
3d110c7c
EB
114292013-10-11 Eric Biggers <ebiggers3@gmail.com>
11430
11431 [BZ #15362]
11432 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11433 written.
11434 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11435 written.
11436 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11437 written to buffer but not flushed.
11438 * libio/iofwrite_u.c: Likewise.
11439 * libio/iopadn.c: Return bytes returned even if EOF was
11440 encountered.
11441 * libio/iowpadn.c: Likewise.
11442 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11443 if _IO_padn does not write the whole buffer.
11444 [!COMPILE_WPRINTF] (PAD): Likewise.
11445
75b4202a
DM
114462013-10-10 David S. Miller <davem@davemloft.net>
11447
11448 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11449 directory block.
11450
6c6352e6
JM
114512013-10-10 Joseph Myers <joseph@codesourcery.com>
11452
33b853c3
JM
11453 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11454 instead of FSF address.
11455 * soft-fp/fixdfti.c: Likewise.
11456 * soft-fp/fixsfti.c: Likewise.
11457 * soft-fp/fixtfti.c: Likewise.
11458 * soft-fp/fixunsdfti.c: Likewise.
11459 * soft-fp/fixunssfti.c: Likewise.
11460 * soft-fp/fixunstfti.c: Likewise.
11461 * soft-fp/floattidf.c: Likewise.
11462 * soft-fp/floattisf.c: Likewise.
11463 * soft-fp/floattitf.c: Likewise.
11464 * soft-fp/floatuntidf.c: Likewise.
11465 * soft-fp/floatuntisf.c: Likewise.
11466 * soft-fp/floatuntitf.c: Likewise.
11467 * soft-fp/trunctfxf2.c: Likewise.
11468
6c6352e6
JM
11469 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11470 * soft-fp/fixdfti.c: Likewise.
11471 * soft-fp/fixsfti.c: Likewise.
11472 * soft-fp/fixtfti.c: Likewise.
11473 * soft-fp/fixunsdfti.c: Likewise.
11474 * soft-fp/fixunssfti.c: Likewise.
11475 * soft-fp/fixunstfti.c: Likewise.
11476 * soft-fp/floattidf.c: Likewise.
11477 * soft-fp/floattisf.c: Likewise.
11478 * soft-fp/floattitf.c: Likewise.
11479 * soft-fp/floatuntidf.c: Likewise.
11480 * soft-fp/floatuntisf.c: Likewise.
11481 * soft-fp/floatuntitf.c: Likewise.
11482 * soft-fp/trunctfxf2.c: Likewise.
11483
3bf78b71
DM
114842013-10-10 David S. Miller <davem@davemloft.net>
11485
11486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11487
6f10289e
JM
114882013-10-10 Joseph Myers <joseph@codsourcery.com>
11489
bd878fc0
JM
11490 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11491 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11492 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11493 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11494 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11495 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11496 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11497
6f10289e
JM
11498 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11499 for NaNs before doing comparisons on argument.
11500 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11501 Likewise.
11502
321e2684
WN
115032013-10-10 Will Newton <will.newton@linaro.org>
11504
11505 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11506 passed to _int_memalign does not overflow.
11507
40fefba1
TR
115082013-10-10 Torvald Riegel <triegel@redhat.com>
11509
11510 * scripts/bench.pl: Add include-sources directive.
11511 * benchtests/README: Update documentation.
11512
2ae21ed2
JM
115132013-10-10 Joseph Myers <joseph@codesourcery.com>
11514
dcc2dd3f
JM
11515 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11516 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11517 instead of FP_INIT_ROUNDMODE.
11518 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11519 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11520
2ae21ed2
JM
11521 [BZ #16034]
11522 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11523 copy class of input value.
11524 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11525 not handle exceptions.
11526 * soft-fp/negsf2.c (__negsf2): Likewise.
11527 * soft-fp/negtf2.c (__negtf2): Likewise.
11528 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11529
cb8f9562
JM
115302013-10-09 Joseph Myers <joseph@codesourcery.com>
11531
11532 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11533 semicolon. From Linux kernel.
11534
5b60c59d
AB
115352013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11536
11537 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11538
b86835ca
YC
115392013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11540
11541 [BZ #156]
11542 * manual/socket.texi: Added statement about buffer
11543 for gethostbyname2_r.
11544
e7044ea7
OB
115452013-10-08 Ondřej Bílka <neleai@seznam.cz>
11546
11547 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11548 Use .p2align directive instead, throughout.
11549 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11550 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11551 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11552 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11554 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11555 * sysdeps/x86_64/strchr.S: Likewise.
11556 * sysdeps/x86_64/strrchr.S: Likewise.
11557
09544cbc
SP
115582013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11559
88576635
SP
11560 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11561
e7b2d1dd
SP
11562 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11563
09544cbc
SP
11564 * sysdeps/generic/math_private.h (__mpsin1): Remove
11565 declaration.
11566 (__mpcos1): Likewise.
11567 (__mpsin): New argument __range_reduce.
11568 (__mpcos): Likewise.
11569 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11570 (slow): Use __mpsin and __mpcos.
11571 (slow1): Likewise.
11572 (slow2): Likewise.
11573 (sloww): Likewise.
11574 (sloww1): Likewise.
11575 (sloww2): Likewise.
11576 (bsloww): Likewise.
11577 (bsloww1): Likewise.
11578 (bsloww2): Likewise.
11579 (cslow2): Likewise.
11580 (csloww): Likewise.
11581 (csloww1): Likewise.
11582 (csloww2): Likewise.
11583 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11584 range_reduce. Merge in __mpsin1.
11585 (__mpcos): Likewise.
11586 (__mpsin1): Remove.
11587 (__mpcos1): Likewise.
11588
7602d070
JM
115892013-10-07 Joseph Myers <joseph@codesourcery.com>
11590
11591 * locale/loadlocale.c (_nl_intern_locale_data): Use
11592 LOCFILE_ALIGNED_P.
11593 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11594 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11595 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11596 obstack data is appropriately aligned.
11597 (obstack_int32_grow_fast): Likewise.
11598 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11599 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11600 (add_locale_uint32_array): Likewise.
11601
a357259b
SP
116022013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11603
11604 * benchtests/Makefile: Remove ARGLIST and RET variables.
11605 ($(objpfx)bench-%.c): Pass only function name to the script.
11606 * benchtests/README: Update documentation.
11607 * benchtests/acos-inputs: Add new directives.
11608 * benchtests/acosh-inputs: Likewise.
11609 * benchtests/asin-inputs: Likewise.
11610 * benchtests/asinh-inputs: Likewise.
11611 * benchtests/atan-inputs: Likewise.
11612 * benchtests/atanh-inputs: Likewise.
11613 * benchtests/cos-inputs: Likewise.
11614 * benchtests/cosh-inputs: Likewise.
11615 * benchtests/exp-inputs: Likewise.
11616 * benchtests/log-inputs: Likewise.
11617 * benchtests/pow-inputs: Likewise.
11618 * benchtests/rint-inputs: Likewise.
11619 * benchtests/sin-inputs: Likewise.
11620 * benchtests/sinh-inputs: Likewise.
11621 * benchtests/tan-inputs: Likewise.
11622 * benchtests/tanh-inputs: Likewise.
11623 * scripts/bench.pl: Add support for new directives.
11624
9ec1b13d
AM
116252013-10-07 Alan Modra <amodra@gmail.com>
11626
11627 * README: Fix careless merge.
11628
8b7d57cd
AM
116292013-10-05 Alan Modra <amodra@gmail.com>
11630
11631 * NEWS: Mention powerpc64le support and bugs fixed.
11632 * README: Both big-endian and little-endian powerpc64 supported.
11633
7b7bab13
ST
116342013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11635
57f41c40
AS
11636 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11637 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11638 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11639 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11640
d39baad1
RA
116412013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11642
11643 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11644 match prototype.
11645
cd78f7e7
JM
116462013-10-04 Joseph Myers <joseph@codesourcery.com>
11647
29d73d86
JM
11648 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11649 Move -mhard-float appending from
11650 ports/sysdeps/powerpc/powerpc32/Makefile.
11651 [$(with-fp) = yes] (ASFLAGS): Likewise.
11652 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11653 * sysdeps/powerpc/nofpu: Move directory from
11654 ports/sysdeps/powerpc/nofpu.
11655 * sysdeps/powerpc/soft-fp: Move directory from
11656 ports/sysdeps/powerpc/soft-fp.
11657 * sysdeps/powerpc/powerpc32/405: Move directory from
11658 ports/sysdeps/powerpc/powerpc32/405.
11659 * sysdeps/powerpc/powerpc32/440: Move directory from
11660 ports/sysdeps/powerpc/powerpc32/440.
11661 * sysdeps/powerpc/powerpc32/464: Move directory from
11662 ports/sysdeps/powerpc/powerpc32/464.
11663 * sysdeps/powerpc/powerpc32/476: Move directory from
11664 ports/sysdeps/powerpc/powerpc32/476.
11665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11666 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11668 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11670 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11672 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11674 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11675 * README: Update for powerpc-*-linux-gnu software floating point
11676 support in libc.
11677
e246b347
JM
11678 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11679 case to powerpc/powerpc32*.
11680 * sysdeps/unix/sysv/linux/configure: Regenerated.
11681
89c2003e
JM
11682 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11683 (_FPU_MASK_OM): Define as 0x04.
11684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11686 0x00c10080.
11687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11688 0x0000003c.
11689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11690
cd78f7e7
JM
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11692 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11693 getcontext_e500.
11694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11695 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11696 setcontext_e500.
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11698 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11699 and setcontext_e500.
11700
c755294d
CL
117012013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11702
11703 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11704
e16d221c
SP
117052013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11706
11707 * manual/threads.texi (Default Thread Attributes): Fix typo.
11708
215c7d43
WN
117092013-10-04 Will Newton <will.newton@linaro.org>
11710
11711 * malloc/Makefile: Add tst-memalign.
11712 * malloc/tst-memalign.c: New file.
11713
27d0461b
WN
11714 * malloc/tst-posix_memalign.c: Add comments.
11715 (do_test): Add comments and call free on all potentially
11716 allocated pointers. Add space after cast.
11717
1bc92709
WN
11718 * malloc/tst-pvalloc.c: Add comments.
11719 (do_test): Add comments and call free on all potentially
11720 allocated pointers. Remove duplicate check for NULL pointer.
11721 Add space after cast.
11722
66a9be9d
WN
11723 * malloc/tst-valloc.c: Add comments.
11724 (do_test): Add comments and call free on all potentially
11725 allocated pointers. Remove duplicate check for NULL pointer.
11726 Add space after cast.
11727
4cb81307
AM
117282013-10-04 Alan Modra <amodra@gmail.com>
11729
11730 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11731 Use stdint types in rather than __attribute__((mode())).
11732 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11733
f8e3e9f3
AM
117342013-10-04 Alan Modra <amodra@gmail.com>
11735
11736 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11737 Correct handling of unaligned relocs for little-endian.
11738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11739
8f9ebb08
AM
117402013-10-04 Alan Modra <amodra@gmail.com>
11741
11742 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11743 * configure: Regenerate.
11744 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11745 * shlib-versions: Likewise.
11746
0edf96c2
AM
117472013-10-04 Alan Modra <amodra@gmail.com>
11748
11749 * string/tester.c (test_memrchr): Increment reported test cycle.
11750
e0f7a380
AM
117512013-10-04 Alan Modra <amodra@gmail.com>
11752
11753 * string/test-memcpy.c (do_one_test): When reporting errors, print
11754 string address and don't overrun end of string.
11755
466b0393
AM
117562013-10-04 Alan Modra <amodra@gmail.com>
11757
11758 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11759 insrdi. Make better use of reg selection to speed exit slightly.
11760 Schedule entry path a little better. Remove useless "are we done"
11761 checks on entry to main loop. Handle wrapping around zero address.
11762 Correct main loop count. Handle single left-over word from main
11763 loop inline rather than by using loop_small. Remove extra word
11764 case in loop_small caused by wrong loop count. Add little-endian
11765 support.
11766 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11767 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11768 cache hint.
11769 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11770 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11771 support. Avoid rlwimi.
11772 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11773
3be87c77
AM
117742013-10-04 Alan Modra <amodra@gmail.com>
11775
11776 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11777 insrdi. Formatting.
3be87c77
AM
11778 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11779 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11780 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11781 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11782 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11783 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11784
759cfef3
AM
117852013-10-04 Alan Modra <amodra@gmail.com>
11786
11787 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11788 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11789 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11790 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11791 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11792 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11793 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11794 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11795 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11796 use of regs. Use power7 mtocrf. Tidy function tails.
11797
fe6e95d7
AM
117982013-10-04 Alan Modra <amodra@gmail.com>
11799
11800 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11801 Formatting. Consistently use rXXX register defines or rN defines.
11802 Use early exit labels that avoid restoring unused non-volatile regs.
11803 Make cr field use more consistent with rWORDn compares. Rename
11804 regs used as shift registers for unaligned loop, using rN defines
11805 for short lifetime/multiple use regs.
11806 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11807 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11808 addi 1,1,64 to pop stack frame. Simplify return value code.
11809 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11810
664318c3
AM
118112013-10-04 Alan Modra <amodra@gmail.com>
11812
11813 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11814 support. Correct typos, formatting. Optimize tail. Use insrdi
11815 rather than rlwimi.
11816 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11817 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11818 little-endian support. Correct typos.
11819 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11820 rather than rlwimi.
11821 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11822 in loop and entry code to keep "and." results.
11823 (strchr): Add little-endian support. Comment. Move cntlzd
11824 earlier in tail.
11825 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11826
43b84013
AM
118272013-10-04 Alan Modra <amodra@gmail.com>
11828
11829 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11830 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11831 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11832 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11833
8a7413f9
AM
118342013-10-04 Alan Modra <amodra@gmail.com>
11835
11836 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11837 (rTMP): Define as r11.
11838 (strcmp): Add little-endian support. Optimise tail.
11839 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11840 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11841 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11842 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11843 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11845 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11846
33ee81de
AM
118472013-10-04 Alan Modra <amodra@gmail.com>
11848
11849 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11850 little-endian support. Remove unnecessary "are we done" tests.
11851 Handle "s" wrapping around zero and extremely large "size".
11852 Correct main loop count. Handle single left-over word from main
11853 loop inline rather than by using small_loop. Correct comments.
11854 Delete "zero" tail, use "end_max" instead.
11855 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11856
db9b4570
AM
118572013-10-04 Alan Modra <amodra@gmail.com>
11858
11859 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11860 support. Don't branch over align.
11861 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11862 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11863 support. Rearrange tmp reg use to suit. Comment.
11864 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11865
f7c399cf
AM
118662013-10-04 Alan Modra <amodra@gmail.com>
11867
11868 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11869
0b2c2ace
AM
118702013-10-04 Alan Modra <amodra@gmail.com>
11871
11872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11873 conditional form of branch and link when obtaining pc.
11874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11875
02f04a6c
AM
118762013-10-04 Alan Modra <amodra@gmail.com>
11877
11878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11879 HIWORD/LOWORD.
11880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11882
9b874b2f
AM
118832013-10-04 Alan Modra <amodra@gmail.com>
11884
11885 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11886 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11887 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11888 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11889 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11890 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11891 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11892 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11893 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11894 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11895
be1e5d31
AB
118962013-10-04 Anton Blanchard <anton@au1.ibm.com>
11897 Alistair Popple <alistair@ozlabs.au.ibm.com>
11898 Alan Modra <amodra@gmail.com>
11899
11900 [BZ #15723]
11901 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11902 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11903 _dl_hwcap access for little-endian.
11904 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11905 destroy vmx regs when saving unaligned.
11906 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11907 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11908 destroy vmx regs when saving unaligned.
11909
fef13a78
AM
119102013-10-04 Alan Modra <amodra@gmail.com>
11911
11912 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11913 Don't use a union to pack hi/low value.
11914
76a66d51
AB
119152013-10-04 Anton Blanchard <anton@au1.ibm.com>
11916
11917 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11918 for little-endian.
11919 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11920 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11921 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11922 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11923 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11924
6a31fe7f
AM
119252013-10-04 Alan Modra <amodra@gmail.com>
11926
11927 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11928 constants to usual value for .cst8 section, and remove redundant
11929 high address load.
11930 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11931 constant for 0x1p52. Load little-endian words of double from
11932 correct stack offsets.
11933
7b88401f
AM
119342013-10-04 Alan Modra <amodra@gmail.com>
11935
11936 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11937 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11938 words of double from correct stack offsets.
11939 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11940 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11941 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11942 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11943 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11944 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11945 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11946 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11947 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11948 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11949 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11950 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11951 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11952 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11953 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11954 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11955 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11956
9c008155
AM
119572013-10-04 Alan Modra <amodra@gmail.com>
11958
11959 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11960 64-bit int/double union.
11961 (_FPU_SETCW): Likewise.
11962 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11963 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11964
da13146d
AM
119652013-10-04 Alan Modra <amodra@gmail.com>
11966
11967 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11968 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11969
603e8410
AM
119702013-10-04 Alan Modra <amodra@gmail.com>
11971
11972 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11973 use vector int constants.
11974 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11975
4a28b3ca
AB
119762013-10-04 Anton Blanchard <anton@au1.ibm.com>
11977
11978 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11979 array with long long.
11980 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11981 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11982 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11983 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11984 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11985 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11986 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11987 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11988 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11989 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11990 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11991 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11992 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11993
2ca85d2b
AB
119942013-10-04 Anton Blanchard <anton@au1.ibm.com>
11995
11996 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11997 (__signbit): Likewise. Correct for little-endian.
11998 (__signbitl): Call __signbit.
11999 (lrint): Correct for little-endian.
12000 (lrintf): Call lrint.
12001
62a728ae
AM
120022013-10-04 Alan Modra <amodra@gmail.com>
12003
12004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12005 union 32-bit int array member with 64-bit int array.
12006 (t515, tm256): Double rather than long double.
12007 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12008
32c301df
AM
120092013-10-04 Alan Modra <amodra@gmail.com>
12010
12011 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12012 Delete.
12013 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12014 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12015 version of math_ldbl.h.
12016
650ef4bd
AM
120172013-10-04 Alan Modra <amodra@gmail.com>
12018
12019 [BZ #15734], [BZ #15735]
12020 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12021 all uses of ieee875 long double macros and unions. Simplify test
12022 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12023 ldbl_extract_mantissa value for ix,iy exponents. Properly
12024 normalize after ldbl_extract_mantissa, and don't add hidden bit
12025 already handled. Don't treat low word of ieee854 mantissa like
12026 low word of IBM long double and mask off bit when testing for
12027 zero.
12028 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12029 all uses of ieee875 long double macros and unions. Simplify tests
12030 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12031 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12032 two1022, instead use their values. Recognise that tests for large
12033 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12034 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12035 Rewrite all uses of ieee875 long double macros and unions. Simplify
12036 test for 0.0L and nan. Correct negation.
12037 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12038 ieee875 long double macros and unions. Correct output for large
12039 magnitude x. Correct absolute value calculation.
12040 (__erfcl): Likewise.
12041 * math/libm-test.inc: Add tests for errors discovered in IBM long
12042 double versions of fmodl, remainderl, erfl and erfcl.
12043
765714ca
AM
120442013-10-04 Alan Modra <amodra@gmail.com>
12045
12046 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12047 all uses of ieee854 long double macros and unions. Simplify tests
12048 for long doubles that are fully specified by the high double.
12049 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12050 Likewise.
12051 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12052 Remove dead code too.
12053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12054 (__ieee754_ynl): Likewise.
12055 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12056 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12057 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12058 Remove dead code too.
12059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12060 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12061 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12062 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12063 Simplify.
12064 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12065 Simplify.
12066 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12067 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12068 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12069 Comment on variable precision.
12070 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12071 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12072 Likewise.
12073 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12074 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12075 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12076 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12077 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12078
4ebd120c
AM
120792013-10-04 Alan Modra <amodra@gmail.com>
12080
12081 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12082 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12083 all uses of ieee854 long double macros and unions.
12084 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12085 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12086 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12087 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12088 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12089 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12090 Likewise.
12091 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12092 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12093 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12094 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12095 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12096 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12097 Simplify sign and nan test too.
12098 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12099 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12100 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12101 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12102 Likewise.
12103 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12104 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12105 Likewise.
12106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12107 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12108 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12109 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12110 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12111 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12112
1b6adf88
AM
121132013-10-04 Alan Modra <amodra@gmail.com>
12114
12115 * stdio-common/printf_size.c (__printf_size): Don't use
12116 union ieee854_long_double in fpnum union.
12117 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12118 signbit macro to retrieve sign from long double.
12119 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12120 retrieve sign from long double.
12121 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12122 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12123 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12124 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12125 * math/test-misc.c (main): Don't use union ieee854_long_double.
12126
4cf69995
AM
121272013-10-04 Alan Modra <amodra@gmail.com>
12128
12129 [BZ #15680]
12130 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12131 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12132 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12133 calculation. Remove unnecessary test for denormal exponent.
12134 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12135 Correct handling of denormals. Avoid undefined shift behaviour.
12136 Correct normalisation of low mantissa when low double is denormal.
12137 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12138 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12139 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12140 Correct normalisation of low mantissa. Test for overflow of high
12141 mantissa and normalise.
12142 (ldbl_nearbyint): Use more readable constant for two52.
12143 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12144 (__mpn_construct_long_double): Fix test for overflow of high
12145 mantissa and correct normalisation. Avoid undefined shift.
12146
9605ca6c
AM
121472013-10-04 Alan Modra <amodra@gmail.com>
12148
12149 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12150 (union ibm_extended_long_double): Define as an array of ieee754_double.
12151 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12152 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12153 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12154 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12155 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12156 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12157 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12158 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12159 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12160 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12161 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12162
975569d0
JM
121632013-10-03 Joseph Myers <joseph@codesourcery.com>
12164
d3d23756
JM
12165 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12166 page size instead of calling getpagesize.
12167
975569d0
JM
12168 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12169 (LOCFILE_ALIGN_MASK): Likewise.
12170 (LOCFILE_ALIGN_UP): Likewise.
12171 (LOCFILE_ALIGNED_P): Likewise.
12172 * locale/programs/ld-collate.c (collate_output): Use the new
12173 macros instead of __alignof__ (int32_t).
12174 * locale/weight.h (findidx): Likewise.
12175
b1fe1f2b
OB
121762013-10-03 Ondřej Bílka <neleai@seznam.cz>
12177
12178 [BZ #431]
12179 * manual/string.texi: Fix strncat and wcsncat.
12180
5f855e35
BM
121812013-10-03 Brooks Moses <bmoses@google.com>
12182
12183 [BZ #15915]
12184 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12185 * Makerules: ...here, and adjust associated comments.
12186
3cef6009
WN
121872013-10-02 Will Newton <will.newton@linaro.org>
12188
12189 * malloc/Makefile: Add tst-pvalloc.
12190 * malloc/tst-pvalloc.c: New file.
12191
7815420b
WN
121922013-10-02 Will Newton <will.newton@linaro.org>
12193
12194 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12195 improve test coverage.
12196
4868b204
WN
121972013-10-02 Will Newton <will.newton@linaro.org>
12198
12199 * malloc/Makefile: Add tst-posix_memalign.
12200 * malloc/tst-posix_memalign.c: New file.
12201
29c793b3
EB
122022013-10-01 Eric Blake <eblake@redhat.com>
12203
12204 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12205 Use __THROWNL rather than __THROW on static functions.
12206
fd967522
PM
122072013-09-30 Petr Machata <pmachata@redhat.com>
12208
12209 * elf/elf.h (R_AARCH64_ABS16): New macro.
12210 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12211 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12212 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12213 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12214 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12215 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12216 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12217 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12218 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12219 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12220 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12221 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12222 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12223 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12224 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12225 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12226 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12227 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12228 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12229 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12230 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12231 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12232 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12233 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12234 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12235 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12236 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12237 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12238 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12239 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12240 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12241 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12242 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12243 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12244 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12245 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12246 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12247 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12248 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12249 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12250 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12251 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12252 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12253 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12254 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12255 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12256 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12257 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12258 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12259 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12260 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12261 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12262 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12263 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12264 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12265 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12266 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12267 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12268 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12269 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12270 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12271 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12272 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12273 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12274 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12275 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12276 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12277 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12278 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12279 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12280 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12281 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12282 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12283 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12284 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12285 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12286 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12287 (R_AARCH64_TLSDESC_LDR): Likewise.
12288 (R_AARCH64_TLSDESC_ADD): Likewise.
12289 (R_AARCH64_TLSDESC_CALL): Likewise.
12290
b2179107
AS
122912013-09-30 Andreas Schwab <schwab@suse.de>
12292
12293 [BZ #15048]
12294 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12295 the nss database lookup.
12296 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12298
47f28d0a
MF
122992013-09-28 Mike Frysinger <vapier@gentoo.org>
12300
12301 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12302
123032013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12304
12305 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12306 ${Bash-specific parameter/pattern/string} parameter expansion.
12307 * sysdeps/unix/make-syscalls.sh: Likewise.
12308
f4518a17
KK
123092013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12310
12311 * sysdeps/sh/stackguard-macros.h: New file.
12312
dc1a95c7
OB
123132013-09-26 Ondřej Bílka <neleai@seznam.cz>
12314
12315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12317 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12318 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12319 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12320 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12321
5ebbff8f
AZ
123222013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12323
12324 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12325 Fix thread ID register.
12326
4fd2cf9f
JM
123272013-09-25 Joseph Myers <joseph@codesourcery.com>
12328
12329 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12330 [POSIX || UNIX98]: Require rather than permitting all symbols from
12331 <time.h>.
12332 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12333 element of struct sched_param.
12334 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12335 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12336 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12337 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12338 constant.
12339
12c22bc4
OL
123402013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12341
12342 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12343 argument calculation.
12344
a03d8ea7
JM
123452013-09-24 Joseph Myers <joseph@codesourcery.com>
12346
12347 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12348 Expect macro.
12349 [POSIX] (pthread_attr_t): Do not require type.
12350 [POSIX] (pthread_cond_t): Likewise.
12351 [POSIX] (pthread_condattr_t): Likewise.
12352 [POSIX] (pthread_key_t): Likewise.
12353 [POSIX] (pthread_mutex_t): Likewise.
12354 [POSIX] (pthread_mutexattr_t): Likewise.
12355 [POSIX] (pthread_once_t): Likewise.
12356 [POSIX] (pthread_t): Likewise.
12357 [POSIX-based standards] (pthread_atfork): Expect function.
12358
6055173a
JM
123592013-09-24 Joseph Myers <joseph@codesourcery.com>
12360 Richard Sandiford <richard@codesourcery.com>
12361
12362 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12363 (swap_endianness_p): New extern variable.
12364 (set_big_endian): New inline function.
12365 (maybe_swap_uint32): Likewise.
12366 (maybe_swap_uint32_array): Likewise.
12367 (maybe_swap_uint32_obstack): Likewise.
12368 * locale/programs/locfile.c: Include <stdbool.h>.
12369 (swap_endianness_p): New variable.
12370 (add_locale_uint32): Call maybe_swap_uint32.
12371 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12372 (write_locale_data): Call maybe_swap_uint32_array.
12373 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12374 maybe_swap_uint32.
12375 (obstack_int32_grow_fast): Likewise.
12376 (output_weightwc): Call maybe_swap_uint32_obstack.
12377 (collate_output): Likewise.
12378 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12379 (OPT_LITTLE_ENDIAN): Likewise.
12380 (options): Add --little-endian and --big-endian options.
12381 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12382 * locale/programs/locarchive.c: Include "locfile.h".
12383 (GET): New macro.
12384 (SET): Likewise.
12385 (INC): Likewise.
12386 (create_archive): Use the new macros to access fields of
12387 structures directly mapped from or written to locale archives.
12388 (oldlocrecentcmp): Likewise.
12389 (enlarge_archive): Likewise.
12390 (insert_name): Likewise.
12391 (add_alias): Likewise.
12392 (add_locale): Likewise.
12393 (delete_locales_from_archive): Likewise.
12394 (show_archive_content): Likewise.
12395 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12396 locale data.
12397
39bf0bb4
RM
123982013-09-24 Roland McGrath <roland@hack.frob.com>
12399
12400 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12401 http://www.gnu.org/doc/freemanuals.texi.
12402 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12403
f02eed10
WN
124042013-09-24 Will Newton <will.newton@linaro.org>
12405
12406 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12407 macro.
12408
a3a6c312
JM
124092013-09-23 Joseph Myers <joseph@codesourcery.com>
12410
12411 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12412 unsigned char.
12413
107375ac
MR
124142013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12415
12416 * manual/threads.texi (POSIX Threads): Fix a typo.
12417
141f3a77
SP
124182013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12419
303e567a
SP
12420 [BZ #14547]
12421 * string/tst-strcoll-overflow.c: New test case.
12422 * string/Makefile (xtests): Add tst-strcoll-overflow.
12423 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12424 cache if string sizes may cause integer overflow.
12425
141f3a77
SP
12426 [BZ #14547]
12427 * string/strcoll_l.c (coll_seq): New members rule, idx,
12428 save_idx and back_us.
12429 (get_next_seq_nocache): New function.
12430 (do_compare_nocache): New function.
12431 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12432 when malloc fails.
12433
c61b4d41
CD
124342013-09-23 Carlos O'Donell <carlos@redhat.com>
12435
0b1f8e35
CD
12436 [BZ #15754]
12437 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12438 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12439 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12440
c61b4d41
CD
12441 [BZ #15754]
12442 * elf/Makefile (tests): Add tst-ptrguard1.
12443 (tests-static): Add tst-ptrguard1-static.
12444 (tst-ptrguard1-ARGS): Define.
12445 (tst-ptrguard1-static-ARGS): Define.
12446 * elf/tst-ptrguard1.c: New file.
12447 * elf/tst-ptrguard1-static.c: New file.
12448 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12449 * sysdeps/i386/stackguard-macros.h: Likewise.
12450 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12451 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12452 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12453 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12454 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12455 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12456
124572013-09-23 Hector Marco <hecmargi@upv.es>
12458 Ismael Ripoll <iripoll@disca.upv.es>
12459 Carlos O'Donell <carlos@redhat.com>
12460
12461 [BZ #15754]
12462 * sysdeps/generic/stackguard-macros.h: Define
12463 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12464 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12465 Define __pointer_chk_guard_local.
12466 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12467 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12468
f5f4e7b4
VV
124692013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12470
12471 [BZ #15859]
12472 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12473
5bb43a43
AS
124742013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12475
12476 * include/string.h (__ffs): Declare as hidden.
12477 * string/ffs.c (__ffs): Define as hidden.
12478 * sysdeps/i386/ffs.c (__ffs): Likewise.
12479 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12480 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12481 * sysdeps/s390/ffs.c (__ffs): Likewise.
12482 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12483
3ea5be54
AO
124842013-09-20 Alexandre Oliva <aoliva@redhat.com>
12485
ffb89e53
AO
12486 * NEWS: Mention malloc probes.
12487
322dea08
AO
12488 * malloc/arena.c (new_heap): New memory_heap_new probe.
12489 (grow_heap): New memory_heap_more probe.
12490 (shrink_heap): New memory_heap_less probe.
12491 (heap_trim): New memory_heap_free probe.
12492 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12493 (systrim): New memory_sbrk_less probe.
12494 * manual/probes.texi: Document them.
12495
655673f3
AO
12496 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12497 * manual/probes.texi: Document it.
12498
35fed6f1
AO
12499 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12500 (__libc_realloc): Add memory_realloc_retry probe.
12501 (__libc_memalign): Add memory_memalign_retry probe.
12502 (__libc_valloc): Add memory_valloc_retry probe.
12503 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12504 (__libc_calloc): Add memory_calloc_retry probe.
12505 * manual/probes.texi: Document them.
12506
6999d38c
AO
12507 * malloc/arena.c (get_free_list): Add probe
12508 memory_arena_reuse_free_list.
12509 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12510 and memory_arena_reuse.
12511 (arena_get2) [!PER_THREAD]: Likewise.
12512 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12513 memory_arena_reuse_realloc.
12514 * manual/probes.texi: Document them.
12515
0653427f
AO
12516 * malloc/malloc.c (__libc_free): Add
12517 memory_mallopt_free_dyn_thresholds probe.
12518 (__libc_mallopt): Add multiple memory_mallopt probes.
12519 * manual/probes.texi: Document them.
12520
3ea5be54
AO
12521 * malloc/malloc.c: Include stap-probe.h.
12522 (__libc_mallopt): Add memory_mallopt probe.
12523 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12524 * manual/probes.texi: New.
12525 * manual/Makefile (chapters): Add probes.
12526 * manual/threads.texi: Set next node.
12527
e35696c3 125282013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 12529
e35696c3
CL
12530 [BZ #15963, #13985]
12531 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12532 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12533 Add `Chinese' to `nan' entry name.
12534
4aafb73c
SP
125352013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12536
12537 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12538 (POLYNOMIAL): Likewise.
12539 (TAYLOR_SINCOS): Likewise.
12540 (TAYLOR_SLOW): Likewise.
12541 (__sin): Use TAYLOR_SINCOS.
12542 (__cos): Likewise.
12543 (slow): Use TAYLOR_SLOW.
12544 (sloww): Likewise.
12545 (bsloww): Likewise.
12546 (csloww): Likewise.
12547
d84f25c7
LD
125482013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12549
12550 * stdlib/strtod_l.c: Fix buffer overrun.
12551
5eea0404
SP
125522013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12553
7849ff93
SP
12554 * benchtests/Makefile (bench): Add sincos.
12555 * benchtests/bench-sincos.c: New file.
12556
cfa3c886
SP
12557 * math/libm-test.inc (cos_test_data): New test inputs.
12558 (sin_test_data): Likewise.
12559
b348e1e3
SP
12560 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12561 macro.
12562 (__sin): Use it.
12563 (__cos): Likewise.
12564 (slow1): Likewise.
12565 (slow2): Likewise.
12566 (sloww1): Likewise.
12567 (sloww2): Likewise.
12568 (bsloww1): Likewise.
12569 (bsloww2): Likewise.
12570 (cslow2): Likewise.
12571 (csloww1): Likewise.
12572 (csloww2): Likewise.
12573
6cce25f8
SP
12574 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12575 function.
12576 (__sin): Use it.
12577 (__cos): Likewise.
12578
5eea0404
SP
12579 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12580 gotos.
12581 (__cos): Likewise.
12582
9c21573c
MR
125832013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12584
12585 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12586 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12587 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12588 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12589 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12590 * elf/cache.c (print_entry): Handle the new cache flags.
12591
24d22e65
JM
125922013-09-18 Joseph Myers <joseph@codesourcery.com>
12593 Aldy Hernandez <aldyh@redhat.com>
12594
12595 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12596 Change condition to [_SOFT_FLOAT].
12597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12602 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12609 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12612 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12613 declaration.
12614
d13ef066
JM
126152013-09-18 Joseph Myers <joseph@codesourcery.com>
12616
2e071de0
JM
12617 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12618 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12619 (__longjmp): Use LOAD_GP to load saved GPRs.
12620 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12621 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12622 (__sigsetjmp): Use SAVE_GP to save GPRs.
12623
d13ef066
JM
12624 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12625 Do not append -msoft-float.
12626 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12627
97a0650b
SP
126282013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12629
12630 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12631
11ca09e9
JM
126322013-09-17 Joseph Myers <joseph@codesourcery.com>
12633
12634 [BZ #15966]
12635 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12636 (_FPU_GETCW): Use initial "__" on variable and field names but not
12637 on macro parameter name.
12638 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12639 parentheses around reference to macro parameter.
12640
08ffcf34
RS
126412013-09-13 Richard Sandiford <richard@codesourcery.com>
12642
12643 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12644 prototype.
12645 (ctype_startup): Use uint32_t in cast and sizeof for
12646 ctype->charnames.
12647
ae7080d3
JL
126482013-09-11 Jia Liu <proljc@gmail.com>
12649
12650 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12651 __daddr_t_defined.
12652 [__FreeBSD__]: Likewise.
12653
5905e7b3
OB
126542013-09-11 Ondřej Bílka <neleai@seznam.cz>
12655
12656 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12657 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12658 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12659 (strchr): Remove __strchr_sse42 ifunc selection.
12660 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12661 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12662
b987c776
WN
126632013-09-11 Will Newton <will.newton@linaro.org>
12664
12665 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12666 parameter to RES. Remove hardcoded 1000 value.
12667 * benchtests/bench-skeleton.c (main): Pass RES parameter
12668 to TIMING_INIT and multiply result by 1000.
12669
ddf985af
AZ
126702013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12671
12672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12673
ffdd3181
AS
126742013-09-11 Andreas Schwab <schwab@suse.de>
12675
12676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12677 if not defined.
12678 (O_TMPFILE) [__USE_GNU]: Define.
12679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12680 Define.
12681
b73ed247
WN
126822013-09-11 Will Newton <will.newton@linaro.org>
12683
12684 [BZ #15857]
12685 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12686 does not overflow.
12687
55e17aad
WN
126882013-09-11 Will Newton <will.newton@linaro.org>
12689
12690 [BZ #15856]
12691 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12692 does not overflow.
12693
1159a193
WN
126942013-09-11 Will Newton <will.newton@linaro.org>
12695
12696 [BZ #15855]
12697 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12698 does not overflow.
12699
5905e7b3 127002013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12701
12702 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12703 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12704 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12705 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12706 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12707
cdfc721b
AM
127082013-09-10 Allan McRae <allan@archlinux.org>
12709
aa04af00
AM
12710 [BZ #15748]
12711 * manual/arith.texi (Parsing of Floats): Clarify
12712 cross-reference.
12713
cdfc721b
AM
12714 [BZ #15849]
12715 * manual/install.texi (Running make install): Mention
12716 --enable-pt-chown.
12717 * INSTALL: Regenerated.
12718
95e7cf29
MR
127192013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12720
12721 * csu/init-first.c (_init): Remove the !SHARED condition around
12722 FPU control word initialization.
12723 * elf/dl-support.c (_dl_fpu_control): New variable.
12724 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12725 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12726 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12727 * math/test-fpucw-static.c: New file.
12728 * math/test-fpucw-ieee.c: New file.
12729 * math/test-fpucw-ieee-static.c: New file.
12730 * math/Makefile (tests): Add `test-fpucw-ieee' and
12731 `$(tests-static)'.
12732 (tests-static): New variable.
12733 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12734 dependency to...
12735 [($(build-shared),yes)]
12736 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12737 ... this.
12738 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12739 New dependency.
12740
83e43bf0
AM
127412013-09-09 Allan McRae <allan@archlinux.org>
12742
a9f5ce09
AM
12743 [BZ #15939]
12744 * manual/string.texi (Collation Functions): Fix typo in
12745 strcoll example.
12746 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12747
34829bc2
AM
12748 [BZ #15893]
12749 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12750
3932737d
AM
12751 [BZ #15892]
12752 * libio/memstream.c (open_memstream): Fix memory leak.
12753 * libio/wmemstream.c (open_wmemstream): Likewise.
12754
83e43bf0
AM
12755 [BZ #15895]
12756 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12757
0c66b8e9
WN
127582013-09-09 Will Newton <will.newton@linaro.org>
12759
12760 * malloc/Makefile: Add tst-realloc to tests.
12761 * malloc/tst-realloc.c: New file.
12762
f6b00fd1
AM
127632013-09-09 Allan McRae <allan@archlinux.org>
12764
12765 [BZ #15844]
12766 * COPYING: Update from GNU website to fix FSF address.
12767 * COPYING.LIB: Likewise.
12768
eec55e16
DM
127692013-09-06 David S. Miller <davem@davemloft.net>
12770
12771 * po/zh_TW.po: Update Chinese (traditional) translation from
12772 translation project.
12773
1ecbb381
RS
127742013-09-06 Richard Sandiford <richard@codesourcery.com>
12775 Joseph Myers <joseph@codesourcery.com>
12776
12777 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12778 "localeinfo.h".
12779 (obstack_chunk_alloc): New macro.
12780 (obstack_chunk_free): Likewise.
12781 (record_offset): New function.
12782 (init_locale_data): Likewise.
12783 (align_locale_data): Likewise.
12784 (add_locale_empty): Likewise.
12785 (add_locale_raw_data): Likewise.
12786 (add_locale_raw_obstack): Likewise.
12787 (add_locale_string): Likewise.
12788 (add_locale_wstring): Likewise.
12789 (add_locale_uint32): Likewise.
12790 (add_locale_uint32_array): Likewise.
12791 (add_locale_char): Likewise.
12792 (start_locale_structure): Likewise.
12793 (end_locale_structure): Likewise.
12794 (start_locale_prelude): Likewise.
12795 (end_locale_prelude): Likewise.
12796 (write_locale_data): Take locale_file structure rather than an
12797 iovec.
12798 * locale/programs/locfile.h: Include "obstack.h".
12799 (struct locale_file): Change to store locale file contents instead
12800 of header.
12801 (init_locale_data): New prototype.
12802 (align_locale_data): Likewise.
12803 (add_locale_empty): Likewise.
12804 (add_locale_raw_data): Likewise.
12805 (add_locale_raw_obstack): Likewise.
12806 (add_locale_string): Likewise.
12807 (add_locale_wstring): Likewise.
12808 (add_locale_uint32): Likewise.
12809 (add_locale_uint32_array): Likewise.
12810 (add_locale_char): Likewise.
12811 (start_locale_structure): Likewise.
12812 (end_locale_structure): Likewise.
12813 (start_locale_prelude): Likewise.
12814 (end_locale_prelude): Likewise.
12815 (write_locale_data): Update prototype.
12816 * locale/programs/3level.h (struct TABLE): Remove result field.
12817 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12818 Use new locale_file interface.
12819 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12820 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12821 * locale/programs/ld-address.c (address_output): Use new
12822 locale_file interface.
12823 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12824 NO_ADD_LOCALE.
12825 (collate_finish): Don't call collseq_table_finalize.
12826 (collate_output): Use new locale_file interface.
12827 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12828 in file.
12829 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12830 (TABLE): Move defines earlier in file.
12831 (ELEMENT): Likewise.
12832 (DEFAULT): Likewise.
12833 (wctrans_table_add): Move macro and inline function earlier in
12834 file.
12835 (struct wctype_table): Move type earlier in file.
12836 (add_locale_wctype_table): New static prototype.
12837 (struct locale_ctype_t): Use logical types instead of struct iovec
12838 pointers for members.
12839 (ctype_output): Use new locale_file interface.
12840 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12841 new locale_file interface.
12842 (allocate_arrays): Update for use of new locale_file interface.
12843 * locale/programs/ld-identification.c (identification_output): Use
12844 new locale_file interface.
12845 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12846 * locale/programs/ld-messages.c (messages_output): Likewise.
12847 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12848 * locale/programs/ld-name.c (name_output): Likewise.
12849 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12850 * locale/programs/ld-paper.c (paper_output): Likewise.
12851 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12852 * locale/programs/ld-time.c (time_output): Likewise.
12853
e029e2e5
AZ
128542013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12855
12856 * benchtests/Makefile: Add memrchr benchmark.
12857 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12858 benchmark as memrchr.
12859 * benchtests/bench-memrchr-ifunc.c: New file.
12860 * benchtests/bench-memrchr.c: New file.
12861
bbf6e8e4
WN
128622013-09-06 Will Newton <will.newton@linaro.org>
12863
12864 * benchtests/Makefile (string-bench): Add memcpy.
12865
6c82a2f8
CD
128662013-09-05 Carlos O'Donell <carlos@redhat.com>
12867 Cong Wang <amwang@redhat.com>
12868
e732c5f0 12869 [BZ #15850]
6c82a2f8
CD
12870 * sysdeps/unix/sysv/linux/bits/in.h
12871 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12872 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12873 before __USE_KERNEL_IPV6_DEFS uses.
12874 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12875 IPPROTO_BEETPH.
12876 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12877 sockaddr_in6, or ipv6_mreq.
12878
5430fc65
AZ
128792013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12880
12881 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12882 memory access for final bytes in some large inputs.
12883 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12884
4660856c
AZ
128852013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12886
12887 * string/test-memrchr.c: New file.
12888 * string/test-memrchr-ifunc.c: New file.
12889 * string/Makefile: Add new memrchr testcase.
12890
bb8ea713
MF
128912013-09-05 Mike Frysinger <vapier@gentoo.org>
12892
12893 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12894 fanotify_init returns EPERM.
12895
b92a20b5
JM
128962013-09-04 Joseph Myers <joseph@codesourcery.com>
12897
12898 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12899 errors.
12900 (top level): Treat second token from macro or constant entries for
12901 allowed headers as allowed.
12902 * include/complex.h: Condition internal declarations on
12903 [!_ISOMAC].
12904 * include/fenv.h: Condition include of <stdbool.h> and internal
12905 declarations on [!_ISOMAC].
7447ccd9
CL
12906
129072013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12908
3e181dda 12909 [BZ #15923]
7447ccd9
CL
12910 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12911
3f2e46a4
JM
129122013-09-04 Joseph Myers <joseph@codesourcery.com>
12913
12914 * configure.in (--enable-versioning): Remove configure option.
12915 (libc_cv_asm_symver_directive): Remove configure test.
12916 (libc_cv_ld_version_script_option): Likewise.
12917 (VERSIONING): Remove variable and AC_SUBST.
12918 (DO_VERSIONING): Remove AC_DEFINE.
12919 * configure: Regenerated.
12920 * config.h.in (DO_VERSIONING): Remove macro.
12921 * Makerules [$(versioning) = yes]: Change conditionals to
12922 [$(build-shared) = yes].
12923 * config.make.in (versioning): Remove variable.
12924 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12925 [$(build-shared) = yes].
12926 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12927 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12928 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12929 [$(build-shared) = yes].
12930 * extra-lib.mk [$(versioning) = yes]: Likewise.
12931 * hurd/Makefile [$(versioning) = yes]: Likewise.
12932 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12933 [SHARED].
12934 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12935 [SHARED].
12936 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12937 [SHARED && !NO_HIDDEN].
12938 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12939 [SHARED].
12940 [SHARED && DO_VERSIONING]: Likewise..
12941 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12942 [$(build-shared) = yes].
12943 * manual/install.texi (--disable-versioning): Remove
12944 documentation.
12945 * INSTALL: Regenerated.
12946 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12947 to [SHARED].
12948 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12949 [$(build-shared) = yes].
12950 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12951 * sysdeps/i386/i686/multiarch/strstr-c.c
12952 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12953 [SHARED && !NO_HIDDEN].
12954 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12955 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12956 * sysdeps/powerpc/powerpc32/dl-machine.c
12957 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12958 * sysdeps/powerpc/powerpc32/sysdep.h
12959 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12960 to [SHARED && PIC && !NO_HIDDEN].
12961 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12962 conditional to [SHARED].
12963
44558701
WN
129642013-09-04 Will Newton <will.newton@linaro.org>
12965
12966 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12967 * benchtests/bench-string.h: Include bench-timing.h instead
12968 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12969 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12970 call to HP_TIMING_DIFF_INIT.
12971 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12972 instead of hp-timing.h macros.
12973 * benchtests/bench-memchr.c: Likewise.
12974 * benchtests/bench-memcmp.c: Likewise.
12975 * benchtests/bench-memcpy.c: Likewise.
12976 * benchtests/bench-memmem.c: Likewise.
12977 * benchtests/bench-memmove.c: Likewise.
12978 * benchtests/bench-memset.c: Likewise.
12979 * benchtests/bench-rawmemchr.c: Likewise.
12980 * benchtests/bench-strcasecmp.c: Likewise.
12981 * benchtests/bench-strcasestr.c: Likewise.
12982 * benchtests/bench-strcat.c: Likewise.
12983 * benchtests/bench-strchr.c: Likewise.
12984 * benchtests/bench-strcmp.c: Likewise.
12985 * benchtests/bench-strcpy.c: Likewise.
12986 * benchtests/bench-strcpy_chk.c: Likewise.
12987 * benchtests/bench-strlen.c: Likewise.
12988 * benchtests/bench-strncasecmp.c: Likewise.
12989 * benchtests/bench-strncat.c: Likewise.
12990 * benchtests/bench-strncmp.c: Likewise.
12991 * benchtests/bench-strncpy.c: Likewise.
12992 * benchtests/bench-strnlen.c: Likewise.
12993 * benchtests/bench-strpbrk.c: Likewise.
12994 * benchtests/bench-strrchr.c: Likewise.
12995 * benchtests/bench-strspn.c: Likewise.
12996 * benchtests/bench-strstr.c: Likewise.
12997
cae16d66
WN
129982013-09-04 Will Newton <will.newton@linaro.org>
12999
13000 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13001
ffa3cd7f
JM
130022013-09-03 Joseph Myers <joseph@codesourcery.com>
13003
13004 [BZ #15427]
13005 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13006 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13007 * math/libm-test.inc (lgamma_test_data): Add more tests.
13008 * sysdeps/i386/fpu/libm-test-ulps: Update.
13009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13010
8f02859f
OB
130112013-09-03 Ondřej Bílka <neleai@seznam.cz>
13012
13013 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13014 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13015 Add ifunc.
13016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13017 Add strcmp-sse2-unaligned
13018 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13019
18d43716
MF
130202013-09-02 Mike Frysinger <vapier@gentoo.org>
13021
13022 * Versions.def (libc): Add GLIBC_2.19.
13023
ac444012
MF
130242013-09-02 Mike Frysinger <vapier@gentoo.org>
13025
13026 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13027 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13028
b7835e32
JM
130292013-09-02 Joseph Myers <joseph@codesourcery.com>
13030
13031 [BZ #14155]
13032 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13033 intermediate calculations in recurrence.
13034 (__ieee754_ynf): Likewise.
13035 * math/libm-test.inc (jn_test_data): Do not allow spurious
13036 underflow exception. Add more tests.
13037 (yn_test_data): Add more tests.
13038 * sysdeps/i386/fpu/libm-test-ulps: Update.
13039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13040
8220f4f0
OB
130412013-09-02 Ondřej Bílka <neleai@seznam.cz>
13042
13043 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13044
f24a6d08
OB
130452013-08-30 Ondřej Bílka <neleai@seznam.cz>
13046
13047 * csu/init-first.c: Fix then/than typos.
13048 * locale/programs/ld-collate.c: Likewise.
13049 * locale/programs/linereader.h: Likewise.
13050 * manual/charset.texi: Likewise.
13051 * manual/filesys.texi: Likewise.
13052 * manual/stdio.texi: Likewise.
13053 * manual/string.texi: Likewise.
13054 * stdlib/fmtmsg.c: Likewise.
13055 * sysdeps/i386/stpncpy.S: Likewise.
13056 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13057 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13058 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13059 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13060
382466e0
OB
130612013-08-30 Ondřej Bílka <neleai@seznam.cz>
13062
13063 * elf/dl-open.c: Fix typos.
13064 * iconvdata/gbbig5.c: Likewise.
13065 * iconvdata/iso-2022-jp.c: Likewise.
13066 * iconv/gconv_int.h: Likewise.
13067 * iconv/loop.c: Likewise.
13068 * nis/rpcsvc/nis.h: Likewise.
13069 * resolv/ns_name.c: Likewise.
13070 * stdio-common/vfscanf.c: Likewise.
13071 * streams/stropts.h: Likewise.
13072 * sunrpc/rpc_thread.c: Likewise.
13073 * sysdeps/i386/strpbrk.S: Likewise.
13074 * sysdeps/ieee754/k_standard.c: Likewise.
13075 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13077 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13078 * sysdeps/mach/hurd/profil.c: Likewise.
13079 * sysdeps/s390/dl-procinfo.h: Likewise.
13080 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13081 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13082 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13083 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13084 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13085
0186c6e9
OB
130862013-08-30 Ondřej Bílka <neleai@seznam.cz>
13087
13088 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13090
d4e16af1
OB
130912013-08-29 Ondřej Bílka <neleai@seznam.cz>
13092
13093 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13094 aix specific files.
13095 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13096 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13097 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13098 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13099 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13100 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13101 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13102 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13103
88335980
TS
131042013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13105 Roland McGrath <roland@hack.frob.com>
13106
13107 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13108 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13109
ed479b02
ST
131102013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13111
13112 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13113 __executable_start symbol instead of _start.
13114
f1cc4c86
TS
131152013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13116
d821f07c
TS
13117 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13118 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13119 Move macros to...
13120 * sysdeps/gnu/ldsodefs.h: ... this new file.
13121
c54290cf
TS
13122 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13123 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13124 instead of ELFOSABI_LINUX.
13125
0007fc9b 13126 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13127 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13128 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13129 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13130 Likewise.
13131 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13132 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13133 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13134 Likewise.
13135 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13136 (ibm_extended_long_double): Add ieee_nan member.
13137 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13138 (do_test): New function.
13139
f1cc4c86
TS
13140 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13141 TEST_TRUNC.
13142 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13143 functions, renamed from truncdfsf_test, trunctfsf_test,
13144 trunctfdf_test.
13145 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13146 functions.
13147 (do_test): Run all these.
13148
6f65e668
OB
131492013-08-29 Ondřej Bílka <neleai@seznam.cz>
13150
13151 * argp/argp-help.c: Fix typos.
13152 * argp/argp-parse.c: Likewise.
13153 * debug/backtracesyms.c: Likewise.
13154 * elf/elf.h: Likewise.
13155 * malloc/malloc.c: Likewise.
13156 * nis/nis_print.c: Likewise.
13157 * resolv/res_comp.c: Likewise.
13158 * stdlib/stdlib.h: Likewise.
13159 * sunrpc/clnt_tcp.c: Likewise.
13160 * sunrpc/clnt_udp.c: Likewise.
13161 * sunrpc/clnt_unix.c: Likewise.
13162 * sysdeps/unix/bsd/ptsname.c: Likewise.
13163 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13164 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13166 Likewise.
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13168 Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13170 Likewise.
6f65e668
OB
13171 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13172
3a309239
SP
131732013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13174
13175 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13177
3b813b29
MF
131782013-08-27 Mike Frysinger <vapier@gentoo.org>
13179
13180 [BZ #15897]
13181 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13182 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13183 ($(objpfx)bug-dl-leaf): New rule.
13184 ($(objpfx)bug-dl-leaf.so): Likewise.
13185 ($(objpfx)bug-dl-leaf.out): Likewise.
13186 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13187 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13188 * dlfcn/bug-dl-leaf.c: New test.
13189 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13190 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13191 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13192 (dlclose): Likewise.
13193 (dlmopen): Likewise.
13194
8cc3269f
RM
131952013-08-27 Roland McGrath <roland@hack.frob.com>
13196
7f9d0034
RM
13197 * include/netdb.h [!_ISOMAC]:
13198 Don't include <tls.h>.
13199 (h_errno, __libc_h_errno): Move declaration and macros out of
13200 [_LIBC_REENTRANT].
13201
fb431262
RM
13202 * include/resolv.h [_RESOLV_H_]:
13203 Don't include <tls.h>.
13204 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13205 * resolv/res_libc.c: Don't include <tls.h>.
13206 (_res): Use __attribute__ ((nocommon)) in place of
13207 __attribute__ ((section (".bss"))).
13208
bd81123a
RM
13209 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13210 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13211
c4e42566
RM
13212 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13213
f890a59b
RM
13214 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13215 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13216
13217 * resolv/res_mkquery.c: Include <sys/time.h>.
13218
5d1f0a09
RM
13219 * inet/ifreq.c: Moved to ...
13220 * sysdeps/unix/ifreq.c: ... here.
13221 * inet/ifreq.c: New file, true stub version.
13222
6fcf28b3
RM
13223 * socket/sa_len.c: New file.
13224 * socket/Makefile (aux): Add it.
13225 * sysdeps/unix/sysv/linux/Makefile
13226 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13227 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13228 and #include <socket/sa_len.c>.
13229 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13230 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13231
e041fb8b
RM
13232 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13233 * bits/socket.h: ... here.
13234
8cc3269f
RM
13235 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13236 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13237 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13238
5d228a43
AS
132392013-08-27 Andreas Schwab <schwab@suse.de>
13240
45b8accc
AS
13241 [BZ #15736]
13242 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13243 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13244 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13245 * string/test-strcasecmp.c (test_main): Run tests in several
13246 locales.
13247 * string/test-strncasecmp.c (test_main): Likewise.
13248
5d228a43
AS
13249 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13250 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13251 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13252 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13253 (__strncasecmp_ssse3) [PIC]: Likewise.
13254
59d112a4
RM
132552013-08-26 Roland McGrath <roland@hack.frob.com>
13256
53234cc3
RM
13257 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13258
59d112a4
RM
13259 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13260 instead of explicitly declaring xdecrypt.
13261 * nis/nss_nis/nis-publickey.c: Likewise.
13262
595aba70
SP
132632013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13264
13265 [BZ #15890]
13266 * nscd/aicache.c: Include res_hconf.h.
13267 (addhstaiX): Initialize res_hconf.
13268
ffabd393
AS
132692013-08-26 Andreas Schwab <schwab@suse.de>
13270
13271 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13272 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13273
e0a69f5c
SP
132742013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13275
13276 * nscd/aicache.c (addhstaiX): Fix indentation.
13277
8c12f01d
MF
132782013-08-25 Mike Frysinger <vapier@gentoo.org>
13279
13280 * configure.ac: Quote $build_pt_chown test.
13281 * configure: Regenerated.
13282
8fe89494
JM
132832013-08-23 Joseph Myers <joseph@codesourcery.com>
13284
13285 [BZ #15532]
13286 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13287 * math/s_cexpf.c (__cexpf): Likewise.
13288 * math/s_cexpl.c (__cexpl): Likewise.
13289 * math/libm-test.inc (cexp_test_data): Correct expected return
13290 value for NaN + i0. Add another test.
13291
75b181d6
DM
132922013-08-22 David S. Miller <davem@davemloft.net>
13293
13294 * po/ca.po: Update Catalan translation from translation project.
936241e4 13295 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13296
acd06bb1
JM
132972013-08-21 Joseph Myers <joseph@codesourcery.com>
13298
13299 [BZ #15797]
13300 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13301 is infinite, not alongside NaN test.
13302 * math/s_fdimf.c (__fdimf): Likewise.
13303 * math/s_fdiml.c (__fdiml): Likewise.
13304 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13305 errno is unchanged.
13306
c0c3f78a
OB
133072013-08-21 Ondřej Bílka <neleai@seznam.cz>
13308
13309 * argp/argp-help.c: Fix typos.
13310 * crypt/speeds.c: Likewise.
13311 * csu/check_fds.c: Likewise.
13312 * elf/dl-load.c: Likewise.
13313 * elf/dl-open.c: Likewise.
13314 * elf/reldep3.c: Likewise.
13315 * elf/reldep.c: Likewise.
13316 * elf/sprof.c: Likewise.
13317 * iconv/iconv_charmap.c: Likewise.
13318 * iconv/skeleton.c: Likewise.
13319 * iconv/strtab.c: Likewise.
13320 * io/lockf64.c: Likewise.
13321 * libio/libioP.h: Likewise.
13322 * resolv/gai_notify.c: Likewise.
13323 * resolv/ns_name.c: Likewise.
13324 * resolv/ns_samedomain.c: Likewise.
13325 * resolv/res_send.c: Likewise.
13326 * stdlib/random.c: Likewise.
13327 * sunrpc/rpc/xdr.h: Likewise.
13328 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13329 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13334 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13335 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13336 * sysdeps/mach/hurd/check_fds.c: Likewise.
13337 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13338 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13339 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13340 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13341 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13342 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13343 * sysdeps/pthread/aio_notify.c: Likewise.
13344 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13345 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13346 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13347 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13348 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13349
46ed1038
LD
133502013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13351
13352 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13353 version if bit_Slow_SSE4_2 is set.
13354 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13355 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13356
d400dcac
AZ
133572013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13358
13359 [BZ #15867]
13360 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13361 trampoline stack frame information.
13362 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13363 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13364 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13365 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13366 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13367 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13368 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13369 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13370 sa_flags value.
13371 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13372 interrupting a syscall and set with option SA_SIGINFO.
13373
42c8fdd8
JM
133742013-08-20 Joseph Myers <joseph@codesourcery.com>
13375
c980f2f4
JM
13376 [BZ #15531]
13377 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13378 argument is infinite.
13379 * math/s_cprojf.c (__cprojf): Likewise.
13380 * math/s_cprojl.c (__cprojl): Likewise.
13381 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13382 * math/libm-test.inc (cproj_test_data): Add more tests.
13383
0716c4fc
JM
13384 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13385
42c8fdd8
JM
13386 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13387 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13388 size. Use __ffs to determine corresponding shift.
13389
b31469d0
JM
133902013-08-20 Joseph Myers <joseph@codesourcery.com>
13391 Roland McGrath <roland@hack.frob.com>
13392
13393 * Makefile (INSTALL): Remove trailing blank lines from output of
13394 makeinfo.
13395
4e39af6e
AK
133962013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13397
13398 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13399 Align 32 bit compat elf_greg to 8 bytes.
13400
f315524e
AA
134012013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13402
13403 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13404
1326ba1a
SP
134052013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13406
13407 * string/strcoll_l.c (coll_seq): New structure.
13408 (get_next_seq_cached): New function.
13409 (get_next_seq): New function.
13410 (do_compare): New function.
13411 (STRCOLL): Use GNU style definition. Simplify implementation
13412 by using get_next_seq, get_next_seq_cached and do_compare.
13413
91ce4085
FW
134142013-08-16 Florian Weimer <fweimer@redhat.com>
13415
13416 [BZ #14699]
13417 CVE-2013-4237
13418 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13419 member.
13420 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13421 member.
13422 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13423 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13424 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13425 conditional.
13426 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13427 GETDENTS_64BIT_ALIGNED.
13428 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13429 * manual/filesys.texi (Reading/Closing Directory): Document
13430 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13431 strongly.
13432 * manual/conf.texi (Limits for Files): Add portability note to
13433 NAME_MAX, PATH_MAX.
13434 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13435
ca0a6bc4
AS
134362013-08-13 Andreas Schwab <schwab@suse.de>
13437
13438 [BZ #15749]
13439 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13440 of fabs.
13441 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13442 LDBL_MAX_EXP >= 16384]: Add tests for it.
13443
6c1fd795
DM
134442013-08-12 David S. Miller <davem@davemloft.net>
13445
13446 * version.h (RELEASE): Set to "development".
13447 (VERSION): Set to "2.18.90".
13448 * NEWS: Add 2.19 section.
13449
31ad488d
DM
134502013-08-03 David S. Miller <davem@davemloft.net>
13451
13452 * po/ko.po: Update Korean translation from translation project.
13453
db24e684
DM
134542013-08-01 David S. Miller <davem@davemloft.net>
13455
13456 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13457 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13458 Bilka.
13459
f723285b
DM
134602013-07-30 David S. Miller <davem@davemloft.net>
13461
13462 * po/fr.po: Update French translation from translation project.
13463
3cbc52db
DM
134642013-07-28 David S. Miller <davem@davemloft.net>
13465
30bbc0cc
DM
13466 * po/cs.po: Update Czech translation from translation project.
13467
3cbc52db
DM
13468 * po/sv.po: Update Swedish translation from translation project.
13469
d492e6d0
DM
134702013-07-27 David S. Miller <davem@davemloft.net>
13471
f1a7f492
DM
13472 * po/eo.po: Update Esperanto translation from translation project.
13473
90e62a4a
DM
13474 * po/vi.po: Update Vietnamese translation from translation project.
13475
d492e6d0
DM
13476 * po/de.po: Update German translation from translation project.
13477
d4baa62d
DM
134782013-07-26 David S. Miller <davem@davemloft.net>
13479
641aa7b4
DM
13480 * po/bg.po: Update Bulgarian translation from translation project.
13481
d4baa62d
DM
13482 * po/nl.po: Update Dutch translation from translation project.
13483 * po/pl.po: Update Polish translation from translation project.
13484 * po/ru.po: Update Russian translation from translation project.
13485
61a9dcb9
DM
134862013-07-24 David S. Miller <davem@davemloft.net>
13487
13488 * po/libc.pot: Update.
13489
7b1f8b58
AZ
134902013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13491
13492 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13493 variable page size.
13494 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13495 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13496 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13497
a8fc7a03
AK
134982013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13499
13500 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13501
e4608715
CD
135022013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13503 Andreas Schwab <schwab@suse.de>
13504 Roland McGrath <roland@hack.frob.com>
13505 Joseph Myers <joseph@codesourcery.com>
13506 Carlos O'Donell <carlos@redhat.com>
13507
13508 [BZ #15755]
13509 * config.h.in: Define HAVE_PT_CHOWN.
13510 * config.make.in (build-pt-chown): New variable.
13511 * configure.in (--enable-pt_chown): New configure option.
13512 * configure: Regenerate.
13513 * login/Makefile: Include Makeconfig. Build pt_chown only if
13514 build-pt-chown is enabled.
13515 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13516 pt_chown to fix pty ownership.
13517 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13518 CLOSE_ALL_FDS.
13519 * manual/install.texi (Configuring and compiling): Mention
13520 --enable-pt_chown. Add @findex for grantpt.
13521 * INSTALL: Regenerate.
13522
da2d62df
DM
135232013-07-20 David S. Miller <davem@davemloft.net>
13524
13525 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13526 difference between 32-bit and 64-bit.
13527
d7e06450
CD
135282013-07-15 Carlos O'Donell <carlos@redhat.com>
13529
13530 [BZ #15711]
13531 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13532 Avoid system header dependency with -ffreestanding.
13533 ($(objpfx)bits/syscall%d): Likewise.
13534
f959cfd7
DM
135352013-07-13 David S. Miller <davem@davemloft.net>
13536
13537 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13538 underflows from atanl/atan2l due to bug 15319.
13539 (casinh_test_data): Likewise.
13540
c61f8513
DM
135412013-07-07 David S. Miller <davem@davemloft.net>
13542
13543 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13544
72c90ed0
JA
135452013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13546
13547 * sysdeps/i386/fpu/libm-test-ulps: Update.
13548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13549
52dfbe13
SP
135502013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13551
13552 * configure.in (--enable-lock-elision): Fix message text.
13553 * INSTALL: Regenerate.
13554 * configure: Regenerate.
13555
3f169543
AZ
135562013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13557
13558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13559
521c6785
AJ
135602013-07-03 Andreas Jaeger <aj@suse.de>
13561
13562 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13563 define.
13564 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13565 (ptrace_peeksiginfo_args): Add.
13566 (__ptrace_peeksiginfo_flags): Add.
13567 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13569 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13570
d2cc15cb
AM
135712013-07-03 Allan McRae <allan@archlinux.org>
13572
13573 * sysdeps/i386/fpu/libm-test-ulps: Update.
13574
3aaeeca7
DM
135752013-07-02 David S. Miller <davem@davemloft.net>
13576
13577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13578
5314ed1a
MT
135792013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13580
13581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13582
67338156
JM
135832013-07-02 Joseph Myers <joseph@codesourcery.com>
13584
13585 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13587
1717da59
AK
135882013-07-02 Andi Kleen <ak@linux.intel.com>
13589
13590 * config.h.in (ENABLE_LOCK_ELISION): Add.
13591 * configure.in (--enable-lock-elision): Add option.
13592 * manual/install.texi: Document --enable lock elision.
13593 * configure: Regenerate
13594 * INSTALL: Regenerate.
13595
1c81621c
L
135962013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13597
13598 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13599 SSE4.2 strcasecmp for libc.a.
13600 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13601
77f01ab5
JM
136022013-07-02 Joseph Myers <joseph@codesourcery.com>
13603
13604 [BZ #13304]
13605 * soft-fp/op-common.h (_FP_FMA): New macro.
13606 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13607 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13608 (_FP_MUL_MEAT_1_imm): ... here.
13609 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13610 (_FP_MUL_MEAT_1_wide): ... here.
13611 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13612 (_FP_MUL_MEAT_1_hard): ... here.
13613 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13614 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13615 (_FP_MUL_MEAT_2_wide): ... here.
13616 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13617 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13618 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13619 (_FP_MUL_MEAT_2_gmp): ... here.
13620 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13621 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13622 (_FP_MUL_MEAT_4_wide): ... here.
13623 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13624 (_FP_MUL_MEAT_4_gmp): ... here.
13625 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13626 (_FP_WFRACBITS_DW_S): Likewise.
13627 (_FP_WFRACXBITS_DW_S): Likewise.
13628 (_FP_HIGHBIT_DW_S): Likewise.
13629 (FP_FMA_S): Likewise.
13630 (_FP_FRAC_HIGH_DW_S): Likewise.
13631 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13632 (_FP_WFRACBITS_DW_D): Likewise.
13633 (_FP_WFRACXBITS_DW_D): Likewise.
13634 (_FP_HIGHBIT_DW_D): Likewise.
13635 (FP_FMA_D): Likewise.
13636 (_FP_FRAC_HIGH_DW_D): Likewise.
13637 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13638 (_FP_WFRACBITS_DW_E): Likewise.
13639 (_FP_WFRACXBITS_DW_E): Likewise.
13640 (_FP_HIGHBIT_DW_E): Likewise.
13641 (FP_FMA_E): Likewise.
13642 (_FP_FRAC_HIGH_DW_E): Likewise.
13643 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13644 (_FP_WFRACBITS_DW_Q): Likewise.
13645 (_FP_WFRACXBITS_DW_Q): Likewise.
13646 (_FP_HIGHBIT_DW_Q): Likewise.
13647 (FP_FMA_Q): Likewise.
13648 (_FP_FRAC_HIGH_DW_Q): Likewise.
13649 * soft-fp/fmasf4.c: New file.
13650 * soft-fp/fmadf4.c: Likewise.
13651 * soft-fp/fmatf4.c: Likewise.
13652
6308fd9a
LD
136532013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13654
13655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13656 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13657 Silvermont.
13658 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13659 macro.
13660 (index_Slow_SSE4_2): Likewise.
13661 (index_Prefer_PMINUB_for_stringop): Likewise.
13662 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13663 bit_Slow_SSE4_2 is set.
13664 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13665 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13666
89cd9569
RA
136672013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13668
13669 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13670 rtld_global._dl_hwcap2.
13671 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13672 POWER8.
13673 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13674 POWER8 feature descriptions defined in _dl_hwcap2.
13675 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13676 string handling for POWER8 feature bits.
13677 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13678 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13679 _dl_powerpc_cap_flags.
13680 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13681 * sysdeps/powerpc/rtld-global-offsets.sym
13682 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13683 _dl_hwcap2 in the rtld_global_ro structure.
13684
1ae8bfe0
RA
136852013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13686
13687 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13688 hardware capabilities in support of AT_HWCAP2.
13689 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13690 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13691 GLRO(dl_hwcap2).
13692 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13693 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13694 explicitly the unknown a_type display mechanism is used.
13695 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13696 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13697 struct member.
13698 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13699 to macro prototype for AT_HWCAP2 support.
13700 * sysdeps/i386/dl-procinfo.h: Likewise.
13701 * sysdeps/s390/dl-procinfo.h: Likewise.
13702 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13703 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13704 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13705 return -1 for unknown a_type display fallback.
13706 * sysdeps/sparc/dl-procinfo.h: Likewise.
13707 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13708 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13709
8fbec010
JM
137102013-06-28 Joseph Myers <joseph@codesourcery.com>
13711
13712 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13713 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13714
0432680e
PY
137152013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13716
13717 [BZ #12492]
13718 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13719 mprotect making __stack_prot writable.
13720
ce61a2ad
NF
137212013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13722 Joseph Myers <joseph@codesourcery.com>
13723
13724 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13725 as being properly aligned.
13726
f91f1c0f
MR
137272013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13728
3d0f5d0c
MR
13729 * dlfcn/modstatic5.c: New file.
13730 * dlfcn/tststatic5.c: New file.
13731 * dlfcn/Makefile (tests): Add tststatic5.
13732 (tests-static): Likewise.
13733 (modules-names): Add modstatic5.
13734 (tststatic5-ENV): New variable.
13735 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13736
f91f1c0f
MR
13737 [BZ #15022]
13738 * elf/dl-support.c (_dl_main_map): New variable.
13739 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13740 (_dl_nns, _dl_load_adds): Set to 1.
13741 (_dl_initial_searchlist): Refer to _dl_main_map.
13742 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13743 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13744 call to _dl_get_origin.
13745 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13746 around call_map.
13747 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13748 * dlfcn/modstatic3.c: New file.
13749 * dlfcn/tststatic3.c: New file.
13750 * dlfcn/tststatic4.c: New file.
13751 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13752 (tests-static): Likewise.
13753 (modules-names): Add modstatic3.
13754 (tststatic3-ENV, tststatic4-ENV): New variables.
13755 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13756 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13757
cbe7d24b
JM
137582013-06-26 Joseph Myers <joseph@codesourcery.com>
13759
13760 * configure.in (CC): Require GCC version 4.4 or later.
13761 * configure: Regenerated.
13762 * manual/install.texi (Tools for Compilation): Update GCC version
13763 requirement.
13764 * INSTALL: Regenerated.
13765
11b8a0e1
LD
137662013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13767
13768 [BZ #15674]
bb5bb87c
L
13769 * string/test-memcmp.c (check2): New.
13770 (main): Call check2.
13771
11b8a0e1
LD
13772 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13773
b0037103
MR
137742013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13775
13776 [BZ #15022]
13777 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13778 over to...
13779 (dl_open_worker) [!SHARED]: ... here.
13780
c18c701d
RA
137812013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13782
13783 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13784
1d17fa5f
RH
137852013-06-25 Richard Henderson <rth@redhat.com>
13786
13787 * locale/programs/locarchive.c: Include <libc-internal.h>
13788
8fcb833a
JM
137892013-06-25 Joseph Myers <joseph@codesourcery.com>
13790
13791 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13792 trailing whitespace removed.
13793
17db6e8d
MF
137942013-06-24 Mike Frysinger <vapier@gentoo.org>
13795
13796 [BZ #10283]
17db6e8d
MF
13797 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13798 * locale/programs/locarchive.c: Include libc-mmap.h.
13799 (prepare_address_space): Take two new outputs (the mmap base and len).
13800 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13801 values.
13802 (create_archive): Declare new mmap base and len values for
13803 prepare_address_space, and store the result in ah.
13804 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13805 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13806 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13807 Declare new mmap base and len values for
13808 prepare_address_space, and store the result in new_ah.
13809 (open_archive): Declare new mmap base and len values for
13810 prepare_address_space, and store the result in ah.
13811 (close_archive): If ah->mmap_base is not NULL, use that and
13812 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13813 * sysdeps/generic/libc-mmap.h: New file.
13814
d605071e
MF
138152013-06-24 Mike Frysinger <vapier@gentoo.org>
13816
13817 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13818 (ALIGN_UP): Likewise.
13819 (PTR_ALIGN_DOWN): Likewise.
13820 (PTR_ALIGN_UP): Likewise.
13821
2f063a6e
RA
138222013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13823
13824 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13825 entry mapped to PPC_PLATFORM_POWER8.
13826 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13827 POWER8.
13828 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13829 (_dl_string_platform): Add case for exporting platform position for
13830 POWER8.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13832 search path to sysdeps/powerpc/powerpc32/power8 directory.
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13834 search path to sysdeps/powerpc/powerpc64/power8 directory.
13835 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13836 power7 directories.
13837 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13838 power7 directories.
13839
a31ee4b3
SP
138402013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13841
a74ca98f
SP
13842 * INSTALL: Regenerate.
13843
a31ee4b3
SP
13844 * nscd/connections.c (nscd_init): Fix comment.
13845
695c378f
JM
138462013-06-22 Joseph Myers <joseph@codesourcery.com>
13847
d8412221
JM
13848 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13849
695c378f
JM
13850 [BZ #15667]
13851 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13852 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13853
d1d54715
MR
138542013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13855
13856 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13857 DL_DST_REQ_STATIC.
13858 (DL_DST_REQ_STATIC): Remove macro.
13859
8fdda7af
JM
138602013-06-21 Joseph Myers <joseph@codesourcery.com>
13861
13862 [BZ #7006]
13863 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13864 with a shift of 0 bits.
13865
f3bc5e5a
MR
138662013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13867
13868 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13869 $(tststatic-ENV).
13870
be09e8c9
KK
138712013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13872
13873 [BZ #15655]
13874 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13875
85c2e611
AZ
138762013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13877
13878 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13879 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13880 accepts -fno-tree-loop-distribute-patterns.
13881 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13882 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13883 recursive call.
13884 * string/memset.c (memset): Likewise.
13885 * string/test-memmove.c (simple_memmove): Disable loop transformation
13886 to library calls.
13887 * string/test-memset.c (simple_memset): Likewise.
13888 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13889 * benchtests/bench-memset.c (simple_memset): Likewise.
13890 * configure: Regenerated.
13891
c91e0825
JM
138922013-06-20 Joseph Myers <joseph@codesourcery.com>
13893
b8c792af
JM
13894 * math/test-misc.c (main): Ignore fesetround failure when failures
13895 of subsequent rounding tests would be ignored.
13896
c91e0825
JM
13897 [BZ #15654]
13898 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13899 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13900 * math/fegetenv.c (__fegetenv): Return 0.
13901 * math/fegetexcept.c (fegetexcept): Return 0.
13902 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13903 FE_TONEAREST.
13904 * math/feholdexcpt.c (feholdexcept): Return 0.
13905 * math/fesetenv.c (__fesetenv): Return 0.
13906 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13907 argument FE_TONEAREST.
13908 * math/feupdateenv.c (__feupdateenv): Return 0.
13909 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13910
bfcacbde
RM
139112013-06-18 Roland McGrath <roland@hack.frob.com>
13912
13913 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13914 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13915 ($(objpfx)rtld-%.os rules): Use them.
13916
e55a9b25
AZ
139172013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13918
13919 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13920 fields.
13921
346d65b3
RM
139222013-06-17 Roland McGrath <roland@hack.frob.com>
13923
12086fb4
RM
13924 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13925 length of target pattern, then descending length of dependency pattern.
13926 * configure.in (AWK): Require gawk 3.1.2 or newer.
13927 * manual/install.texi (Tools for Compilation): Say that we do.
13928 * configure: Regenerated.
13929
346d65b3
RM
13930 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13931 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13932 * scripts/sysd-rules.awk: ... this new script.
13933 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13934 than a glob-style pattern.
13935
1a846317
JM
139362013-06-17 Joseph Myers <joseph@codesourcery.com>
13937
13938 * math/test-misc.c (main): Do not treat incorrectly rounded
13939 conversions as failure unless ROUNDING_TESTS passes.
13940
8fc75e6f
JM
139412013-06-15 Joseph Myers <joseph@codesourcery.com>
13942
3711a167
JM
13943 [BZ #15631]
13944 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13945 restore exception state around main square root computation, then
13946 check for inexactness explicitly.
13947
8fc75e6f
JM
13948 * math/libm-test.inc (fma_test_data): Add another test.
13949
61dd6208
SP
139502013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13951
adf23d2c
SP
13952 * manual/threads.texi (Non-POSIX Extensions): New document
13953 node. Document pthread_getattr_default_np and
13954 pthread_setattr_default_np.
13955
61dd6208
SP
13956 * Versions.def (libpthread): Add GLIBC_2.18.
13957 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13959 Likewise.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13961 Likewise.
13962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13963 Likewise.
13964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13965 Likewise.
13966 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13967 Likewise.
13968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13969 Likewise.
13970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13971 Likewise.
13972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13973 Likewise.
13974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13975 Likewise.
13976
d086fc7b
LD
139772013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13978
13979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13980 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13981
747ef469
SP
139822013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13983 H.J. Lu <hjl.tools@gmail.com>
13984
13985 [BZ #15627]
13986 * sysdeps/x86_64/rtld-memset.c: Remove file.
13987 * sysdeps/x86_64/rtld-memset.S: New file.
13988
1b2feed2
JM
139892013-06-14 Joseph Myers <joseph@codesourcery.com>
13990
13991 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13992 (test_in_one_mode): Take arguments for whether the rounding mode
13993 is supported for each floating-point type.
13994 (do_test): Pass new arguments to test_in_one_mode using
13995 ROUNDING_TESTS.
13996
a58ad3f8
RM
139972013-06-13 Roland McGrath <roland@hack.frob.com>
13998
13999 * posix/tst-waitid.c (do_test): Distinguish different instances of
14000 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14001 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14002 before entering the kernel for waitpid.
14003
c204ab28
SP
140042013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14005
14006 * NEWS: Fix note on clock function precision. Text by Roland
14007 McGrath.
14008
f4a29fba
RM
140092013-06-13 Roland McGrath <roland@hack.frob.com>
14010
14011 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14012 it into place only when and if the sanity check passes.
14013
1f24b9ad
JM
140142013-06-13 Joseph Myers <joseph@codesourcery.com>
14015
14016 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14017 output for whether conversion result is exact. Take argument
14018 indicating whether type is IBM long double.
14019 (round_for_all): Change need_exact field to ibm_ld.
14020 * stdlib/tst-strtod-round.c (struct exactness): New type.
14021 (struct test): Change bool ld_ok field to struct exactness exact.
14022 (TEST): Update all definitions for change to field.
14023 (tests): Regenerate array contents.
14024 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14025 field value. Check for IBM long double here.
14026 (do_test): Update calls to test_in_one_mode.
14027
58206c68
SP
140282013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14029
14030 [BZ #12515]
14031 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14032 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14033
2d6f4c5b 140342013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14035
14036 [BZ #15605]
14037 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14038 generated by the compiler on loop optimizations.
14039 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14040 general definitions.
14041
94f2c076
JM
140422013-06-12 Joseph Myers <joseph@codesourcery.com>
14043
14044 * math/bug-nextafter.c: Include <math-tests.h>.
14045 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14046 the relevant type.
14047 * math/bug-nexttoward.c: Include <math-tests.h>.
14048 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14049 the relevant type.
14050 * math/test-misc.c: Include <math-tests.h>.
14051 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14052 the relevant type.
14053
e0e50a0a
AJ
140542013-06-12 Andreas Jaeger <aj@suse.de>
14055
14056 * po/ia.po: Update Interlingua translation from translation
14057 project.
14058
25061094
SP
140592013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14060
14061 * include/fenv.h: Include stdbool.h.
14062 (struct rm_ctx): New structure.
14063 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14064 Define macro.
14065 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14066 (SET_RESTORE_ROUNDF): Likewise.
14067 (SET_RESTORE_ROUNDL): Likewise.
14068 (SET_RESTORE_ROUND_NOEX): Likewise.
14069 (SET_RESTORE_ROUND_NOEXF): Likewise.
14070 (SET_RESTORE_ROUND_NOEXL): Likewise.
14071 (SET_RESTORE_ROUND_53BIT): Likewise.
14072 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14073 (libc_feresetround_noexf_ctx): Likewise.
14074 (libc_feresetround_noexl_ctx): Likewise.
14075 (libc_feholdsetround_53bit_ctx): Likewise.
14076 (libc_feresetround_53bit_ctx): Likewise.
14077 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14078 (libc_feholdexcept_setround_sse_ctx): New function.
14079 (libc_fesetenv_sse_ctx): Likewise.
14080 (libc_feupdateenv_sse_ctx): Likewise.
14081 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14082 (libc_feholdexcept_setround_387_ctx): Likewise.
14083 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14084 (libc_feholdsetround_387_prec_ctx): Likewise.
14085 (libc_feholdsetround_387_ctx): Likewise.
14086 (libc_feholdsetround_387_53bit_ctx): Likewise.
14087 (libc_feholdsetround_sse_ctx): Likewise.
14088 (libc_feresetround_sse_ctx): Likewise.
14089 (libc_feresetround_387_ctx): Likewise.
14090 (libc_feupdateenv_387_ctx): Likewise.
14091 (libc_feholdexcept_setroundf_ctx): Define macro.
14092 (libc_fesetenvf_ctx): Likewise.
14093 (libc_feupdateenvf_ctx): Likewise.
14094 (libc_feholdsetroundf_ctx): Likewise.
14095 (libc_feresetroundf_ctx): Likewise.
14096 (libc_feholdexcept_setround_ctx): Likewise.
14097 (libc_fesetenv_ctx): Likewise.
14098 (libc_feupdateenv_ctx): Likewise.
14099 (libc_feholdsetround_ctx): Likewise.
14100 (libc_feresetround_ctx): Likewise.
14101 (libc_feholdexcept_setroundl_ctx): Likewise.
14102 (libc_feupdateenvl_ctx): Likewise.
14103 (libc_feholdsetroundl_ctx): Likewise.
14104 (libc_feresetroundl_ctx): Likewise.
14105 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14106 (libc_feresetround_53bit_ctx): Likewise.
14107
59b30555
SP
141082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14109
14110 * locale/iso-639.def: Convert to UTF-8.
14111
f1d73d30
JM
141122013-06-11 Joseph Myers <joseph@codesourcery.com>
14113
14114 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14115 (EXCEPTION_TESTS_double): Likewise.
14116 (EXCEPTION_TESTS_long_double): Likewise.
14117 (EXCEPTION_TESTS): Likewise.
14118 * math/libm-test.inc (test_exceptions): Only test exceptions if
14119 EXCEPTION_TESTS (FLOAT).
14120
94aca5e7
SP
141212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14122
14123 * benchtests/Makefile (string-bench): Add strcpy_chk and
14124 stpcpy_chk.
14125 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14126 * benchtests/bench-stpcpy_chk.c: New file.
14127 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14128 * benchtests/bench-strcpy_chk.c: New file.
14129 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14130 code.
14131 (do_test): Likewise.
14132
fac0c5f2
RA
141332013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14134
14135 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14136 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14137 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14138 with tabs where appropriate.
14139 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14140 dl-procinfo.h.
14141 [PPC_PLATFORM_PPC440]: Likewise.
14142 [PPC_PLATFORM_PPC464]: Likewise.
14143 [PPC_PLATFORM_PPC476]: Likewise.
14144 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14145 ppc464, and ppc476 platform strings merging from ports/
14146 dl-procinfo.h.
14147
f22bc486
AS
141482013-06-11 Andreas Schwab <schwab@suse.de>
14149
14150 [BZ #14991]
14151 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14152 (from_ucs4_idx): Regenerate.
14153 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14154 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14155 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14156 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14157 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14158 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14159 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14160 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14161 from FROM_LOOP and TO_LOOP specific macros.
14162 (BODY): Handle combining characters.
14163 * iconvdata/BIG5HKSCS.irreversible: Update.
14164 * iconvdata/BIG5HKSCS.precomposed: New file.
14165 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14166 characters.
14167 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14168
c1f75dc3
SP
141692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14170
4eacded2
SP
14171 * include/sys/time.h: Fix indentation and add copyright header.
14172
fec799f8
SP
14173 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14174 (do_test): Likewise.
14175 * string/test-memchr.c (do_one_test): Likewise.
14176 (do_test): Likewise.
14177 * string/test-memcmp.c (do_one_test): Likewise.
14178 (do_test): Likewise.
14179 * string/test-memcpy.c (do_one_test): Likewise.
14180 (do_test): Likewise.
14181 * string/test-memmem.c (do_one_test): Likewise.
14182 (do_test): Likewise.
14183 (do_random_tests): Likewise.
14184 * string/test-memmove.c (do_one_test): Likewise.
14185 (do_test): Likewise.
14186 * string/test-memset.c (do_one_test): Likewise.
14187 (do_test): Likewise.
14188 * string/test-rawmemchr.c (do_one_test): Likewise.
14189 (do_test): Likewise.
14190 * string/test-strcasecmp.c (do_one_test): Likewise.
14191 (do_test): Likewise.
14192 * string/test-strcasestr.c (do_one_test): Likewise.
14193 (do_test): Likewise.
14194 * string/test-strcat.c (do_one_test): Likewise.
14195 (do_test): Likewise.
14196 * string/test-strchr.c (do_one_test): Likewise.
14197 (do_test): Likewise.
14198 * string/test-strcmp.c (do_one_test): Likewise.
14199 (do_test): Likewise.
14200 * string/test-strcpy.c (do_one_test): Likewise.
14201 (do_test): Likewise.
14202 * string/test-string.h: Likewise.
14203 (test_init): Likewise.
14204 * string/test-strlen.c (do_one_test): Likewise.
14205 (do_test): Likewise.
14206 * string/test-strncasecmp.c (do_one_test): Likewise.
14207 (do_test): Likewise.
14208 * string/test-strncat.c (do_one_test): Likewise.
14209 (do_test): Likewise.
14210 * string/test-strncmp.c (do_one_test): Likewise.
14211 (do_test_limit): Likewise.
14212 (do_test): Likewise.
14213 * string/test-strncpy.c (do_one_test): Likewise.
14214 (do_test): Likewise.
14215 * string/test-strnlen.c (do_one_test): Likewise.
14216 (do_test): Likewise.
14217 * string/test-strpbrk.c (do_one_test): Likewise.
14218 (do_test): Likewise.
14219 * string/test-strrchr.c (do_one_test): Likewise.
14220 (do_test): Likewise.
14221 * string/test-strspn.c (do_one_test): Likewise.
14222 (do_test): Likewise.
14223 * string/test-strstr.c (do_one_test): Likewise.
14224 (do_test): Likewise.
14225
97020474
SP
14226 * benchtests/Makefile (string-bench): Add string benchmarks.
14227 * benchtests/bench-bcopy-ifunc.c: New file.
14228 * benchtests/bench-bcopy.c: New file.
14229 * benchtests/bench-bzero-ifunc.c: New file.
14230 * benchtests/bench-bzero.c: New file.
14231 * benchtests/bench-memccpy-ifunc.c: New file.
14232 * benchtests/bench-memccpy.c: New file.
14233 * benchtests/bench-memchr-ifunc.c: New file.
14234 * benchtests/bench-memchr.c: New file.
14235 * benchtests/bench-memcmp-ifunc.c: New file.
14236 * benchtests/bench-memcmp.c: New file.
14237 * benchtests/bench-memmem-ifunc.c: New file.
14238 * benchtests/bench-memmem.c: New file.
14239 * benchtests/bench-memmove-ifunc.c: New file.
14240 * benchtests/bench-memmove.c: New file.
14241 * benchtests/bench-mempcpy-ifunc.c: New file.
14242 * benchtests/bench-mempcpy.c: New file.
14243 * benchtests/bench-memset-ifunc.c: New file.
14244 * benchtests/bench-memset.c: New file.
14245 * benchtests/bench-rawmemchr-ifunc.c: New file.
14246 * benchtests/bench-rawmemchr.c: New file.
14247 * benchtests/bench-stpcpy-ifunc.c: New file.
14248 * benchtests/bench-stpcpy.c: New file.
14249 * benchtests/bench-stpncpy-ifunc.c: New file.
14250 * benchtests/bench-stpncpy.c: New file.
14251 * benchtests/bench-strcasecmp-ifunc.c: New file.
14252 * benchtests/bench-strcasecmp.c: New file.
14253 * benchtests/bench-strcasestr-ifunc.c: New file.
14254 * benchtests/bench-strcasestr.c: New file.
14255 * benchtests/bench-strcat-ifunc.c: New file.
14256 * benchtests/bench-strcat.c: New file.
14257 * benchtests/bench-strchr-ifunc.c: New file.
14258 * benchtests/bench-strchr.c: New file.
14259 * benchtests/bench-strchrnul-ifunc.c: New file.
14260 * benchtests/bench-strchrnul.c: New file.
14261 * benchtests/bench-strcmp-ifunc.c: New file.
14262 * benchtests/bench-strcmp.c: New file.
14263 * benchtests/bench-strcpy-ifunc.c: New file.
14264 * benchtests/bench-strcpy.c: New file.
14265 * benchtests/bench-strcspn-ifunc.c: New file.
14266 * benchtests/bench-strcspn.c: New file.
14267 * benchtests/bench-strlen-ifunc.c: New file.
14268 * benchtests/bench-strlen.c: New file.
14269 * benchtests/bench-strncasecmp-ifunc.c: New file.
14270 * benchtests/bench-strncasecmp.c: New file.
14271 * benchtests/bench-strncat-ifunc.c: New file.
14272 * benchtests/bench-strncat.c: New file.
14273 * benchtests/bench-strncmp-ifunc.c: New file.
14274 * benchtests/bench-strncmp.c: New file.
14275 * benchtests/bench-strncpy-ifunc.c: New file.
14276 * benchtests/bench-strncpy.c: New file.
14277 * benchtests/bench-strnlen-ifunc.c: New file.
14278 * benchtests/bench-strnlen.c: New file.
14279 * benchtests/bench-strpbrk-ifunc.c: New file.
14280 * benchtests/bench-strpbrk.c: New file.
14281 * benchtests/bench-strrchr-ifunc.c: New file.
14282 * benchtests/bench-strrchr.c: New file.
14283 * benchtests/bench-strspn-ifunc.c: New file.
14284 * benchtests/bench-strspn.c: New file.
14285 * benchtests/bench-strstr-ifunc.c: New file.
14286 * benchtests/bench-strstr.c: New file.
14287
c1f75dc3
SP
14288 * benchtests/Makefile: Disable parallel execution of targets.
14289 (string-bench): Add memcpy.
14290 (benchset): New variable to store a list of benchmark sets.
14291 (bench-func): Renamed from bench.
14292 (bench-set): New target.
14293 (bench): Depend on bench-func and bench-set.
14294 * benchtests/README: Add section on benchmark sets.
14295 * benchtests/bench-memcpy-ifunc.c: New file.
14296 * benchtests/bench-memcpy.c: New file.
14297 * benchtests/bench-string.h: New file.
14298
50fd745b
AS
142992013-06-11 Andreas Schwab <schwab@suse.de>
14300
14301 [BZ #15577]
14302 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14303 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14304 values in the triple.
14305 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14306 terminator in the group key.
14307
3ee7e9fe
AJ
143082013-06-11 Andreas Jaeger <aj@suse.de>
14309
14310 * po/zh_TW.po: Update Chinese (traditional) translation from
14311 translation project.
14312
89fb6835
SP
143132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14314
14315 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14316 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14317 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14318 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14319 (clock_getcpuclockid): Likewise.
14320 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14321 Add weak_alias and libc_hidden_def.
14322 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14323 * rt/clock_gettime.c (clock_gettime): Rename to
14324 __clock_gettime. Add weak_alias and libc_hidden_def.
14325 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14326 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14327 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14328 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14329 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14330 Likewise.
14331 * rt/clock_settime.c (clock_settime): Rename to
14332 __clock_settime. Add weak_alias and libc_hidden_def.
14333 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14334
0efa6f8b
JM
143352013-06-10 Joseph Myers <joseph@codesourcery.com>
14336
b8c61b4b
JM
14337 * mach/err_boot.sub: Remove trailing whitespace.
14338 * mach/err_ipc.sub: Likewise.
14339 * mach/err_mach.sub: Likewise.
14340
0efa6f8b
JM
14341 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14342 (ROUNDING_TESTS_double): Likewise.
14343 (ROUNDING_TESTS_long_double): Likewise.
14344 (ROUNDING_TESTS): Likewise.
14345 * math/libm-test.inc: Include <math-tests.h>.
14346 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14347 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14348 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14349 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14350
50b818bf
SP
143512013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14352
14353 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14354 of assigning.
14355
60d2f8f3
JM
143562013-06-08 Joseph Myers <joseph@codesourcery.com>
14357
4902d2c3
JM
14358 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14359 otherwise empty TRANS lines.
14360 * sysdeps/gnu/errlist.c: Regenerated.
14361
60d2f8f3
JM
14362 * catgets/gencat.c (error_print): Use (void) in function
14363 definition.
14364 * crypt/crypt_util.c (__init_des): Likewise.
14365 * crypt/speeds.c (Stop): Likewise.
14366 (main): Likewise.
14367 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14368 * inet/ruserpass.c (token): Likewise.
14369 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14370 * intl/localealias.c (extend_alias_table): Likewise.
14371 * intl/plural-exp.c (init_germanic_plural): Likewise.
14372 * libio/fcloseall.c (__fcloseall): Likewise.
14373 * libio/genops.c (_IO_flush_all): Likewise.
14374 (_IO_flush_all_linebuffered): Likewise.
14375 (_IO_cleanup): Likewise.
14376 (_IO_iter_begin): Likewise.
14377 (_IO_iter_end): Likewise.
14378 (_IO_list_lock): Likewise.
14379 (_IO_list_unlock): Likewise.
14380 (_IO_list_resetlock): Likewise.
14381 * libio/getchar.c (getchar): Likewise.
14382 * libio/getchar_u.c (getchar_unlocked): Likewise.
14383 * libio/getwchar.c (getwchar): Likewise.
14384 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14385 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14386 * login/getpt.c (__getpt): Likewise.
14387 * login/tst-utmp.c (main): Likewise.
14388 * malloc/hooks.c (__malloc_check_init): Likewise.
14389 * malloc/malloc.c (__malloc_stats): Likewise.
14390 * malloc/mtrace.c (tr_break): Likewise.
14391 (mtrace): Likewise.
14392 (muntrace): Likewise.
14393 * misc/fstab.c (endfsent): Likewise.
14394 * misc/getclktck.c (__getclktck): Likewise.
14395 * misc/getdtsz.c (__getdtablesize): Likewise.
14396 * misc/gethostid.c (gethostid): Likewise.
14397 * misc/getpagesize.c (__getpagesize): Likewise.
14398 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14399 (__get_nprocs): Likewise.
14400 (__get_phys_pages): Likewise.
14401 (__get_avphys_pages): Likewise.
14402 * misc/getttyent.c (getttyent): Likewise.
14403 (setttyent): Likewise.
14404 (endttyent): Likewise.
14405 * misc/getusershell.c (getusershell): Likewise.
14406 (endusershell): Likewise.
14407 (setusershell): Likewise.
14408 (initshells): Likewise.
14409 * misc/hsearch.c (__hdestroy): Likewise.
14410 * misc/sync.c (sync): Likewise.
14411 * misc/syslog.c (closelog_internal): Likewise.
14412 (closelog): Likewise.
14413 * misc/ttyslot.c (ttyslot): Likewise.
14414 * misc/vhangup.c (vhangup): Likewise.
14415 * posix/fork.c (__fork): Likewise.
14416 * posix/getegid.c (__getegid): Likewise.
14417 * posix/geteuid.c (__geteuid): Likewise.
14418 * posix/getgid.c (__getgid): Likewise.
14419 * posix/getpid.c (__getpid): Likewise.
14420 * posix/getppid.c (__getppid): Likewise.
14421 * posix/getuid.c (__getuid): Likewise.
14422 * posix/pause.c (pause): Likewise.
14423 * posix/setpgrp.c (setpgrp): Likewise.
14424 * posix/setsid.c (__setsid): Likewise.
14425 * posix/test-vfork.c (noop): Likewise.
14426 * resolv/gethnamaddr.c (_endhtent): Likewise.
14427 (_gethtent): Likewise.
14428 (ht_endhostent): Likewise.
14429 (gethostent): Likewise.
14430 (dns_service): Likewise.
14431 * stdlib/drand48.c (drand48): Likewise.
14432 * stdlib/lrand48.c (lrand48): Likewise.
14433 * stdlib/mrand48.c (mrand48): Likewise.
14434 * stdlib/rand.c (rand): Likewise.
14435 * stdlib/random.c (__random): Likewise.
14436 * stdlib/setenv.c (clearenv): Likewise.
14437 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14438 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14439 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14440 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14441 (__get_nprocs): Likewise.
14442 (__get_phys_pages): Likewise.
14443 (__get_avphys_pages): Likewise.
14444 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14445 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14446 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14447 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14448 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14449 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14450 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14451 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14452 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14453 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14454 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14455 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14456 * sysdeps/posix/clock.c (clock): Likewise.
14457 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14458 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14459 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14460 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14461 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14462 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14463 (__get_nprocs_conf): Likewise.
14464 (__get_phys_pages): Likewise.
14465 (__get_avphys_pages): Likewise.
14466 * time/clock.c (clock): Likewise.
14467 * time/tzset.c (__tzname_max): Likewise.
14468
2e09a79a
JM
144692013-06-07 Joseph Myers <joseph@codesourcery.com>
14470
14471 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14472 (__bswap_32): Do not use "register".
14473 * crypt/crypt.c (_ufc_doit_r): Likewise.
14474 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14475 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14476 * gmon/gmon.c (__monstartup): Likewise.
14477 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14478 * hurd/hurdmalloc.c (more_memory): Likewise.
14479 (malloc): Likewise.
14480 (free): Likewise.
14481 (realloc): Likewise.
14482 (malloc_fork_prepare): Likewise.
14483 (malloc_fork_parent): Likewise.
14484 (malloc_fork_child): Likewise.
14485 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14486 (_svcauth_des): Likewise.
14487 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14488 * inet/inet_net.c (inet_network): Likewise.
14489 * inet/inet_netof.c (inet_netof): Likewise.
14490 * inet/rcmd.c (__validuser2_sa): Likewise.
14491 * io/fts.c (fts_open): Likewise.
14492 (fts_load): Likewise.
14493 (fts_close): Likewise.
14494 (fts_read): Likewise.
14495 (fts_children): Likewise.
14496 (fts_build): Likewise.
14497 (fts_stat): Likewise.
14498 (fts_sort): Likewise.
14499 (fts_alloc): Likewise.
14500 (fts_lfree): Likewise.
14501 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14502 (_IO_file_xsgetn): Likewise.
14503 (_IO_file_xsgetn_mmap): Likewise.
14504 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14505 (_IO_cookie_write): Likewise.
14506 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14507 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14508 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14509 * malloc/obstack.c (_obstack_begin): Likewise.
14510 (_obstack_begin_1): Likewise.
14511 (_obstack_newchunk): Likewise.
14512 (_obstack_allocated_p): Likewise.
14513 (obstack_free): Likewise.
14514 (_obstack_memory_used): Likewise.
14515 * misc/getttyent.c (getttynam): Likewise.
14516 (getttyent): Likewise.
14517 (skip): Likewise.
14518 (value): Likewise.
14519 * misc/getusershell.c (initshells): Likewise.
14520 * misc/syslog.c (__vsyslog_chk): Likewise.
14521 * misc/ttyslot.c (ttyslot): Likewise.
14522 * nis/nis_hash.c (__nis_hash): Likewise.
14523 * posix/fnmatch_loop.c (FCT): Likewise.
14524 * posix/getconf.c (print_all): Likewise.
14525 (main): Likewise.
14526 * posix/getopt.c (exchange): Likewise.
14527 * posix/glob.c (globfree): Likewise.
14528 (prefix_array): Likewise.
14529 (__glob_pattern_type): Likewise.
14530 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14531 (NS_GET32): Likewise.
14532 (NS_PUT16): Likewise.
14533 (NS_PUT32): Likewise.
14534 * resolv/gethnamaddr.c (getanswer): Likewise.
14535 (gethostbyname2): Likewise.
14536 (gethostbyaddr): Likewise.
14537 (_gethtent): Likewise.
14538 (_gethtbyname2): Likewise.
14539 (_gethtbyaddr): Likewise.
14540 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14541 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14542 * resolv/res_init.c (__res_vinit): Likewise.
14543 (net_mask): Likewise.
14544 * resolv/res_mkquery.c (outchar): Likewise.
14545 (PRINT): Likewise.
14546 * stdio-common/printf_fp.c (outchar): Likewise.
14547 (PRINT): Likewise.
14548 * stdio-common/printf_fphex.c (outchar): Likewise.
14549 (PRINT): Likewise.
14550 * stdio-common/printf_size.c (outchar): Likewise.
14551 (PRINT): Likewise.
14552 * stdio-common/test_rdwr.c (main): Likewise.
14553 * stdio-common/tfformat.c (matches): Likewise.
14554 * stdio-common/vfprintf.c (outchar): Likewise.
14555 (printf_unknown): Likewise.
14556 (buffered_vfprintf): Likewise.
14557 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14558 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14559 (ReadFile): Likewise.
14560 * stdlib/qsort.c (SWAP): Likewise.
14561 (_quicksort): Likewise.
14562 * stdlib/setenv.c (__add_to_environ): Likewise.
14563 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14564 * stdlib/strtol_l.c (__strtol_l): Likewise.
14565 * stdlib/tst-strtod.c (main): Likewise.
14566 * stdlib/tst-strtol.c (main): Likewise.
14567 * stdlib/tst-strtoll.c (main): Likewise.
14568 * string/bits/string2.h (__strcmp_cc): Likewise.
14569 (__strcmp_cg): Likewise.
14570 (__strcspn_c1): Likewise.
14571 (__strcspn_c2): Likewise.
14572 (__strcspn_c3): Likewise.
14573 (__strspn_c1): Likewise.
14574 (__strspn_c2): Likewise.
14575 (__strspn_c3): Likewise.
14576 (__strsep_1c): Likewise.
14577 (__strsep_2c): Likewise.
14578 (__strsep_3c): Likewise.
14579 * string/memccpy.c (__memccpy): Likewise.
14580 * string/stpcpy.c (__stpcpy): Likewise.
14581 * string/strcmp.c (strcmp): Likewise.
14582 * string/strrchr.c (strrchr): Likewise.
14583 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14584 Likewise.
14585 * sysdeps/mach/hurd/getcwd.c
14586 (_hurd_canonicalize_directory_name_internal): Likewise.
14587 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14588 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14589 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14590 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14591 Likewise, in both definitions.
14592 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14593 definitions.
14594 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14595 64] (__bswap_64): Likewise.
14596 * time/test_time.c (main): Likewise.
14597 * time/tzfile.c (__tzfile_read): Likewise.
14598 (__tzfile_compute): Likewise.
14599 * time/tzset.c (__tzset_parse_tz): Likewise.
14600 (tzset_internal): Likewise.
14601 (compute_change): Likewise.
14602 * wcsmbs/wcscat.c (__wcscat): Likewise.
14603 * wcsmbs/wcschr.c (wcschr): Likewise.
14604 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14605 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14606 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14607 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14608 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14609 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14610 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14611 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14612 * wcsmbs/wmemset.c (wmemset): Likewise.
14613
9e54314b
JM
146142013-06-06 Joseph Myers <joseph@codesourcery.com>
14615
14616 * scripts/config.guess: Update to version 2013-05-16.
14617 * scripts/config.sub: Update to version 2013-04-24.
14618 * scripts/install-sh: Update to version 2011-11-20.07.
14619 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14620 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14621
350635a5
OB
146222013-06-06 Ondřej Bílka <neleai@seznam.cz>
14623
14624 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14625 * elf/sln.c: Likewise.
14626 * hurd/hurd/ioctl.h: Likewise.
14627 * hurd/hurdmalloc.c: Likewise.
14628 * hurd/xattr.c: Likewise.
14629 * include/shlib-compat.h: Likewise.
14630 * inet/ruserpass.c: Likewise.
14631 * libio/iofgets_u.c: Likewise.
14632 * libio/iofgetws_u.c: Likewise.
14633 * locale/programs/ld-identification.c: Likewise.
14634 * locale/programs/ld-time.c: Likewise.
14635 * mach/msg-destroy.c: Likewise.
14636 * nss/nss_files/files-netgrp.c: Likewise.
14637 * resolv/res_data.c: Likewise.
14638 * soft-fp/op-1.h: Likewise.
14639 * soft-fp/op-2.h: Likewise.
14640 * soft-fp/op-4.h: Likewise.
14641 * soft-fp/op-common.h: Likewise.
14642 * stdio-common/printf_fphex.c: Likewise.
14643 * stdlib/strtod_l.c: Likewise.
14644 * sunrpc/rpc/clnt.h: Likewise.
14645 * sysdeps/generic/framestate.c: Likewise.
14646 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14647 * sysdeps/i386/bsd-setjmp.S: Likewise.
14648 * sysdeps/i386/__longjmp.S: Likewise.
14649 * sysdeps/i386/setjmp.S: Likewise.
14650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14651 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14657 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14668 * sysdeps/ieee754/support.c: Likewise.
14669 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14670 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14671 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14672 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14673 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14674 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14675 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14676 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14677 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14678 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14679 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14680 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14681 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14682 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14683 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14684 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14685 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14687
44a988af
OB
146882013-06-05 Ondřej Bílka <neleai@seznam.cz>
14689
25506f09 14690 * posix/transbug.c: Remove executable mode.
44a988af 14691
9c84384c
JM
146922013-06-05 Joseph Myers <joseph@codesourcery.com>
14693
14694 * crypt/speeds.c: Remove trailing whitespace.
14695 * dlfcn/default.c: Likewise.
14696 * elf/ifuncdep2.c: Likewise.
14697 * elf/ifuncmain1.c: Likewise.
14698 * elf/ifuncmain1vis.c: Likewise.
14699 * elf/testobj.h: Likewise.
14700 * elf/tst-stackguard1.c: Likewise.
14701 * gmon/sys/gmon.h: Likewise.
14702 * hurd/hurdmsg.c: Likewise.
14703 * hurd/new-fd.c: Likewise.
14704 * hurd/ports-get.c: Likewise.
14705 * iconvdata/ibm1008_420.c: Likewise.
14706 * inet/tst-getni1.c: Likewise.
14707 * inet/tst-getni2.c: Likewise.
14708 * libio/ioungetc.c: Likewise.
14709 * libio/wfiledoalloc.c: Likewise.
14710 * manual/libm-err-tab.pl: Likewise.
14711 * math/w_dremf.c: Likewise.
14712 * misc/ftruncate.c: Likewise.
14713 * posix/bug-glob2.c: Likewise.
14714 * posix/tst-pcre.c: Likewise.
14715 * posix/wait4.c: Likewise.
14716 * resolv/README: Likewise.
14717 * resolv/res_debug.h: Likewise.
14718 * resolv/tst-inet_ntop.c: Likewise.
14719 * setjmp/bug269-setjmp.c: Likewise.
14720 * soft-fp/extended.h: Likewise.
14721 * soft-fp/op-1.h: Likewise.
14722 * soft-fp/op-2.h: Likewise.
14723 * soft-fp/op-4.h: Likewise.
14724 * soft-fp/op-8.h: Likewise.
14725 * soft-fp/testit.c: Likewise.
14726 * stdio-common/bug16.c: Likewise.
14727 * stdlib/random.c: Likewise.
14728 * sunrpc/rpcsvc/rquota.x: Likewise.
14729 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14730 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14731 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14732 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14733 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14734 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14735 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14736 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14738 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14739 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14740 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14741 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14742 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14743 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14744 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14745 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14746 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14747 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14748 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14749 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14750 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14751 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14752 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14753 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14754 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14755 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14756 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14757 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14758 * sysdeps/ieee754/s_lib_version.c: Likewise.
14759 * sysdeps/mach/hurd/check_fds.c: Likewise.
14760 * sysdeps/mach/hurd/getsockname.c: Likewise.
14761 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14762 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14763 * sysdeps/powerpc/bits/link.h: Likewise.
14764 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14765 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14766 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14767 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14768 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14769 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14770 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14771 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14772 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14773 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14774 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14775 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14776 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14777 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14778 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14779 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14780 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14781 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14782 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14783 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14784 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14785 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14786 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14787 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14788 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14789 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14790 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14791 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14793 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14794 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14795 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14796 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14797 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14798 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14799 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14800 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14801 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14802 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14803 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14804 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14805 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14806 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14807 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14808 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14809 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14810 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14811 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14812 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14813 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14814 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14815 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14816 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14817 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14818 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14819 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14820 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14821 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14822 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14823 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14824 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14825 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14826 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14827 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14828 * sysdeps/powerpc/sysdep.h: Likewise.
14829 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14830 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14831 * sysdeps/sh/dl-trampoline.S: Likewise.
14832 * sysdeps/sh/memset.S: Likewise.
14833 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14834 * sysdeps/sh/strlen.S: Likewise.
14835 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14836 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14837 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14838 * sysdeps/sparc/sparc32/rem.S: Likewise.
14839 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14840 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14841 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14842 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14843 * sysdeps/sparc/sparc32/urem.S: Likewise.
14844 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14845 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14846 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14847 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14848 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14849 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14850 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14851 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14852 * sysdeps/unix/bsd/times.c: Likewise.
14853 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14854 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14858 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14859 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14860 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14861 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14862 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14863 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14864 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14865 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14866 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14867 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14868 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14869 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14870 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14871 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14872 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14873 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14874 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14875 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14876 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14877 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14878 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14879 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14880 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14881 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14882 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14883 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14884 * sysdeps/x86_64/strcspn.S: Likewise.
14885
869378a5
RA
148862013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14887
14888 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14889 generated file. Regenerate properly from gen-translit.pl.
14890 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14891 locale/C-translit.h.
14892
840e2943
AS
148932013-06-05 Andreas Schwab <schwab@suse.de>
14894
14895 [BZ #15100]
14896 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14897 week as 6 instead of -1.
14898 * time/tst-strptime.c (day_tests): Add test case.
14899
4c60cb0c
SP
149002013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14901
14902 * sysdeps/generic/math_private.h
14903 (libc_feholdexcept_setround_53bit): Replace with
14904 libc_feholdsetround_53bit.
14905 (libc_feupdateenv_53bit): Replace with
14906 libc_feresetround_53bit.
14907 (SET_RESTORE_ROUND_53BIT): Adjust.
14908
d180203e
SP
149092013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14910
96df079a
SP
14911 * string/test-strchrnul.c: Add copyright header.
14912
d180203e
SP
14913 * posix/tst-getaddrinfo4.c: Increase test timeout.
14914
8b0ccb2d
CD
149152013-06-03 Carlos O'Donell <carlos@redhat.com>
14916
14917 [BZ #15536]
14918 * math/libm-test.inc (MAX_EXP): Remove
14919 (MIN_EXP): Define.
14920 (ulp): Use MIN_EXP - MANT_DIG.
14921 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14922
3b3c4d40
CD
149232013-05-31 Carlos O'Donell <carlos@redhat.com>
14924
14925 * po/be.po: Revert last change.
14926 * po/zh_CN.po: Likewise.
14927 * po/header.pot: Likewise.
14928
fab7ce3f
JM
149292013-05-31 Joseph Myers <joseph@codesourcery.com>
14930
14931 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14932 link-libc-deps to empty as target-specific variable.
14933 * Makerules (link-libc-args): New variable.
14934 (libc-for-link): Likewise.
14935 (link-libc-deps): Likewise.
14936 (lib%.so): Depend on $(link-libc-deps). Link with
14937 $(link-libc-args).
14938 (build-module): Link with $(link-libc-args).
14939 (build-module-asneeded): Likewise.
14940 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14941 list of objects.
14942 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14943 target-specific variable.
14944 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14945 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14946 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14947 libc.
14948 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14949 libc and ld.so.
14950 ($(objpfx)libpcprofile.so): Likewise.
14951 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14952 libc_nonshared.a.
14953 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14954 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14955 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14956 $(link-libc-deps).
14957 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14958 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14959 * login/Makefile ($(objpfx)libutil.so): Likewise.
14960 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14961 * math/Makefile ($(objpfx)libm.so): Likewise.
14962 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14963 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14964 variable instead of depending directly on libc.
14965 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14966 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14967 $(link-libc-deps).
14968 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14969 libc.
14970 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14971 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14972 ($(objpfx)libanl.so): Likewise.
14973 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14974 ld.so.
14975 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14976 $(link-libc-deps).
14977 * sysdeps/i386/fpu/Makefile: Remove file.
14978 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14979 ($(objpfx)libm.so): Remove dependency on ld.so.
14980
eca5920c
PF
149812013-05-30 Patsy Franklin <pfrankli@redhat.com>
14982
14983 [BZ # 15553]
14984 * nis/yp_xdr.c (XDRMAXNAME): Define.
14985 (XDRMAXRECORD): Define.
14986 (xdr_domainname): Use XDRMAXNAME.
14987 (xdr_mapname): Likewise.
14988 (xdr_peername): Likewise.
14989 (xdr_keydat): Use XDRMAXRECORD.
14990 (xdr_valdat): Likewise.
14991
149922013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14993
14994 [BZ #14256]
14995 * manual/errno.texi (ESTALE): Update to account for more than
14996 just NFS file systems.
14997 * sysdeps/gnu/errlist.c: Regenerated.
14998
b9375348
SP
149992013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15000
15001 [BZ #15465]
15002 * elf/Makefile (tests): Add tst-null-argv.
15003 (modules-names): Add tst-null-argv-lib.
15004 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15005 (tst-null-argv-ENV): Set environment for tst-null-argv.
15006 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15007 (RTLD_PROGNAME): New macro.
15008 * elf/tst-null-argv.c: New test case.
15009 * elf/tst-null-argv-lib.c: Library for test case.
15010 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15011 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15012 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15013 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15014 * elf/dl-init.c (call_init): Likewise.
15015 (_dl_init): Likewise.
15016 * elf/dl-load.c (print_search_path): Likewise.
15017 (_dl_map_object): Likewise.
15018 * elf/dl-lookup.c (do_lookup_x): Likewise.
15019 (add_dependency): Likewise.
15020 (_dl_lookup_symbol_x): Likewise.
15021 (_dl_debug_bindings): Likewise.
15022 * elf/dl-open.c (_dl_show_scope): Likewise.
15023 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15024 * elf/dl-version.c (match_symbol): Likewise.
15025 (_dl_check_map_versions): Likewise.
15026 * elf/rtld.c (dl_main): Likewise.
15027 (print_unresolved): Use RTLD_PROGNAME.
15028 (print_missing_version): Likewise.
15029 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15030 (elf_machine_rela): Likewise.
15031 * sysdeps/powerpc/powerpc32/dl-machine.c
15032 (__process_machine_rela): Likewise.
15033 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15034 Likewise.
15035 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15036 Likewise.
15037 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15038 Likewise.
15039 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15040 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15041 Likewise.
15042 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15043 Likewise.
15044 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15045
8a9f20c8
CD
150462013-05-28 Carlos O'Donell <carlos@redhat.com>
15047
15048 * po/be.po: Add descriptive title.
15049 * po/zh_CN.po: Likewise.
15050 * po/header.pot: Likewise.
15051
0e60d68e
MF
150522013-05-28 Mike Frysinger <vapier@gentoo.org>
15053
15054 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15055 error message.
15056 (enlarge_archive): Likewise.
15057
56b672e9
BN
150582013-05-28 Ben North <ben@redfrontdoor.org>
15059
15060 * manual/arith.texi (frexp): It is the magnitude of the return
15061 value which lies in [0.5, 1), not the return value itself.
15062
5e056687
AZ
150632013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15064
15065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15066
2b66ef5d
TS
150672013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15068
528c2405
TS
15069 * stdio-common/bug26.c (main): Correct fscanf template.
15070
07b4c13d
TS
15071 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15072 declare _dl_skip_args.
15073
ec9dd97c
TS
15074 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15075 Don't declare.
15076
2b66ef5d
TS
15077 * manual/platform.texi: Add missing @end deftypefun.
15078
4f8dfe27
JM
150792013-05-24 Joseph Myers <joseph@codesourcery.com>
15080
0323d086
JM
15081 [BZ #15529]
15082 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15083 bit of mantissa of 2^16382.
15084 * math/libm-test.inc (hypot_test_data): Add more tests.
15085
dd4259b9
JM
15086 * math/libm-test.inc: Add drem and pow10 to list of tested
15087 functions.
15088 (pow10_test): New function.
15089 (drem_test): Likewise.
15090 (drem_test_tonearest): Likewise.
15091 (drem_test_towardzero): Likewise.
15092 (drem_test_downward): Likewise.
15093 (drem_test_upward): Likewise.
15094 (main): Call the new functions.
15095
4f8dfe27
JM
15096 * math/libm-test.inc (finite_test_data): Remove.
15097 (finite_test): Run tests from isfinite_test_data.
15098 (gamma_test_data): Remove.
15099 (gamma_test): Run tests from lgamma_test_data.
15100 * sysdeps/i386/fpu/libm-test-ulps: Update.
15101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15102
d116b7c4
AZ
151032013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15104
15105 * manual/platform.texi: Add PowerPC PPR function set documentation.
15106 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15107 implementation.
15108
e96e3767
CD
151092013-05-24 Carlos O'Donell <carlos@redhat.com>
15110
15111 * math/libm-test.inc (MAX_EXP): Define.
15112 (ULPDIFF): Define.
15113 (ulp): New function.
15114 (check_float_internal): Use ULPDIFF.
15115 (cpow_test): Disable failing test.
15116 (check_ulp): Test ulp() implemetnation.
15117 (main): Call check_ulp before starting tests.
15118
b679a606
JM
151192013-05-24 Joseph Myers <joseph@codesourcery.com>
15120
e8bdba36
JM
15121 * math/gen-libm-test.pl (generate_testfile): Do not handle
15122 START_DATA and END_DATA.
15123 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15124 END_DATA.
15125 (acos_tonearest_test_data): Likewise.
15126 (acos_towardzero_test_data): Likewise.
15127 (acos_downward_test_data): Likewise.
15128 (acos_upward_test_data): Likewise.
15129 (acosh_test_data): Likewise.
15130 (asin_test_data): Likewise.
15131 (asin_tonearest_test_data): Likewise.
15132 (asin_towardzero_test_data): Likewise.
15133 (asin_downward_test_data): Likewise.
15134 (asin_upward_test_data): Likewise.
15135 (asinh_test_data): Likewise.
15136 (atan_test_data): Likewise.
15137 (atanh_test_data): Likewise.
15138 (atan2_test_data): Likewise.
15139 (cabs_test_data): Likewise.
15140 (cacos_test_data): Likewise.
15141 (cacosh_test_data): Likewise.
15142 (carg_test_data): Likewise.
15143 (casin_test_data): Likewise.
15144 (casinh_test_data): Likewise.
15145 (catan_test_data): Likewise.
15146 (catanh_test_data): Likewise.
15147 (cbrt_test_data): Likewise.
15148 (ccos_test_data): Likewise.
15149 (ccosh_test_data): Likewise.
15150 (ceil_test_data): Likewise.
15151 (cexp_test_data): Likewise.
15152 (cimag_test_data): Likewise.
15153 (clog_test_data): Likewise.
15154 (clog10_test_data): Likewise.
15155 (conj_test_data): Likewise.
15156 (copysign_test_data): Likewise.
15157 (cos_test_data): Likewise.
15158 (cos_tonearest_test_data): Likewise.
15159 (cos_towardzero_test_data): Likewise.
15160 (cos_downward_test_data): Likewise.
15161 (cos_upward_test_data): Likewise.
15162 (cosh_test_data): Likewise.
15163 (cosh_tonearest_test_data): Likewise.
15164 (cosh_towardzero_test_data): Likewise.
15165 (cosh_downward_test_data): Likewise.
15166 (cosh_upward_test_data): Likewise.
15167 (cpow_test_data): Likewise.
15168 (cproj_test_data): Likewise.
15169 (creal_test_data): Likewise.
15170 (csin_test_data): Likewise.
15171 (csinh_test_data): Likewise.
15172 (csqrt_test_data): Likewise.
15173 (ctan_test_data): Likewise.
15174 (ctan_tonearest_test_data): Likewise.
15175 (ctan_towardzero_test_data): Likewise.
15176 (ctan_downward_test_data): Likewise.
15177 (ctan_upward_test_data): Likewise.
15178 (ctanh_test_data): Likewise.
15179 (ctanh_tonearest_test_data): Likewise.
15180 (ctanh_towardzero_test_data): Likewise.
15181 (ctanh_downward_test_data): Likewise.
15182 (ctanh_upward_test_data): Likewise.
15183 (erf_test_data): Likewise.
15184 (erfc_test_data): Likewise.
15185 (exp_test_data): Likewise.
15186 (exp_tonearest_test_data): Likewise.
15187 (exp_towardzero_test_data): Likewise.
15188 (exp_downward_test_data): Likewise.
15189 (exp_upward_test_data): Likewise.
15190 (exp10_test_data): Likewise.
15191 (exp2_test_data): Likewise.
15192 (expm1_test_data): Likewise.
15193 (fabs_test_data): Likewise.
15194 (fdim_test_data): Likewise.
15195 (finite_test_data): Likewise.
15196 (floor_test_data): Likewise.
15197 (fma_test_data): Likewise.
15198 (fma_towardzero_test_data): Likewise.
15199 (fma_downward_test_data): Likewise.
15200 (fma_upward_test_data): Likewise.
15201 (fmax_test_data): Likewise.
15202 (fmin_test_data): Likewise.
15203 (fmod_test_data): Likewise.
15204 (fpclassify_test_data): Likewise.
15205 (frexp_test_data): Likewise.
15206 (gamma_test_data): Likewise.
15207 (hypot_test_data): Likewise.
15208 (ilogb_test_data): Likewise.
15209 (isfinite_test_data): Likewise.
15210 (isgreater_test_data): Likewise.
15211 (isgreaterequal_test_data): Likewise.
15212 (isinf_test_data): Likewise.
15213 (isless_test_data): Likewise.
15214 (islessequal_test_data): Likewise.
15215 (islessgreater_test_data): Likewise.
15216 (isnan_test_data): Likewise.
15217 (isnormal_test_data): Likewise.
15218 (issignaling_test_data): Likewise.
15219 (isunordered_test_data): Likewise.
15220 (j0_test_data): Likewise.
15221 (j1_test_data): Likewise.
15222 (jn_test_data): Likewise.
15223 (ldexp_test_data): Likewise.
15224 (lgamma_test_data): Likewise.
15225 (lrint_test_data): Likewise.
15226 (lrint_tonearest_test_data): Likewise.
15227 (lrint_towardzero_test_data): Likewise.
15228 (lrint_downward_test_data): Likewise.
15229 (lrint_upward_test_data): Likewise.
15230 (llrint_test_data): Likewise.
15231 (llrint_tonearest_test_data): Likewise.
15232 (llrint_towardzero_test_data): Likewise.
15233 (llrint_downward_test_data): Likewise.
15234 (llrint_upward_test_data): Likewise.
15235 (log_test_data): Likewise.
15236 (log10_test_data): Likewise.
15237 (log1p_test_data): Likewise.
15238 (log2_test_data): Likewise.
15239 (logb_test_data): Likewise.
15240 (logb_downward_test_data): Likewise.
15241 (lround_test_data): Likewise.
15242 (llround_test_data): Likewise.
15243 (modf_test_data): Likewise.
15244 (nearbyint_test_data): Likewise.
15245 (nextafter_test_data): Likewise.
15246 (nexttoward_test_data): Likewise.
15247 (pow_test_data): Likewise.
15248 (pow_tonearest_test_data): Likewise.
15249 (pow_towardzero_test_data): Likewise.
15250 (pow_downward_test_data): Likewise.
15251 (pow_upward_test_data): Likewise.
15252 (remainder_test_data): Likewise.
15253 (remainder_tonearest_test_data): Likewise.
15254 (remainder_towardzero_test_data): Likewise.
15255 (remainder_downward_test_data): Likewise.
15256 (remainder_upward_test_data): Likewise.
15257 (remquo_test_data): Likewise.
15258 (rint_test_data): Likewise.
15259 (rint_tonearest_test_data): Likewise.
15260 (rint_towardzero_test_data): Likewise.
15261 (rint_downward_test_data): Likewise.
15262 (rint_upward_test_data): Likewise.
15263 (round_test_data): Likewise.
15264 (scalb_test_data): Likewise.
15265 (scalbn_test_data): Likewise.
15266 (scalbln_test_data): Likewise.
15267 (signbit_test_data): Likewise.
15268 (sin_test_data): Likewise.
15269 (sin_tonearest_test_data): Likewise.
15270 (sin_towardzero_test_data): Likewise.
15271 (sin_downward_test_data): Likewise.
15272 (sin_upward_test_data): Likewise.
15273 (sincos_test_data): Likewise.
15274 (sinh_test_data): Likewise.
15275 (sinh_tonearest_test_data): Likewise.
15276 (sinh_towardzero_test_data): Likewise.
15277 (sinh_downward_test_data): Likewise.
15278 (sinh_upward_test_data): Likewise.
15279 (sqrt_test_data): Likewise.
15280 (tan_test_data): Likewise.
15281 (tan_tonearest_test_data): Likewise.
15282 (tan_towardzero_test_data): Likewise.
15283 (tan_downward_test_data): Likewise.
15284 (tan_upward_test_data): Likewise.
15285 (tanh_test_data): Likewise.
15286 (tgamma_test_data): Likewise.
15287 (trunc_test_data): Likewise.
15288 (y0_test_data): Likewise.
15289 (y1_test_data): Likewise.
15290 (yn_test_data): Likewise.
15291 (significand_test_data): Likewise.
15292
b679a606
JM
15293 * math/gen-libm-test.pl (@functions): Remove variable.
15294 (generate_testfile): Don't handle START and END lines.
15295 * math/libm-test.inc (START): New macro.
15296 (END): Likewise.
15297 (END_COMPLEX): Likewise.
15298 (acos_test): Use END macro without arguments.
15299 (acos_test_tonearest): Likewise.
15300 (acos_test_towardzero): Likewise.
15301 (acos_test_downward): Likewise.
15302 (acos_test_upward): Likewise.
15303 (acosh_test): Likewise.
15304 (asin_test): Likewise.
15305 (asin_test_tonearest): Likewise.
15306 (asin_test_towardzero): Likewise.
15307 (asin_test_downward): Likewise.
15308 (asin_test_upward): Likewise.
15309 (asinh_test): Likewise.
15310 (atan_test): Likewise.
15311 (atanh_test): Likewise.
15312 (atan2_test): Likewise.
15313 (cabs_test): Likewise.
15314 (cacos_test): Use END_COMPLEX macro without arguments.
15315 (cacosh_test): Likewise.
15316 (carg_test): Use END macro without arguments.
15317 (casin_test): Use END_COMPLEX macro without arguments.
15318 (casinh_test): Likewise.
15319 (catan_test): Likewise.
15320 (catanh_test): Likewise.
15321 (cbrt_test): Use END macro without arguments.
15322 (ccos_test): Use END_COMPLEX macro without arguments.
15323 (ccosh_test): Likewise.
15324 (ceil_test): Use END macro without arguments.
15325 (cexp_test): Use END_COMPLEX macro without arguments.
15326 (cimag_test): Use END macro without arguments.
15327 (clog_test): Use END_COMPLEX macro without arguments.
15328 (clog10_test): Likewise.
15329 (conj_test): Likewise.
15330 (copysign_test): Use END macro without arguments.
15331 (cos_test): Likewise.
15332 (cos_test_tonearest): Likewise.
15333 (cos_test_towardzero): Likewise.
15334 (cos_test_downward): Likewise.
15335 (cos_test_upward): Likewise.
15336 (cosh_test): Likewise.
15337 (cosh_test_tonearest): Likewise.
15338 (cosh_test_towardzero): Likewise.
15339 (cosh_test_downward): Likewise.
15340 (cosh_test_upward): Likewise.
15341 (cpow_test): Use END_COMPLEX macro without arguments.
15342 (cproj_test): Likewise.
15343 (creal_test): Use END macro without arguments.
15344 (csin_test): Use END_COMPLEX macro without arguments.
15345 (csinh_test): Likewise.
15346 (csqrt_test): Likewise.
15347 (ctan_test): Likewise.
15348 (ctan_test_tonearest): Likewise.
15349 (ctan_test_towardzero): Likewise.
15350 (ctan_test_downward): Likewise.
15351 (ctan_test_upward): Likewise.
15352 (ctanh_test): Likewise.
15353 (ctanh_test_tonearest): Likewise.
15354 (ctanh_test_towardzero): Likewise.
15355 (ctanh_test_downward): Likewise.
15356 (ctanh_test_upward): Likewise.
15357 (erf_test): Use END macro without arguments.
15358 (erfc_test): Likewise.
15359 (exp_test): Likewise.
15360 (exp_test_tonearest): Likewise.
15361 (exp_test_towardzero): Likewise.
15362 (exp_test_downward): Likewise.
15363 (exp_test_upward): Likewise.
15364 (exp10_test): Likewise.
15365 (exp2_test): Likewise.
15366 (expm1_test): Likewise.
15367 (fabs_test): Likewise.
15368 (fdim_test): Likewise.
15369 (finite_test): Likewise.
15370 (floor_test): Likewise.
15371 (fma_test): Likewise.
15372 (fma_test_towardzero): Likewise.
15373 (fma_test_downward): Likewise.
15374 (fma_test_upward): Likewise.
15375 (fmax_test): Likewise.
15376 (fmin_test): Likewise.
15377 (fmod_test): Likewise.
15378 (fpclassify_test): Likewise.
15379 (frexp_test): Likewise.
15380 (gamma_test): Likewise.
15381 (hypot_test): Likewise.
15382 (ilogb_test): Likewise.
15383 (isfinite_test): Likewise.
15384 (isgreater_test): Likewise.
15385 (isgreaterequal_test): Likewise.
15386 (isinf_test): Likewise.
15387 (isless_test): Likewise.
15388 (islessequal_test): Likewise.
15389 (islessgreater_test): Likewise.
15390 (isnan_test): Likewise.
15391 (isnormal_test): Likewise.
15392 (issignaling_test): Likewise.
15393 (isunordered_test): Likewise.
15394 (j0_test): Likewise.
15395 (j1_test): Likewise.
15396 (jn_test): Likewise.
15397 (ldexp_test): Likewise.
15398 (lgamma_test): Likewise.
15399 (lrint_test): Likewise.
15400 (lrint_test_tonearest): Likewise.
15401 (lrint_test_towardzero): Likewise.
15402 (lrint_test_downward): Likewise.
15403 (lrint_test_upward): Likewise.
15404 (llrint_test): Likewise.
15405 (llrint_test_tonearest): Likewise.
15406 (llrint_test_towardzero): Likewise.
15407 (llrint_test_downward): Likewise.
15408 (llrint_test_upward): Likewise.
15409 (log_test): Likewise.
15410 (log10_test): Likewise.
15411 (log1p_test): Likewise.
15412 (log2_test): Likewise.
15413 (logb_test): Likewise.
15414 (logb_test_downward): Likewise.
15415 (lround_test): Likewise.
15416 (llround_test): Likewise.
15417 (modf_test): Likewise.
15418 (nearbyint_test): Likewise.
15419 (nextafter_test): Likewise.
15420 (nexttoward_test): Likewise.
15421 (pow_test): Likewise.
15422 (pow_test_tonearest): Likewise.
15423 (pow_test_towardzero): Likewise.
15424 (pow_test_downward): Likewise.
15425 (pow_test_upward): Likewise.
15426 (remainder_test): Likewise.
15427 (remainder_test_tonearest): Likewise.
15428 (remainder_test_towardzero): Likewise.
15429 (remainder_test_downward): Likewise.
15430 (remainder_test_upward): Likewise.
15431 (remquo_test): Likewise.
15432 (rint_test): Likewise.
15433 (rint_test_tonearest): Likewise.
15434 (rint_test_towardzero): Likewise.
15435 (rint_test_downward): Likewise.
15436 (rint_test_upward): Likewise.
15437 (round_test): Likewise.
15438 (scalb_test): Likewise.
15439 (scalbn_test): Likewise.
15440 (scalbln_test): Likewise.
15441 (signbit_test): Likewise.
15442 (sin_test): Likewise.
15443 (sin_test_tonearest): Likewise.
15444 (sin_test_towardzero): Likewise.
15445 (sin_test_downward): Likewise.
15446 (sin_test_upward): Likewise.
15447 (sincos_test): Likewise.
15448 (sinh_test): Likewise.
15449 (sinh_test_tonearest): Likewise.
15450 (sinh_test_towardzero): Likewise.
15451 (sinh_test_downward): Likewise.
15452 (sinh_test_upward): Likewise.
15453 (sqrt_test): Likewise.
15454 (tan_test): Likewise.
15455 (tan_test_tonearest): Likewise.
15456 (tan_test_towardzero): Likewise.
15457 (tan_test_downward): Likewise.
15458 (tan_test_upward): Likewise.
15459 (tanh_test): Likewise.
15460 (tgamma_test): Likewise.
15461 (trunc_test): Likewise.
15462 (y0_test): Likewise.
15463 (y1_test): Likewise.
15464 (yn_test): Likewise.
15465 (significand_test): Likewise.
15466
bae143d2
OB
154672013-05-24 Ondřej Bílka <neleai@seznam.cz>
15468
15469 [BZ #15381]
15470 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15471
9323d39b
EM
154722013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15473
d4ea44a0 15474 [BZ #14894]
9323d39b
EM
15475 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15476 __ppc_mdoio and __ppc_mdoom.
15477 * manual/platform.texi: Document new functions __ppc_yield,
15478 __ppc_mdoio and __ppc_mdoom.
15479
13e23af7
CD
154802013-05-22 Carlos O'Donell <carlos@redhat.com>
15481
15482 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15483 (main): Mention "tls" pseudo-hwcap is legacy.
15484 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15485
351fe550
JM
154862013-05-22 Joseph Myers <joseph@codesourcery.com>
15487
15488 * math/gen-libm-test.pl (parse_args): Output only string of
15489 arguments as text for test name, not full call or descriptions of
15490 tests for extra outputs.
15491 (generate_testfile): Do not pass function name to parse_args.
15492 Generate this_func variable from START.
15493 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15494 field to arg_str.
15495 (struct test_ff_f_data): Likewise.
15496 (test_ff_f_data_nexttoward): Likewise.
15497 (struct test_fi_f_data): Likewise.
15498 (struct test_fl_f_data): Likewise.
15499 (struct test_if_f_data): Likewise.
15500 (struct test_fff_f_data): Likewise.
15501 (struct test_c_f_data): Likewise.
15502 (struct test_f_f1_data): Likewise. Remove field extra_name.
15503 (struct test_fF_f1_data): Likewise.
15504 (struct test_ffI_f1_data): Likewise.
15505 (struct test_c_c_data): Rename test_name field to arg_str.
15506 (struct test_cc_c_data): Likewise.
15507 (struct test_f_i_data): Likewise.
15508 (struct test_ff_i_data): Likewise.
15509 (struct test_f_l_data): Likewise.
15510 (struct test_f_L_data): Likewise.
15511 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15512 and extra2_name.
15513 (COMMON_TEST_SETUP): New macro.
15514 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15515 (COMMON_TEST_CLEANUP): Likewise.
15516 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15517 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15518 macros.
15519 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15520 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15521 macros.
15522 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15523 (RUN_TEST_fff_f): Take argument string. Call new setup and
15524 cleanup macros.
15525 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15526 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15527 macros.
15528 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15529 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15530 macros.
15531 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15532 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15533 cleanup macros.
15534 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15535 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15536 cleanup macros.
15537 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15538 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15539 cleanup macros.
15540 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15541 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15542 macros.
15543 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15544 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15545 macros.
15546 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15547 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15548 macros.
15549 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15550 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15551 cleanup macros.
15552 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15553 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15554 cleanup macros.
15555 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15556 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15557 macros.
15558 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15559 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15560 cleanup macros.
15561 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15562 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15563 macros.
15564 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15565 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15566 macros.
15567 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15568 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15569 cleanup macros.
15570 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15571
85118d4d
EBM
155722013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15573
15574 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15575 to _sifields.sigfault.
15576 (si_addr_lsb): Define new macro.
15577 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15578 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15579 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15580
7a44c18f
CD
155812013-05-03 Carlos O'Donell <carlos at redhat.com>
15582
15583 [BZ #15441]
15584 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15585 returns -1.
15586 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15587 null return -1.
15588 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15589 loading the domain.
15590
b50a7181
JM
155912013-05-22 Joseph Myers <joseph@codesourcery.com>
15592
15593 * math/gen-libm-test.pl (parse_args): Do not include expected
15594 result in test name.
15595 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15596 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15597 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15598 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15599 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15601
051063c8
SP
156022013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15603
3ce9e010
SP
15604 * benchtests/Makefile: Sort function entries.
15605
051063c8
SP
15606 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15607 tanh, asinh, acosh, atanh.
15608 * benchtests/acos-inputs: New file.
15609 * benchtests/acosh-inputs: New file.
15610 * benchtests/asin-inputs: New file.
15611 * benchtests/asinh-inputs: New file.
15612 * benchtests/atanh-inputs: New file.
15613 * benchtests/cosh-inputs: New file.
15614 * benchtests/log-inputs: New file.
15615 * benchtests/sinh-inputs: New file.
15616 * benchtests/tanh-inputs: New file.
15617
47c22455
DL
156182013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15619
15620 [BZ #15339]
15621 * posix/tst-getaddrinfo4.c: New test.
15622 * posix/Makefile (tests): Add it.
15623
3d04f5db
SP
156242013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15625
15626 [BZ #15339]
15627 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15628 when no services were used.
15629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15630 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15631
d5dd6189
AS
156322013-05-21 Andreas Schwab <schwab@suse.de>
15633
15634 [BZ #15014]
15635 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15636 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15637 successful.
15638 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15639 redundant variable declarations and reallocation of buffer when
15640 parsing as IPv6 address. Always set NSS status when called from
15641 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15642 buffer too small. Correct computation of needed size.
15643 * nss/Makefile (tests): Add test-digits-dots.
15644 * nss/test-digits-dots.c: New test.
15645
fef94eab
SP
156462013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15647
15648 * benchtests/Makefile: Remove instructions for adding
15649 benchmark tests.
15650 * benchtests/README: New file to explain how to execute and
15651 enhance the benchmark tests.
15652
e39adf43
AS
156532013-05-21 Andreas Schwab <schwab@suse.de>
15654
15655 [BZ #15493]
15656 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15657 * setjmp/tst-sigsetjmp.c: New test.
15658
b2b671b6
OB
156592013-05-20 Ondřej Bílka <neleai@seznam.cz>
15660
15661 * sysdeps/x86_64/memset.S (memset): New implementation.
15662 (__bzero): Likewise.
15663 (__memset_tail): New function.
15664
2d48b41c
OB
156652013-05-20 Ondřej Bílka <neleai@seznam.cz>
15666
15667 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15668 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15669 __memcpy_sse2_unaligned ifunc selection.
15670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15671 Add memcpy-sse2-unaligned.S.
15672 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15673 Add: __memcpy_sse2_unaligned.
15674
f16cc3eb
JM
156752013-05-19 Joseph Myers <joseph@codesourcery.com>
15676
3e694268
JM
15677 [BZ #15490]
15678 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15679 math_force_eval before restoring floating-point envrionment.
15680 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15681 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15682 Likewise.
15683 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15684 <math_private.h>.
15685 (__nearbyintl): Use math_force_eval before restoring
15686 floating-point environment.
15687 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15688
db62a907
JM
15689 * math/gen-libm-test.pl (special_functions): Remove.
15690 (parse_args): Don't handle TEST_extra. Handle functions with no
15691 return value.
15692 * math/libm-test.inc (struct test_sincos_data): Replace with
15693 struct test_fFF_11_data.
15694 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15695 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15696 (sincos_test_data): Change element type to struct
15697 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15698 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15699 RUN_TEST_LOOP_sincos.
15700 * math/README.libm-test: Don't mention special handling of
15701 individual functions.
15702 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15704 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15705 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15706 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15708
f16cc3eb
JM
15709 * math/gen-libm-test.pl (get_variable): Remove function.
15710 (parse_args): Don't show pointer parameters to call in test
15711 names. Use "extra output N" in test names for extra outputs
15712 rather than naming variables.
15713
3779b5b6
JM
157142013-05-18 Joseph Myers <joseph@codesourcery.com>
15715
2ee094ff
JM
15716 [BZ #15488]
15717 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15718 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15719 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15720 double tests.
15721 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15722 disable.
15723 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15724 check_long_double.
15725
3779b5b6
JM
15726 * math/gen-libm-test.pl (@tests): Remove variable.
15727 ($count): Likewise.
15728 (new_test): Remove function.
15729 (show_exceptions): New function.
15730 (special_functions): Use show_exceptions instead of new_test.
15731 (parse_args): Likewise.
15732 (generate_testfile): Pass only function name in generated call to
15733 print_max_error or print_complex_max_error.
15734 (get_ulps): Do not handle complex tests specially.
15735 (output_test): Rename to ...
15736 (get_all_ulps_for_test): ... this. Return a string rather than
15737 printing to a file. Require ulps to be present.
15738 (output_ulps): Generate arrays rather than #defines.
15739 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15740 (struct ulp_data): New type.
15741 (BUILD_COMPLEX_ULP): Remove macro.
15742 (compare_ulp_data): New function.
15743 (find_ulps): Likewise.
15744 (find_test_ulps): Likewise.
15745 (find_function_ulps): Likewise.
15746 (find_complex_function_ulps): Likewise.
15747 (print_max_error): Determine allowed ulps using
15748 find_function_ulps.
15749 (print_complex_max_error): Determine allowed ulps using
15750 find_complex_function_ulps.
15751 (check_float_internal): Determine max ulps using find_test_ulps.
15752 (check_float): Do not take max_ulp parameter. Update call to
15753 check_float_internal.
15754 (check_complex): Likewise.
15755 (check_int): Do not take max_ulp parameter.
15756 (check_long): Likewise.
15757 (check_bool): Likewise.
15758 (check_longlong): Likewise.
15759 (struct test_f_f_data): Remove max_ulp field.
15760 (struct test_ff_f_data): Likewise.
15761 (struct test_ff_f_data_nexttoward): Likewise.
15762 (struct test_fi_f_data): Likewise.
15763 (struct test_fl_f_data): Likewise.
15764 (struct test_if_f_data): Likewise.
15765 (struct test_fff_f_data): Likewise.
15766 (struct test_c_f_data): Likewise.
15767 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15768 (struct test_fF_f1_data): Likewise.
15769 (struct test_ffI_f1_data): Likewise.
15770 (struct test_c_c_data): Remove max_ulp field.
15771 (struct test_cc_c_data): Likewise.
15772 (struct test_f_i_data): Likewise.
15773 (struct test_ff_i_data): Likewise.
15774 (struct test_f_l_data): Likewise.
15775 (struct test_f_L_data): Likewise.
15776 (struct test_sincos_data): Likewise.
15777 (RUN_TEST_f_f): Do not handle ulps.
15778 (RUN_TEST_LOOP_f_f): Likewise.
15779 (RUN_TEST_2_f): Likewise.
15780 (RUN_TEST_LOOP_2_f): Likewise.
15781 (RUN_TEST_fff_f): Likewise.
15782 (RUN_TEST_LOOP_fff_f): Likewise.
15783 (RUN_TEST_c_f): Likewise.
15784 (RUN_TEST_LOOP_c_f): Likewise.
15785 (RUN_TEST_f_f1): Likewise.
15786 (RUN_TEST_LOOP_f_f1): Likewise.
15787 (RUN_TEST_fF_f1): Likewise.
15788 (RUN_TEST_LOOP_fF_f1): Likewise.
15789 (RUN_TEST_fI_f1): Likewise.
15790 (RUN_TEST_LOOP_fI_f1): Likewise.
15791 (RUN_TEST_ffI_f1): Likewise.
15792 (RUN_TEST_LOOP_ffI_f1): Likewise.
15793 (RUN_TEST_c_c): Likewise.
15794 (RUN_TEST_LOOP_c_c): Likewise.
15795 (RUN_TEST_cc_c): Likewise.
15796 (RUN_TEST_LOOP_cc_c): Likewise.
15797 (RUN_TEST_f_i): Likewise.
15798 (RUN_TEST_LOOP_f_i): Likewise.
15799 (RUN_TEST_f_i_tg): Likewise.
15800 (RUN_TEST_LOOP_f_i_tg): Likewise.
15801 (RUN_TEST_ff_i_tg): Likewise.
15802 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15803 (RUN_TEST_f_b): Likewise.
15804 (RUN_TEST_LOOP_f_b): Likewise.
15805 (RUN_TEST_f_b_tg): Likewise.
15806 (RUN_TEST_LOOP_f_b_tg): Likewise.
15807 (RUN_TEST_f_l): Likewise.
15808 (RUN_TEST_LOOP_f_l): Likewise.
15809 (RUN_TEST_f_L): Likewise.
15810 (RUN_TEST_LOOP_f_L): Likewise.
15811 (RUN_TEST_sincos): Likewise.
15812 (RUN_TEST_LOOP_sincos): Likewise.
15813
8269107f
JM
158142013-05-17 Joseph Myers <joseph@codesourcery.com>
15815
bb38759d
JM
15816 [BZ #15480]
15817 [BZ #15485]
15818 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15819 main case of finite arguments, set rounding mode to FE_TONEAREST
15820 and discard exceptions.
15821 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15822 exceptions.
15823 (remainder_tonearest_test_data): New variable.
15824 (remainder_test_tonearest): New function.
15825 (remainder_towardzero_test_data): New variable.
15826 (remainder_test_towardzero): New function.
15827 (remainder_downward_test_data): New variable.
15828 (remainder_test_downward): New function.
15829 (remainder_upward_test_data): New variable.
15830 (remainder_test_upward): New function.
15831 (main): Call the new test functions.
15832
a00bdcf0
JM
15833 * math/libm-test.inc (struct test_f_f1_data): Remove field
15834 extra_init.
15835 (struct test_fF_f1_data): Likewise.
15836 (struct test_ffI_f1_data): Likewise.
15837 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15838 based on value of EXTRA_EXPECTED.
15839 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15840 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15841 EXTRA_VAR based on value of EXTRA_EXPECTED.
15842 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15843 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15844 EXTRA_VAR based on value of EXTRA_EXPECTED.
15845 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15846 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15847 EXTRA_VAR based on value of EXTRA_EXPECTED.
15848 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15849 * math/gen-libm-test.pl (parse_args): Don't output initializers
15850 for extra output values.
15851
de407f79
JM
15852 * math/libm-test.inc (check_int): Expect result to be exactly
15853 equal to expected value and do not handle ulps.
15854 (check_long): Likewise.
15855 (check_longlong): Likewise.
15856
8269107f
JM
15857 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15858 exceptions.
15859 (cimag_test_data): Likewise.
15860 (conj_test_data): Likewise.
15861 (copysign_test_data): Likewise.
15862 (cproj_test_data): Likewise.
15863 (creal_test_data): Likewise.
15864 (fabs_test_data): Likewise.
15865 (fdim_test_data): Likewise.
15866 (finite_test_data): Likewise.
15867 (floor_test_data): Likewise.
15868 (fmax_test_data): Likewise.
15869 (fmin_test_data): Likewise.
15870 (fmod_test_data): Likewise.
15871 (fpclassify_test_data): Likewise.
15872 (frexp_test_data): Likewise.
15873 (ilogb_test_data): Likewise.
15874 (isfinite_test_data): Likewise.
15875 (isgreater_test_data): Likewise.
15876 (isgreaterequal_test_data): Likewise.
15877 (isinf_test_data): Likewise.
15878 (isless_test_data): Likewise.
15879 (islessequal_test_data): Likewise.
15880 (islessgreater_test_data): Likewise.
15881 (isnan_test_data): Likewise.
15882 (isnormal_test_data): Likewise.
15883 (issignaling_test_data): Likewise.
15884 (isunordered_test_data): Likewise.
15885 (ldexp_test_data): Likewise.
15886 (lrint_test_data): Likewise.
15887 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15888 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15889 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15890 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15891 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15892 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15893 test input.
15894 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15895 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15896 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15897 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15898 that test input.
15899 (lrint_downward_test_data): Test for "inexact" exceptions.
15900 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15901 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15902 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15903 test input.
15904 (lrint_upward_test_data): Test for "inexact" exceptions.
15905 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15906 test input.
15907 (llrint_test_data): Test for "inexact" exceptions.
15908 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15909 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15910 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15911 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15912 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15913 (llrint_downward_test_data): Test for "inexact" exceptions.
15914 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15915 (llrint_upward_test_data): Test for "inexact" exceptions.
15916 (logb_test_data): Likewise.
15917 (logb_downward_test_data): Likewise.
15918 (nextafter_test_data): Likewise.
15919 (nexttoward_test_data): Likewise.
15920 (remainder_test_data): Likewise.
15921 (remquo_test_data): Likewise.
15922 (scalbn_test_data): Likewise.
15923 (scalbln_test_data): Likewise.
15924 (signbit_test_data): Likewise.
15925 (sqrt_test_data): Likewise.
15926 (significand_test_data): Likewise.
15927
48a18de1
SP
159282013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15929
15930 [BZ #15424]
15931 * benchtests/bench-modf.c (struct args): Mark arg0 as
15932 volatile.
15933 * scripts/bench.pl: Mark members of struct args as volatile.
15934
13d3b41a
AZ
159352013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15936
68191c1d 15937 [BZ # 15497]
13d3b41a
AZ
15938 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15939 negative infinity on POWER6 or lower.
15940 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15941
2848b105
MR
159422013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15943
15944 [BZ #15442]
15945 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15946 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15947 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15948 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15949 (_FP_SETQNAN): New macro.
15950 (_FP_SETQNAN_SEMIRAW): Likewise.
15951 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15952 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15953 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15954 (FP_EXTEND): Use _FP_FRAC_SNANP.
15955 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15956 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15957 into account.
15958 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15959 New macro.
15960 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15961 Likewise.
15962
323e5cb7
JM
159632013-05-16 Joseph Myers <joseph@codesourcery.com>
15964
c58b274f
JM
15965 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15966 with DIVIDE_BY_ZERO_EXCEPTION.
15967 (gamma_test_data): Likewise.
15968 (lgamma_test_data): Likewise.
15969 (log_test_data): Likewise.
15970 (log10_test_data): Likewise.
15971 (log2_test_data): Likewise.
15972 (tgamma_test_data): Likewise.
15973
0ab34904
JM
15974 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15975 (acos_test_tonearest): Likewise.
15976 (acos_test_towardzero): Likewise.
15977 (acos_test_downward): Likewise.
15978 (acos_test_upward): Likewise.
15979 (acosh_test): Likewise.
15980 (asin_test): Likewise.
15981 (asin_test_tonearest): Likewise.
15982 (asin_test_towardzero): Likewise.
15983 (asin_test_downward): Likewise.
15984 (asin_test_upward): Likewise.
15985 (asinh_test): Likewise.
15986 (atan_test): Likewise.
15987 (atanh_test): Likewise.
15988 (atan2_test): Likewise.
15989 (cabs_test): Likewise.
15990 (cacos_test): Likewise.
15991 (cacosh_test): Likewise.
15992 (casin_test): Likewise.
15993 (casinh_test): Likewise.
15994 (catan_test): Likewise.
15995 (catanh_test): Likewise.
15996 (cbrt_test): Likewise.
15997 (ccos_test): Likewise.
15998 (ccosh_test): Likewise.
15999 (cexp_test): Likewise.
16000 (clog_test): Likewise.
16001 (clog10_test): Likewise.
16002 (cos_test): Likewise.
16003 (cos_test_tonearest): Likewise.
16004 (cos_test_towardzero): Likewise.
16005 (cos_test_downward): Likewise.
16006 (cos_test_upward): Likewise.
16007 (cosh_test): Likewise.
16008 (cosh_test_tonearest): Likewise.
16009 (cosh_test_towardzero): Likewise.
16010 (cosh_test_downward): Likewise.
16011 (cosh_test_upward): Likewise.
16012 (cpow_test): Likewise.
16013 (csin_test): Likewise.
16014 (csinh_test): Likewise.
16015 (csqrt_test): Likewise.
16016 (ctan_test): Likewise.
16017 (ctan_test_tonearest): Likewise.
16018 (ctan_test_towardzero): Likewise.
16019 (ctan_test_downward): Likewise.
16020 (ctan_test_upward): Likewise.
16021 (ctanh_test): Likewise.
16022 (ctanh_test_tonearest): Likewise.
16023 (ctanh_test_towardzero): Likewise.
16024 (ctanh_test_downward): Likewise.
16025 (ctanh_test_upward): Likewise.
16026 (erf_test): Likewise.
16027 (erfc_test): Likewise.
16028 (exp_test): Likewise.
16029 (exp_test_tonearest): Likewise.
16030 (exp_test_towardzero): Likewise.
16031 (exp_test_downward): Likewise.
16032 (exp_test_upward): Likewise.
16033 (exp10_test): Likewise.
16034 (exp2_test): Likewise.
16035 (expm1_test): Likewise.
16036 (fmod_test): Likewise.
16037 (gamma_test): Likewise.
16038 (hypot_test): Likewise.
16039 (j0_test): Likewise.
16040 (j1_test): Likewise.
16041 (jn_test): Likewise.
16042 (lgamma_test): Likewise.
16043 (log_test): Likewise.
16044 (log10_test): Likewise.
16045 (log1p_test): Likewise.
16046 (log2_test): Likewise.
16047 (logb_test_downward): Likewise.
16048 (pow_test): Likewise.
16049 (pow_test_tonearest): Likewise.
16050 (pow_test_towardzero): Likewise.
16051 (pow_test_downward): Likewise.
16052 (pow_test_upward): Likewise.
16053 (remainder_test): Likewise.
16054 (remquo_test): Likewise.
16055 (sin_test): Likewise.
16056 (sin_test_tonearest): Likewise.
16057 (sin_test_towardzero): Likewise.
16058 (sin_test_downward): Likewise.
16059 (sin_test_upward): Likewise.
16060 (sincos_test): Likewise.
16061 (sinh_test): Likewise.
16062 (sinh_test_tonearest): Likewise.
16063 (sinh_test_towardzero): Likewise.
16064 (sinh_test_downward): Likewise.
16065 (sinh_test_upward): Likewise.
16066 (sqrt_test): Likewise.
16067 (tan_test): Likewise.
16068 (tan_test_tonearest): Likewise.
16069 (tan_test_towardzero): Likewise.
16070 (tan_test_downward): Likewise.
16071 (tan_test_upward): Likewise.
16072 (tanh_test): Likewise.
16073 (tgamma_test): Likewise.
16074 (y0_test): Likewise.
16075 (y1_test): Likewise.
16076 (yn_test): Likewise.
16077
323e5cb7
JM
16078 * math/gen-libm-test.pl (adjust_arg): Remove function.
16079 (special_function): Remove argument $in_func. Only handle
16080 generating output for tables of tests, not inside functions.
16081 (parse_args): Likewise.
16082 (generate_testfile): Remove variable $in_func. Update call to
16083 parse_args.
16084 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16085 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16086 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16087 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16088 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16089 (MAX_VALUE_INIT): Rename macro to max_value.
16090 (MIN_VALUE_INIT): Rename macro to min_value.
16091 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16092 (plus_zero): Remove variable.
16093 (minus_zero): Likewise.
16094 (plus_infty): Likewise.
16095 (minus_infty): Likewise.
16096 (qnan_value): Likewise.
16097 (max_value): Likewise.
16098 (min_value): Likewise.
16099 (min_subnorm_value): Likewise.
16100
e054f494
RA
161012013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16102
16103 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16104 uint64_t or uint32_t usage.
16105 * crypt/sha256-block.c: Likewise.
16106 * crypt/sha256-crypt.c: Likewise.
16107 * crypt/sha256.c: Likewise.
16108 * crypt/sha512-block.c: Likewise.
16109 * crypt/sha512-crypt.c: Likewise.
16110 * crypt/sha512.c: Likewise.
16111 * debug/backtrace-tst.c: Likewise.
16112 * debug/pcprofiledump.c: Likewise.
16113 * elf/cache.c: Likewise.
16114 * elf/dl-cache.c: Likewise.
16115 * elf/dl-misc.c: Likewise.
16116 * elf/dl-profile.c: Likewise.
16117 * elf/dl-support.c: Likewise.
16118 * elf/ldconfig.c: Likewise.
16119 * elf/sprof.c: Likewise.
16120 * iconv/dummy-repertoire.c: Likewise.
16121 * iconv/iconv_charmap.c: Likewise.
16122 * iconv/skeleton.c: Likewise.
16123 * iconvdata/8bit-generic.c: Likewise.
16124 * iconvdata/cp737.h: Likewise.
16125 * iconvdata/cp775.h: Likewise.
16126 * iconvdata/ibm1008.h: Likewise.
16127 * iconvdata/ibm1025.h: Likewise.
16128 * iconvdata/ibm1046.h: Likewise.
16129 * iconvdata/ibm1097.h: Likewise.
16130 * iconvdata/ibm1112.h: Likewise.
16131 * iconvdata/ibm1122.h: Likewise.
16132 * iconvdata/ibm1123.h: Likewise.
16133 * iconvdata/ibm1124.h: Likewise.
16134 * iconvdata/ibm1129.h: Likewise.
16135 * iconvdata/ibm1130.h: Likewise.
16136 * iconvdata/ibm1132.h: Likewise.
16137 * iconvdata/ibm1133.h: Likewise.
16138 * iconvdata/ibm1137.h: Likewise.
16139 * iconvdata/ibm1140.h: Likewise.
16140 * iconvdata/ibm1141.h: Likewise.
16141 * iconvdata/ibm1142.h: Likewise.
16142 * iconvdata/ibm1143.h: Likewise.
16143 * iconvdata/ibm1144.h: Likewise.
16144 * iconvdata/ibm1145.h: Likewise.
16145 * iconvdata/ibm1146.h: Likewise.
16146 * iconvdata/ibm1147.h: Likewise.
16147 * iconvdata/ibm1148.h: Likewise.
16148 * iconvdata/ibm1149.h: Likewise.
16149 * iconvdata/ibm1153.h: Likewise.
16150 * iconvdata/ibm1154.h: Likewise.
16151 * iconvdata/ibm1155.h: Likewise.
16152 * iconvdata/ibm1156.h: Likewise.
16153 * iconvdata/ibm1157.h: Likewise.
16154 * iconvdata/ibm1158.h: Likewise.
16155 * iconvdata/ibm1160.h: Likewise.
16156 * iconvdata/ibm1161.h: Likewise.
16157 * iconvdata/ibm1162.h: Likewise.
16158 * iconvdata/ibm1163.h: Likewise.
16159 * iconvdata/ibm1164.h: Likewise.
16160 * iconvdata/ibm1166.h: Likewise.
16161 * iconvdata/ibm1167.h: Likewise.
16162 * iconvdata/ibm12712.h: Likewise.
16163 * iconvdata/ibm1390.h: Likewise.
16164 * iconvdata/ibm1399.h: Likewise.
16165 * iconvdata/ibm16804.h: Likewise.
16166 * iconvdata/ibm4517.h: Likewise.
16167 * iconvdata/ibm4899.h: Likewise.
16168 * iconvdata/ibm4909.h: Likewise.
16169 * iconvdata/ibm4971.h: Likewise.
16170 * iconvdata/ibm5347.h: Likewise.
16171 * iconvdata/ibm803.h: Likewise.
16172 * iconvdata/ibm856.h: Likewise.
16173 * iconvdata/ibm901.h: Likewise.
16174 * iconvdata/ibm902.h: Likewise.
16175 * iconvdata/ibm9030.h: Likewise.
16176 * iconvdata/ibm9066.h: Likewise.
16177 * iconvdata/ibm921.h: Likewise.
16178 * iconvdata/ibm922.h: Likewise.
16179 * iconvdata/ibm9448.h: Likewise.
16180 * iconvdata/isiri-3342.h: Likewise.
16181 * iconvdata/jis0201.h: Likewise.
16182 * include/link.h: Likewise.
16183 * include/netdb.h: Likewise.
16184 * inet/check_native.c: Likewise.
16185 * inet/check_pf.c: Likewise.
16186 * inet/getipv4sourcefilter.c: Likewise.
16187 * inet/getnameinfo.c: Likewise.
16188 * inet/getsourcefilter.c: Likewise.
16189 * inet/htonl.c: Likewise.
16190 * inet/setipv4sourcefilter.c: Likewise.
16191 * inet/setsourcefilter.c: Likewise.
16192 * inet/test-inet6_opt.c: Likewise.
16193 * inet/tst-network.c: Likewise.
16194 * locale/C-collate.c: Likewise.
16195 * locale/C-ctype.c: Likewise.
16196 * locale/C-time.c: Likewise.
16197 * locale/C-translit.h: Likewise.
16198 * locale/loadarchive.c: Likewise.
16199 * locale/programs/3level.h: Likewise.
16200 * locale/programs/charmap.c: Likewise.
16201 * locale/programs/charmap.h: Likewise.
16202 * locale/programs/ld-address.c: Likewise.
16203 * locale/programs/ld-collate.c: Likewise.
16204 * locale/programs/ld-ctype.c: Likewise.
16205 * locale/programs/ld-identification.c: Likewise.
16206 * locale/programs/ld-measurement.c: Likewise.
16207 * locale/programs/ld-messages.c: Likewise.
16208 * locale/programs/ld-monetary.c: Likewise.
16209 * locale/programs/ld-name.c: Likewise.
16210 * locale/programs/ld-numeric.c: Likewise.
16211 * locale/programs/ld-paper.c: Likewise.
16212 * locale/programs/ld-telephone.c: Likewise.
16213 * locale/programs/ld-time.c: Likewise.
16214 * locale/programs/linereader.c: Likewise.
16215 * locale/programs/locale.c: Likewise.
16216 * locale/programs/locarchive.c: Likewise.
16217 * locale/programs/locfile.h: Likewise.
16218 * locale/programs/repertoire.c: Likewise.
16219 * locale/programs/simple-hash.c: Likewise.
16220 * locale/programs/simple-hash.h: Likewise.
16221 * malloc/memusage.c: Likewise.
16222 * malloc/memusagestat.c: Likewise.
16223 * nis/nis_defaults.c: Likewise.
16224 * nis/nis_hash.c: Likewise.
16225 * nis/nis_print.c: Likewise.
16226 * nis/nis_xdr.c: Likewise.
16227 * nscd/connections.c: Likewise.
16228 * nscd/hstcache.c: Likewise.
16229 * nscd/nscd_gethst_r.c: Likewise.
16230 * nscd/nscd_getserv_r.c: Likewise.
16231 * nscd/nscd_helper.c: Likewise.
16232 * nscd/servicescache.c: Likewise.
16233 * nss/makedb.c: Likewise.
16234 * nss/nss_db/db-XXX.c: Likewise.
16235 * nss/nss_db/db-initgroups.c: Likewise.
16236 * nss/nss_db/db-netgrp.c: Likewise.
16237 * nss/nss_files/files-network.c: Likewise.
16238 * nss/nss_files/files-parse.c: Likewise.
16239 * posix/bug-regex5.c: Likewise.
16240 * posix/fnmatch_loop.c: Likewise.
16241 * posix/regcomp.c: Likewise.
16242 * posix/regexec.c: Likewise.
16243 * posix/tst-rfc3484-2.c: Likewise.
16244 * posix/tst-rfc3484-3.c: Likewise.
16245 * posix/tst-rfc3484.c: Likewise.
16246 * resolv/nss_dns/dns-canon.c: Likewise.
16247 * resolv/nss_dns/dns-network.c: Likewise.
16248 * resolv/res_init.c: Likewise.
16249 * resolv/res_mkquery.c: Likewise.
16250 * resolv/tst-aton.c: Likewise.
16251 * stdlib/cxa_atexit.c: Likewise.
16252 * stdlib/cxa_finalize.c: Likewise.
16253 * stdlib/gen-fpioconst.c: Likewise.
16254 * stdlib/strtol_l.c: Likewise.
16255 * string/tst-endian.c: Likewise.
16256 * sunrpc/auth_des.c: Likewise.
16257 * sunrpc/clnt_udp.c: Likewise.
16258 * sunrpc/rtime.c: Likewise.
16259 * sunrpc/svcauth_des.c: Likewise.
16260 * sunrpc/xdr.c: Likewise.
16261 * sunrpc/xdr_intXX_t.c: Likewise.
16262 * sunrpc/xdr_rec.c: Likewise.
16263 * sysdeps/generic/ldconfig.h: Likewise.
16264 * sysdeps/generic/ldsodefs.h: Likewise.
16265 * sysdeps/generic/memusage.h: Likewise.
16266 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16267 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16268 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16269 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16270 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16272 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16273 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16274 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16275 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16276 * sysdeps/posix/getaddrinfo.c: Likewise.
16277 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16278 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16279 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16280 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16281 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16282 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16283 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16284 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16285 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16286 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16287 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16288 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16289 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16290 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16291 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16292 * sysdeps/x86_64/dl-tls.h: Likewise.
16293 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16294 * time/alt_digit.c: Likewise.
16295 * time/era.c: Likewise.
16296 * wcsmbs/tst-c16c32-1.c: Likewise.
16297
8c75f674
JM
162982013-05-16 Joseph Myers <joseph@codesourcery.com>
16299
16300 * math/libm-test.inc (struct test_sincos_data): New type.
16301 (RUN_TEST_LOOP_sincos): New macro.
16302 (sincos_test_data): New variable.
16303 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16304
e6e49e59
RH
163052013-05-16 Richard Henderson <rth@redhat.com>
16306
16307 * math/atest-exp2.c (LIMB64): New macro.
16308 (CONSTSZ): New macro.
16309 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16310 (hexdig): Move ...
16311 (print_mpn_fp): ... to function scope.
16312 (read_mpn_hex): Remove.
16313 (get_log2): Remove.
16314 (exp2_mpn): Use mp_log2.
16315 (main): Use mp_exp1.
16316
15c7c18d
JM
163172013-05-16 Joseph Myers <joseph@codesourcery.com>
16318
105a07df
JM
16319 * math/libm-test.inc: Remove comment about not testing "inexact"
16320 exceptions.
16321 (INEXACT_EXCEPTION): New macro.
16322 (NO_INEXACT_EXCEPTION): Likewise.
16323 (INVALID_EXCEPTION_OK): Update value.
16324 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16325 (OVERFLOW_EXCEPTION_OK): Likewise.
16326 (UNDERFLOW_EXCEPTION_OK): Likewise.
16327 (IGNORE_ZERO_INF_SIGN): Likewise.
16328 (ERRNO_UNCHANGED): Likewise.
16329 (ERRNO_EDOM): Likewise.
16330 (ERRNO_ERANGE): Likewise.
16331 (test_exceptions): Handle testing "inexact" exceptions.
16332 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16333 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16334 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16335 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16336 INEXACT_EXCEPTION.
16337 (rint_towardzero_test_data): Likewise.
16338 (rint_downward_test_data): Likewise.
16339 (rint_upward_test_data): Likewise.
16340
e9eee333
JM
16341 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16342 with OVERFLOW_EXCEPTION.
16343 (exp10_test_data): Likewise.
16344 (exp2_test_data): Likewise.
16345 (expm1_test_data): Likewise.
16346 (lgamma_test_data): Likewise.
16347 (pow_test_data): Likewise.
16348 (tgamma_test_data): Likewise.
16349 (yn_test_data): Remove duplicate test of overflow.
16350
1c38ff73
JM
16351 * math/libm-test.inc (struct test_cc_c_data): New type.
16352 (RUN_TEST_LOOP_cc_c): New macro.
16353 (cpow_test_data): New variable.
16354 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16355
15c7c18d
JM
16356 * math/libm-test.inc (struct test_f_L_data): New type.
16357 (RUN_TEST_LOOP_f_L): New macro.
16358 (llrint_test_data): New variable.
16359 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16360 (llrint_tonearest_test_data): New variable.
16361 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16362 (llrint_towardzero_test_data): New variable.
16363 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16364 (llrint_downward_test_data): New variable.
16365 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16366 (llrint_upward_test_data): New variable.
16367 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16368 (llround_test_data): New variable.
16369 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16370
f137ff13
PC
163712013-05-13 Peter Collingbourne <pcc@google.com>
16372
16373 * math/atest-exp2.c (get_log2): Remove const attribute.
16374
3608cb24
JM
163752013-05-15 Joseph Myers <joseph@codesourcery.com>
16376
16377 * math/libm-test.inc (struct test_f_l_data): New type.
16378 (RUN_TEST_LOOP_f_l): New macro.
16379 (lrint_test_data): New variable.
16380 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16381 (lrint_tonearest_test_data): New variable.
16382 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16383 (lrint_towardzero_test_data): New variable.
16384 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16385 (lrint_downward_test_data): New variable.
16386 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16387 (lrint_upward_test_data): New variable.
16388 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16389 (lround_test_data): New variable.
16390 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16391
39b1f617
PC
163922013-05-15 Peter Collingbourne <pcc@google.com>
16393
1deff3dc
PC
16394 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16395 (EXTRACT_WORDS64) Use where appropriate.
16396 (INSERT_WORDS64) Likewise.
16397
791f3ba0
PC
16398 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16399 constraints with x constraints.
16400 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16401
39b1f617
PC
16402 * malloc/obstack.c (_obstack_compat): Add initializer.
16403
12fba011
EM
164042013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16405
16406 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16407 si_trapno and add si_addr_lsb to _sifields.sigfault.
16408 (si_trapno): Remove macro.
16409 (si_addr_lsb): Define new macro.
16410 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16411
d369f531
JM
164122013-05-15 Joseph Myers <joseph@codesourcery.com>
16413
b861c6c4
JM
16414 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16415 instead of TEST_f_l.
16416 (llrint_test_tonearest): Likewise.
16417 (llrint_test_towardzero): Likewise.
16418 (llrint_test_downward): Likewise.
16419 (llrint_test_upward): Likewise.
16420 (llround_test): Likewise.
16421
7abeee12
JM
16422 * math/libm-test.inc (struct test_f_i_data): Add comment.
16423 (RUN_TEST_LOOP_f_b): New macro.
16424 (RUN_TEST_LOOP_f_b_tg): Likewise.
16425 (finite_test_data): New variable.
16426 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16427 (isfinite_test_data): New variable.
16428 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16429 (isinf_test_data): New variable.
16430 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16431 (isnan_test_data): New variable.
16432 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16433 (isnormal_test_data): New variable.
16434 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16435 (issignaling_test_data): New variable.
16436 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16437 (signbit_test_data): New variable.
16438 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16439
cbe8c4d3
JM
16440 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16441 with INVALID_EXCEPTION.
16442 (acosh_test_data): Likewise.
16443 (asin_test_data): Likewise.
16444 (atanh_test_data): Likewise.
16445 (fmod_test_data): Likewise.
16446 (log_test_data): Likewise.
16447 (log10_test_data): Likewise.
16448 (log2_test_data): Likewise.
16449 (pow_test_data): Likewise.
16450 (sqrt_test_data): Likewise.
16451 (y0_test_data): Likewise.
16452 (y1_test_data): Likewise.
16453 (yn_test_data): Likewise.
16454
5575c0e5
JM
16455 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16456 function contents.
16457
d369f531
JM
16458 * math/libm-test.inc (struct test_ff_i_data): New type.
16459 (RUN_TEST_LOOP_ff_i_tg): New macro.
16460 (isgreater_test_data): New variable.
16461 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16462 (isgreaterequal_test_data): New variable.
16463 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16464 (isless_test_data): New variable.
16465 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16466 (islessequal_test_data): New variable.
16467 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16468 (islessgreater_test_data): New variable.
16469 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16470 (isunordered_test_data): New variable.
16471 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16472
781fd748
DM
164732013-05-14 David S. Miller <davem@davemloft.net>
16474
16475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16476
87aa21df
JM
164772013-05-14 Joseph Myers <joseph@codesourcery.com>
16478
5e908270
JM
16479 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16480
f71172e5
JM
16481 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16482 extra_test to int.
16483 (struct test_f_i_data): Change type of max_ulp to int.
16484
8cfa635a
JM
16485 * math/libm-test.inc (test_ffI_f1_data): New type.
16486 (RUN_TEST_LOOP_ffI_f1): New macro.
16487 (remquo_test_data): New variable.
16488 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16489
2bcb36b2
JM
16490 * setjmp/tst-setjmp-fp.c: New file.
16491 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16492 (link-libm): New variable.
16493 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16494
acbd839a
JM
16495 * math/libm-test.inc (struct test_f_i_data): New type.
16496 (RUN_TEST_LOOP_f_i): New macro.
16497 (RUN_TEST_LOOP_f_i_tg): Likewise.
16498 (fpclassify_test_data): New variable.
16499 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16500 (ilogb_test_data): New variable.
16501 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16502
e414d745
JM
16503 * math/libm-test.inc (scalbln_test): Correct function name in END
16504 call.
16505
d9c2a0fd
JM
16506 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16507 (RUN_TEST_LOOP_fI_f1): New macro.
16508 (frexp_test_data): New variable.
16509 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16510
9dc9095d
JM
16511 * math/libm-test.inc (struct test_fF_f1_data): New type.
16512 (RUN_TEST_LOOP_fF_f1): New macro.
16513 (modf_test_data): New variable.
16514 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16515
87aa21df
JM
16516 * math/libm-test.inc (struct test_f_f1_data): New type.
16517 (RUN_TEST_LOOP_f_f1): New macro.
16518 (gamma_test_data): New variable.
16519 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16520 (lgamma_test_data): New variable.
16521 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16522
141af660
CD
165232013-05-13 Carlos O'Donell <carlos@redhat.com>
16524
16525 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16526 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16527 (main): Comment "tls" pseudo-hwcap.
16528
6d33265c
JM
165292013-05-13 Joseph Myers <joseph@codesourcery.com>
16530
68fc074c
JM
16531 * math/libm-test.inc (struct test_fl_f_data): New type.
16532 (RUN_TEST_LOOP_fl_f): New variable.
16533 (scalbln_test_data): New variable.
16534 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16535
243216e1
JM
16536 * math/libm-test.inc (struct test_fi_f_data): New type.
16537 (RUN_TEST_LOOP_fi_f): New macro.
16538 (ldexp_test_data): New variable.
16539 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16540 (scalbn_test_data): New variable.
16541 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16542
6a1992e2
JM
16543 * math/libm-test.inc (struct test_c_f_data): New type.
16544 (RUN_TEST_LOOP_c_f): New macro.
16545 (cabs_test_data): New variable.
16546 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16547 (carg_test_data): New variable.
16548 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16549 (cimag_test_data): New variable.
16550 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16551 (creal_test_data): New variable.
16552 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16553
0e400df5
JM
16554 * math/libm-test.inc (struct test_if_f_data): New type.
16555 (RUN_TEST_LOOP_if_f): New macro.
16556 (jn_test_data): New variable.
16557 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16558 (yn_test_data): New variable.
16559 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16560
6d33265c
JM
16561 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16562
f98ece5f
AZ
165632013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16564
16565 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16566 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16567
0f7d347b
SP
165682013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16569
43fe811b
SP
16570 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16571 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16572 (bench-deps): Add bench-timing.h.
16573 * benchtests-bench-skeleton.c: Include bench-timing.h.
16574 (main): Use TIMING_* macros instead of clock_gettime.
16575 * benchtests/bench-timing.h: New file.
16576
0f7d347b
SP
16577 [BZ #14582]
16578 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16579 Renamed from _LIB_VERSION.
16580 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16581
601a3a5f
JM
165822013-05-12 Joseph Myers <joseph@codesourcery.com>
16583
4f184d30
JM
16584 * math/libm-test.inc (struct test_fff_f_data): New type.
16585 (RUN_TEST_LOOP_fff_f): New macro.
16586 (fma_test_data): New variable.
16587 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16588 (fma_towardzero_test_data): New variable.
16589 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16590 (fma_downward_test_data): New variable.
16591 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16592 (fma_upward_test_data): New variable.
16593 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16594
08198877
JM
16595 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16596 (struct test_c_c_data): New type.
16597 (RUN_TEST_LOOP_c_c): New macro.
16598 (cacos_test_data): New variable.
16599 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16600 (cacosh_test_data): New variable.
16601 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16602 (casin_test_data): New variable.
16603 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16604 (casinh_test_data): New variable.
16605 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16606 (catan_test_data): New variable.
16607 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16608 (catanh_test_data): New variable.
16609 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16610 (ccos_test_data): New variable.
16611 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16612 (ccosh_test_data): New variable.
16613 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16614 (cexp_test_data): New variable.
16615 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16616 (clog_test_data): New variable.
16617 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16618 (clog10_test_data): New variable.
16619 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16620 (conj_test_data): New variable.
16621 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16622 (cproj_test_data): New variable.
16623 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16624 (csin_test_data): New variable.
16625 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16626 (csinh_test_data): New variable.
16627 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16628 (csqrt_test_data): New variable.
16629 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16630 (ctan_test_data): New variable.
16631 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16632 (ctan_tonearest_test_data): New variable.
16633 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16634 (ctan_towardzero_test_data): New variable.
16635 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16636 (ctan_downward_test_data): New variable.
16637 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16638 (ctan_upward_test_data): New variable.
16639 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16640 (ctanh_test_data): New variable.
16641 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16642 (ctanh_tonearest_test_data): New variable.
16643 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16644 (ctanh_towardzero_test_data): New variable.
16645 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16646 (ctanh_downward_test_data): New variable.
16647 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16648 (ctanh_upward_test_data): New variable.
16649 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16650 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16651 of BUILD_COMPLEX.
16652
601a3a5f
JM
16653 * math/libm-test.inc (struct test_ff_f_data): New type.
16654 (struct test_ff_f_data_nexttoward): Likewise.
16655 (RUN_TEST_LOOP_2_f): New macro.
16656 (RUN_TEST_LOOP_ff_f): Likewise.
16657 (atan2_test_data): New variable.
16658 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16659 (copysign_test_data): New variable.
16660 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16661 (fdim_test_data): New variable.
16662 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16663 (fmax_test_data): New variable.
16664 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16665 (fmin_test_data): New variable.
16666 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16667 (fmod_test_data): New variable.
16668 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16669 (hypot_test_data): New variable.
16670 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16671 (nextafter_test_data): New variable.
16672 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16673 (nexttoward_test_data): New variable.
16674 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16675 (pow_test_data): New variable.
16676 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16677 (pow_tonearest_test_data): New variable.
16678 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16679 (pow_towardzero_test_data): New variable.
16680 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16681 (pow_downward_test_data): New variable.
16682 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16683 (pow_upward_test_data): New variable.
16684 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16685 (remainder_test_data): New variable.
16686 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16687 (scalb_test_data): New variable.
16688 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16689 * sysdeps/i386/fpu/libm-test-ulps: Update.
16690
74c57478
JM
166912013-05-11 Joseph Myers <joseph@codesourcery.com>
16692
8329e4da
JM
16693 * math/libm-test.inc (fma_test): Use max_value instead of local
16694 variable fltmax.
16695 (nextafter_test): Likewise.
16696
74c57478
JM
16697 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16698 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16699 (acos_downward_test_data): New variable.
16700 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16701 (acos_upward_test_data): New variable.
16702 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16703 (acosh_test_data): New variable.
16704 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16705 (asin_test_data): New variable.
16706 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16707 (asin_tonearest_test_data): New variable.
16708 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16709 (asin_towardzero_test_data): New variable.
16710 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16711 (asin_downward_test_data): New variable.
16712 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16713 (asin_upward_test_data): New variable.
16714 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16715 (asinh_test_data): New variable.
16716 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16717 (atan_test_data): New variable.
16718 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16719 (atanh_test_data): New variable.
16720 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16721 (cbrt_test_data): New variable.
16722 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16723 (ceil_test_data): New variable.
16724 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16725 (cos_test_data): New variable.
16726 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16727 (cos_tonearest_test_data): New variable.
16728 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16729 (cos_towardzero_test_data): New variable.
16730 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16731 (cos_downward_test_data): New variable.
16732 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16733 (cos_upward_test_data): New variable.
16734 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16735 (cosh_test_data): New variable.
16736 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16737 (cosh_tonearest_test_data): New variable.
16738 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16739 (cosh_towardzero_test_data): New variable.
16740 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16741 (cosh_downward_test_data): New variable.
16742 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16743 (cosh_upward_test_data): New variable.
16744 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16745 (erf_test_data): New variable.
16746 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16747 (erfc_test_data): New variable.
16748 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16749 (exp_test_data): New variable.
16750 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16751 (exp_tonearest_test_data): New variable.
16752 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16753 (exp_towardzero_test_data): New variable.
16754 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16755 (exp_downward_test_data): New variable.
16756 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16757 (exp_upward_test_data): New variable.
16758 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16759 (exp10_test_data): New variable.
16760 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16761 (exp2_test_data): New variable.
16762 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16763 (expm1_test_data): New variable.
16764 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16765 (fabs_test_data): New variable.
16766 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16767 (floor_test_data): New variable.
16768 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16769 (j0_test_data): New variable.
16770 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16771 (j1_test_data): New variable.
16772 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16773 (log_test_data): New variable.
16774 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16775 (log10_test_data): New variable.
16776 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16777 (log1p_test_data): New variable.
16778 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16779 (log2_test_data): New variable.
16780 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16781 (logb_test_data): New variable.
16782 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16783 (logb_downward_test_data): New variable.
16784 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16785 (nearbyint_test_data): New variable.
16786 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16787 (rint_test_data): New variable.
16788 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16789 (rint_tonearest_test_data): New variable.
16790 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16791 (rint_towardzero_test_data): New variable.
16792 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16793 (rint_downward_test_data): New variable.
16794 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16795 (rint_upward_test_data): New variable.
16796 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16797 (round_test_data): New variable.
16798 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16799 (sin_test_data): New variable.
16800 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16801 (sin_tonearest_test_data): New variable.
16802 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16803 (sin_towardzero_test_data): New variable.
16804 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16805 (sin_downward_test_data): New variable.
16806 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16807 (sin_upward_test_data): New variable.
16808 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16809 (sinh_test_data): New variable.
16810 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16811 (sinh_tonearest_test_data): New variable.
16812 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16813 (sinh_towardzero_test_data): New variable.
16814 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16815 (sinh_downward_test_data): New variable.
16816 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16817 (sinh_upward_test_data): New variable.
16818 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16819 (sqrt_test_data): New variable.
16820 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16821 (tan_test_data): New variable.
16822 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16823 (tan_tonearest_test_data): New variable.
16824 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16825 (tan_towardzero_test_data): New variable.
16826 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16827 (tan_downward_test_data): New variable.
16828 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16829 (tan_upward_test_data): New variable.
16830 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16831 (tanh_test_data): New variable.
16832 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16833 (tgamma_test_data): New variable.
16834 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16835 (trunc_test_data): New variable.
16836 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16837 (y0_test_data): New variable.
16838 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16839 (y1_test_data): New variable.
16840 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16841 (significand_test_data): New variable.
16842 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16843
7187d844
CG
168442013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16845
16846 [BZ #12387]
16847 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16848
f63fae73
PT
168492013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16850
16851 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16852
8a67a4b3
AJ
168532013-05-10 Andreas Jaeger <aj@suse.de>
16854
16855 [BZ #15448]
16856 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16857 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16858
51df539d
JM
168592013-05-10 Joseph Myers <joseph@codesourcery.com>
16860
16861 * math/gen-libm-test.pl (adjust_arg): New function.
16862 (special_functions): Handle generating output in both functions
16863 and arrays.
16864 (parse_args): Likewise.
16865 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16866 $in_func argument to parse_args.
16867 * math/libm-test.inc (struct test_f_f_data): New type.
16868 (IF_ROUND_INIT_): New macro.
16869 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16870 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16871 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16872 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16873 (ROUND_RESTORE_): Likewise.
16874 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16875 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16876 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16877 (ROUND_RESTORE_FE_UPWARD): Likewise.
16878 (RUN_TEST_LOOP_f_f): New macro.
16879 (acos_test_data): New variable.
16880 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16881 (acos_tonearest_test_data): New variable.
16882 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16883
5c637fe5
SP
168842013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16885
16886 * benchtests/bench-skeleton.c (startup): Fix coding style.
16887
ab2b9461
JM
168882013-05-10 Joseph Myers <joseph@codesourcery.com>
16889
16890 [BZ #6809]
16891 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16892 negative infinity argument.
16893 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16894 negative infinity argument.
16895 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16896 negative infinity argument.
16897 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16898 domain errors.
16899
4c0fe6fe
FW
169002013-05-10 Florian Weimer <fweimer@redhat.com>
16901
16902 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16903 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16904 * iconv/iconv_prog.c (main): Likewise.
16905 * locale/programs/charmap-dir.c (charmap_readdir)
16906 (fopen_uncompressed): Likewise.
16907 * locale/programs/locfile.c (siblings_uncached)
16908 (write_locale_data): Use lstat64 instead of lstat.
16909 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16910 stat.
16911
a3375d29
AJ
169122013-05-10 Andreas Jaeger <aj@suse.de>
16913
16914 [BZ #15395]
16915 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16916 localization.
16917 Include <locale.h>.
16918
36129722
CD
169192013-05-09 Carlos O'Donell <carlos@redhat.com>
16920
16921 * elf/dl-close.c (_dl_close_worker): Add comments.
16922
faa7f811
JM
169232013-05-09 Joseph Myers <joseph@codesourcery.com>
16924
ed41ffef
JM
16925 [BZ #15359]
16926 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16927 high part of pi/2.
16928 (__ieee754_rem_pio2l): Update comments.
16929
d0213cd0
JM
16930 [BZ #15429]
16931 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16932 high part of pi/2.
16933 (__ieee754_rem_pio2l): Update comments.
16934
0d3e777a
JM
16935 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16936 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16937
24f56066
JM
16938 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16939 M_PI_4l.
16940
faa7f811
JM
16941 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16942 (M_PI_34_LOG10El): Likewise.
16943 (M_PI2_LOG10El): Likewise.
16944 (M_PI4_LOG10El): Likewise.
16945 (M_PI_LOG10El): Likewise.
16946
e9a5e0fd
AZ
169472013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16948
16949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16950
d8cd06db
JM
169512013-05-08 Joseph Myers <joseph@codesourcery.com>
16952
a0d9f9d7
JM
16953 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16954 (MINUS_ZERO_INIT): Likewise.
16955 (PLUS_INFTY_INIT): Likewise.
16956 (MINUS_INFTY_INIT): Likewise.
16957 (QNAN_VALUE_INIT): Likewise.
16958 (MAX_VALUE_INIT): Likewise.
16959 (MIN_VALUE_INIT): Likewise.
16960 (MIN_SUBNORM_VALUE_INIT): Likewise.
16961 (plus_zero): Initialize with PLUS_ZERO_INIT.
16962 (minus_zero): Initialize with MINUS_ZERO_INIT.
16963 (plus_infty): Initialize with PLUS_INFTY_INIT.
16964 (minus_infty): Initialize with MINUS_INFTY_INIT.
16965 (qnan_value): Initialize with QNAN_VALUE_INIT.
16966 (max_value): Initialize with MAX_VALUE_INIT.
16967 (min_value): Initialize with MIN_VALUE_INIT.
16968 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16969
ae08db3b
JM
16970 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16971 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16972 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16973 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16974
f44bf14a
JM
16975 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16976 (RUN_TEST_2_f): Likewise.
16977 (RUN_TEST_ff_f): Likewise.
16978 (RUN_TEST_fi_f): Likewise.
16979 (RUN_TEST_fl_f): Likewise.
16980 (RUN_TEST_fff_f): Likewise.
16981 (RUN_TEST_c_f): Likewise.
16982 (RUN_TEST_f_f1): Likewise.
16983 (RUN_TEST_fF_f1): Likewise.
16984 (RUN_TEST_fI_f1): Likewise.
16985 (RUN_TEST_ffI_f1): Likewise.
16986 (RUN_TEST_c_c): Likewise.
16987 (RUN_TEST_cc_c): Likewise.
16988 (RUN_TEST_f_i): Likewise.
16989 (RUN_TEST_f_i_tg): Likewise.
16990 (RUN_TEST_ff_i_tg): Likewise.
16991 (RUN_TEST_f_b): Likewise.
16992 (RUN_TEST_f_b_tg): Likewise.
16993 (RUN_TEST_f_l): Likewise.
16994 (RUN_TEST_f_L): Likewise.
16995 (RUN_TEST_sincos): Likewise.
16996 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16997 whether to show exceptions. Do not include ");\n" in return
16998 value.
16999 (special_functions): Output call to RUN_TEST_sincos instead of
17000 check_float calls. Update calls to new_test.
17001 (parse_args): Output call to single RUN_TEST_* macro instead of
17002 check_* calls and other assignments. Update calls to new_test.
17003
d8cd06db
JM
17004 [BZ #2546]
17005 [BZ #2560]
17006 [BZ #5159]
17007 [BZ #15426]
17008 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17009 input to result for tgamma overflow.
17010 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17011 (gamma_coeff): New variable.
17012 (NCOEFF): New macro.
17013 (gamma_positive): New function.
17014 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17015 underflow here. Use gamma_positive instead of exp (lgamma) for
17016 other arguments.
17017 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17018 (gamma_coeff): New variable.
17019 (NCOEFF): New macro.
17020 (gammaf_positive): New function.
17021 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17022 underflow here. Use gamma_positive instead of exp (lgamma) for
17023 other arguments.
17024 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17025 (gamma_coeff): New variable.
17026 (NCOEFF): New macro.
17027 (gammal_positive): New function.
17028 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17029 underflow here. Use gamma_positive instead of exp (lgamma) for
17030 other arguments.
17031 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17032 (gamma_coeff): New variable.
17033 (NCOEFF): New macro.
17034 (gammal_positive): New function.
17035 (__ieee754_gammal_r): Handle positive infinity, overflow and
17036 underflow here. Handle NaN the same as positive infinity. Remove
17037 check x < 0xffffffff for negative integers. Use gamma_positive
17038 instead of exp (lgamma) for other arguments.
17039 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17040 (gamma_coeff): New variable.
17041 (NCOEFF): New macro.
17042 (gammal_positive): New function.
17043 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17044 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17048 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17049 * sysdeps/generic/math_private.h (__gamma_productf): New
17050 prototype.
17051 (__gamma_product): Likewise.
17052 (__gamma_productl): Likewise.
17053 * math/Makefile (libm-calls): Add gamma_product.
17054 * math/libm-test.inc (tgamma_test): Add more tests.
17055 * sysdeps/i386/fpu/libm-test-ulps: Update.
17056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17057
bb7cf681
OB
170582013-05-08 Ondřej Bílka <neleai@seznam.cz>
17059
17060 * benchtests/bench-skeleton.c (main): Preheat CPU.
17061
ba853947
AJ
170622013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17063
17064 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17065
8347c74c
RM
170662013-05-07 Roland McGrath <roland@hack.frob.com>
17067
17068 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17069 and _dl_skip_args_internal.
17070
e8dd4791
CD
170712013-05-07 Carlos O'Donell <carlos@redhat.com>
17072
17073 * manual/message.texi (Message Translation): Talk about users.
17074 Message to key mapping impacts design.
17075
c7405830
RM
170762013-05-06 Roland McGrath <roland@hack.frob.com>
17077
a9173057
RM
17078 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17079
976e2f03
RM
17080 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17081
9723ffc5
RM
17082 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17083 * sysdeps/wordsize-64/glob64.c: ... here.
17084
962e6658
RM
17085 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17086 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17087 New macros.
17088
ee586a6d
RM
17089 * debug/getlogin_r_chk.c: Moved to ...
17090 * login/getlogin_r_chk.c: ... here.
17091 * debug/Makefile (routines): Move getlogin_r_chk to ...
17092 * login/Makefile (routines): ... here.
17093 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17094 * login/Versions (libc: GLIBC_2.4): ... here.
17095
355f9165
RM
17096 * io/poll.c (__poll): Renamed from poll.
17097 Add libc_hidden_def.
17098 (poll): Define as weak alias.
17099
bd9ffde6
RM
17100 * debug/ptsname_r_chk.c: Moved to ...
17101 * login/ptsname_r_chk.c: ... here.
17102 * debug/Makefile (routines): Move ptsname_r_chk to ...
17103 * login/Makefile (routines): ... here.
17104 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17105 * login/Versions (libc: GLIBC_2.4): ... here.
17106
8fb16a04
RM
17107 * posix/getlogin.c: Moved to ...
17108 * login/getlogin.c: ... here.
17109 * posix/getlogin_r.c: Moved to ...
17110 * login/getlogin_r.c: ... here.
17111 * posix/getlogin_r.c: Moved to ...
17112 * login/getlogin_r.c: ... here.
17113 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17114 * login/Makefile (routines): ... here.
17115 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17116 * login/Versions (libc: GLIBC_2.0): ... here.
17117
b99b892f
RM
17118 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17119 (setrlimit): Define as weak alias.
17120
c7405830
RM
17121 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17122 Call __ names for open, ftruncate, and close.
17123 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17124 (truncate): Define as weak alias.
17125
5bf96de5
JM
171262013-05-06 Joseph Myers <joseph@codesourcery.com>
17127
9ea3513c
JM
17128 * math/gen-libm-test.pl (parse_args): Initialize x before each
17129 test of frexp, modf and remquo.
17130
5bf96de5
JM
17131 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17132 test signgam value.
17133
16e616a7
AZ
171342013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17135
17136 [BZ #15418]
17137 [BZ #15419]
17138 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17139 internal tests.
17140 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17141
d5e82754
RM
171422013-05-06 Roland McGrath <roland@hack.frob.com>
17143
17144 * elf/dl-writev.h: New file.
17145 * elf/dl-misc.c: Include it.
17146 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17147 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17148
a7548d41
JM
171492013-05-04 Joseph Myers <joseph@codesourcery.com>
17150
b7dab1e4
JM
17151 * math/libm-test.inc (noXFails): Remove variable.
17152 (noXPasses): Likewise.
17153 (BUILD_COMPLEX_INT): Remove macro.
17154 (print_screen): Remove xfail argument.
17155 (print_screen_max_error): Likewise.
17156 (update_stats): Likewise.
17157 (print_max_error): Likewise. Update calls to other affected
17158 functions.
17159 (print_complex_max_error): Likewise.
17160 (test_single_exception): Update calls to print_screen.
17161 (test_single_errno): Likewise.
17162 (check_float_internal): Remove xfail argument. Update calls to
17163 other affected functions.
17164 (check_float): Likewise.
17165 (check_complex): Likewise.
17166 (check_int): Likewise.
17167 (check_long): Likewise.
17168 (check_bool): Likewise.
17169 (check_longlong): Likewise.
17170 (main): Don't print noXFails and noXPasses.
17171 * math/gen-libm-test.pl (top level): Don't mention expected
17172 failure handling in comment.
17173 (new_test): Don't handle expected failures.
17174 (parse_args): Don't mention expected failure handling in comment.
17175 (generate_testfile): Don't handle expected failures.
17176 (parse_ulps): Likewise.
17177 (print_ulps_file): Likewise.
17178 (get_failure): Remove function.
17179 (output_test): Don't handle expected failures.
17180 * make/README.libm-test: Don't mention expected failure handling.
17181
a7548d41
JM
17182 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17183 (minus_zero): Likewise.
17184 (plus_infty): Likewise.
17185 (minus_infty): Likewise.
17186 (qnan_value): Likewise.
17187 (max_value): Likewise.
17188 (min_value): Likewise.
17189 (min_subnorm_value): Likewise.
17190 (initialize): Do not initialize those variables dynamically.
17191
60bfd54c
RM
171922013-05-03 Roland McGrath <roland@hack.frob.com>
17193
cc0e6ed8
RM
17194 * io/open.c (__open_2): Moved to ...
17195 * io/open_2.c: ... this new file.
17196 * io/open64.c (__open64_2): Moved to ...
17197 * io/open64_2.c: ... this new file.
17198 * io/openat.c (__openat_2): Moved to ...
17199 * io/openat_2.c: ... this new file.
17200 * io/openat64.c (__openat64_2): Moved to ...
17201 * io/openat64_2.c: ... this new file.
17202 * io/Makefile (routines): Add them.
17203 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17204 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17205 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17206 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17207 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17208 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17209 (__openat64): Add hidden_ver.
17210 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17211 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17212
60bfd54c
RM
17213 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17214 Separately conditionalize setting of GLRO(dl_sysinfo) so
17215 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17216 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17217
83e7640f
AZ
172182013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17219
17220 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17221 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17222 definition.
17223 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17224 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17225 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17226 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17227 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17228
d5dc2af3
JM
172292013-05-03 Joseph Myers <joseph@codesourcery.com>
17230
c31a5b1e
JM
17231 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17232 test signgam value.
17233
d5dc2af3
JM
17234 * math/libm-test.inc (hypot_test): Do not use
17235 IGNORE_ZERO_INF_SIGN.
17236
164fd39d
AJ
172372013-05-03 Andreas Jaeger <aj@suse.de>
17238
17239 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17240 Linux 3.9.
17241 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17242 (PF_MAX): Adjust for VSOCK change.
17243
8237f48c
AZ
172442013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17245
17246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17247
9df02941
CD
172482013-05-02 Carlos O'Donell <carlos@redhat.com>
17249
17250 [BZ #15264]
17251 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17252 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17253 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17254
d422395e
DM
172552013-05-02 David S. Miller <davem@davemloft.net>
17256
17257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17258
a07c5731
OB
172592013-05-01 Ondřej Bílka <neleai@seznam.cz>
17260
17261 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17262
1324e37f
RM
172632013-05-01 Roland McGrath <roland@hack.frob.com>
17264
17265 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17266
0695940b
RS
172672013-05-01 Richard Smith <richard@metafoo.co.uk>
17268
bb5f27ad 17269 [BZ #14952]
0695940b
RS
17270 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17271 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17272 Use __attribute__ ((__gnu_inline__)).
17273 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17274 Don't use __attribute__ ((__gnu_inline__)).
17275
10de07f5
JM
172762013-05-01 Joseph Myers <joseph@codesourcery.com>
17277
17278 [BZ #15423]
17279 * math/s_catan.c (__catan): Handle small real or imaginary part of
17280 input specially to avoid spurious underflow.
17281 * math/s_catanf.c (__catanf): Likewise.
17282 * math/s_catanh.c (__catanh): Likewise.
17283 * math/s_catanhf.c (__catanhf): Likewise.
17284 * math/s_catanhl.c (__catanhl): Likewise.
17285 * math/s_catanl.c (__catanl): Likewise.
17286 * math/libm-test.inc (catan_test): Add more tests.
17287 (catanh_test): Likewise.
17288 * sysdeps/i386/fpu/libm-test-ulps: Update.
17289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17290
cb4d5414
AZ
172912013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17292
17293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17294
caf84319
JM
172952013-04-30 Joseph Myers <joseph@codesourcery.com>
17296
17297 [BZ #15416]
17298 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17299 accurately for denominator in atan2.
17300 * math/s_catanf.c (__catanf): Likewise.
17301 * math/s_catanh.c (__catanh): Likewise.
17302 * math/s_catanhf.c (__catanhf): Likewise.
17303 * math/s_catanhl.c (__catanhl): Likewise.
17304 * math/s_catanl.c (__catanl): Likewise.
17305 * math/libm-test.inc (catan_test): Add more tests.
17306 (catanh_test): Likewise.
17307 * sysdeps/i386/fpu/libm-test-ulps: Update.
17308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17309
d569c6ee
SP
173102013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17311
6dbe713d
SP
17312 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17313
f0ee064b
SP
17314 * benchtests/Makefile (bench): Remove slow benchmarks.
17315 * benchtests/atan-inputs: Add slow benchmark inputs.
17316 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17317 (BENCH_FUNC): Accept variant offset.
17318 (VARIANT): Define.
17319 * benchtests/bench-skeleton.c (main): Run benchmark for each
17320 variant.
17321 * benchtests/cos-inputs: Add slow benchmark inputs.
17322 * benchtests/exp-inputs: Likewise.
17323 * benchtests/pow-inputs: Likewise.
17324 * benchtests/sin-inputs: Likewise.
17325 * benchtests/slowatan-inputs: Remove.
17326 * benchtests/slowatan.c: Remove.
17327 * benchtests/slowcos-inputs: Remove.
17328 * benchtests/slowcos.c: Remove.
17329 * benchtests/slowexp-inputs: Remove.
17330 * benchtests/slowexp.c: Remove.
17331 * benchtests/slowpow-inputs: Remove.
17332 * benchtests/slowpow.c: Remove.
17333 * benchtests/slowsin-inputs: Remove.
17334 * benchtests/slowsin.c: Remove.
17335 * benchtests/slowtan-inputs: Remove.
17336 * benchtests/slowtan.c: Remove.
17337 * benchtests/tan-inputs: Add slow benchmark inputs.
17338 * scripts/bench.pl: Parse comments and directives.
17339
d569c6ee
SP
17340 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17341 in CPPFLAGS.
17342 ($(objpfx)bench-%.c): Remove *-ITER.
17343 * benchtests/bench-modf.c: Remove definition of ITER.
17344 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17345 (main): Loop for DURATION seconds instead of fixed number of
17346 iterations.
17347 * scripts/bench.pl: Don't expect iterations in parameters.
17348
a6a242fe
RM
173492013-04-29 Roland McGrath <roland@hack.frob.com>
17350
17351 * io/fchdir.c (__fchdir): Renamed from fchdir.
17352 (fchdir): Define as weak alias.
17353
f2da7793
JM
173542013-04-29 Joseph Myers <joseph@codesourcery.com>
17355
17356 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17357 (ERRNO_EDOM): Likewise.
17358 (ERRNO_ERANGE): Likewise.
17359 (noErrnoTests): New variable.
17360 (init_max_error): Set errno to 0.
17361 (test_single_errno): New function.
17362 (test_errno): Likewise.
17363 (check_float_internal): Call test_errno. Set errno to 0.
17364 (check_complex): Refer to errno tests in comment.
17365 (check_int): Call test_errno. Set errno to 0.
17366 (check_long): Likewise.
17367 (check_bool): Likewise.
17368 (check_longlong): Likewise.
17369 (cos_test): Use ERRNO_* flags for errno tests instead of
17370 check_int.
17371 (expm1_test): Likewise.
17372 (fmod_test): Likewise.
17373 (ilogb_test): Likewise.
17374 (lgamma_test): Likewise.
17375 (pow_test): Likewise.
17376 (remainder_test): Likewise.
17377 (sin_test): Likewise.
17378 (tan_test): Likewise.
17379 (yn_test): Likewise.
17380 (initialize): Set errno to 0.
17381 (main): Print number of errno tests.
17382 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17383
b1a36ceb
AJ
173842013-04-29 Andreas Jaeger <aj@suse.de>
17385
c3ed8088
AJ
17386 [BZ #15084]
17387 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17388 and RES_USEVC.
17389
f1a24198
AJ
17390 [BZ #15085]
17391 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17392 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17393 unimplemented.
17394
9ce3b2cb
AJ
17395 [BZ #15380]
17396 * stdlib/random.c (__initstate): Return NULL if
17397 __initstate fails.
17398
f1a24198 17399 [BZ #15086]
b1a36ceb
AJ
17400 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17401 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17402 RES_SNGLKUPREOP.
17403
7e7b6f36
AZ
174042013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17405
17406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17407
4d14f449
JM
174082013-04-29 Joseph Myers <joseph@codesourcery.com>
17409
17410 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17411 of individual tests.
17412 (casin_test): Likewise.
17413 (casinh_test): Likewise.
17414
5b4217d7
JM
174152013-04-27 Joseph Myers <joseph@codesourcery.com>
17416
17417 [BZ #15409]
17418 * math/s_catan.c (__catan): Handle arguments with large real or
17419 imaginary part separately without squaring.
17420 * math/s_catanf.c (__catanf): Likewise.
17421 * math/s_catanh.c (__catanh): Likewise.
17422 * math/s_catanhf.c (__catanhf): Likewise.
17423 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17424 and redefine.
17425 (__catanhl): Handle arguments with large real or imaginary part
17426 separately without squaring.
17427 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17428 and redefine.
17429 (__catanl): Handle arguments with large real or imaginary part
17430 separately without squaring.
17431 * math/libm-test.inc (catan_test): Add more tests.
17432 (catanh_test): Likewise.
17433 * sysdeps/i386/fpu/libm-test-ulps: Update.
17434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17435
4220c3ef
AJ
174362013-04-27 Andreas Jaeger <aj@suse.de>
17437
17438 [BZ #15007]
17439 * stdlib/stdlib.h: Update guards for qecvt.
17440 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17441 <stdlib.h>.
17442
4721b2d1
AM
174432013-04-27 Allan McRae <allan@archlinux.org>
17444
17445 * sysdeps/i386/fpu/libm-test-ulps: Update.
17446
f0302940
JM
174472013-04-26 Joseph Myers <joseph@codesourcery.com>
17448
9457fd95
JM
17449 [BZ #15406]
17450 * math/s_catan.c: Include <float.h>.
17451 (__catan): Ensure underflow exception occurs for underflowed
17452 result.
17453 * math/s_catanf.c: Include <float.h>.
17454 (__catanf): Ensure underflow exception occurs for underflowed
17455 result.
17456 * math/s_catanh.c: Include <float.h>.
17457 (__catanh): Ensure underflow exception occurs for underflowed
17458 result.
17459 * math/s_catanhf.c: Include <float.h>.
17460 (__catanhf): Ensure underflow exception occurs for underflowed
17461 result.
17462 * math/s_catanhl.c: Include <float.h>.
17463 (__catanhl): Ensure underflow exception occurs for underflowed
17464 result.
17465 * math/s_catanl.c: Include <float.h>.
17466 (__catanl): Ensure underflow exception occurs for underflowed
17467 result.
17468 * math/libm-test.inc (catan_test): Add more tests.
17469 (catanh_test): Likewise.
17470
f0302940
JM
17471 [BZ #15405]
17472 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17473 underflowed result.
17474 * math/s_ccoshf.c (__ccoshf): Likewise.
17475 * math/s_ccoshl.c (__ccoshl): Likewise.
17476 * math/s_csin.c (__csin): Likewise.
17477 * math/s_csinf.c (__csinf): Likewise.
17478 * math/s_csinh.c (__csinh): Likewise.
17479 * math/s_csinhf.c (__csinhf): Likewise.
17480 * math/s_csinhl.c (__csinhl): Likewise.
17481 * math/s_csinl.c (__csinl): Likewise.
17482 * math/libm-test.inc (ccos_test): Add more tests.
17483 (ccosh_test): Likewise.
17484 (csin_test): Likewise.
17485 (csinh_test): Likewise.
17486
aa630f59
AZ
174872013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17488
17489 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17490 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17491 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17492 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17493 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17494 powerpc/power5+/fpu folders.
17495 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17496
17497
1b835983
MT
174982013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17499
17500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17501
73709b26
JM
175022013-04-25 Joseph Myers <joseph@codesourcery.com>
17503
17504 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17505 additions to variable.
17506 [$(config-machine) = x86_64] (modules-names): Likewise.
17507 ($(objpfx)tst-audit3): Remove dependency.
17508 ($(objpfx)tst-audit3.out): Likewise.
17509 ($(objpfx)tst-audit4): Likewise.
17510 ($(objpfx)tst-audit4.out): Likewise.
17511 ($(objpfx)tst-audit5): Likewise.
17512 ($(objpfx)tst-audit5.out): Likewise.
17513 ($(objpfx)tst-audit6): Likewise.
17514 ($(objpfx)tst-audit6.out): Likewise.
17515 ($(objpfx)tst-audit7): Likewise.
17516 ($(objpfx)tst-audit7.out): Likewise.
17517 (tst-audit3-ENV): Remove variable.
17518 (tst-audit4-ENV): Likewise.
17519 (tst-audit5-ENV): Likewise.
17520 (tst-audit6-ENV): Likewise.
17521 (tst-audit7-ENV): Likewise.
17522 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17523 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17524 addition to variable.
17525 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17526 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17527 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17528 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17529 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17530 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17531 tst-audit3, tst-audit4 and tst-audit5.
17532 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17533 tst-audit6 and tst-audit7.
17534 [$(subdir) = elf] (modules-names): Add audit modules for those
17535 tests.
17536 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17537 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17538 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17539 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17540 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17541 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17542 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17543 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17544 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17545 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17546 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17547 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17548 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17549 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17550 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17551 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17552 Likewise.
17553 [$(subdir) = elf && $(config-cflags-avx) = yes]
17554 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17555 [$(subdir) = elf && $(config-cflags-avx) = yes]
17556 (CFLAGS-tst-auditmod4a.c): Likewise.
17557 [$(subdir) = elf && $(config-cflags-avx) = yes]
17558 (CFLAGS-tst-auditmod4b.c): Likewise.
17559 [$(subdir) = elf && $(config-cflags-avx) = yes]
17560 (CFLAGS-tst-auditmod6b.c): Likewise.
17561 [$(subdir) = elf && $(config-cflags-avx) = yes]
17562 (CFLAGS-tst-auditmod6c.c): Likewise.
17563 [$(subdir) = elf && $(config-cflags-avx) = yes]
17564 (CFLAGS-tst-auditmod7b.c): Likewise.
17565 * elf/tst-audit3.c: Move to ...
17566 * sysdeps/x86_64/tst-audit3.c: ... here.
17567 * elf/tst-audit4.c: Move to ...
17568 * sysdeps/x86_64/tst-audit4.c: ... here.
17569 * elf/tst-audit5.c: Move to ...
17570 * sysdeps/x86_64/tst-audit5.c: ... here.
17571 * elf/tst-audit6.c: Move to ...
17572 * sysdeps/x86_64/tst-audit6.c: ... here.
17573 * elf/tst-audit7.c: Move to ...
17574 * sysdeps/x86_64/tst-audit7.c: ... here.
17575 * elf/tst-auditmod3a.c: Move to ...
17576 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17577 * elf/tst-auditmod3b.c: Move to ...
17578 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17579 * elf/tst-auditmod4a.c: Move to ...
17580 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17581 * elf/tst-auditmod4b.c: Move to ...
17582 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17583 * elf/tst-auditmod5a.c: Move to ...
17584 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17585 * elf/tst-auditmod5b.c: Move to ...
17586 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17587 * elf/tst-auditmod6a.c: Move to ...
17588 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17589 * elf/tst-auditmod6b.c: Move to ...
17590 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17591 * elf/tst-auditmod6c.c: Move to ...
17592 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17593 * elf/tst-auditmod7a.c: Move to ...
17594 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17595 * elf/tst-auditmod7b.c: Move to ...
17596 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17597
1ef74943
PP
175982013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17599
17600 [BZ #15366]
17601 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17602 define unconditionally.
17603 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17604 define unconditionally.
17605 (INT8_C, INT16_C, etc.): Likewise.
17606
93fd48c5
MR
176072013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17608
ae9552cf
MR
17609 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17610 __ehdr_start with hidden visibility.
17611
93fd48c5
MR
17612 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17613
418601aa
CD
176142013-04-24 Carlos O'Donell <carlos@redhat.com>
17615
17616 * math/libm-test.inc (cos_test): Use accurate hex constants.
17617 (sincost_test): Likewise.
17618
2f38fbfe
JM
176192013-04-24 Joseph Myers <joseph@codesourcery.com>
17620
5e221800
JM
17621 * math/libm-test.inc (catan_test): Add more tests.
17622 (catanh_test): Likewise.
17623
77f143fd
JM
17624 * math/s_catanf.c (__catanf): Use suffixed floating-point
17625 constants.
17626 * math/s_catanhf.c (__catanhf): Likewise.
17627 * math/s_catanhl.c (__catanhl): Likewise.
17628 * math/s_catanl.c (__catanl): Likewise.
17629
2f38fbfe
JM
17630 [BZ #15394]
17631 * math/s_catan.c (__catan): Calculate imaginary part of result
17632 with log1p not log unless computing log of number close to 0.
17633 * math/s_catanf.c (__catanf): Likewise.
17634 * math/s_catanl.c (__catanl): Likewise.
17635 * math/s_catanh.c (__catanh): Calculate real part of result with
17636 log1p not log unless computing log of number close to 0.
17637 * math/s_catanhf.c (__catanhf): Likewise.
17638 * math/s_catanhl.c (__catanhl): Likewise.
17639 * math/libm-test.inc (catan_test): Add more tests.
17640 (catanh_test): Likewise.
17641 * sysdeps/i386/fpu/libm-test-ulps: Update.
17642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17643
45d69176
SP
176442013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17645
17646 * benchtests/Makefile: Mention files in which fast and slow
17647 paths of math functions are implemented.
17648
87f51853
RM
176492013-04-23 Roland McGrath <roland@hack.frob.com>
17650
17651 * sysdeps/posix/timespec_get.c: New file.
17652
3c026539
AZ
176532013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17654
17655 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17656 POWER.
17657 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17658 for POWER.
17659 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17660 powerpc/power5/fpu folders.
17661 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17662 * benchtests/Makefile: Add modf testcase.
17663 * benchtests/bench-modf.c: New file: Benchmark test for mo
17664
ff491d14
SP
176652013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17666
17667 [BZ #14888]
17668 * time/Makefile (tests): Add tst-strptime-whitespace.
17669 * time/strptime_l.c (get_number): Use ISSPACE.
17670 (__strptime_internal): Likewise.
17671 * time/tst-strptime-whitespace.c: New test case.
17672
7ed3f4e8
AS
176732013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17674
17675 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17676 member.
17677 (_nss_files_init): Set it here.
17678
5c95f7b6
HC
176792013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17680
17681 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17682 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17683 unsigned.
17684
d34c9158
JBG
176852013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17686
17687 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17688
2169712d
SP
176892013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17690
17691 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17692 size just once.
17693
29c5de99
DM
176942013-04-21 David S. Miller <davem@davemloft.net>
17695
17696 * po/ru.po: Update Russion translation from translation project.
17697
ccdad15d
AC
176982013-04-17 Adam Conrad <adconrad@0c3.net>
17699
17700 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17701 and setfsgid.
17702
0f122b8d
CD
177032013-04-17 Carlos O'Donell <carlos@redhat.com>
17704
5c5b07da 17705 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17706 * configure: Regenerate.
5c5b07da 17707 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17708 Add example to error message.
17709 * sysdeps/i386/configure: Regenerate.
17710
037714dd
SP
177112013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17712
17713 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17714 slowtan.
17715 * benchtests/cos-inputs: New file.
17716 * benchtests/slowcos-inputs: New file.
17717 * benchtests/slowcos.c: New file.
17718 * benchtests/slowtan-inputs: New file.
17719 * benchtests/slowtan.c: New file.
17720 * benchtests/tan-inputs: New file.
17721
e913141d
RM
177222013-04-16 Roland McGrath <roland@hack.frob.com>
17723
17724 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17725 considered kosher.
17726
a2964074
SP
177272013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17728
4856bcd2
SP
17729 * benchtests/Makefile: Include cppflags-iterator.mk to add
17730 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17731
a2964074
SP
17732 * Makefile.in (bench-clean): New target.
17733 * benchtests/Makefile (bench-clean): Likewise.
17734
9fbf9aca
DH
177352013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17736
17737 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17738
207d1e2a
TS
177392013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17740
17741 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17742
306dfba9
AS
177432013-04-15 Andreas Schwab <schwab@suse.de>
17744
17745 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17746 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17747 * nscd/pwdcache.c (cache_addpw): Likewise.
17748 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17749 more than recsize.
17750
206a6699
SP
177512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17752
17753 * benchtests/Makefile (bench): Write all output to
17754 bench-out.tmp together.
17755
0582f6b3
AS
177562013-04-15 Andreas Schwab <schwab@suse.de>
17757
17758 * nscd/nscd.c (main): Don't fork again after closing files.
17759
acb4325f
SP
177602013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17761
5cb26d0a
SP
17762 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17763
acb4325f
SP
17764 * benchtests/Rules (bench-deps): Collect dependencies into a
17765 single variable. Add Makefile to dependencies.
17766 ($(objpfx)bench-%.c): Depend on bench-deps.
17767
47792506
RM
177682013-04-12 Roland McGrath <roland@hack.frob.com>
17769 Xavier Roche <roche+kml2@exalead.com>
17770
17771 [BZ #15361]
17772 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17773 just that it's a file descriptor.
17774 * manual/llio.texi (Synchronizing AIO Operations): Update description
17775 for EBADF error from aio_fsync.
17776
8fc1bee5
SP
177772013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17778
17779 * Rules (bench): Move target definition...
17780 * benchtests/Makefile: ... here.
17781
aba5e333
CD
177822013-04-11 Carlos O'Donell <carlos@redhat.com>
17783
17784 * math/libm-test.inc (cos_test): Fix PI/2 test.
17785 (sincos_test): Likewise.
17786 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17787 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17788
273cdee8
AS
177892013-04-11 Andreas Schwab <schwab@suse.de>
17790
6ecec3b6
AS
17791 [BZ #13988]
17792 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17793 accept exponent character only when digits were seen.
17794 * stdio-common/Makefile (tests): Add bug26.
17795 * stdio-common/bug26.c: New file.
17796
273cdee8
AS
17797 [BZ #14293]
17798 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17799 non-freeable.
17800
8da491f5
SP
178012013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17802
01dc6df9
SP
17803 * Makeconfig (rtld-prefix): Define built linker prefix.
17804 * Rules (run-bench): Use it.
17805 * math/Makefile (run-regen-ulps): Likewise.
17806
8da491f5
SP
17807 * Rules (bench): Remove eval.
17808
abe7f530
SP
178092013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17810 Roland McGrath <roland@hack.frob.com>
17811 Ondrej Bilka <neleai@seznam.cz>
17812
17813 [BZ #15346]
17814 * time/getdate.c: Include ctype.h and alloca.h.
17815 (__getdate_r): Trim leading and trailing spaces of input.
17816 * time/tst-getdate.c (tests): Add tests with leading and
17817 trailing spaces.
17818
61c23e62
RM
178192013-04-08 Roland McGrath <roland@hack.frob.com>
17820
17821 [BZ #14280]
17822 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17823 when computing value.
17824
7208a313
CD
178252013-04-06 Carlos O'Donell <carlos@redhat.com>
17826
085b2d41
CD
17827 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17828 Use testrun.sh to run libm tests.
17829
7208a313
CD
17830 [BZ #15309]
17831 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17832
872c0acd
MM
178332013-04-06 Marko Myllynen <myllynen@redhat.com>
17834
17835 [BZ #15264]
17836 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17837
26510bdd
CD
178382013-04-06 Carlos O'Donell <carlos@redhat.com>
17839
17840 * Makefile.in (regen-ulps): New target.
17841 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17842 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17843 [ifneq (no,$(PERL)] (regen-ulps): New target.
17844 [ifeq (no,$(PERL)] (regen-ulps): New target.
17845 * math/libm-test.inc (ulps_file_name): Define.
17846 (output_dir): New variable.
17847 (options): Add "output-dir" option.
17848 (parse_opt): Handle 'o' case.
17849 (main): If output_dir is non-NULL use it as a prefix
17850 otherwise use "".
17851 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17852
a01f19c8
CD
178532013-04-06 Carlos O'Donell <carlos@redhat.com>
17854
17855 [BZ #10060, #10062]
17856 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17857 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17858 fail configure if __sync_val_compare_and_swap is not inlined.
17859 * sysdeps/i386/configure: Regenerate.
17860 * configure.in: Build for i686 when configured for i386.
17861 * configure: Regenerate.
17862 * README: Remove i386 reference.
17863
b7a329a5
CD
178642013-04-06 Carlos O'Donell <carlos@redhat.com>
17865
17866 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17867 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17868
bf0f50df
TS
178692013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17870
ee091edf
TS
17871 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17872 (lmsnanval): New variables.
17873 (F): Add conversion tests.
17874 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17875 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17876
a8b792d6
TS
17877 * stdio-common/tstdiomisc.c (F): Properly collect individual
17878 tests' results.
17879
a1cbf437
TS
17880 [BZ #14686, #15336]
17881 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17882 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17883 Instead, use input NaN values or generate a qNaN by arithmetic
17884 operation. Also fix bugs to comply with the standard.
17885 * math/libm-test.inc (remainder_test): Add more tests.
17886
8b43a0c9
TS
17887 [BZ #15335, #15342]
17888 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17889 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17890 input NaN values or generate a qNaN by arithmetic operation.
17891
d91da4ce
TS
17892 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17893 unreachable code.
17894
bf0f50df
TS
17895 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17896 definitions.
17897
05e166c8
JM
178982013-04-03 Joseph Myers <joseph@codesourcery.com>
17899
17900 [BZ #14478]
17901 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17902 underflowed result.
17903 * math/s_cexpf.c (__cexpf): Likewise.
17904 * math/s_cexpl.c (__cexpl): Likewise.
17905 * math/libm-test.inc (cexp_test): Add more tests.
17906
1cef1b19
AS
179072013-04-03 Andreas Schwab <schwab@suse.de>
17908
17909 [BZ #15330]
17910 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17911 order arrays from heap if bigger than alloca cutoff.
17912
74d87055
TS
179132013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17914
17915 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17916 (SNAN_TESTS_double): Refer to GCC PR56831.
17917 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17918 GCC PR56828.
17919
d755bba4
SP
179202013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17921
90d5d5bb
SP
17922 * Rules (bench): Move bench.out after the run is complete.
17923
73e0cd5d
SP
17924 * Rules (bench): Echo currently running benchmark.
17925
64aabd4b
SP
17926 * benchtests/Makefile (bench): Add atan and slowatan.
17927 * benchtests/atan-inputs: New file.
17928 * benchtests/slowatan-inputs: New file.
17929 * benchtests/slowatan.c: New file.
17930
c871eccd
SP
17931 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17932 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17933 its value.
17934
d755bba4
SP
17935 [BZ #15305]
17936 * sysdeps/unix/sysv/linux/kernel-features.h
17937 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17938 __ASSUME_XFS_RESTRICTED_CHOWN.
17939 * sysdeps/unix/sysv/linux/pathconf.c
17940 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17941 Save and restore errno.
17942
52ce4860
JM
179432013-04-02 Joseph Myers <joseph@codesourcery.com>
17944
17945 [BZ #15327]
17946 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17947 arguments using __kernel_casinh.
17948 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17949 arguments using __kernel_casinhf.
17950 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17951 arguments using __kernel_casinhl.
17952 * math/libm-test.inc (cacosh_test): Add more tests.
17953 * sysdeps/i386/fpu/libm-test-ulps: Update.
17954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17955
81f311c2
SP
179562013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17957
e7906a47
SP
17958 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17960
92e3664b
SP
17961 * bench/Makefile (bench): Add sin and slowsin.
17962 * benchtests/sin-inputs: New file.
17963 * benchtests/slowsin-inputs: New file.
17964 * benchtests/slowsin.c: New file.
17965
81f311c2
SP
17966 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17967 (bench): Add slowexp and slowpow.
17968 (exp-ITER): Increase iterations.
17969 (pow-ITER): Likewise.
17970 * benchtests/exp-inputs: Change input.
17971 * benchtests/pow-inputs: Likewise.
17972 * benchtests/slowexp-inputs: New file.
17973 * benchtests/slowexp.c: New file.
17974 * benchtests/slowpow-inputs: New file.
17975 * benchtests/slowpow.c: New file.
17976
ab0f1aa9
AZ
179772013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17978
17979 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17980 instructions.
17981 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17982 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17983 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17984 * benchtests/Makefile: Add rint benchtest.
17985 * benchtests/rint-inputs: Input for rint benchtest.
17986
57267616
TS
179872013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17988
17989 * Versions.def (libm): Add GLIBC_2.18.
17990 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17991 hidden libm prototypes.
17992 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17993 * math/Makefile (libm-calls): Add s_issignaling.
17994 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17995 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17996 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17997 declaration.
17998 * math/math.h [__USE_GNU] (issignaling): New macro.
17999 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18000 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18002 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18005 * manual/arith.texi (issignaling): New section.
18006 * manual/libm-err-tab.pl (@all_functions): Update comment.
18007 * math/gen-libm-test.pl (parse_args): Apply special handling for
18008 issignaling.
18009 * math/libm-test.inc (print_float, issignaling_test): New
18010 functions.
18011 (check_float_internal): Add issignaling checks.
18012 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18013 default definition.
18014 * sysdeps/powerpc/math-tests.h: New file.
18015 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18016 tests.
18017 * math/test-snan.c (TEST_FUNC): Likewise.
18018
6142896d
DM
180192013-03-30 David S. Miller <davem@davemloft.net>
18020
18021 * po/de.po: Update from translation team.
18022
ccc8cadf
JM
180232013-03-30 Joseph Myers <joseph@codesourcery.com>
18024
18025 [BZ #10357]
18026 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18027 imaginary part less than 1.0 and real part less than 0.5
18028 specially.
18029 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18030 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18031 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18032 (cacos_test): Add more tests.
18033 (casin_test): Likewise.
18034 (casinh_test): Likewise.
18035 * sysdeps/i386/fpu/libm-test-ulps: Update.
18036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18037
0f6a8d4b
SP
180382013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18039
0d1029de
SP
18040 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18041 ONE with its value.
18042
c2d94018
SP
18043 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18044 (__pow_mp): Replace ONE and MONE with their values.
18045 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18046 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18047 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18048 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18049 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18050 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18051
27ec37f1
SP
18052 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18053
a64d7e0e
SP
18054 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18055 (__pow_mp): Replace ZERO and MZERO with their values.
18056 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18057 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18058 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18060 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18061 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18062 (__sqr): Likewise.
18063
d26dd3eb
SP
18064 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18065
0f6a8d4b
SP
18066 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18067
e57b0c61
RM
180682013-03-28 Roland McGrath <roland@hack.frob.com>
18069
18070 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18071 Declare with __attribute__ ((weak)).
18072 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18073 Call __call_tls_dtors only if it's not NULL.
18074
356b3480
RM
180752013-03-28 Roland McGrath <roland@hack.frob.com>
18076
288f7d79
RM
18077 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18078 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18079 magic __ehdr_start linker symbol if it's defined.
18080 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18081 them up here if it was already done.
18082
dc0a0263
RM
18083 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18084 (_dl_aux_init): Use const in cast when setting it.
18085 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18086 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18087 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18088
3d3436ae
RM
18089 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18090 Declare them here.
18091 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18092 * csu/libc-tls.c: Nor here.
18093 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18094
356b3480
RM
18095 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18096 (__libc_message): Never call vsyslog.
18097
b0f1246a
AM
180982013-03-28 Alan Modra <amodra@gmail.com>
18099
18100 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18101 Define as empty.
18102 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18103 Likewise.
18104
fbbe2b9a
AZ
181052013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18106
18107 [BZ #15214]
18108 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18109 underflow.
18110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18111
1728ab37
SP
181122013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18113
7a86be6e
SP
18114 [BZ #15304]
18115 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18116 Don't add gid passed as argument.
18117
1728ab37
SP
18118 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18119
3a7182a1
JM
181202013-03-27 Joseph Myers <joseph@codesourcery.com>
18121
18122 [BZ #15307]
18123 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18124 imaginary part between 1.0 and 1.5 and real part less than 0.5
18125 specially.
18126 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18127 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18128 * math/libm-test.inc (cacos_test): Add more tests.
18129 (casin_test): Likewise.
18130 (casinh_test): Likewise.
18131 * sysdeps/i386/fpu/libm-test-ulps: Update.
18132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18133
6f2e90e7
SP
181342013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18135
5739f705
SP
18136 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18137 constants.
18138 (norm): Likewise.
18139 (denorm): Likewise.
18140 (__dbl_mp): Likewise.
18141 (add_magnitudes): Likewise.
18142 (sub_magnitudes): Likewise.
18143 (__add): Likewise.
18144 (__sub): Likewise.
18145 (__mul): Likewise.
18146 (__sqr): Likewise.
18147 (__inv): Likewise.
18148 (__dvd): Likewise.
18149
e375e83d
SP
18150 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18151 commented code.
18152 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18153 (__dubcos): Likewise.
18154 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18155 (__ieee754_acos): Likewise.
18156 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18157 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18158 (__exp1): Likewise.
18159 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18161 (log1): Likewise.
18162 (my_log2): Likewise.
18163 (checkint): Likewise.
18164 * sysdeps/ieee754/dbl-64/e_remainder.c
18165 (__ieee754_remainder): Likewise.
18166 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18168 (bsloww): Likewise.
18169 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18170
6f2e90e7
SP
18171 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18172 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18173 MANTISSA_STORE_T to store computations on mantissa. Use
18174 macros for rounding and division.
18175 (denorm): Likewise.
18176 (__dbl_mp): Likewise.
18177 (add_magnitudes): Likewise.
18178 (sub_magnitudes): Likewise.
18179 (__mul): Likewise.
18180 (__sqr): Likewise.
18181 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18182 powers of two in terms of TWOPOW macro.
18183 (mp_no): Make type of mantissa as MANTISSA_T.
18184 [!RADIXI]: Define RADIXI.
18185 [!TWO52]: Define TWO52.
18186 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18187
fce14d4e
AZ
181882013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18189
18190 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18191 llroundl symbol when building for PPC32.
18192
9ad027fb
MW
181932013-03-24 Mark H Weaver <mhw@netris.org>
18194
18195 * manual/arith.texi (Normalization Functions): Fix prototypes for
18196 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18197
e42a38dd
AZ
181982013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18199
18200 [BZ #13889]
18201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18202 high value to check if expl overflow.
18203 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18204 to check for underflow and overflow.
18205 * math/libm-test.inc: Add exp test.
18206
2e0fb521
DL
182072013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18208
18209 [BZ #11120]
18210 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18211 with NOT_IN_libc.
18212
b5784d95
AZ
182132013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18214
18215 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18216 symbol.
18217
5aa4a1a1
TS
182182013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18219
bdef0be7
TS
18220 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18221 wrap blocks consisting of several statements.
18222
5aa4a1a1
TS
18223 * sysdeps/generic/math-tests.h: New file.
18224 * sysdeps/i386/fpu/math-tests.h: Likewise.
18225 * math/test-snan.c: Include it.
18226 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18227
98c48fe5
JM
182282013-03-21 Joseph Myers <joseph@codesourcery.com>
18229
18230 [BZ #15285]
18231 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18232 (__ieee754_j0l): Do not improve calculations using cos of twice
18233 input for inputs above LDBL_MAX / 2.0L.
18234 (__ieee754_y0l): Likewise.
18235 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18236 (__ieee754_j1l): Do not improve calculations using cos of twice
18237 input for inputs above LDBL_MAX / 2.0L.
18238 (__ieee754_y1l): Likewise.
18239 * math/libm-test.inc (j0_test): Add another test.
18240 (j1_test): Likewise.
18241 (y0_test): Likewise.
18242 (y1_test): Likewise.
18243 * sysdeps/i386/fpu/libm-test-ulps: Update.
18244
3775a8bc
SP
182452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18246
18247 * Rules ($(objpfx)bench-%.c): Include code from a C source
18248 file.
18249
0a1b2ae6
JM
182502013-03-21 Joseph Myers <joseph@codesourcery.com>
18251
18252 [BZ #15287]
18253 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18254 imaginary part 1.0 and real part less than 0.5 specially.
18255 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18256 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18257 * math/libm-test.inc (cacos_test): Add more tests.
18258 (casin_test): Likewise.
18259 (casinh_test): Likewise.
18260 * sysdeps/i386/fpu/libm-test-ulps: Update.
18261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18262
b33d4ce4
SP
182632013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18264
18265 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18266 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18267
bef0b507
JM
182682013-03-20 Joseph Myers <joseph@codesourcery.com>
18269
18270 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18271 * config.make.in (config-cflags-sse4): Remove variable.
18272 (config-cflags-avx): Likewise.
18273 (config-cflags-sse2avx): Likewise.
18274 (config-cflags-novzeroupper): Likewise.
18275 (config-asflags-i686): Likewise.
18276 (have-mfma4): Likewise.
18277 (have-as-vis3): Likewise.
18278 (MIG): Likewise.
18279 * configure.in (MIG): Do not AC_SUBST.
18280 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18281 (libc_cv_cc_sse4): Do not AC_SUBST.
18282 (libc_cv_cc_avx): Likewise.
18283 (libc_cv_cc_sse2avx): Likewise.
18284 (libc_cv_cc_novzeroupper): Likewise.
18285 (libc_cv_cc_fma4): Likewise.
18286 (libc_cv_as_i686): Likewise.
18287 (libc_cv_sparc_as_vis3): Likewise.
18288 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18289 LIBC_CONFIG_VAR.
18290 (config-asflags-i686): Likewise.
18291 (config-cflags-avx): Likewise.
18292 (config-cflags-sse2avx): Likewise.
18293 (have-mfma4): Likewise.
18294 (config-cflags-novzeroupper): Likewise.
18295 * sysdeps/mach/configure.in (MIG): Likewise.
18296 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18297 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18298 LIBC_CONFIG_VAR.
18299 (config-cflags-avx): Likewise.
18300 (config-cflags-sse2avx): Likewise.
18301 (have-mfma4): Likewise.
18302 (config-cflags-novzeroupper): Likewise.
18303 * configure: Regenerated.
18304 * sysdeps/i386/configure: Likewise.
18305 * sysdeps/mach/configure: Likewise.
18306 * sysdeps/sparc/configure: Likewise.
18307 * sysdeps/x86_64/configure: Likewise.
18308
912cc4b3
RM
183092013-03-20 Roland McGrath <roland@hack.frob.com>
18310
18311 [BZ #14812]
18312 * locale/programs/localedef.c (options): Put N_ translation marker
18313 on argument names, not just descriptions.
18314
04eed2b0
MS
183152013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18316
18317 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18318
a065ceff
OB
183192013-03-20 Ondřej Bílka <neleai@seznam.cz>
18320
9bb2a810 18321 [BZ #14176]
a065ceff
OB
18322 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18323
a600e5ce
RM
183242013-03-19 Roland McGrath <roland@hack.frob.com>
18325
18326 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18327 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18328 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18329 [!BEFORE_ABORT] (before_abort): New function.
18330 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18331 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18332 (writev_for_fatal): New function.
18333 (WRITEV_FOR_FATAL): New macro; call that.
18334 (backtrace_and_maps): New function.
18335 (BEFORE_ABORT): New macro; call that.
18336 (struct str_list): Type removed.
18337 (__libc_message, __libc_fatal): Functions removed.
18338 Include <sysdeps/posix/libc_fatal.c> instead.
18339
6b18bea6
JM
183402013-03-19 Joseph Myers <joseph@codesourcery.com>
18341
18342 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18343 constants.
18344 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18345 double constants.
18346
aaa8cb4b
AS
183472013-03-19 Andreas Schwab <schwab@suse.de>
18348
44673770
AS
18349 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18350 * sysdeps/gnu/configure: Regenerate.
18351
aaa8cb4b
AS
18352 * configure.in: Substitute libc_cv_rtlddir.
18353 * configure: Regenerate.
18354 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18355 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18356 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18357 * elf/Makefile (install-others, CFLAGS-interp.c)
18358 (ldso_install, common-ldd-rewrite): Likewise.
18359 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18360 $(inst_slibdir)/$(rtld-installed-name).
18361 * scripts/rellns-sh: Add -p option.
18362 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18363 for source.
18364
d3cfc668
SP
183652013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18366
18367 * manual/nptl.texi: Renamed to ...
18368 * manual/threads.texi: ... this.
18369 * manual/Makefile (chapters): Update.
18370
0e2b9cdd
RM
183712013-03-18 Roland McGrath <roland@hack.frob.com>
18372
18373 [BZ #14812]
18374 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18375 on argument names, not just descriptions.
0e2b9cdd
RM
18376 * malloc/memusagestat.c (options): Likewise.
18377 * nss/getent.c (options): Likewise.
63270c24
RM
18378
183792013-03-18 Benno Schulenberg <bensberg@justemail.net>
18380
18381 [BZ #14812]
18382 * iconv/iconv_prog.c (options): Put N_ translation marker
18383 on argument names, not just descriptions.
18384 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 18385
b2e1393c
OB
183862013-03-18 Ondrej Bilka <neleai@seznam.cz>
18387
18388 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18389 implementation which is faster on all x86_64 architectures.
18390 Tested on AMD, Intel Nehalem, SNB, IVB.
18391 * sysdeps/x86_64/strnlen.S: Likewise.
18392
18393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18394 Remove all multiarch strlen and strnlen versions.
18395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18396 Remove strlen and strnlen related parts.
18397
18398 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18399 Inline strlen part.
18400 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18401
18402 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18403 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18404 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18405 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18406 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18407 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18408
ec4ff04d
CD
184092013-03-17 Carlos O'Donell <carlos@redhat.com>
18410
18411 * manual/memory.texi (Malloc Tunable Parameters):
18412 Sort parameters alphabetically. Add comments for missing entries.
18413
cd18e90a
DM
184142013-03-17 David S. Miller <davem@davemloft.net>
18415
18416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18417
2a185d32
JM
184182013-03-16 Joseph Myers <joseph@codesourcery.com>
18419
d2f9799e
JM
18420 [BZ #15283]
18421 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18422 for arguments at most half maximum finite value.
18423 * math/libm-test.inc (j0_test): Add more tests.
18424 (j1_test): Likewise.
18425 (y0_test): Likewise.
18426 (y1_test): Likewise.
18427 * sysdeps/i386/fpu/libm-test-ulps: Update.
18428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18429
2a185d32
JM
18430 [BZ #14155]
18431 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18432 1 / x and functions P and Q for arguments above 0x1p256L.
18433 (__ieee754_y0l): Likewise.
18434 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18435 (__ieee754_y1l): Likewise.
18436 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18437 (j1_test): Likewise.
18438 (y0_test): Likewise.
18439 (y1_test): Likewise.
18440
6cbec759
TS
184412013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18442
18443 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18444 variable.
18445
bc16e260
RM
184462013-03-15 Roland McGrath <roland@hack.frob.com>
18447
aefc9b8c
RM
18448 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18449 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18450 zero since it's initialized to EXEC_PAGESIZE.
18451
bc16e260
RM
18452 * sysdeps/unix/sysv/linux/ldsodefs.h
18453 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18454 * sysdeps/generic/ldsodefs.h: ... here.
18455
a57da955
TS
184562013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18457
af00a34d
TS
18458 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18459
495ded2c
TS
18460 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18461 math/test-snan.c.
18462 * math/test-snan.c: Renamed from
18463 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18464 * math/Makefile (tests): Add test-snan.
18465 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18466 test-powerpc-snan.
18467
777b0332
TS
18468 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18469 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18470 functions.
18471 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18472 __builtin_nan family of functions.
18473 * math/libm-test.inc (initialize): Initialize qnan_value with
18474 __builtin_nan family of functions.
18475 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18476 Remove variables.
18477 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18478 Remove functions.
18479 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18480 storage class. Initialize qNaN_var and sNaN_var with
18481 __builtin_nan and __builtin_nans families of functions,
18482 respectively.
18483
64d063b8
TS
18484 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18485 (sqrt_test): Remove duplicate test with qNaN input.
18486 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18487 (round_test, signbit_test, significand_test): Note missing +/-Inf
18488 as well as qNaN tests.
18489
67e971f1
TS
18490 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18491 qNaN_var. Fix a few strings, too.
18492 * math/libm-test.inc (nan_value): Rename to qnan_value.
18493 * math/gen-libm-test.pl (%beautify): Adjust to that.
18494 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18495 * math/test-misc.c (main): Likewise.
18496 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18497 to __qnan_bytes, and __qnan_union, respectively.
18498 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18499 Likewise.
18500 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18501 and lqnanval, respectively.
18502 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18503 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18504 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18505 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18506
64487e12
TS
18507 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18508 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18509 doubles.
18510
e015e27b
TS
18511 * math/test-misc.c (main): Fix copy'n'pastos.
18512 * misc/tst-efgcvt.c (special): Likewise.
18513
a57da955
TS
18514 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18515 Remove declarations.
18516
1e380345
SP
185172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18518
18519 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18520 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18521 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18522 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18523
ef26eece
AZ
185242013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18525
18526 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18527 macro to return vdso values correctly in IFUNC implementations.
18528 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18529 Optimization by using IFUNC.
18530
8cfdb7e0
SP
185312013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18532 Richard Henderson <rth@redhat.com>
18533 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18534
18535 * Makefile.in (bench): New target.
18536 * NEWS: Mention the benchmark framework.
18537 * Rules (bench): Likewise.
18538 (binaries-bench): Generate binaries for functions to
18539 benchmark.
18540 * benchtests/Makefile: New makefile for benchmark tests.
18541 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18542 programs.
18543 * benchtests/exp-inputs: New input file for EXP function.
18544 * benchtests/pow-inputs: New input file for POW function.
18545 * scripts/bench.pl: New script to generate source files for
18546 benchmark programs.
18547
bcda9880
SP
185482013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18549
d22ca8cd
SP
18550 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18551 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18552 computations on mantissa. Use macros for rounding and
18553 division.
18554 (denorm): Likewise.
18555 (__dbl_mp): Likewise.
18556 (add_magnitudes): Likewise.
18557 (sub_magnitudes): Likewise.
18558 (__mul): Likewise.
18559 (__sqr): Likewise.
18560 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18561 powers of two in terms of TWOPOW macro.
18562 (mp_no): Make type of mantissa as MANTISSA_T.
18563 [!RADIXI]: Define RADIXI.
18564 [!TWO52]: Define TWO52.
18565 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18566
bcda9880
SP
18567 * manual/nptl.texi (cindex): Modify threads to pthreads.
18568
06d5adfb
JM
185692013-03-15 Joseph Myers <joseph@codesourcery.com>
18570
18571 * sysdeps/x86_64/preconfigure: Regenerated.
18572
41c7328e
JM
185732013-03-14 Joseph Myers <joseph@codesourcery.com>
18574
18575 [BZ #14155]
18576 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18577 0x1p28 and above.
18578 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18579 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18580 0x1p28 and above.
18581 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18582 * math/libm-test.inc (j0_test): Do not allow one spurious
18583 underflow exception.
18584 (y1_test): Likewise.
18585
e25cfa60
SP
185862013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18587
0409959c
SP
18588 * manual/Makefile (chapters): Add nptl.
18589 * manual/debug.texi (Debugging Support): Add link to Threads
18590 chapter.
18591 * manual/nptl.texi: New file.
18592
e25cfa60
SP
18593 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18594
58a1335e
PB
185952013-03-14 Petr Baudis <pasky@ucw.cz>
18596
18597 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18598 for non-NULL pointer before the memory validity test. Pointed
18599 out by Holger Brunck <holger.brunck@keymile.com>.
18600
9dc7c64f
AS
186012013-03-13 Andreas Schwab <schwab@suse.de>
18602
18603 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18604 instead of .os.
18605
54206aa6
JM
186062013-03-13 Joseph Myers <joseph@codesourcery.com>
18607
18608 * timezone/zic.c: Update from tzcode 2013b.
18609
e98cdb38
CD
186102013-03-12 Carlos O'Donell <carlos@redhat.com>
18611
18612 * manual/install.texi (Configuring and compiling):
18613 Mention i686 and i586.
18614 * INSTALL: Regenerate.
18615
9967e003
RM
186162013-03-12 Roland McGrath <roland@hack.frob.com>
18617
18618 * sysdeps/init_array/elf-init.c: New file.
18619 * csu/elf-init.c
18620 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18621 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18622
18623 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18624 __gmon_start__ as global, but as static with a .preinit_array pointer.
18625 * sysdeps/init_array/gmon-start.c: New file. Use that.
18626 * sysdeps/init_array/crti.S: New file, empty except for comments.
18627 * sysdeps/init_array/crtn.S: Likewise.
18628
e6b5a293 186292013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18630
18631 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18632 definining bcopy.
80f844c9
OB
18633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18634 Remove Prefer_SSE_for_memop.
18635 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18636 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18637 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18639 memset-x86-64.
80f844c9 18640 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18641 Remove bzero, memset ifunc support.
80f844c9
OB
18642 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18643 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18644 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18645 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18646
fb6b0fcb
AS
186472013-03-11 Andreas Schwab <schwab@suse.de>
18648
18649 [BZ #15234]
18650 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18651 by SHLIB_COMPAT.
18652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18653 (GLIBC_2.16): Remove pthread_atfork.
18654
3e6bd4b1
PP
186552013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18656
18657 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18658 (ptestcases.h): Likewise.
18659
222d7f00
RM
186602013-03-08 Roland McGrath <roland@hack.frob.com>
18661
18662 * Makeconfig ($(common-objpfx)config.status): Depend on
18663 sysdeps/*/preconfigure{,.in} too.
18664
1ba4f030
JM
186652013-03-08 Joseph Myers <joseph@codesourcery.com>
18666
a222d91a
JM
18667 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18668 (__free_hook): Use void * instead of __malloc_ptr_t.
18669 (__malloc_hook): Likewise.
18670 (__realloc_hook): Likewise.
18671 (__memalign_hook): Likewise.
18672 (__after_morecore_hook): Likewise.
18673 * malloc/arena.c (save_malloc_hook): Likewise.
18674 (save_free_hook): Likewise.
18675 * malloc/hooks.c (malloc_hook_ini): Likewise.
18676 (realloc_hook_ini): Likewise.
18677 (memalign_hook_ini): Likewise.
18678 * malloc/malloc.c (malloc_hook_ini): Likewise.
18679 (realloc_hook_ini): Likewise.
18680 (memalign_hook_ini): Likewise.
18681 (__free_hook): Likewise.
18682 (__malloc_hook): Likewise.
18683 (__realloc_hook): Likewise.
18684 (__memalign_hook): Likewise.
18685 (__libc_malloc): Likewise.
18686 (__libc_free): Likewise.
18687 (__libc_realloc): Likewise.
18688 (__libc_memalign): Likewise.
18689 (__libc_valloc): Likewise.
18690 (__libc_pvalloc): Likewise.
18691 (__libc_calloc): Likewise.
18692 (__posix_memalign): Likewise.
18693 * malloc/morecore.c (__sbrk): Likewise.
18694 (__default_morecore): Likewise.
18695
5cc45e10
JM
18696 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18697
dd54b864
JM
18698 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18699 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18700 __malloc_ptrdiff_t.
18701
1ba4f030
JM
18702 * malloc/malloc.h (__malloc_size_t): Remove macro.
18703 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18704 __malloc_size_t.
18705 (old_memalign_hook): Likewise.
18706 (old_realloc_hook): Likewise.
18707 (struct hdr): Likewise.
18708 (flood): Likewise.
18709 (mallochook): Likewise.
18710 (memalignhook): Likewise.
18711 (reallochook): Likewise.
18712 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18713 (tr_old_realloc_hook): Likewise.
18714 (tr_old_memalign_hook): Likewise.
18715 (tr_mallochook): Likewise.
18716 (tr_reallochook): Likewise.
18717 (tr_memalignhook): Likewise.
18718
edf66e57
AZ
187192013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18720
18721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18722 default_ldbl_pack and using as default implementation.
18723 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18724 implementation.
18725 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18726 redundant definition.
18727 (ldbl_insert_mantissa): Likewise.
18728 (ldbl_canonicalize): Likewise.
18729 (ldbl_nearbyint): Likewise.
18730 (ldbl_pack): Rename to ldbl_pack_ppc.
18731 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18732 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18733 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18734
6d9145d8
SP
187352013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18736
18737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18738 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18739 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18740 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18742 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18743 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18744 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18745
4dd4e157
AJ
187462013-03-07 Andreas Jaeger <aj@suse.de>
18747
18748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18749 bits/mman-linux.h.
18750
adbb8027
SP
187512013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18752
ce544b5b
SP
18753 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18754 Include mpa.h and declare __MPEXP.
18755 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18756 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18757 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18758 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18759 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18760 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18761 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18762
4cc149fd
SP
18763 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18764 (__slowpow): Use long double EXPL and LOGL functions to
18765 compute POW.
18766 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18767 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18768 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18769 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18770 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18771 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18772
e6ebd4a7
SP
18773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18774 intermediate variable to calculate exponent.
18775 (__sqr): Likewise.
18776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18777 Likewise.
18778 (__sqr): Likewise.
18779
82a9811d
SP
18780 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18781 [!NO__SQR]: Define __sqr.
18782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18783 and NO__SQR. Remove all code except __mul and __sqr. Include
18784 sysdeps/ieee754/dbl-64/mpa.c.
18785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18786
adbb8027
SP
18787 [BZ #12723]
18788 * posix/Makefile (tests): Add tst-pathconf.
18789 * posix/tst-pathconf.c: New test case.
18790 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18791 _PC_PIPE_BUF.
18792 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18793
39120df9
PF
187942013-03-06 Patsy Franklin <pfrankli@redhat.com>
18795
18796 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18797
67525cb8
AJ
187982013-03-06 Andreas Jaeger <aj@suse.de>
18799
664a9ce4
AJ
18800 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18801 definition via __MAP_ANONYMOUS.
18802
8e39047d
AJ
18803 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18804 it's not part of Linux headers.
18805
67525cb8
AJ
18806 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18807 (MAP_HUGE_MASK): Define.
18808
18809 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18810 Define.
18811 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18812 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18813 Define.
18814 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18815 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18816 Define.
18817 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18818 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18819 Define.
18820 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18821
18822 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18823 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18824 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18825 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18826 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18827 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18828
18829 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18830 Handle f2fs.
18831
18832 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18833 Handle f2fs and efivarfs.
18834
18835 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18836 f2fs.
18837
18838 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18839 (EFIVARFS_MAGIC): Add.
18840 (F2FS_LINK_MAX): Add.
18841
e1b42695
PP
188422013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18843
18844 * stdio-common/vfprintf.c: Replace __builtin_expect with
18845 __glibc_unlikely.
18846
2d67d91a
JM
188472013-03-06 Joseph Myers <joseph@codesourcery.com>
18848
18849 [BZ #13550]
18850 * sysdeps/generic/bp-sym.h: Remove file.
18851 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18852 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18853 <bp-sym.h> and <bp-asm.h>.
18854 (__longjmp): Don't use BP_SYM.
18855 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18856 and <bp-asm.h>.
18857 (memcpy): Don't use BP_SYM.
18858 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18859 <bp-sym.h> and <bp-asm.h>.
18860 (memcpy): Don't use BP_SYM.
18861 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18862 <bp-asm.h>.
18863 (memcpy): Don't use BP_SYM.
18864 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18865 <bp-asm.h>.
18866 (memset): Don't use BP_SYM.
18867 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18868 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18869 (__bzero): Don't use BP_SYM.
18870 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18871 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18872 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18873 <bp-sym.h> and <bp-asm.h>.
18874 (memcmp): Don't use BP_SYM. Remove comment about bounded
18875 pointers.
18876 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18877 <bp-sym.h> and <bp-asm.h>.
18878 (memcpy): Don't use BP_SYM.
18879 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18880 <bp-sym.h> and <bp-asm.h>.
18881 (memset): Don't use BP_SYM.
18882 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18883 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18884 (__bzero): Don't use BP_SYM.
18885 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18886 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18887 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18888 <bp-sym.h> and <bp-asm.h>.
18889 (strncmp): Don't use BP_SYM. Remove comment about bounded
18890 pointers.
18891 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18892 <bp-sym.h> and <bp-asm.h>.
18893 (memcpy): Don't use BP_SYM.
18894 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18895 <bp-sym.h> and <bp-asm.h>.
18896 (memset): Don't use BP_SYM.
18897 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18898 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18899 (__bzero): Don't use BP_SYM.
18900 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18901 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18902 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18903 <bp-sym.h> and <bp-asm.h>.
18904 (__memchr): Don't use BP_SYM.
18905 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18906 <bp-sym.h> and <bp-asm.h>.
18907 (memcmp): Don't use BP_SYM. Remove comment about bounded
18908 pointers.
18909 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18910 <bp-sym.h> and <bp-asm.h>.
18911 (memcpy): Don't use BP_SYM.
18912 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18913 <bp-sym.h> and <bp-asm.h>.
18914 (__mempcpy): Don't use BP_SYM.
18915 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18916 <bp-sym.h> and <bp-asm.h>.
18917 (__memrchr): Don't use BP_SYM.
18918 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18919 <bp-sym.h> and <bp-asm.h>.
18920 (memset): Don't use BP_SYM.
18921 (__bzero): Likewise.
18922 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18923 <bp-sym.h> and <bp-asm.h>.
18924 (__rawmemchr): Don't use BP_SYM.
18925 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18926 <bp-sym.h> and <bp-asm.h>.
18927 (__STRCMP): Don't use BP_SYM.
18928 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18929 <bp-sym.h> and <bp-asm.h>.
18930 (strchr): Don't use BP_SYM.
18931 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18932 <bp-sym.h> and <bp-asm.h>.
18933 (__strchrnul): Don't use BP_SYM.
18934 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18935 <bp-sym.h> and <bp-asm.h>.
18936 (strlen): Don't use BP_SYM.
18937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18938 <bp-sym.h> and <bp-asm.h>.
18939 (strncmp): Don't use BP_SYM. Remove comment about bounded
18940 pointers.
18941 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18942 <bp-sym.h> and <bp-asm.h>.
18943 (__strnlen): Don't use BP_SYM.
18944 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18945 <bp-sym.h> and <bp-asm.h>.
18946 (__GI__setjmp): Don't use BP_SYM.
18947 (_setjmp): Likewise.
18948 (__sigsetjmp): Likewise.
18949 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18950 (L(start_addresses)): Don't use BP_SYM.
18951 (_start): Likewise.
18952 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18953 <bp-asm.h>.
18954 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18955 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18956 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18957 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18958 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18959 <bp-asm.h>.
18960 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18961 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18962 about bounded pointers.
18963 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18964 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18965 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18966 <bp-asm.h>.
18967 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18968 about bounded pointers. Remove GKM FIXME comments.
18969 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18970 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18971 <bp-asm.h>.
18972 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18973 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18974 Remove GKM FIXME comments.
18975 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18976 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18977 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18978 <bp-asm.h>.
18979 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18980 about bounded pointers. Remove GKM FIXME comment.
18981 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18982 and <bp-asm.h>.
18983 (strncmp): Don't use BP_SYM. Remove comment about bounded
18984 pointers.
18985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18986 <bp-sym.h> and <bp-asm.h>.
18987 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18989 <bp-sym.h> and <bp-asm.h>.
18990 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18991 comment.
18992
cdcf361f
PP
189932013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18994
18995 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18996 call free(NULL).
18997
3c4a2b15
DM
189982013-03-05 David S. Miller <davem@davemloft.net>
18999
19000 * po/es.po: Update from translation team.
19001
cdcf361f 190022013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19003
19004 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19005 <bits/mman-linux.h>.
19006 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19007 is fine.
19008 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19009 <bits/mman-linux.h> to end of file.
19010 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19011 is fine.
19012 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19013 <bits/mman-linux.h> to end of file.
19014 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19015 is fine.
19016 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19017 <bits/mman-linux.h> to end of file.
19018
19019 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19020 (MCL_CURRENT, MCL_FUTURE): Define here.
19021
5f67c04f
AK
190222013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19023
8a4473cc 19024 [BZ #15232]
5f67c04f
AK
19025 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19026 attribute_hidden.
19027 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19028
c3e94a95
AK
190292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19030
19031 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19032 fourth parameter needed for rt_sigprocmask syscall.
19033 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19034 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19035 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19036 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19037 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19038 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19039
cfb6382a
JM
190402013-03-04 Joseph Myers <joseph@codesourcery.com>
19041
19042 [BZ #13550]
19043 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19044 comment about bounded pointers.
19045 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19046 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19047
539d8e01
AJ
190482013-03-04 Andreas Jaeger <aj@suse.de>
19049
19050 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19051 common definitions.
19052
19053 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19054 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19055 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19056 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19057 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19058 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19059
2e167a70 190602013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19061
19062 [BZ #15055]
19063 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19064 __ieee754_sqrl instead of __sqrl.
19065
68508633
JM
190662013-03-01 Joseph Myers <joseph@codesourcery.com>
19067
19068 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19069 * sysdeps/powerpc/fpu_control.h: ... here.
19070 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19071 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19072 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19073 * sysdeps/powerpc/bits/mathinline.h: ... here.
19074
7775448e
RM
190752013-03-01 Roland McGrath <roland@hack.frob.com>
19076
19077 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19078 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19079 to just [NEED_DL_SYSINFO_DSO].
19080 * elf/dl-support.c: Likewise.
19081 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19082 * elf/rtld.c (dl_main): Likewise.
19083 * elf/setup-vdso.h (setup_vdso): Likewise.
19084 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19085 * sysdeps/unix/sysv/linux/dl-sysdep.c
19086 (_dl_discover_osversion): Likewise.
19087
4e9b5995
CD
190882013-03-01 Carlos O'Donell <carlos@redhat.com>
19089
19090 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19091 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19092
e23872c8
SP
190932013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19094
e5c74c63
SP
19095 * NEWS: Mention libm performance improvements and non-x86 PI
19096 futex support.
19097
e23872c8
SP
19098 * csu/libc-start.c (__pthread_initialize_minimal): Change
19099 function arguments.
19100 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19101
b5510883
JM
191022013-02-28 Joseph Myers <joseph@codesourcery.com>
19103
19104 [BZ #13550]
19105 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19106 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19107 <bp-sym.h> and <bp-asm.h>.
19108 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19109 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19110 and <bp-asm.h>.
19111 (memcpy): Don't use BP_SYM.
19112 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19113 <bp-asm.h>.
19114 (__mpn_add_n): Don't use BP_SYM.
19115 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19116 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19117 and <bp-asm.h>.
19118 (__mpn_addmul_1): Don't use BP_SYM.
19119 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19120 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19121 <bp-sym.h>.
19122 (_setjmp): Don't use BP_SYM.
19123 (__novmx_setjmp): Likewise.
19124 (__GI__setjmp): Likewise.
19125 (__vmx_setjmp): Likewise.
19126 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19127 <bp-sym.h>.
19128 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19129 (__bzero): Don't use BP_SYM.
19130 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19131 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19132 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19133 <bp-sym.h> and <bp-asm.h>.
19134 (memcpy): Don't use BP_SYM.
19135 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19136 <bp-sym.h> and <bp-asm.h>.
19137 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19138 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19139 <bp-sym.h> and <bp-asm.h>.
19140 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19141 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19142 <bp-asm.h>.
19143 (__mpn_lshift): Don't use BP_SYM.
19144 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19145 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19146 <bp-asm.h>.
19147 (memset): Don't use BP_SYM.
19148 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19149 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19150 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19151 <bp-asm.h>.
19152 (__mpn_mul_1): Don't use BP_SYM.
19153 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19154 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19155 <bp-sym.h> and <bp-asm.h>.
19156 (memcmp): Don't use BP_SYM.
19157 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19158 <bp-sym.h> and <bp-asm.h>.
19159 (memcpy): Don't use BP_SYM.
19160 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19161 <bp-sym.h> and <bp-asm.h>.
19162 (memset): Don't use BP_SYM.
19163 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19164 <bp-sym.h> and <bp-asm.h>.
19165 (strncmp): Don't use BP_SYM.
19166 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19167 <bp-sym.h> and <bp-asm.h>.
19168 (memcpy): Don't use BP_SYM.
19169 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19170 <bp-sym.h> and <bp-asm.h>.
19171 (memset): Don't use BP_SYM.
19172 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19173 <bp-sym.h> and <bp-asm.h>.
19174 (__memchr): Don't use BP_SYM.
19175 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19176 <bp-sym.h> and <bp-asm.h>.
19177 (memcmp): Don't use BP_SYM.
19178 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19179 <bp-sym.h> and <bp-asm.h>.
19180 (memcpy): Don't use BP_SYM.
19181 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19182 <bp-sym.h> and <bp-asm.h>.
19183 (__mempcpy): Don't use BP_SYM.
19184 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19185 <bp-sym.h> and <bp-asm.h>.
19186 (__memrchr): Don't use BP_SYM.
19187 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19188 <bp-sym.h> and <bp-asm.h>.
19189 (memset): Don't use BP_SYM.
19190 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19191 <bp-sym.h> and <bp-asm.h>.
19192 (__rawmemchr): Don't use BP_SYM.
19193 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19194 <bp-sym.h> and <bp-asm.h>.
19195 (__STRCMP): Don't use BP_SYM.
19196 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19197 <bp-sym.h> and <bp-asm.h>.
19198 (strchr): Don't use BP_SYM.
19199 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19200 <bp-sym.h> and <bp-asm.h>.
19201 (__strchrnul): Don't use BP_SYM.
19202 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19203 <bp-sym.h> and <bp-asm.h>.
19204 (strlen): Don't use BP_SYM.
19205 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19206 <bp-sym.h> and <bp-asm.h>.
19207 (strncmp): Don't use BP_SYM.
19208 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19209 <bp-sym.h> and <bp-asm.h>.
19210 (__strnlen): Don't use BP_SYM.
19211 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19212 <bp-asm.h>.
19213 (__mpn_rshift): Don't use BP_SYM.
19214 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19215 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19216 <bp-sym.h> and <bp-asm.h>.
19217 (__sigsetjmp): Don't use BP_SYM.
19218 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19219 (L(start_addresses)): Don't use BP_SYM.
19220 (_start): Likewise.
19221 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19222 <bp-asm.h>.
19223 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19224 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19225 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19226 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19227 <bp-asm.h>.
19228 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19229 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19230 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19231 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19232 <bp-asm.h>.
19233 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19234 comments.
19235 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19236 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19237 <bp-asm.h>.
19238 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19239 FIXME comments.
19240 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19241 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19242 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19243 <bp-asm.h>.
19244 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19245 comment.
19246 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19247 and <bp-asm.h>.
19248 (strncmp): Don't use BP_SYM,
19249 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19250 <bp-asm.h>.
19251 (__mpn_sub_n): Don't use BP_SYM.
19252 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19253 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19254 and <bp-asm.h>.
19255 (__mpn_submul_1): Don't use BP_SYM.
19256 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19258 <bp-sym.h> and <bp-asm.h>.
19259 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19261 <bp-sym.h> and <bp-asm.h>.
19262 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19263 comment.
19264
8d19fe64
SP
192652013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19266
19267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19268 Use ZK to minimize writes to Z.
19269 (sub_magnitudes): Simplify code a bit.
19270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19271 Use ZK to minimize writes to Z.
19272 (sub_magnitudes): Simplify code a bit.
19273
85bd816a
RM
192742013-02-27 Roland McGrath <roland@hack.frob.com>
19275
19276 * csu/gmon-start.c: Add special exception to license text.
19277
b5977bf2
RH
192782013-02-27 Richard Henderson <rth@redhat.com>
19279
19280 * scripts/config.guess: Update from config.git.
19281 * scripts/config.sub: Likewise.
19282
11d6e2f2
SP
192832013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19284
09c14ed2
SP
19285 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19286
a688864e
SP
19287 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19288
6295157a
SP
19289 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19290
b8de2202
SP
19291 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19292
11d6e2f2
SP
19293 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19294
7e80ddb8
RM
192952013-02-26 Roland McGrath <roland@hack.frob.com>
19296
19297 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19298 [$(build-shared = yes].
7e80ddb8 19299
7da6d9ed
SP
193002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19301
45f05884
SP
19302 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19303 (__mul): Reduce iterations for calculating mantissa.
19304
2236d359
SP
19305 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19306 MPTWO.
19307 (__mpranred): Likewise.
19308
7da6d9ed
SP
19309 [BZ #15160]
19310 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19311 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19312
b7688c42
PE
193132013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19314
19315 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19316 Define __attribute__.
19317
53a5c423
SP
193182013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19319
19320 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19321 unused.
19322 * posix/regex_internal.h (__attribute): Remove.
19323 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19324 (re_string_context_at): Likewise.
19325 (bitset_not): Use __attribute__ and mark function as possibly
19326 unused.
19327 (bitset_merge): Likewise.
19328 (bitset_mask): Likewise.
19329 (re_string_char_size_at): Likewise.
19330 (re_string_wchar_at): Likewise.
19331 (re_string_elem_size_at): Likewise.
19332
60f5a8b5
SP
193332013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19334
2a983a2e
SP
19335 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19336 code.
19337 (cc32): Likewise.
19338
e69804d1
SP
19339 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19340 (__acr): Likewise.
19341 (__cpy): Likewise.
19342 (norm): Likewise.
19343 (denorm): Likewise.
19344 (__dbl_mp): Likewise.
19345 (add_magnitudes): Likewise.
19346 (sub_magnitudes): Likewise.
19347 (__mul): Likewise.
19348 (__inv): Likewise.
19349
2f22a1e8
SP
19350 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19351 style.
19352
8930ddc7
SP
19353 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19354 style.
19355
dc60cb11
SP
19356 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19357 code.
19358
60f5a8b5
SP
19359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19360 up changes with default code.
19361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19362 Likewise.
19363
b4d1fd33
AM
193642013-02-24 Allan McRae <allan@archlinux.org>
19365
faf6f8bc
AM
19366 * manual/socket.texi (The Internet Namespace): Order menu items
19367 to match that in the file.
19368
b4d1fd33
AM
19369 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19370 node listing of the info page menu.
19371
2366713d
JM
193722013-02-21 Joseph Myers <joseph@codesourcery.com>
19373
19374 [BZ #13550]
19375 * sysdeps/i386/bp-asm.h: Remove file.
19376 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19377 (PARMS): Do not use macros from bp-asm.h.
19378 (S1): Likewise.
19379 (S2): Likewise.
19380 (SIZE): Likewise.
19381 (__mpn_add_n): Do not use BP_SYM
19382 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19383 "bp-asm.h".
19384 (PARMS): Do not use macros from bp-asm.h.
19385 (S1): Likewise.
19386 (SIZE): Likewise.
19387 (__mpn_addmul_1): Do not use BP_SYM
19388 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19389 "bp-asm.h".
19390 (PARMS): Do not use macros from bp-asm.h.
19391 (SIGMSK): Likewise.
19392 (_setjmp): Likewise. Do not use BP_SYM.
19393 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19394 "bp-asm.h".
19395 (PARMS): Do not use macros from bp-asm.h.
19396 (SIGMSK): Likewise.
19397 (setjmp): Likewise. Do not use BP_SYM.
19398 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19399 "bp-asm.h".
19400 (PARMS): Do not use macros from bp-asm.h.
19401 (__frexp): Do not use BP_SYM.
19402 (frexp): Likewise.
19403 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19404 "bp-asm.h".
19405 (PARMS): Do not use macros from bp-asm.h.
19406 (__frexpf): Do not use BP_SYM.
19407 (frexpf): Likewise.
19408 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19409 "bp-asm.h".
19410 (PARMS): Do not use macros from bp-asm.h.
19411 (__frexpl): Do not use BP_SYM.
19412 (frexpl): Likewise.
19413 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19414 "bp-asm.h".
19415 (PARMS): Do not use macros from bp-asm.h.
19416 (__remquo): Do not use BP_SYM.
19417 (remquo): Likewise.
19418 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19419 "bp-asm.h".
19420 (PARMS): Do not use macros from bp-asm.h.
19421 (__remquof): Do not use BP_SYM.
19422 (remquof): Likewise.
19423 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19424 "bp-asm.h".
19425 (PARMS): Do not use macros from bp-asm.h.
19426 (__remquol): Do not use BP_SYM.
19427 (remquol): Likewise.
19428 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19429 "bp-asm.h".
19430 (PARMS): Do not use macros from bp-asm.h.
19431 (DEST): Likewise.
19432 (SRC): Likewise.
19433 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19434 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19435 "bp-asm.h".
19436 (PARMS): Do not use macros from bp-asm.h.
19437 (strlen): Do not use BP_SYM.
19438 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19439 "bp-asm.h".
19440 (PARMS): Do not use macros from bp-asm.h.
19441 (S1): Likewise.
19442 (S2): Likewise.
19443 (SIZE): Likewise.
19444 (__mpn_add_n): Do not use BP_SYM.
19445 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19446 "bp-asm.h".
19447 (PARMS): Do not use macros from bp-asm.h.
19448 (S1): Likewise.
19449 (SIZE): Likewise.
19450 (__mpn_addmul_1): Do not use BP_SYM.
19451 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19452 weak_alias.
19453 (bzero): Likewise.
19454 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19455 "bp-asm.h".
19456 (PARMS): Do not use macros from bp-asm.h.
19457 (S): Likewise.
19458 (SIZE): Likewise.
19459 (__mpn_lshift): Do not use BP_SYM.
19460 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19461 "bp-asm.h".
19462 (PARMS): Do not use macros from bp-asm.h.
19463 (DEST): Likewise.
19464 (SRC): Likewise.
19465 (LEN): Likewise.
19466 (memcpy): Likewise. Do not use BP_SYM.
19467 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19468 libc_hidden_def and weak_alias.
19469 (mempcpy): Do not use BP_SYM in weak_alias.
19470 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19471 "bp-asm.h".
19472 (PARMS): Do not use macros from bp-asm.h.
19473 (DEST): Likewise.
19474 (LEN): Likewise.
19475 [!BZERO_P] (CHR): Likewise.
19476 (memset): Likewise. Do not use BP_SYM.
19477 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19478 "bp-asm.h".
19479 (PARMS): Do not use macros from bp-asm.h.
19480 (S1): Likewise.
19481 (SIZE): Likewise.
19482 (__mpn_mul_1): Do not use BP_SYM.
19483 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19484 "bp-asm.h".
19485 (PARMS): Do not use macros from bp-asm.h.
19486 (S): Likewise.
19487 (SIZE): Likewise.
19488 (__mpn_rshift): Do not use BP_SYM.
19489 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19490 "bp-asm.h".
19491 (PARMS): Do not use macros from bp-asm.h.
19492 (STR): Likewise.
19493 (CHR): Likewise.
19494 (strchr): Likewise. Do not use BP_SYM.
19495 (index): Do not use BP_SYM in weak_alias.
19496 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19497 "bp-asm.h".
19498 (PARMS): Do not use macros from bp-asm.h.
19499 (DEST): Likewise.
19500 (SRC): Likewise.
19501 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19502 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19503 "bp-asm.h".
19504 (PARMS): Do not use macros from bp-asm.h.
19505 (strlen): Do not use BP_SYM.
19506 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19507 "bp-asm.h".
19508 (PARMS): Do not use macros from bp-asm.h.
19509 (S1): Likewise.
19510 (S2): Likewise.
19511 (SIZE): Likewise.
19512 (__mpn_sub_n): Do not use BP_SYM.
19513 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19514 "bp-asm.h".
19515 (PARMS): Do not use macros from bp-asm.h.
19516 (S1): Likewise.
19517 (SIZE): Likewise.
19518 (__mpn_submul_1): Do not use BP_SYM.
19519 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19520 "bp-asm.h".
19521 (PARMS): Do not use macros from bp-asm.h.
19522 (S1): Likewise.
19523 (S2): Likewise.
19524 (SIZE): Likewise.
19525 (__mpn_add_n): Do not use BP_SYM.
19526 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19527 weak_alias.
19528 (bzero): Likewise.
19529 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19530 "bp-asm.h".
19531 (PARMS): Do not use macros from bp-asm.h.
19532 (BLK2): Likewise.
19533 (LEN): Likewise.
19534 (memcmp): Do not use BP_SYM.
19535 (bcmp): Do not use BP_SYM in weak_alias.
19536 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19537 "bp-asm.h".
19538 (PARMS): Do not use macros from bp-asm.h.
19539 (DEST): Likewise.
19540 (SRC): Likewise.
19541 (LEN): Likewise.
19542 (memcpy): Likewise. Do not use BP_SYM.
19543 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19544 "bp-asm.h".
19545 (PARMS): Do not use macros from bp-asm.h.
19546 (DEST): Likewise.
19547 (SRC): Likewise.
19548 (LEN): Likewise.
19549 (memmove): Likewise. Do not use BP_SYM.
19550 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19551 "bp-asm.h".
19552 (PARMS): Do not use macros from bp-asm.h.
19553 (DEST): Likewise.
19554 (SRC): Likewise.
19555 (LEN): Likewise.
19556 (__mempcpy): Likewise. Do not use BP_SYM.
19557 (mempcpy): Do not use BP_SYM in weak_alias.
19558 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
19563 [!BZERO_P] (CHR): Likewise.
19564 (memset): Likewise. Do not use BP_SYM.
19565 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19566 "bp-asm.h".
19567 (PARMS): Do not use macros from bp-asm.h.
19568 (STR2): Likewise.
19569 (strcmp): Do not use BP_SYM.
19570 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19571 "bp-asm.h".
19572 (PARMS): Do not use macros from bp-asm.h.
19573 (STR): Likewise.
19574 (DELIM): Likewise.
19575 [USE_AS_STRTOK_R] (SAVE): Likewise.
19576 (FUNCTION): Likewise. Do not use BP_SYM.
19577 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19578 aliases.
19579 (strtok_r): Likewise.
19580 (__GI___strtok_r): Likewise.
19581 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19582 (PARMS): Do not use macros from bp-asm.h.
19583 (S): Likewise.
19584 (SIZE): Likewise.
19585 (__mpn_lshift): Do not use BP_SYM.
19586 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19587 (PARMS): Do not use macros from bp-asm.h.
19588 (STR): Likewise.
19589 (CHR): Likewise.
19590 (__memchr): Do not use BP_SYM.
19591 (memchr): Do not use BP_SYM in weak_alias.
19592 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19593 (PARMS): Do not use macros from bp-asm.h.
19594 (BLK2): Likewise.
19595 (LEN): Likewise.
19596 (memcmp): Do not use BP_SYM.
19597 (bcmp): Do not use BP_SYM in weak_alias.
19598 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19599 (PARMS): Do not use macros from bp-asm.h.
19600 (S1): Likewise.
19601 (SIZE): Likewise.
19602 (__mpn_mul_1): Do not use BP_SYM.
19603 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19604 "bp-asm.h".
19605 (PARMS): Do not use macros from bp-asm.h.
19606 (STR): Likewise.
19607 (CHR): Likewise.
19608 (__rawmemchr): Do not use BP_SYM.
19609 (rawmemchr): Do not use BP_SYM in weak_alias.
19610 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19611 (PARMS): Do not use macros from bp-asm.h.
19612 (S): Likewise.
19613 (SIZE): Likewise.
19614 (__mpn_rshift): Do not use BP_SYM.
19615 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19616 (PARMS): Do not use macros from bp-asm.h.
19617 (SIGMSK): Likewise.
19618 (__sigsetjmp): Likewise. Do not use BP_SYM.
19619 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19620 (_start): Do not use BP_SYM.
19621 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19622 (PARMS): Do not use macros from bp-asm.h.
19623 (DEST): Likewise.
19624 (SRC): Likewise.
19625 (__stpcpy): Likewise. Do not use BP_SYM.
19626 (stpcpy): Do not use BP_SYM in weak_alias.
19627 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19628 "bp-asm.h".
19629 (PARMS): Do not use macros from bp-asm.h.
19630 (DEST): Likewise.
19631 (SRC): Likewise.
19632 (LEN): Likewise.
19633 (__stpncpy): Likewise. Do not use BP_SYM.
19634 (stpncpy): Do not use BP_SYM in weak_alias.
19635 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19636 (PARMS): Do not use macros from bp-asm.h.
19637 (STR): Likewise.
19638 (CHR): Likewise.
19639 (strchr): Likewise. Do not use BP_SYM.
19640 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19641 "bp-asm.h".
19642 (PARMS): Do not use macros from bp-asm.h.
19643 (STR): Likewise.
19644 (CHR): Likewise.
19645 (__strchrnul): Likewise. Do not use BP_SYM.
19646 (strchrnul): Do not use BP_SYM in weak_alias.
19647 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19648 "bp-asm.h".
19649 (PARMS): Do not use macros from bp-asm.h.
19650 (STOP): Likewise.
19651 (strcspn): Do not use BP_SYM.
19652 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19653 "bp-asm.h".
19654 (PARMS): Do not use macros from bp-asm.h.
19655 (STR): Likewise.
19656 (STOP): Likewise.
19657 (strpbrk): Likewise. Do not use BP_SYM.
19658 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19659 "bp-asm.h".
19660 (PARMS): Do not use macros from bp-asm.h.
19661 (STR): Likewise.
19662 (CHR): Likewise.
19663 (strrchr): Likewise. Do not use BP_SYM.
19664 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19665 (PARMS): Do not use macros from bp-asm.h.
19666 (SKIP): Likewise.
19667 (strspn): Do not use BP_SYM.
19668 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19669 (PARMS): Do not use macros from bp-asm.h.
19670 (STR): Likewise.
19671 (DELIM): Likewise.
19672 (SAVE): Likewise.
19673 (FUNCTION): Likewise. Do not use BP_SYM.
19674 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19675 aliases.
19676 (strtok_r): Likewise.
19677 (__GI___strtok_r): Likewise.
19678 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19679 (PARMS): Do not use macros from bp-asm.h.
19680 (S1): Likewise.
19681 (S2): Likewise.
19682 (SIZE): Likewise.
19683 (__mpn_sub_n): Do not use BP_SYM.
19684 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19685 "bp-asm.h".
19686 (PARMS): Do not use macros from bp-asm.h.
19687 (S1): Likewise.
19688 (SIZE): Likewise.
19689 (__mpn_submul_1): Do not use BP_SYM.
19690 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19691 <bp-sym.h>.
19692 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19693 and <bp-asm.h>.
19694 (PARMS): Do not use macros from bp-asm.h.
19695 (FLAGS): Likewise.
19696 (PTID): Likewise.
19697 (TLS): Likewise.
19698 (CTID): Likewise.
19699 (__clone): Do not use BP_SYM.
19700 (clone): Do not use BP_SYM in weak_alias.
19701 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19702 and <bp-asm.h>.
19703 (PARMS): Do not use macros from bp-asm.h.
19704 (LEN): Likewise.
19705 (__mmap64): Do not use BP_SYM.
19706 (mmap64): Do not use BP_SYM in weak_alias.
19707 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19708 <bp-sym.h> and <bp-asm.h>.
19709 (PARMS): Do not use macros from bp-asm.h.
19710 (__posix_fadvise64_l64): Do not use BP_SYM.
19711 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19712 (PARMS): Do not use macros from bp-asm.h.
19713 (NSOPS): Likewise.
19714 (semtimedop): Do not use BP_SYM.
19715 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19716 and <bp-asm.h>.
19717
582a3cff
AM
197182013-02-21 Allan McRae <allan@archlinux.org>
19719
19720 * manual/message.texi (Charset conversion in gettext):
19721 Move @end statement to beginning of line.
19722
bab8a695
SP
197232013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19724
80945231
SP
19725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19726 static.
19727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19728 Likewise.
19729
bab8a695
SP
19730 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19731 (denorm): Likewise.
19732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19734
e21d7aa7
AK
197352013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19736
19737 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19738 tail-call to the resolved function if pltexit isn't needed.
19739
4c7a4263
SP
197402013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19741
19742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19743 or Y being zero as being unlikely.
19744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19745 Likewise.
19746
41f49342
CD
197472013-02-20 Carlos O'Donell <carlos@redhat.com>
19748
19749 * manual/nss.texi (System Databases and Name Service Switch):
19750 Remove frobnicate @pxref.
19751
50022a93
TS
197522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19753
19754 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19755 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19756
08cbd996
PM
197572013-02-20 Petr Machata <pmachata@redhat.com>
19758
19759 * elf/elf.h (R_ARM_TARGET1): New macro.
19760 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19761 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19762 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19763 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19764 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19765 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19766 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19767 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19768 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19769 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19770 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19771 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19772 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19773 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19774 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19775 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19776 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19777 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19778 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19779 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19780 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19781 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19782 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19783 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19784 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19785 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19786 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19787 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19788 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19789 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19790 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19791 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19792 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19793 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19794 (R_ARM_THM_GOT_BREL12): Likewise.
19795 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19796 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19797 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19798 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19799 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19800 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19801 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19802 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19803 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19804
c7b275d6
TS
198052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19806
19807 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19808 __attribute_used__ to __attribute__ ((unused)).
19809
20cd7fb3
SP
198102013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19811
19812 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19813 powerpc mpa.c.
19814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19815 comment formatting.
19816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19817
92945b52
JM
198182013-02-19 Joseph Myers <joseph@codesourcery.com>
19819
19820 [BZ #13550]
19821 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19822 Remove macro.
19823 (ENTER): Remove both macro definitions.
19824 (LEAVE): Likewise.
19825 (CHECK_BOUNDS_LOW): Likewise.
19826 (CHECK_BOUNDS_HIGH): Likewise.
19827 (CHECK_BOUNDS_BOTH): Likewise.
19828 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19829 (RETURN_BOUNDED_POINTER): Likewise.
19830 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19831 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19832 (POP_ERRNO_LOCATION_RETURN): Likewise.
19833 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19834 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19835 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19836 macros.
19837 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19838 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19839 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19840 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19841 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19842 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19843 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19844 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19845 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19846 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19847 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19848 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19849 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19850 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19851 removed macros.
19852 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19853 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19854 macros.
19855 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19856 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19857 * sysdeps/i386/i586/memset.S (memset): Likewise.
19858 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19859 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19860 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19861 macros.
19862 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19863 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19864 Change uses of L(2) to L(out).
19865 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19866 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19867 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19868 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19869 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19870 removed macros.
19871 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19872 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19873 macros.
19874 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19875 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19876 (RETURN): Do not use macro LEAVE.
19877 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19878 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19879 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19880 * sysdeps/i386/i686/memset.S (memset): Likewise.
19881 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19882 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19883 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19884 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19885 Likewise.
19886 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19887 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19888 L(1_2) and L(1_3) into L(1).
19889 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19890 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19891 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19892 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19893 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19894 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19895 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19896 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19897 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19898 macros.
19899 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19900 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19901 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19902 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19903 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19904 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19905 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19906 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19907 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19908 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19909 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19910 * sysdeps/i386/strspn.S (strspn): Likewise.
19911 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19912 conditional code.
19913 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19914 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19915 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19916 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19917 L(1_3) into L(1_1).
19918 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19919 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19920 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19921 macros.
19922 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19923
2389741a
JJ
199242013-02-19 Jakub Jelinek <jakub@redhat.com>
19925
19926 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19927 macro.
19928
2016b3cd
SP
199292013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19930
e4f22324
SP
19931 * math/atest-exp.c (exp_mpn): Remove ROUND.
19932 * math/atest-exp2.c (exp_mpn): Likewise.
19933 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19934
2016b3cd
SP
19935 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19936 * stdlib/tst-tls-atexit-lib.c: Likewise.
19937 * stdlib/tst-tls-atexit.c: Likewise.
19938
4be9b544
MF
199392013-02-18 Mike Frysinger <vapier@gentoo.org>
19940
19941 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19942 and __attribute_alloc_size__.
19943
2f62b9ee
MF
199442013-02-18 Mike Frysinger <vapier@gentoo.org>
19945
19946 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19947 __attribute_alloc_size__.
19948 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19949 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19950
6ff444c4
MF
199512013-02-18 Mike Frysinger <vapier@gentoo.org>
19952
19953 * include/programs/xmalloc.h: New file.
19954 * catgets/gencat.c: Include it.
19955 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19956 * elf/pldd.c: Likewise.
19957 * iconv/iconv_charmap.c: Likewise.
19958 * iconv/iconvconfig.c: Likewise.
19959 * iconv/strtab.c: Likewise.
19960 * locale/programs/locale.c: Likewise.
19961 * locale/programs/localedef.h: Likewise.
19962 * locale/programs/simple-hash.c: Likewise.
19963 * nscd/nscd.h: Likewise.
19964 * nss/makedb.c: Likewise.
19965 * sysdeps/generic/ldconfig.h: Likewise.
19966
be179c8a
SP
199672013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19968
ba384f6e
SP
19969 * Versions.def: Add GLIBC_2.18.
19970 * include/link.h (struct link_map): New member l_tls_dtor_count.
19971 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19972 (__call_tls_dtors): Likewise.
19973 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19974 __cxa_thread_atexit_impl.
19975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19976 Likewise.
19977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19978 Likewise.
19979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19980 Likewise.
19981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19982 Likewise.
19983 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19985 Likewise.
19986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19987 Likewise.
19988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19990 Likewise.
19991 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19992 (tests): Add test case tst-tls-atexit.
19993 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19994 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19995 (GLIBC_PRIVATE): Add __call_tls_dtors.
19996 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19997 for libstdc++.
19998 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19999 * stdlib/tst-tls-atexit.c: New test case.
20000 * stdlib/tst-tls-atexit-lib.c: New test case.
20001
ffaa74cf 20002 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20003
be179c8a
SP
20004 * elf/Versions (ld): Add _dl_find_dso_for_object.
20005 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20006 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20007 (dl_open_worker): Use _dl_find_dso_for_object.
20008 * elf/dl-sym.c (do_sym): Likewise.
20009 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20010
f78b5caa
AK
200112013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20012
20013 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20014 Syntactic changes only.
20015 (_dl_runtime_profile): Do a tail-call to the resolved function.
20016
29691210
JM
200172013-02-17 Joseph Myers <joseph@codesourcery.com>
20018
20019 [BZ #13550]
20020 * sysdeps/x86_64/bp-asm.h: Remove file.
20021 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20022 <bp-sym.h> and <bp-asm.h>.
20023 (__clone): Do not use BP_SYM.
20024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20025 <bp-sym.h> and <bp-asm.h>.
20026 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20027 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20028 "bp-asm.h".
20029 (_setjmp): Do not use BP_SYM.
20030 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20031 "bp-asm.h".
20032 (setjmp): Do not use BP_SYM.
20033 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20034 libc_hidden_def.
20035 (mempcpy): Do not use BP_SYM in weak_alias.
20036 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20037 "bp-asm.h".
20038 (strchr): Do not use BP_SYM.
20039 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20040 "bp-asm.h".
20041 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20042 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20043 (_start): Do not use BP_SYM.
20044 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20045 "bp-asm.h".
20046 (strcat): Do not use BP_SYM.
20047 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20048 "bp-asm.h".
20049 (STRCMP): Do not use BP_SYM.
20050 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20051 "bp-asm.h".
20052 (STRCPY): Do not use BP_SYM.
20053 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20054 "bp-asm.h".
20055 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20056 "bp-asm.h".
20057 (FUNCTION): Do not use BP_SYM.
20058 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20059 weak_alias.
20060 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20061
f238fd19
AJ
200622013-02-17 Andreas Jaeger <aj@suse.de>
20063
20064 * time/Versions: Sort entries.
20065 * string/Versions: Likewise.
20066 * resolv/Versions: Likewise.
20067 * posix/Versions: Likewise.
20068 * iconv/Versions: Likewise.
20069 * elf/Versions: Likewise.
20070 * wcsmbs/Versions: Likewise.
20071
bd07f23c 200722013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20073
22af19f9
SP
20074 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20075 loop termination condition.
20076
4709fe76
SP
20077 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20078 variable to calculate EZ.
20079 (__sqr): Likewise.
2d0e0f29
SP
20080
20081 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20082 the lower precision input.
20083
daaa7713
JM
200842013-02-15 Joseph Myers <joseph@codesourcery.com>
20085
20086 [BZ #13550]
20087 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20088 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20089 (run-via-rtld-prefix): Do not handle %-bp tests.
20090 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20091 (all-object-suffixes): Remove .ob.
20092 (bppfx): Remove variable.
20093 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20094 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20095 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20096 [$(build-bounded) = yes] (libtype.ob): Likewise.
20097 * Makerules (elide-routines.ob): Remove variable.
20098 (do-tests-clean): Do not handle *-bp.out.
20099 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20100 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20101 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20102 (tests): Do not include $(tests-bp.out).
20103 (xtests): Do not include $(xtests-bp.out).
20104 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20105 [$(build-bounded) = yes] ($(addprefix
20106 $(objpfx),$(binaries-bounded))): Remove rule.
20107 ($(objpfx)%-bp.out): Remove rule.
20108 * config.make.in (build-bounded): Remove variable.
20109 * crypt/Makefile [$(build-bounded) = yes]
20110 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20111 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20112 append to variable.
20113 [$(build-bounded) = yes] (install-lib): Likewise.
20114 [$(build-bounded) = yes] (generated): Likewise.
20115 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20116 Remove rule.
20117 * intl/Makefile [$(build-bounded) = yes]
20118 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20119 * math/Makefile [$(build-bounded) = yes]
20120 ($(tests:%=$(objpfx)%-bp): Likewise.
20121 * misc/Makefile [$(build-bounded) = yes]
20122 ($(objpfx)tst-tsearch-bp): Likewise.
20123 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20124 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20125 Remove dependency.
20126 * string/Makefile (o-objects.ob): Remove variable.
20127 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20128 (CFLAGS-.ob): Remove variable.
20129 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20130 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20131 both definitions of variable.
20132 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20133 (ASFLAGS-.ob): Remove variable.
20134
e97ed6dd
JM
201352013-02-14 Joseph Myers <joseph@codesourcery.com>
20136
2bdd4ca6
JM
20137 [BZ #13550]
20138 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20139 Remove __BOUNDED_POINTERS__ from condition.
20140 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20141 * string/bits/string2.h [!__NO_STRING_INLINES &&
20142 !__BOUNDED_POINTERS__]: Likewise.
20143 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20144 Likewise.
20145 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20146 Remove conditional code.
20147 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20148 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20149 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20150 condition.
20151
e97ed6dd
JM
20152 [BZ #13550]
20153 * csu/libc-start.c: Do not include <bp-sym.h>.
20154 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20155 * elf/dl-open.c: Do not include <bp-sym.h>.
20156 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20157 * math/fegetenv.c: Do not include <bp-sym.h>.
20158 (fegetenv): Do not use BP_SYM in versioned symbols.
20159 * nptl/sysdeps/pthread/bits/libc-lockP.h
20160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20161 <bp-sym.h>.
20162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20163 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20165 (__pthread_mutex_destroy): Likewise.
20166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20167 (__pthread_mutex_lock): Likewise.
20168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20169 (__pthread_mutex_trylock): Likewise.
20170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20171 (__pthread_mutex_unlock): Likewise.
20172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20173 (__pthread_mutexattr_init): Likewise.
20174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20175 (__pthread_mutexattr_destroy): Likewise.
20176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20177 (__pthread_mutexattr_settype): Likewise.
20178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20179 (__pthread_rwlock_init): Likewise.
20180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20181 (__pthread_rwlock_destroy): Likewise.
20182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20183 (__pthread_rwlock_rdlock): Likewise.
20184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20185 (__pthread_rwlock_tryrdlock): Likewise.
20186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20187 (__pthread_rwlock_wrlock): Likewise.
20188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20189 (__pthread_rwlock_trywrlock): Likewise.
20190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20191 (__pthread_rwlock_unlock): Likewise.
20192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20193 (__pthread_key_create): Likewise.
20194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20195 (__pthread_setspecific): Likewise.
20196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20197 (__pthread_getspecific): Likewise.
20198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20199 Likewise.
20200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20201 (_pthread_cleanup_push_defer): Likewise.
20202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20203 (_pthread_cleanup_pop_restore): Likewise.
20204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20205 (pthread_setcancelstate): Likewise.
20206 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20207 <bp-sym.h>.
20208 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20209 (memchr): Do not use BP_SYM in weak_alias.
20210 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20211 (fegetenv): Do not use BP_SYM in versioned symbols.
20212 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20213 (fesetenv): Do not use BP_SYM in versioned symbols.
20214 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20215 (feupdateenv): Do not use BP_SYM in versioned symbols.
20216 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20217 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20218 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20219 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20220 (open64): Do not use BP_SYM in weak_alias.
20221 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20222 (fegetenv): Do not use BP_SYM in versioned symbols.
20223 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20224 (fesetenv): Do not use BP_SYM in versioned symbols.
20225 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20226 (feupdateenv): Do not use BP_SYM in versioned symbols.
20227 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20228 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20229 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20230 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20231 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20232 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20233 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20234 <bp-sym.h>.
20235 (__libc_start_main): Do not use BP_SYM.
20236
d6752ccd
SP
202372013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20238
cb57ce60
SP
20239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20240 redundant return line.
20241 (norm): Likewise.
20242 (denorm): Likewise.
20243 (dbl_mp): Likewise.
20244 (sub_magnitudes): Likewise.
20245 (__add): Likewise.
20246 (__sub): Likewise.
20247 (__mul): Likewise.
20248 (__inv): Likewise.
20249 (__dvd): Likewise.
20250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20251 (norm): Likewise.
20252 (denorm): Likewise.
20253 (dbl_mp): Likewise.
20254 (sub_magnitudes): Likewise.
20255 (__add): Likewise.
20256 (__sub): Likewise.
20257 (__mul): Likewise.
20258 (__inv): Likewise.
20259 (__dvd): Likewise.
20260
f414520d
SP
20261 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20262 instead of __mul.
20263 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20264 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20265 (cc32): Likewise.
20266
d6752ccd
SP
20267 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20268 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20270 of __mul for squares.
20271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20272 function
20273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20274 Likewise.
20275 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20276 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20277
70d9946a
JM
202782013-02-13 Joseph Myers <joseph@codesourcery.com>
20279
20280 [BZ #13550]
20281 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20282 code.
20283 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20284 prototype or function definition. Rename ubp_* variables and
20285 parameters. Remove argv definitions conditional on
20286 [__BOUNDED_POINTERS__].
20287 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20288 * elf/dl-runtime.c (_dl_fixup): Likewise.
20289 * include/set-hooks.h (RUN_HOOK): Likewise.
20290 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20291 definition.
20292 * string/strcpy.c (strcpy): Do not use __unbounded.
20293 * sysdeps/generic/frame.h (struct layout): Likewise.
20294 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20295 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20296 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20297 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20298 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20299 (__backtrace): Likewise.
20300 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20301 use __ptrvalue.
20302 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20303 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20304 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20305 Likewise.
20306 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20307 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20308 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20309 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20310 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20311 Do not use __unbounded.
20312 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20313 Rename __unboundedrlimits parameter to rlimits in prototype.
20314 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20315 Do not use __unbounded.
20316 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20317 not use __ptrvalue.
20318 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20319 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20320 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20321 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20322 __ptrvalue or __unbounded.
20323 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20324 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20325 use __unbounded.
20326 (__new_msgctl): Do not use __ptrvalue.
20327 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20328 __unbounded.
20329 (__libc_msgrcv): Do not use __ptrvalue.
20330 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20331 startup_info): Do not use __unbounded.
20332 (__libc_start_main): Likewise. Rename ubp_* variables and
20333 parameters. Remove argv definitions conditional on
20334 [__BOUNDED_POINTERS__].
20335 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20336 __ptrvalue.
20337 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20338 use __unbounded.
20339 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20340 or __ptrvalue.
20341 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20342 use __unbounded.
20343 (__new_shmctl): Do not use __ptrvalue.
20344 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20345 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20346 Likewise.
20347 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20349 (__libc_sigaction): Likewise.
20350 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20351 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20352 Likewise.
20353 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20354
cc7834d6
OB
203552013-02-13 Ondřej Bílka <neleai@seznam.cz>
20356
ffb1ec7b 20357 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20358
20359 * string/mempcpy.c: Implement by calling memcpy.
20360
bdf02814
SP
203612013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20362
c2af38aa
SP
20363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20364
4e92d59e
SP
20365 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20366 evaluation.
20367
909279a5
SP
20368 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20369 values in the mantissa.
20370
bdf02814
SP
20371 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20372 minimize writes to Z.
20373 (sub_magnitudes): Simplify code a bit.
20374
cd525923
RM
203752013-02-12 Roland McGrath <roland@hack.frob.com>
20376
20377 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20378 from the message. The linker prefixes all warnings with that already.
20379
7e2f0d2d
AS
203802013-02-12 Andreas Schwab <schwab@suse.de>
20381
a445af0b
AS
20382 [BZ #15078]
20383 * posix/regexec.c (extend_buffers): Add parameter min_len.
20384 (check_matching): Pass minimum needed length.
20385 (clean_state_log_if_needed): Likewise.
20386 (get_subexp): Likewise.
20387 * posix/Makefile (tests): Add bug-regex34.
20388 (bug-regex34-ENV): Define.
20389 * posix/bug-regex34.c: New file.
20390
7e2f0d2d
AS
20391 [BZ #11561]
20392 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20393 elements compare against the byte sequence of it, not its name.
20394 * posix/Makefile (tests): Add bug-regex35.
20395 (bug-regex35-ENV): Define.
20396 * posix/bug-regex35.c: New file.
20397
a175b684
TV
203982013-02-11 Tom de Vries <tom@codesourcery.com>
20399
20400 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20401 comment.
20402 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20403 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20404 (CHECK_EOL): Add undef.
20405
310998fe 204062013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
20407
20408 * bits/stdlib-bsearch.h: New file.
20409 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 20410 * stdlib/stdlib.h: Likewise.
41eda41d 20411
8ded91fb
RM
204122013-02-11 Roland McGrath <roland@hack.frob.com>
20413
20414 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20415 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20416 declaration.
20417 * manual/search.texi (Array Search Function): Add missing const in
20418 lfind prototype.
20419 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20420 declaration to use rlim_t.
20421 (Basic Scheduling Functions): Remove erroneous const from
20422 sched_getparam prototype. Remove erroneous * from
20423 sched_get_priority_max and sched_get_priority_min prototypes.
20424 (Resource Usage): Fix summary @comment on vtimes to refer to
20425 sys/vtimes.h rather than vtimes.h.
20426 Add missing *s in vtimes prototype.
20427 (Limits on Resources): Fix ulimit prototype to return long int.
20428 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20429 prototypes to use long int rather than double.
20430 (BSD Random): Fix initstate and setstate to use char *, not void *.
20431 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20432 prototype to make second argument 'struct aiocb64 *const[]'.
20433 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20434 (Status of AIO Operations): Remove erroneous const in aio_return and
20435 aio_return64 prototypes.
20436 (Synchronizing I/O): Fix sync prototype to return void.
20437 * manual/startup.texi (Suboptions): Remove an erroneous const in
20438 getsubopt prototype.
20439 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20440 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20441 use size_t rather than int.
20442 (Scanning All Users): Likewise for getpwent_r.
20443 (Setting Groups): Add missing const to setgroups prototype.
20444 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20445 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20446 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20447 'const void *' rather than 'const char *'.
20448 (Host Address Functions): Likewise for inet_ntop.
20449 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20450 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20451 ssize_t for return value.
20452 (Sending Data): Likewise for send, sendto, sendmsg.
20453 (Socket Option Functions): Add a missing const in setsockopt prototype.
20454 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20455 use wchar_t for the argument.
20456 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20457 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20458 take no arguments.
20459 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20460 double/float/long double for second argument.
20461 Fix return types of significand, significandf, significandl.
20462 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20463 argument in fchmod prototype.
20464 (File Owner): Use uid_t and gid_t in fchown prototype.
20465 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20466 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20467 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20468 use 'const struct dirent **' as argument types to CMP function pointer
20469 argument.
20470 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20471 (File Times): Fix summary magic @comment for struct utimbuf and utime
20472 to refer to utime.h, not time.h.
20473 * manual/string.texi (Argz Functions): Add missing const in
20474 argz_extract and argz_next prototypes.
20475 (Finding Tokens in a String): Likewise for basename.
20476 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20477 (Copying and Concatenation): Fix typo in wmemmove prototype.
20478 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20479 (Signal Stack): Remove erroneous const in sigstack prototype.
20480 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20481 prototype.
20482 (Simple Calendar Time): Likewise for stime.
20483 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20484 prototype.
20485 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20486 say sys/sysctl.h instead.
20487 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20488 and vsyslog prototypes.
20489
fe77fe6d
TV
204902013-02-11 Tom de Vries <tom@codesourcery.com>
20491
20492 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20493 Remove.
20494
3a09b620
RM
204952013-02-11 Roland McGrath <roland@hack.frob.com>
20496
20497 * misc/sys/mman.h: Fix typo in mremap comment.
20498
550a0b89
RM
204992013-02-08 Roland McGrath <roland@hack.frob.com>
20500
20501 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20502 the '\0' terminator.
20503
a2da1673
JM
205042013-02-08 Joseph Myers <joseph@codesourcery.com>
20505
20506 [BZ #13550]
20507 * debug/segfault.c: Don't include <bp-checks.h>.
20508 * sysdeps/generic/bp-checks.h: Remove file.
20509 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20510 (__GETDENTS): Don't use CHECK_N.
20511 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20512 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20513 (__getgroups): Don't use CHECK_N.
20514 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20515 (setgroups): Don't use CHECK_N.
20516 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20517 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20518 (__libc_msgrcv): Don't use CHECK_N.
20519 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20520 (__libc_msgsnd): Don't use CHECK_N.
20521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20522 <bp-checks.h>.
20523 (__libc_pread): Don't use CHECK_N.
20524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20525 include <bp-checks.h>.
20526 (__libc_pread64): Don't use CHECK_N.
20527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20528 include <bp-checks.h>.
20529 (__libc_pwrite): Don't use CHECK_N.
20530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20531 include <bp-checks.h>.
20532 (__libc_pwrite64): Don't use CHECK_N.
20533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20534 <bp-checks.h>.
20535 (__libc_pread): Don't use CHECK_N.
20536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20537 include <bp-checks.h>.
20538 (__libc_pread64): Don't use CHECK_N.
20539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20540 include <bp-checks.h>.
20541 (__libc_pwrite): Don't use CHECK_N.
20542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20543 include <bp-checks.h>.
20544 (__libc_pwrite64): Don't use CHECK_N.
20545 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20546 (do_pread): Don't use CHECK_N.
20547 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20548 (do_pread64): Don't use CHECK_N.
20549 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20550 (do_pwrite): Don't use CHECK_N.
20551 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20552 (do_pwrite64): Don't use CHECK_N.
20553 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20554 (__libc_readv): Don't use CHECK_N.
20555 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20556 (semop): Don't use CHECK_N.
20557 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20558 <bp-checks.h>.
20559 (semtimedop): Don't use CHECK_N.
20560 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20561 (__libc_pread): Don't use CHECK_N.
20562 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20563 <bp-checks.h>.
20564 (__libc_pread64): Don't use CHECK_N.
20565 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20566 <bp-checks.h>.
20567 (__libc_pwrite): Don't use CHECK_N.
20568 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20569 <bp-checks.h>.
20570 (__libc_pwrite64): Don't use CHECK_N.
20571 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20572 <bp-checks.h>.
20573 (__libc_msgrcv): Don't use CHECK_N.
20574 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20575 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20576 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20577 (__libc_writev): Don't use CHECK_N.
20578
b84660a8
RM
205792013-02-08 Roland McGrath <roland@hack.frob.com>
20580
7f3e75f8
RM
20581 * string/strcpy.c: Removed unused variable.
20582
b84660a8
RM
20583 * Makeconfig (+sysdep-includes): Define with := rather than =.
20584 Use an existing include/ subdir of each sysdeps dir before it.
20585
471514d3
CD
205862013-02-08 Carlos O'Donell <carlos@redhat.com>
20587
20588 * nscd/connection.c (register_traced_file): Comment function.
20589 [HAVE_INOTIFY] (union __inev): Define.
20590 [HAVE_INOTIFY] (inotify_check_files): New function.
20591 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20592 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20593 clear_db_cache.
20594 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20595
b2d3c3be
CD
205962013-02-08 Carlos O'Donell <carlos@redhat.com>
20597
20598 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20599 loaded if not already and that a failure is permanent.
20600
b39949d2
CD
206012013-02-08 Carlos O'Donell <carlos@redhat.com>
20602
ddacd1db 20603 [BZ #15006]
b39949d2
CD
20604 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20605 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20606
b2c9eff4
JM
206072013-02-08 Joseph Myers <joseph@codesourcery.com>
20608
f3aae3f3
JM
20609 [BZ #13550]
20610 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20611 (CHECK_1_NULL_OK): Likewise.
20612 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20613 (__fxstat): Do not use CHECK_1.
20614 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20615 <bp-checks.h>.
20616 (___fxstat64): Do not use CHECK_1.
20617 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20618 <bp-checks.h>.
20619 (__fxstatat): Do not use CHECK_1.
20620 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20621 <bp-checks.h>.
20622 (__fxstatat64): Do not use CHECK_1.
20623 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20624 <bp-checks.h>.
20625 (__fxstat): Do not use CHECK_1.
20626 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20627 <bp-checks.h>.
20628 (__fxstatat): Do not use CHECK_1.
20629 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20630 <bp-checks.h>.
20631 (__getresgid): Do not use CHECK_1.
20632 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20633 <bp-checks.h>.
20634 (__getresuid): Do not use CHECK_1.
20635 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20636 <bp-checks.h>.
20637 (__lxstat): Do not use CHECK_1.
20638 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20639 <bp-checks.h>.
20640 (__old_msgctl): Do not use CHECK_1.
20641 (__new_msgctl): Likewise.
20642 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20643 <bp-checks.h>.
20644 (__new_setrlimit): Do not use CHECK_1.
20645 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20646 <bp-checks.h>.
20647 (__old_shmctl): Do not use CHECK_1.
20648 (__new_shmctl): Likewise.
20649 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20650 <bp-checks.h>.
20651 (__xstat): Do not use CHECK_1.
20652 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20653 (__lxstat): Do not use CHECK_1.
20654 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20655 <bp-checks.h>.
20656 (___lxstat64): Do not use CHECK_1.
20657 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20658 (__old_msgctl): Do not use CHECK_1.
20659 (__new_msgctl): Likewise.
20660 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20661 <bp-checks.h>.
20662 (__gettimeofday): Do not use CHECK_1.
20663 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20664 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20665 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20666 <bp-checks.h>.
20667 (__gettimeofday): Do not use CHECK_1.
20668 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20669 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20670 (__new_shmctl): Do not use CHECK_1.
20671 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20672 <bp-checks.h>.
20673 (do_sigtimedwait): Do not use CHECK_1.
20674 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20675 <bp-checks.h>.
20676 (do_sigwaitinfo): Do not use CHECK_1.
20677 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20678 <bp-checks.h>.
20679 (msgctl): Do not use CHECK_1.
20680 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20681 <bp-checks.h>.
20682 (shmctl): Do not use CHECK_1.
20683 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20684 (ustat): Do not use CHECK_1.
20685 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20686 <bp-checks.h>.
20687 (__fxstat): Do not use CHECK_1.
20688 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20689 <bp-checks.h>.
20690 (__fxstatat): Do not use CHECK_1.
20691 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20692 <bp-checks.h>.
20693 (__lxstat): Do not use CHECK_1.
20694 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20695 <bp-checks.h>.
20696 (__xstat): Do not use CHECK_1.
20697 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20698 (__xstat): Do not use CHECK_1.
20699 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20700 (___xstat64): Do not use CHECK_1.
20701
b2c9eff4
JM
20702 [BZ #13550]
20703 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20704 definitions.
20705 (CHECK_BOUNDS_HIGH): Likewise.
20706 * string/strcpy.c: Do not include <bp-checks.h>.
20707 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20708
f1d70dad
RM
207092013-02-07 Roland McGrath <roland@hack.frob.com>
20710
20711 * nscd/nscd-client.h (__nscd_drop_map_ref):
20712 Add __attribute__ ((unused)).
20713 * nis/nss-nisplus.h (niserr2nss): Likewise.
20714
20715 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20716 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20717
20718 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20719 Remove inline keyword.
20720 * include/rounding-mode.h (round_away): Likewise.
20721 * libio/wfileops.c (adjust_wide_data): Likewise.
20722 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20723 (__m128i_strloadu_tolower): Likewise.
20724 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20725 (__m128i_strloadu_tolower): Likewise.
20726 * time/mktime.c (ydhms_diff): Likewise.
20727 * locale/elem-hash.h (elem_hash): Likewise.
20728 * locale/setlocale.c (setdata): Likewise.
20729 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20730 (re_string_wchar_at): Likewise.
20731 (bitset_not, bitset_merge, bitset_mask): Likewise.
20732 [!(__GNUC__ > 3)] (inline): Remove macro.
20733 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20734 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20735 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20736 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20737 * string/memcmp.c (memcmp_bytes): Likewise.
20738 * locale/programs/locarchive.c (compute_hashval): Likewise.
20739 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20740 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20741 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20742 * nss/getent.c (print_rpc, print_protocols): Likewise.
20743 (print_passwd, print_group, print_aliases): Likewise.
20744 * nis/nss-nisplus.h (niserr2nss): Likewise.
20745 * nscd/connections.c (restart_p): Likewise.
20746 Change return type to bool.
20747
eab55bfb
RM
207482013-02-05 Roland McGrath <roland@hack.frob.com>
20749
7bd642f5
RM
20750 * Makeconfig (all-Depend-files): Add existing
20751 $(sorted-subdirs:=/Depend) files.
20752 (all-subdirs): Remove nss.
20753 * sysdeps/unix/inet/Subdirs: Add it here instead.
20754 * hesiod/Depend: New file.
20755
573c29b2
RM
20756 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20757 instead of calling alloca.
20758
b2e25af0
RM
20759 * io/lseek.c (__lseek): Rename to __libc_lseek.
20760 Define __lseek as an alias.
20761
eab55bfb
RM
20762 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20763
9a0d1941
CD
207642013-02-04 Carlos O'Donell <carlos@redhat.com>
20765
20766 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20767 else clause and remove check for non-standard endianness.
20768
b83bbec4
DM
207692013-02-04 David S. Miller <davem@davemloft.net>
20770
20771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20772
6277fdab
JM
207732013-02-04 Joseph Myers <joseph@codesourcery.com>
20774
20775 [BZ #13550]
20776 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20777 (__ubp_memchr): Remove prototype.
20778 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20779 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20780 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20781 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20782 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20783 Remove alias.
20784 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20785 (__ubp_memchr): Likewise.
20786 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20787 (__ubp_memchr): Likewise.
20788 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20789 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20790 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20791 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20792 CHECK_STRING.
20793 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20794 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20795 (__getcwd): Do not use CHECK_STRING.
20796 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20797 <bp-checks.h>.
20798 (__real_chown): Do not use CHECK_STRING.
20799 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20800 <bp-checks.h>.
20801 (fchownat): Do not use CHECK_STRING.
20802 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20803 CHECK_STRING.
20804 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20805 <bp-checks.h>.
20806 (__lchown): Do not use CHECK_STRING.
20807 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20808 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20809 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20810 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20812 include <bp-checks.h>.
20813 (truncate64): Do not use CHECK_STRING.
20814 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20815 <bp-checks.h>.
20816 (__real_chown): Do not use CHECK_STRING.
20817 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20818 <bp-checks.h>.
20819 (__lchown): Do not use CHECK_STRING.
20820 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20821 <bp-checks.h>.
20822 (__chown): Do not use CHECK_STRING.
20823 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20824 <bp-checks.h>.
20825 (truncate64): Do not use CHECK_STRING.
20826 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20827 Likewise.
20828 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20829 (__xmknod): Do not use CHECK_STRING.
20830 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20831 <bp-checks.h>.
20832 (__xmknodat): Do not use CHECK_STRING.
20833 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20834 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20835
903ae060
AS
208362013-02-04 Andreas Schwab <schwab@suse.de>
20837
20838 [BZ #14142]
20839 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20840 * include/netdb.h: Likewise for h_errno.
20841 * elf/tst-stackguard1.c: Include <tls.h>.
20842
542f9466
JK
208432013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20844
20845 * elf/link.h (struct link_map): Extend the l_addr comment.
20846 * include/link.h (struct link_map): Likewise.
20847
e782a927
JM
208482013-02-01 Joseph Myers <joseph@codesourcery.com>
20849
20850 [BZ #13550]
20851 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20852 (BOUNDED_1): Remove macro.
20853 * debug/backtrace.c: Don't include <bp-checks.h>.
20854 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20855 (__backtrace): Likewise.
20856 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20857 <bp-checks.h>.
20858 (__backtrace): Don't use BOUNDED_1.
20859 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20860 <bp-checks.h>.
20861 (__backtrace): Don't use BOUNDED_1.
20862 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20863 (__backtrace): Don't use BOUNDED_1.
20864 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20865 (shmat): Don't use BOUNDED_N.
20866
8cf28c5e
JM
208672013-01-31 Joseph Myers <joseph@codesourcery.com>
20868
3a7ac8a0
JM
20869 [BZ #13550]
20870 * sysdeps/generic/bp-start.h: Remove file.
20871 * csu/libc-start.c: Don't include <bp-start.h>.
20872 (LIBC_START_MAIN): Set up __environ directly instead of using
20873 INIT_ARGV_and_ENVIRON.
20874 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20875 <bp-start.h>.
20876
f3499f95
JM
20877 [BZ #13550]
20878 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20879 definitions.
20880 (CHECK_FCNTL): Likewise.
20881 (CHECK_N_PAGES): Likewise.
20882
32a45bea
JM
20883 [BZ #13550]
20884 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20885 definitions.
20886 (CHECK_SIGSET_NULL_OK): Likewise.
20887 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20888 <bp-checks.h>.
20889 (sigpending): Don't use CHECK_SIGSET.
20890 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20891 <bp-checks.h>.
20892 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20893 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20894 <bp-checks.h>.
20895 (do_sigsuspend): Don't use CHECK_SIGSET.
20896 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20897 use CHECK_SIGSET.
20898 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20899 (do_sigwait): Don't use CHECK_SIGSET.
20900 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20901 use CHECK_SIGSET.
20902 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20903 include <bp-checks.h>.
20904 (sigpending): Don't use CHECK_SIGSET.
20905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20906 include <bp-checks.h>.
20907 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20908 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20909 <bp-checks.h>.
20910 (sigpending): Don't use CHECK_SIGSET.
20911 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20912 <bp-checks.h>.
20913 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20914
2e8a5c8c
JM
20915 [BZ #13550]
20916 * sysdeps/generic/bp-semctl.h: Remove file.
20917 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20918 <bp-checks.h> and <bp-semctl.h>.
20919 (__old_semctl): Don't use CHECK_SEMCTL.
20920 (__new_semctl): Likewise.
20921 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20922 and <bp-semctl.h>.
20923 (__old_semctl): Don't use CHECK_SEMCTL.
20924 (__new_semctl): Likewise.
20925 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20926 <bp-checks.h> and <bp-semctl.h>.
20927 (__old_semctl): Don't use CHECK_SEMCTL.
20928 (__new_semctl): Likewise.
20929 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20930 <bp-checks.h> and <bp-semctl.h>.
20931 (semctl): Don't use CHECK_SEMCTL.
20932
c2d54929
JM
20933 [BZ #13550]
20934 * Makerules (elide-bp-thunks): Remove variable.
20935 (elide-routines.oS): Don't use $(elide-bp-thunks).
20936 (elide-routines.os): Likewise.
20937 (elide-routines.o): Likewise.
20938 (elide-routines.op): Likewise.
20939 (elide-routines.og): Likewise.
20940 (objects): Don't use $(bp-thunks).
20941 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20942 include.
20943 (common-generated): Do not add s-proto-bp.d.
20944 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20945 (int): Likewise.
20946 (typ): Likewise.
20947 Do not generate makefile rules for bounded-pointer thunks.
20948 * sysdeps/generic/bp-thunks.h: Remove file.
20949 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20950 * sysdeps/unix/s-proto-bp.S: Likewise.
20951
8cf28c5e
JM
20952 [BZ #15062]
20953 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20954 parts of result separately when argument is not close to line from
20955 -i to i and one part of argument is small.
20956 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20957 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20958 * math/libm-test.inc (cacos_test): Add more tests.
20959 (casin_test): Likewise.
20960 (casinh_test): Likewise.
20961 * sysdeps/i386/fpu/libm-test-ulps: Update.
20962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20963
c4e33b8d
DM
209642013-01-31 David S. Miller <davem@davemloft.net>
20965
20966 * po/de.po: Update from translation team.
20967
3b60b421
MK
209682013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20969
20970 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20971
bb931195
TS
209722013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20973
b5a5da23
TS
20974 * configure.in (_AC_PROG_CC_C89): New definition.
20975 * configure: Regenerate.
20976
bb931195
TS
20977 * configure.in (AC_PROG_CPP): New definition.
20978 * configure: Regenerate.
20979
8c53a12c
JM
209802013-01-23 Joseph Myers <joseph@codesourcery.com>
20981
20982 * debug/tst-backtrace.h: New file.
20983 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20984 (ret): Remove variable.
20985 (x): Likewise.
20986 (FAIL): Remove macro.
20987 (NO_INLINE): Likewise.
20988 (fn1): Use match function instead of strstr.
20989 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20990 (ret): Remove variable.
20991 (x): Likewise.
20992 (FAIL): Remove macro.
20993 (NO_INLINE): Likewise.
20994 (fn): Use match function instead of strstr.
20995 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20996 (ret): Remove variable.
20997 (x): Likewise.
20998 (FAIL): Remove macro.
20999 (NO_INLINE): Likewise.
21000 (handle_signal): Use match function instead of strstr.
21001 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21002 (ret): Remove variable.
21003 (x): Likewise.
21004 (FAIL): Remove macro.
21005 (NO_INLINE): Likewise.
21006 (handle_signal): Use match function instead of strstr.
21007
4858fa2a
RM
210082013-01-23 Roland McGrath <roland@hack.frob.com>
21009
21010 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21011
bae8e7f5
DM
210122013-01-23 David S. Miller <davem@davemloft.net>
21013
21014 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21015 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21016 argument of CAS if possible.
21017 * sysdeps/sparc/sparc64/bits/atomic.h
21018 (__arch_compare_and_exchange_val_32_acq): Likewise.
21019 (__arch_compare_and_exchange_val_64_acq): Likewise.
21020
9cbbc4ae
PT
210212013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21022
21023 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21024 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21025 Include <limits.h>.
67b3f58c 21026 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21027
5655a0b5
AC
210282013-01-23 Adam Conrad <adconrad@0c3.net>
21029
21030 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21031 (LDFLAGS-tst-array5): Likewise.
21032
052aff95
JM
210332013-01-23 Joseph Myers <joseph@codesourcery.com>
21034
21035 [BZ #15036]
21036 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21037 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21038 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21039 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21040
7c1e01aa
DM
210412013-01-21 David S. Miller <davem@davemloft.net>
21042
21043 * sysdeps/sparc/backtrace.c: New file.
21044 * sysdeps/sparc/sparc32/backtrace.h: New file.
21045 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21046 * sysdeps/sparc/sparc64/backtrace.h: New file.
21047 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21048 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21049 -funwind-tables.
21050
ab087e0a
AS
210512013-01-21 Andreas Schwab <schwab@suse.de>
21052
21053 [BZ #15020]
21054 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21055 closed its stdout.
21056
ed689c2f
AS
210572013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21058
21059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21060 "mpa2.h".
21061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21062
31d470ac
JM
210632013-01-18 Joseph Myers <joseph@codesourcery.com>
21064 Mark Mitchell <mark@codesourcery.com>
21065 Tom de Vries <tom@codesourcery.com>
21066 Paul Pluzhnikov <ppluzhnikov@google.com>
21067
21068 * debug/tst-backtrace2.c: New file.
21069 * debug/tst-backtrace3.c: Likewise.
21070 * debug/tst-backtrace4.c: Likewise.
21071 * debug/tst-backtrace5.c: Likewise.
21072 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21073 (CFLAGS-tst-backtrace3.c): Likewise.
21074 (CFLAGS-tst-backtrace4.c): Likewise.
21075 (CFLAGS-tst-backtrace5.c): Likewise.
21076 (LDFLAGS-tst-backtrace2): Likewise.
21077 (LDFLAGS-tst-backtrace3): Likewise.
21078 (LDFLAGS-tst-backtrace4): Likewise.
21079 (LDFLAGS-tst-backtrace5): Likewise.
21080 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21081 tst-backtrace4 and tst-backtrace5.
21082
90567f30 210832013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21084 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21085
21086 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21087 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21088 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21089 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21091 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21092 "+r" and remove output regs list as redundant. Add explicit inline
21093 asm to specify register of return val to work around compiler codegen
21094 bug. Remove (int) cast on return value. Add return type parameter to
21095 use in macro so that this macro does not truncate return value for
21096 64-bit values.
21097 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21098 pass to INTERNAL_VSYSCALL_NCS.
21099 (INLINE_VSYSCALL): Add 'long int' as return type to
21100 INTERNAL_VSYSCALL_NCS macro invocation.
21101 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21102 INTERNAL_VSYSCALL_NCS macro invocation.
21103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21104
d3b9ea61
SP
211052013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21106
0b57daeb
SP
21107 [BZ #14496]
21108 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21109 Fix application of SIMD FP exception mask.
21110
caa99d06
SP
21111 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21112 mp_no from a power of two.
21113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21114 __mpexp_twomm1. Use __pow_mp.
21115
d3b9ea61
SP
21116 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21117 multiplication.
21118
1dbaee3c
DM
211192013-01-17 David S. Miller <davem@davemloft.net>
21120
21121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21122
728d7b43
JM
211232013-01-17 Joseph Myers <joseph@codesourcery.com>
21124
21125 [BZ #15023]
21126 * include/complex.h: Condition contents on [!_COMPLEX_H].
21127 (__kernel_casinhf): New prototype.
21128 (__kernel_casinh): Likewise.
21129 (__kernel_casinhl): Likewise.
21130 * math/Makefile (libm_calls): Add k_casinh.
21131 * math/k_casinh.c: New file.
21132 * math/k_casinhf.c: Likewise.
21133 * math/k_casinhl.c: Likewise.
21134 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21135 finite nonzero arguments.
21136 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21137 finite nonzero arguments.
21138 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21139 finite nonzero arguments.
21140 * math/s_casinh.c: Do not include <float.h>.
21141 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21142 * math/s_casinhf.c: Do not include <float.h>.
21143 (__casinhf): Move code for finite nonzero arguments to
21144 k_casinhf.c.
21145 * math/s_casinhl.c: Do not include <float.h>.
21146 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21147 redefine.
21148 (__casinhl): Move code for finite nonzero arguments to
21149 k_casinhl.c.
21150 * math/libm-test.inc (cacos_test): Add more tests.
21151 * sysdeps/i386/fpu/libm-test-ulps: Update.
21152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21153
2a26ef3a
PT
211542013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21155
21156 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21157 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21158 [!HAVE_MREMAP]: Remove [defined linux] case.
21159 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21160
a897655d
SP
211612013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21162
21163 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21164
881ebe89 211652013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21166
21167 * elf/elf.h (R_386_SIZE32): New relocation.
21168 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21169 R_386_SIZE32.
21170 (elf_machine_rela): Likewise.
21171 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21172 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21173
59981e9b
JM
211742013-01-17 Joseph Myers <joseph@codesourcery.com>
21175
21176 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21177 (FP_FAST_FMA): Do not define.
21178 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21179 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21180 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21181 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21182 !_SOFT_FLOAT]: Likewise.
21183 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21184 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21185 value.
21186 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21187 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21188 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21189 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21190 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21191 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21192 file.
21193
cfa8054f
AS
211942013-01-16 Andreas Schwab <schwab@suse.de>
21195
21196 [BZ #14327]
21197 * include/stdlib.h (__mktemp): Add declaration.
21198 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21199 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21200
dd930cc5
SP
212012013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21202
881ebe89
SP
21203 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21204 definitions.
21205 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21206 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21207 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21208 definitions here.
21209 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21210 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21211 definitions.
21212 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21213 and ONE.
21214 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21215 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21216 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21217 definitions.
21218 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21219 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21220 definitions.
21221 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21222
dd930cc5
SP
21223 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21224
c19a9f89
DM
212252013-01-15 David S. Miller <davem@davemloft.net>
21226
1aa61767
DM
21227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21228 trunc{,f} to libm-sysdep_routes.
21229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21231 file.
21232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21234 file.
21235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21236 file.
21237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21239 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21240 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21241 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21242 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21243 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21244 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21245
c42d5e98
DM
21246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21247 nearbyint{,f} to libm-sysdep_routes.
21248 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21250 New file.
21251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21252 file.
21253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21254 New file.
21255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21256 file.
21257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21259 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21260 file.
21261 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21262 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21263 file.
21264 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21265 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21266 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21267
c19a9f89
DM
21268 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21269 libc_feholdexcept and libc_fesetenv.
21270
357679d2
MF
212712013-01-15 Mike Frysinger <vapier@gentoo.org>
21272
21273 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21274
65a82e3d
DM
212752013-01-14 David S. Miller <davem@davemloft.net>
21276
8b954ab9
DM
21277 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21278 (SPARC_ASM_VIS2_IFUNC): Likewise.
21279 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21281 use of 'siam' instruction.
21282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21283 Likewise.
21284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21285 Likewise.
21286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21287 Likewise.
21288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21293 file.
21294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21295 file.
21296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21297 file.
21298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21299 file.
21300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21305 new VIS2 routines.
21306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21309 Likewise.
21310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21315 routines to libm-sysdep_routines.
21316 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21317
65a82e3d
DM
21318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21319 fdim/fdimf to libm-sysdep_routines.
21320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21321 file.
21322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21324 file.
21325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21328 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21329 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21330 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21331 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21332
e34ab705
SP
213332013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21334
2a91b573
SP
21335 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21336 to optimize copies.
21337
1066a534
SP
21338 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21341
e34ab705
SP
21342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21343 local variable MPTWO.
21344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21345 Likewise.
21346
aba5e596
MF
213472013-01-13 Mike Frysinger <vapier@gentoo.org>
21348
21349 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21350 GLOB_NOESCAPE.
21351
e557e9e5
MF
213522013-01-13 Mike Frysinger <vapier@gentoo.org>
21353
21354 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21355
0428cec9
MF
213562013-01-13 Mike Frysinger <vapier@gentoo.org>
21357
21358 * manual/pattern.texi (glob_t): Document gl_flags.
21359 (glob64_t): Likewise.
21360
8794a964
DM
213612013-01-11 David S. Miller <davem@davemloft.net>
21362
66438c3f
RM
21363 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21364 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21365 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
21366 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21367 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21368 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21369 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21370 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21371 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21372 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21373 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21374 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21375 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21376
4ae4244d
DM
21377 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21378 sparc V9 rather than using V8 code.
21379 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21380 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21381
8794a964
DM
21382 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21383 Move to...
21384 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21385 Here.
21386
6270516e
RM
213872013-01-11 Roland McGrath <roland@hack.frob.com>
21388
21389 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21390 not in the main loop.
21391 * configure: Regenerated.
21392
6a57d931
JM
213932013-01-11 Joseph Myers <joseph@codesourcery.com>
21394
21395 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21396 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21397 to just #else.
21398 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21399 [!__GLIBC_HAVE_LONG_LONG] case.
21400 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21401 condition to just #else.
21402 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21403 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21404 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21405 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21406 unconditional.
21407 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21408 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21409 #elif condition to just #else.
21410 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21411 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21412 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21413 #elif condition to just #else.
21414
0e8529e9
SE
214152013-01-11 Steve Ellcey <sellcey@mips.com>
21416
21417 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21418 (EF_MIPS_ARCH_64): Fix value.
21419 (EF_MIPS_ARCH_32R2): New.
21420 (EF_MIPS_ARCH_64R2): New.
21421
740b3dbe
L
214222013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21423
21424 * Makeconfig (+link-pie-before-libc): New.
21425 (+link-pie-after-libc): Likewise.
21426 (+link-pie-tests): Likewise.
21427 (+link-pie): Rewritten.
21428 (link-before-libc): Remove $(config-LDFLAGS).
21429 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21430 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21431 (config-LDFLAGS): Renamed to ...
21432 (rtld-LDFLAGS): This.
21433 (rtld-tests-LDFLAGS): New macro.
21434 (link-libc-rpath-link): Likewise.
21435 (link-libc-tests-rpath-link): Likewise.
21436 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21437 (link-libc): Prepand $(link-libc-rpath-link).
21438 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21439 (test-program-prefix): New macro.
21440 (test-via-rtld-prefix): Likewise.
21441 (test-program-cmd): Likewise.
21442 (host-test-program-cmd): Likewise.
21443 * Makefile ($(common-objpfx)testrun.sh): Replace
21444 $(run-program-prefix) with $(test-program-prefix).
21445 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21446 $(rtld-LDFLAGS).
21447 ($(common-objpfx)shlib.lds): Likewise.
21448 (build-module-helper): Likewise.
21449 ($(common-objpfx)format.lds): Likewise.
21450 * Rules (binaries-pie-tests): New.
21451 (binaries-pie-notests): Likewise.
21452 (binaries-pie): Rewritten.
21453 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21454 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21455 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21456 (make-test-out): Replace $(host-built-program-cmd) with
21457 $(host-test-program-cmd).
21458 * config.make.in (build-hardcoded-path-in-tests): New variable.
21459 * configure.in (--enable-hardcoded-path-in-tests): New configure
21460 option.
21461 (hardcoded_path_in_tests): New AC_SUBST.
21462 * configure: Regenerated.
21463 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21464 $(built-program-cmd) with $(test-program-cmd).
21465 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21466 (test_program_cmd): This.
21467 * elf/Makefile ($(objpfx)order.out): Run test with
21468 $(test-program-prefix).
21469 ($(objpfx)order2.out): Likewise.
21470 ($(objpfx)tst-initorder.out): Likewise.
21471 ($(objpfx)tst-initorder2.out): Likewise.
21472 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21473 $(test-program-cmd).
21474 ($(objpfx)tst-array1-static.out): Likewise.
21475 ($(objpfx)tst-array2.out): Likewise.
21476 ($(objpfx)tst-array3.out): Likewise.
21477 ($(objpfx)tst-array4.out): Likewise.
21478 ($(objpfx)tst-array5.out): Likewise.
21479 ($(objpfx)tst-array5-static.out): Likewise.
21480 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21481 $(test-program-cmd).
21482 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21483 $(run-program-prefix) with $(test-program-prefix).
21484 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21485 (test_program_prefix): This.
21486 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21487 $(run-program-prefix) with $(test-program-prefix).
21488 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21489 (test_program_prefix): This.
21490 * iconvdata/tst-tables.sh: Likewise.
21491 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21492 $(run-program-prefix) with $(test-program-prefix).
21493 ($(objpfx)tst-translit.out): Likewise.
21494 ($(objpfx)tst-gettext2.out): Likewise.
21495 ($(objpfx)tst-gettext4.out): Likewise.
21496 ($(objpfx)tst-gettext6.out): Likewise.
21497 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21498 (test_program_prefix): This.
21499 * intl/tst-gettext2.sh: Likewise.
21500 * intl/tst-gettext4.sh Likewise.
21501 * intl/tst-gettext6.sh: Likewise.
21502 * intl/tst-translit.sh: Likewise.
21503 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21504 with $(test-program-cmd).
21505 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21506 $(run-program-prefix) with $(test-program-prefix).
21507 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21508 (test_program_prefix): This.
21509 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21510 $(run-program-prefix) with $(test-program-prefix).
21511 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21512 (test_program_prefix): This.
21513 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21514 * posix/Makefile ($(objpfx)globtest.out): Replace
21515 $(run-via-rtld-prefix) and $(test-wrapper) with
21516 $(test-program-prefix) and $(test-via-rtld-prefix).
21517 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21518 $(test-program-prefix).
21519 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21520 $(host-test-program-cmd).
21521 (tst-spawn-ARGS): Likewise.
21522 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21523 $(test-program-prefix).
21524 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21525 (test_via_rtld_prefix): This.
21526 (test_wrapper): Renamed to ...
21527 (test_program_prefix): This.
21528 (run_program_prefix): Replaced by test_program_prefix.
21529 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21530 (test_program_prefix): This.
21531 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21532 with $(host-test-program-cmd).
21533 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21534 $(run-program-prefix) with $(test-program-prefix).
21535 ($(objpfx)tst-printf.out): Likewise.
21536 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21537 $(test-program-cmd).
21538 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21539 (test_program_prefix): This.
21540 * stdio-common/tst-unbputc.sh: Likewise.
21541 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21542 $(run-program-prefix) with $(test-program-prefix).
21543 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21544 (test_program_prefix): This.
21545 * string/Makefile ($(objpfx)tst-svc.out): Replace
21546 $(built-program-cmd) with $(test-program-cmd).
21547
c6fe55cf
AJ
215482013-01-11 Andreas Jaeger <aj@suse.de>
21549
21550 [BZ #15003]
21551 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21552 value. Sync with Linux 3.7.
21553
9e6919c8
DM
215542013-01-10 David S. Miller <davem@davemloft.net>
21555
21556 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21557 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21558 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21559
1c9f1a02
RM
215602013-01-10 Roland McGrath <roland@hack.frob.com>
21561
21562 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21563 never set.
21564 * configure: Regenerated.
21565
b9de2dde
DM
215662013-01-10 David S. Miller <davem@davemloft.net>
21567
21568 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21569 sparc V9 rather than using V8 code.
21570 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21571 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21572
e7f68ef4
RM
215732013-01-10 Roland McGrath <roland@hack.frob.com>
21574
21575 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21576 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21577 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21578 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21579 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21580 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21581 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21582 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21583 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21584 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21585 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21586 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21587 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21588 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21589 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21590 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21591 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21592 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21593 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21594 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21595 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21596 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21597 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21598 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21599 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21600 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21601 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21602
5a47cc9c
DM
216032013-01-10 David S. Miller <davem@davemloft.net>
21604
21605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21606
4cf8f209
L
216072013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21608
21609 * posix/Makefile (tests-static): New variable.
21610 (tests): Add $(tests-static).
21611 (tst-exec-static-ARGS): New variable.
21612 (tst-spawn-static-ARGS): Likewise.
21613 * posix/tst-exec-static.c: New file.
21614 * posix/tst-spawn-static.c: Likewise.
21615 * posix/tst-exec.c: Support run directly.
21616 * posix/tst-spawn.c: Likewise.
21617
fed0faa1
JM
216182013-01-10 Joseph Myers <joseph@codesourcery.com>
21619
828beb13
JM
21620 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21621 long.
21622 * math/bits/mathcalls.h (llrint): Likewise.
21623 (llround): Likewise.
21624 * stdlib/stdlib.h (struct drand48_data): Likewise.
21625 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21626 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21627 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21628 Likewise.
21629 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21630 Likewise.
21631 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21632 (elf_greg_t): Likewise.
21633 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21634 (__jmp_buf): Likewise.
21635 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21636 definitions.
21637 (llrint): Likewise, for all definitions.
21638 (llrintl): Likewise.
21639
fed0faa1
JM
21640 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21641 Remove [__GNUC__] condition.
21642 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21643 condition to just [__USE_ISOC99].
21644 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21645
1a20cb20
L
216462013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21647
21648 [BZ #14200]
21649 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21650 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21651 defined.
21652 (_POSIX_V6_ILP32_OFF32): Likewise.
21653 (_XBS5_ILP32_OFF32): Likewise.
21654 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21655 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21656
751b85f7
SP
216572013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21658
7490eb81
SP
21659 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21660
751b85f7
SP
21661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21662 doubles __mpexp_twomm1. Adjust usage.
21663 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21664 Remove.
21665
988197f0
AS
216662013-01-10 Andreas Schwab <schwab@suse.de>
21667
21668 [BZ #14964]
21669 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21670 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21671
e83d7298
DM
216722013-01-09 David S. Miller <davem@davemloft.net>
21673
034ed64b 21674 [BZ #15003]
57f41c40
AS
21675 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21676 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21677 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21678 (TCP_FASTOPEN): Define.
e83d7298
DM
21679 (tcp_repair_opt): New structure.
21680 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21681 enum values.
57f41c40
AS
21682 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21683 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21684 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21685 (tcp_cookie_transactions): New structure.
21686
d5e0b9bd
AB
216872013-01-09 Anton Blanchard <anton@samba.org>
21688
21689 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21690 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21691 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21692 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21693
0c07e3ea
JM
216942013-01-09 Joseph Myers <joseph@codesourcery.com>
21695
21696 * include/features.h (__USE_ANSI): Remove.
21697
232f7002
RM
216982013-01-09 Roland McGrath <roland@hack.frob.com>
21699
ad98e30c
RM
21700 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21701
232f7002
RM
21702 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21703
950c99ca
SP
217042013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21705
b5792741
SP
21706 * sysdeps/s390/fpu/libm-test-ulps: Update.
21707
47cf2278
SP
21708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21709
950c99ca
SP
21710 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21711 (__acr): Likewise.
21712 (__cpy): Likewise.
21713 (norm): Likewise.
21714 (denorm): Likewise.
21715 (__mp_dbl): Likewise.
21716 (__dbl_mp): Likewise.
21717 (add_magnitudes): Likewise.
21718 (sub_magnitudes): Likewise.
21719 (__add): Likewise.
21720 (__sub): Likewise.
21721 (__mul): Likewise.
21722 (__inv): Likewise.
21723 (__dvd): Likewise.
21724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21725 (__acr): Likewise.
21726 (__cpy): Likewise.
21727 (norm): Likewise.
21728 (denorm): Likewise.
21729 (__mp_dbl): Likewise.
21730 (__dbl_mp): Likewise.
21731 (add_magnitudes): Likewise.
21732 (sub_magnitudes): Likewise.
21733 (__add): Likewise.
21734 (__sub): Likewise.
21735 (__mul): Likewise.
21736 (__inv): Likewise.
21737 (__dvd): Likewise.
21738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21739 (__acr): Likewise.
21740 (__cpy): Likewise.
21741 (norm): Likewise.
21742 (denorm): Likewise.
21743 (__mp_dbl): Likewise.
21744 (__dbl_mp): Likewise.
21745 (add_magnitudes): Likewise.
21746 (sub_magnitudes): Likewise.
21747 (__add): Likewise.
21748 (__sub): Likewise.
21749 (__mul): Likewise.
21750 (__inv): Likewise.
21751 (__dvd): Likewise.
21752
eede9df9
JM
217532013-01-08 Joseph Myers <joseph@codesourcery.com>
21754
21755 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21756 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21757 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21758 2 && __USE_EXTERN_INLINES]: Likewise.
21759
c40ea3d9
AJ
217602013-01-08 Andreas Jaeger <aj@suse.de>
21761
21762 [BZ# 14985]
21763 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21764 Remove.
21765 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21766 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21767
2ccdea26
AB
217682013-01-07 Anton Blanchard <anton@samba.org>
21769
21770 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21771 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21772 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21773 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21774 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21775 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21776 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21777 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21779 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21780 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21781 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21782 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21783 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21784 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21785 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21786 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21787 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21788 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21789 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21790 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21791 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21792 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21793 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21794 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21795 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21796 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21797 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21798 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21799 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21800 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21802 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21803 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21804 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21805 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21806 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21807 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21808 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21809 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21810 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21812 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21813
a9708fed
JM
218142013-01-07 Joseph Myers <joseph@codesourcery.com>
21815
375607b9
JM
21816 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21817 (__MALLOC_PMT): Likewise.
21818 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21819 [__GNUC__], only on [_LIBC].
21820 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21821 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21822 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21823 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21824 forward declaration.
21825 (realloc_hook_ini): Likewise.
21826 (memalign_hook_ini): Likewise.
21827 (__libc_memalign): Do not use __MALLOC_PMT in variable
21828 declaration.
21829 (__libc_valloc): Likewise.
21830 (__libc_pvalloc): Likewise.
21831 (__libc_calloc): Likewise.
21832 (__posix_memalign): Likewise.
21833
a9708fed
JM
21834 [BZ #14996]
21835 * math/s_casinh.c: Include <float.h>.
21836 (__casinh): Do not do computation with squaring and square root
21837 for large arguments.
21838 * math/s_casinhf.c: Include <float.h>.
21839 (__casinhf): Do not do computation with squaring and square root
21840 for large arguments.
21841 * math/s_casinhl.c: Include <float.h>.
21842 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21843 (__casinhl): Do not do computation with squaring and square root
21844 for large arguments.
21845 * math/libm-test.inc (casin_test): Add more tests.
21846 (casinh_test): Likewise.
21847 * sysdeps/i386/fpu/libm-test-ulps: Update.
21848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21849
afec409a
L
218502013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21851
21852 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21853 (__x86_64_raw_data_cache_size): Likewise.
21854 (__x86_64_data_cache_size_half): Likewise.
21855 (__x86_64_raw_data_cache_size_half): Likewise.
21856 (__x86_64_shared_cache_size): Likewise.
21857 (__x86_64_raw_shared_cache_size): Likewise.
21858 (__x86_64_shared_cache_size_half): Likewise.
21859 (__x86_64_raw_shared_cache_size_half): Likewise.
21860 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21861 to ...
21862 (__x86_data_cache_size): This.
21863 (__x86_64_raw_data_cache_size): Renamed to ...
21864 (__x86_raw_data_cache_size): This.
21865 (__x86_64_data_cache_size_half): Renamed to ...
21866 (__x86_data_cache_size_half): This.
21867 (__x86_64_raw_data_cache_size_half): Renamed to ...
21868 (__x86_raw_data_cache_size_half): This.
21869 (__x86_64_shared_cache_size): Renamed to ...
21870 (__x86_shared_cache_size): This.
21871 (__x86_64_raw_shared_cache_size): Renamed to ...
21872 (__x86_raw_shared_cache_size): This.
21873 (__x86_64_shared_cache_size_half): Renamed to ...
21874 (__x86_shared_cache_size_half): This.
21875 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21876 (__x86_raw_shared_cache_size_half): This.
21877 * sysdeps/x86_64/memcpy.S: Updated.
21878 * sysdeps/x86_64/memset.S: Likewise.
21879 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21880 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21881 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21882
0b3986d0
DM
218832013-01-04 David S. Miller <davem@davemloft.net>
21884
21885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21886
e47686e9
AS
218872013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21888
d643bac1
AS
21889 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21890 1 to avoid redefinition warning.
21891 (__USE_GNU): Don't define.
21892 (init_signaling_nan): Protoize.
21893
e47686e9
AS
21894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21895
b18decba
SP
218962013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21897
fffb407f
SP
21898 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21900 (__cpymn): Likewise.
21901 (norm): Remove commented code.
21902 (denorm): Likewise.
21903 (__mp_dbl): Likewise.
21904 (__inv): Likewise.
21905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21906 (__cpymn): Likewise.
21907 (norm): Remove commented code.
21908 (denorm): Likewise.
21909 (__mp_dbl): Likewise.
21910 (__inv): Likewise.
21911
b18decba
SP
21912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21913 mp_no value for 1.0 and 2.0.
21914 (norm): Use RADIXI instead of radixi.d.
21915 (denorm): Likewise.
21916 (__mul): Use 0.0 instead of zero.d.
21917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21918 mp_no value for 1.0 and 2.0.
21919 (norm): Use RADIXI instead of radixi.d.
21920 (denorm): Likewise.
21921 (__mul): Use 0.0 instead of zero.d.
21922
cdc1c96f
JM
219232013-01-04 Joseph Myers <joseph@codesourcery.com>
21924
21925 [BZ #14994]
21926 * math/s_casinh.c (__casinh): Reduce finite argument to first
21927 quadrant then set signs of results at the end.
21928 * math/s_casinhf.c (__casinhf): Likewise.
21929 * math/s_casinhl.c (__casinhl): Likewise.
21930 * math/libm-test.inc (casin_test): Add more tests.
21931 (casinh_test): Likewise.
21932 * sysdeps/i386/fpu/libm-test-ulps: Update.
21933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21934
302913e1
SP
219352013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21936
6420d207
SP
21937 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21938
a9e48ab4
SP
21939 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21940
b7837264
SP
21941 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21942 declarations.
21943 (denorm): Likewise.
21944 (__mp_dbl): Likewise.
21945 (__inv): Likewise.
21946
f8af25d2
SP
21947 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21948 and adjust the header comment.
21949
302913e1
SP
21950 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21951 variable name from declaration.
21952
5d7dd1ca
L
219532013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21954
21955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21956 Initialize COMMON_CPUID_INDEX_7 element.
21957 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21958 (CPUID_RTM): Likewise.
21959 (HAS_RTM): Likewise.
21960 (COMMON_CPUID_INDEX_7): New enum.
21961
2f5f40f4
AS
219622013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21963
21964 [BZ #14981]
21965 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21966 size is zero, record memory as freed.
21967
4056f4a0
AJ
219682013-01-03 Andreas Jaeger <aj@suse.de>
21969
21970 * po/ia.po: Add new Interlingua translation.
21971
ab15736f 219722012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21973
21974 * locale/programs/localedef.c: Fix description of '--posix' flag.
21975
568035b7
JM
219762013-01-02 Joseph Myers <joseph@codesourcery.com>
21977
e6898b8d
JM
21978 * NEWS: Update dates in second copyright notice.
21979 * README: Update copyright dates in example.
21980 * manual/libc.texinfo: Update copyright dates.
21981 * scripts/test-installation.pl: Update copyright date in --version
21982 output.
21983
0e2f9562
JM
21984 * hurd/ctty-input.c: Fix copyright notice formatting.
21985 * hurd/ctty-output.c: Likewise.
21986 * hurd/dtable.c: Likewise.
21987 * hurd/hurd-raise.c: Likewise.
21988 * hurd/hurdprio.c: Likewise.
21989 * hurd/msgportdemux.c: Likewise.
21990 * misc/sys/file.h: Likewise.
21991 * misc/sys/ioctl.h: Likewise.
21992 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21993 * sysdeps/mach/hurd/chdir.c: Likewise.
21994 * sysdeps/mach/hurd/fchdir.c: Likewise.
21995 * sysdeps/mach/hurd/rename.c: Likewise.
21996 * sysdeps/mach/hurd/rmdir.c: Likewise.
21997 * sysdeps/mach/hurd/seekdir.c: Likewise.
21998 * sysdeps/mach/hurd/setsid.c: Likewise.
21999 * sysdeps/posix/wait3.c: Likewise.
22000
568035b7
JM
22001 * All files with FSF copyright notices: Update copyright dates
22002 using scripts/update-copyrights.
22003 * intl/plural.c: Regenerated.
22004 * locale/programs/charmap-kw.h: Likewise.
22005 * locale/programs/locfile-kw.h: Likewise.
22006
da08f647
SP
220072013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22008
0f5477af
SP
22009 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22010 four values.
22011
44e0d4c2
SP
22012 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22013 calculation loop and add branch prediction.
22014
4d55b4e5
SP
22015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22016 check access beyond bounds of m1np.
22017
da08f647
SP
22018 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22019 MPTWO.
22020 (__inv): Remove local variable MPTWO to use the global
22021 constant.
22022 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22023 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22024 variable MPTWO.
22025 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22026 MP3HALFS static const.
22027
8e051029
DM
220282013-01-01 David S. Miller <davem@davemloft.net>
22029
22030 * po/ca.po: Update from translation team.
22031
f4cf5f2d
JM
220322013-01-01 Joseph Myers <joseph@codesourcery.com>
22033
22034 * scripts/update-copyrights: New file.
22035 * Makeconfig: Reformat copyright notice.
22036 * ctype/ctype.h: Likewise.
22037 * debug/swprintf_chk.c: Likewise.
22038 * elf/dl-cache.c: Likewise.
22039 * elf/dl-debug.c: Likewise.
22040 * elf/dl-object.c: Likewise.
22041 * grp/initgroups.c: Likewise.
22042 * hurd/Makefile: Likewise.
22043 * hurd/hurd/signal.h: Likewise.
22044 * hurd/hurdfault.c: Likewise.
22045 * hurd/hurdioctl.c: Likewise.
22046 * hurd/hurdlookup.c: Likewise.
22047 * hurd/intr-msg.c: Likewise.
22048 * iconv/gconv_open.c: Likewise.
22049 * libio/swprintf.c: Likewise.
22050 * locale/lc-ctype.c: Likewise.
22051 * locale/nl_langinfo.c: Likewise.
22052 * mach/Machrules: Likewise.
22053 * mach/Makefile: Likewise.
22054 * malloc/obstack.h: Likewise.
22055 * manual/Makefile: Likewise.
22056 * manual/tsort.awk: Likewise.
22057 * misc/bits/stab.def: Likewise.
22058 * nis/nis_print_group_entry.c: Likewise.
22059 * nis/nis_table.c: Likewise.
22060 * nis/nss_compat/compat-pwd.c: Likewise.
22061 * nis/nss_compat/compat-spwd.c: Likewise.
22062 * po/Makefile: Likewise.
22063 * posix/fnmatch.c: Likewise.
22064 * posix/regex.h: Likewise.
22065 * resolv/Makefile: Likewise.
22066 * resolv/nss_dns/dns-network.c: Likewise.
22067 * resolv/res_hconf.c: Likewise.
22068 * scripts/gen-sorted.awk: Likewise.
22069 * soft-fp/soft-fp.h: Likewise.
22070 * stdio-common/printf.h: Likewise.
22071 * stdlib/monetary.h: Likewise.
22072 * stdlib/random.c: Likewise.
22073 * stdlib/random_r.c: Likewise.
22074 * sysdeps/generic/Makefile: Likewise.
22075 * sysdeps/gnu/Makefile: Likewise.
22076 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22080 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22086 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22087 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22088 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22089 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22096 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22098 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22099 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22100 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22101 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22102 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22103 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22104 * sysdeps/mach/hurd/errnos.awk: Likewise.
22105 * sysdeps/mach/hurd/fork.c: Likewise.
22106 * sysdeps/mach/hurd/getcwd.c: Likewise.
22107 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22108 * sysdeps/mach/hurd/mmap.c: Likewise.
22109 * sysdeps/mach/hurd/utimes.c: Likewise.
22110 * sysdeps/mach/hurd/xmknod.c: Likewise.
22111 * sysdeps/posix/profil.c: Likewise.
22112 * sysdeps/posix/readdir_r.c: Likewise.
22113 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22114 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22115 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22116 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22118 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22119 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22120 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22122 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22123 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22124 * sysdeps/pthread/lio_listio.c: Likewise.
22125 * sysdeps/sparc/dl-procinfo.h: Likewise.
22126 * sysdeps/unix/i386/sysdep.S: Likewise.
22127 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22128 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22129 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22130 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22132 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22133 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22134 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22135 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22136 * sysdeps/wordsize-32/divdi3.c: Likewise.
22137 * time/sys/time.h: Likewise.
22138 * wcsmbs/Makefile: Likewise.
22139
0549fbba
DM
221402013-01-01 David S. Miller <davem@davemloft.net>
22141
a141f1a7
DM
22142 * po/fr.po: Update from translation team.
22143
0549fbba
DM
22144 * catgets/gencat.c: Update copyright year.
22145 * csu/version.c: Likewise.
22146 * debug/catchsegv.sh: Likewise.
22147 * debug/pcprofiledump.c: Likewise.
22148 * debug/xtrace.sh: Likewise.
22149 * elf/ldconfig.c: Likewise.
22150 * elf/ldd.bash.in: Likewise.
22151 * elf/pldd.c: Likewise.
22152 * elf/sotruss.ksh: Likewise.
22153 * elf/sprof.c: Likewise.
22154 * iconv/iconv_prog.c: Likewise.
22155 * iconv/iconvconfig.c: Likewise.
22156 * locale/programs/locale.c: Likewise.
22157 * locale/programs/localedef.c: Likewise.
22158 * login/programs/pt_chown.c: Likewise.
22159 * malloc/memusage.sh: Likewise.
22160 * malloc/memusagestat.c: Likewise.
22161 * malloc/mtrace.pl: Likewise.
22162 * nscd/nscd.c: Likewise.
22163 * nss/getent.c: Likewise.
22164 * nss/makedb.c: Likewise.
22165 * posix/getconf.c: Likewise.
22166
18ea052c
SP
221672012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22168
22169 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22170 numbers.
22171
9c89fca6
MF
221722012-12-30 Mike Frysinger <vapier@gentoo.org>
22173
22174 * math/bits/mathcalls.h (modf): Use __nonnull.
22175
085ec079
SP
221762012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22177
22178 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22179 (split): Use macro CN instead of the bare value.
22180 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22181 could be used.
22182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22183 instead of the bare value.
22184 (power1): Likewise.
22185
6d9f97e1
SP
221862012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22187
d63f73be
SP
22188 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22189 __ATAN_TWOM.
22190 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22191
6d9f97e1
SP
22192 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22193 their values.
22194 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22195 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22196 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22197 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22198
4c4febf5
AJ
221992012-12-28 Andreas Jaeger <aj@suse.de>
22200
af5843ef
AJ
22201 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22202 values are from Linux 3.7.
22203
4c4febf5
AJ
22204 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22205 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22206
99136f82
SP
222072012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22208
2f216c3c 22209 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22210 TRUE case.
22211
99136f82
SP
22212 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22213 (norm): Likewise.
22214 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22215 variables with preprocessor constants.
22216 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22217 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22218 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22219
7fffbdff
BH
222202012-12-27 Bruno Haible <bruno@clisp.org>
22221
22222 [BZ #14317]
22223 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22224 only if needed.
22225
b76eb5f0
SP
222262012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22227
31a7fe5c
SP
22228 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22229 and use variable directly.
22230 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22231
b76eb5f0
SP
22232 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22233 MPONE.
22234 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22235 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22236 variable MPONE.
22237 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22238 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22239 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22240 include directive. Remove local variable MPONE.
22241 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22242 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22243 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22244
2c8bfe7d
DM
222452012-12-25 David S. Miller <davem@davemloft.net>
22246
22247 * version.h (RELEASE): Set to "development".
22248 (VERSION): Set to "2.17.90".
22249 * NEWS: Add 2.18 section.
22250
147d03b0
DM
222512012-12-21 David S. Miller <davem@davemloft.net>
22252
22253 * po/hr.po: Update from translation team.
22254
a8ebb2b9
AK
222552012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22256
22257 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22258
95b4f1b6
SE
222592012-12-19 Steve Ellcey <sellcey@mips.com>
22260
b2d94007 22261 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22262
cedb2a90
MS
222632012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22264
22265 * manual/contrib.texi (Contributors): Spelling correction.
22266
bbf527d6
DM
222672012-12-15 David S. Miller <davem@davemloft.net>
22268
22269 * po/ru.po: Update from translation team.
22270
bc38c906
DM
222712012-12-13 David S. Miller <davem@davemloft.net>
22272
85429b1a
DM
22273 * NEWS: Mention IFUNC testsuite enhancements.
22274
d283e353
DM
22275 * po/pl.po: Update from translation team.
22276 * po/bg.po: Likewise.
22277
bc38c906
DM
22278 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22279 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22280
a181b0d7
DM
222812012-12-11 David S. Miller <davem@davemloft.net>
22282
4641d57e
DM
22283 * po/sv.po: Update from translation team.
22284
f7bc6495
DM
22285 * po/vi.po: Update from translation team.
22286
6fc9048f
DM
22287 * po/cs.po: Update from translation team.
22288
a181b0d7
DM
22289 * po/de.po: Update from translation team.
22290 * po/eo.po: Likewise.
22291 * po/nl.po: Likewise.
22292
f70bfe80
SP
222932012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22294
3c8b4190
SP
22295 [BZ #14246]
22296 * manual/argp.texi (Argp Helper Functions): Move node to follow
22297 Argp Parsing State.
22298
f70bfe80
SP
22299 [BZ #14872]
22300 * manual/conf.texi (Limits on File System Capacity): Mention if
22301 terminating null is included in the max size.
22302
188f0adf
AJ
223032012-12-10 Andreas Jaeger <aj@suse.de>
22304
22305 * po/cs.po: Update from translation team.
22306
56e7d3ad
SP
223072012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22308
22309 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22310 void pointer and cast to uintptr_t.
22311 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22312 path.
22313 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22314 * sysdeps/s390/s390-64/memset.S: Likewise.
22315
76f2d2ea 223162012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22317
22318 [BZ #14833]
22319 * menual/message.texi (Message Translation): Fix typos.
22320 (Helper programs for gettext): Likewise.
22321
67cbf9a2
AS
223222012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22323
22324 [BZ #14898]
22325 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22326 Change to -1.
22327
682d0e9a
DM
223282012-12-07 David S. Miller <davem@davemloft.net>
22329
22330 * po/libc.pot: Update.
22331
573cd484
RH
223322012-12-07 Richard Henderson <rth@redhat.com>
22333
7e9da188 22334 [BZ #10114]
573cd484
RH
22335 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22336 normal/normal case to before the switch.
22337 (_FP_DIV): Likewise.
22338
e933a943
MF
223392012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22340 Mike Frysinger <vapier@gentoo.org>
22341
22342 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22343 check for __NR_fadvise64_64.
22344
82123268
CM
223452012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22346
22347 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22348 0, not just to plain "0" as a statement.
22349 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22350 with cw.
22351
d9814526
JM
223522012-12-06 Joseph Myers <joseph@codesourcery.com>
22353
22354 * NEWS: Use sourceware.org in Bugzilla URL.
22355
7728c574
SP
223562012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22357
f16946dd
SP
22358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22359 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22360
5704bbcb
SP
22361 * stdio-common/tst-put-error.c (do_test): Add newline to the
22362 padded test to ensure flush.
22363
17aa0516
JL
223642012-12-05 Jeff Law <law@redhat.com>
22365
22366 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22367
363313b5
JM
223682012-12-05 Joseph Myers <joseph@codesourcery.com>
22369
effbd42a
JM
22370 * README: Don't refer to ports add-on as distributed separately.
22371 Mention AArch64 in list of systems supported in the ports add-on.
22372
87600365
JM
22373 * LICENSES: Add more non-FSF copyright and license notices.
22374
a0d7066a
JM
22375 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22376 ((unused)).
22377
66ca5a5b
JM
22378 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22379
363313b5
JM
22380 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22381 10000 as width of padded output.
22382
b37984ad
JM
223832012-12-04 Joseph Myers <joseph@codesourcery.com>
22384
9003570a
JM
22385 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22386
b37984ad
JM
22387 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22388 variable LX with __attribute__ ((unused)).
22389 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22390 Likewise.
22391 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22392 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22393 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22394 with __attribute__ ((unused)).
22395
c8df52ec
DM
223962012-12-04 David S. Miller <davem@abraco.davemloft.net>
22397
22398 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22399
b3b099af
JM
224002012-12-04 Joseph Myers <joseph@codesourcery.com>
22401
c33aa6e3
JM
22402 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22403 (CFLAGS-nldbl-acos.c): New variable.
22404 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22405 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22406 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22407 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22408 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22409 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22410 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22411 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22412 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22413 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22414 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22415 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22416 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22417 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22418 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22419 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22420 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22421 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22422 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22423 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22424 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22425 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22426 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22427 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22428 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22429 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22430 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22431 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22432 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22433 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22434 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22435 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22436 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22437 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22438 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22439 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22440 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22441 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22442 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22443 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22444 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22445 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22446 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22447 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22448 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22449 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22450 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22451 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22452 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22453 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22454 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22455 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22456 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22457 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22458 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22459 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22460 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22461 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22462 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22463 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22464 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22465 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22466 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22467 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22468 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22469 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22470 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22471 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22472 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22473 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22474 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22475 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22476 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22477 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22478 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22479 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22480 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22481 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22482 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22483 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22484 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22485 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22486 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22487 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22488 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22489 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22490 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22491 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22492 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22493 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22494 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22495 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22496 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22497 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22498 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22499 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22500 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22501
20f0018d
JM
22502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22503 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22504
b3b099af
JM
22505 [BZ #14914]
22506 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22507 whole low double instead of just low 47 bits when splitting values
22508 into two parts.
22509
029264d1
AM
225102012-12-03 Allan McRae <allan@archlinux.org>
22511
22512 * manual/stdio.texi (Predefined Printf Handlers): Remove
22513 @hsep and @vsep usage.
22514
c9d6789e
MF
225152012-12-03 Mike Frysinger <vapier@gentoo.org>
22516
22517 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22518 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22519
4b7634a5
JL
225202012-12-03 Jeff Law <law@redhat.com>
22521
22522 * time/sys/time.h (settimeofday): Do not mark TV argument
22523 as __nonnull.
22524
eb6cbd24
MF
225252012-12-01 Mike Frysinger <vapier@gentoo.org>
22526
22527 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22528 when currently writing and seek to current position when not.
22529 * libio/Makefile (tests): Remove bug-fclose1.
22530 * libio/bug-fclose1.c: Delete.
22531
f638872a
JM
225322012-12-01 Joseph Myers <joseph@codesourcery.com>
22533
22534 * manual/arith.texi (feenableexcept): Fix typo.
22535 (fedisableexcept): Likewise.
22536
48085d14
RM
225372012-11-30 Roland McGrath <roland@hack.frob.com>
22538
22539 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22540 second, differently-typed declaration, rather than a cast.
22541
1a538b9f
SP
225422012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22543
22544 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22545 * include/rpc/svc.h: ... here.
22546
d07f2ff1 225472012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22548
22549 [BZ #13013]
22550 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22551 depending n and resplen2 to catch cases where answer
22552 equals answerp2.
22553
c93ec1f0
CD
225542012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22555
22556 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22557 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22558
37db69de
MF
225592012-11-29 Mike Frysinger <vapier@gentoo.org>
22560
22561 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22562
e10c4e4f
RM
225632012-11-29 Roland McGrath <roland@hack.frob.com>
22564
22565 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22566
2af1b328
JL
225672012-11-28 Jeff Law <law@redhat.com>
22568
22569 [BZ #13761]
22570 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22571 dataset_temporary. Track alloca usage into alloca_used.
22572 If dataset is large allocate and release it via malloc/free.
22573
111db5b1
FW
225742012-06-04 Florian Weimer <fweimer@redhat.com>
22575
f06cc227 22576 [BZ #14197]
111db5b1
FW
22577 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22578
dd694abd
DM
225792012-11-28 David S. Miller <davem@davemloft.net>
22580
22581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22582
9984dd01
JM
225832012-11-28 Joseph Myers <joseph@codesourcery.com>
22584
22585 [BZ #14803]
22586 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22587 of pi/2 rounded to nearest to 64 bits.
22588 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22589 nearest to 64 bits.
22590 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22591 bits.
22592
14bc93a9
JL
225932012-11-28 Jeff Law <law@redhat.com>
22594 Martin Osvald <mosvald@redhat.com>
22595
22596 [BZ #14889]
22597 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22598 * sunrpc/svc.c: Include time.h.
22599 (__svc_accept_failed): New function.
22600 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22601 any reason other than EINTR, call __svc_accept_failed.
22602 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22603 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22604
e3c6aa3a
AS
226052012-11-28 Andreas Schwab <schwab@suse.de>
22606
22607 * scripts/abilist.awk: Also handle indirect functions in .opd
22608 section.
22609
1bead169
JM
226102012-11-28 Joseph Myers <joseph@codesourcery.com>
22611
22612 [BZ #13881]
22613 * sysdeps/x86/fpu/powl_helper.c: New file.
22614 * sysdeps/x86/fpu/Makefile: Likewise.
22615 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22616 (p3): New object.
22617 (__ieee754_powl): Use __powl_helper for finite arguments except
22618 integer exponents below 8.
22619 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22620 (p3): New object.
22621 (__ieee754_powl): Use __powl_helper for finite arguments except
22622 integer exponents below 8.
22623 * math/libm-test.inc (pow_test): Add more tests and enable some
22624 previously disabled tests.
22625 * sysdeps/i386/fpu/libm-test-ulps: Update.
22626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22627
0817d63d
SP
226282012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22629 Carlos O'Donell <carlos_odonell@mentor.com>
22630
22631 * nss/makedb.c (is_prime): Assert that input is odd and greater
22632 than 4. Note that fact in a comment too.
22633 (next_prime): Add 4 to input.
22634
de2fd463
SP
226352012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22636
22637 [BZ #11741]
22638 * libio/Makefile (tests): Add test case tst-fwrite-error.
22639 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22640 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22641 * libio/tst-fwrite-error.c: New test case.
22642
c515fb51
L
226432012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22644
22645 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22646 before casting to void *.
22647 * include/libc-internal.h (__pointer_type): New macro.
22648 (__integer_if_pointer_type_sub): Likewise.
22649 (__integer_if_pointer_type): Likewise.
22650 (cast_to_integer): Likewise.
22651 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22652 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22653 before casting to atomic64_t.
22654 (atomic_exchange_acq): Likewise.
22655 (__arch_exchange_and_add_body): Likewise.
22656 (__arch_add_body): Likewise.
22657 (atomic_add_negative): Likewise.
22658 (atomic_add_zero): Likewise.
22659
4cf77aa9
JM
226602012-11-26 Joseph Myers <joseph@codesourcery.com>
22661
22662 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22663 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22664 (add_fdes): Likewise.
22665 (linear_search_fdes): Likewise.
22666 (binary_search_unencoded_fdes): Likewise.
22667
d260b3b4
AS
226682012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22669
22670 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22671
67060746
AC
226722012-11-24 Adam Conrad <adconrad@0c3.net>
22673
22674 * configure.in: Autodetect C++ header directories.
22675 * configure: Regenerated.
22676
800938a1
MF
226772012-11-23 Mike Frysinger <vapier@gentoo.org>
22678
22679 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22680
4e6e34e6
AS
226812012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22682
22683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22684
7c7feb47
JM
226852012-11-22 Joseph Myers <joseph@codesourcery.com>
22686
7184dcdf
JM
22687 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22688 LDBL_MANT_DIG == 106]: Disable some tests.
22689 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22690 Likewise.
22691 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22692 Likewise.
22693
0a42601f
JM
22694 [BZ #14871]
22695 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22696 input for small inputs. Return +/- pi/2 for large inputs.
22697 * math/libm-test.inc (atan_test): Add more tests.
22698
79c9b9fe
JM
22699 * sysdeps/generic/unwind-dw2-fde-glibc.c
22700 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22701 __attribute__ ((unused)).
22702
c60d3bf2
JM
22703 [BZ #14645]
22704 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22705 x * y if x and y are nonzero and z is zero.
22706
ef1e0867
JM
22707 [BZ #14811]
22708 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22709 nonzero exponents with absolute value below 0x1p-117 to +/-
22710 0x1p-117.
22711
1468ded3
JM
22712 [BZ #14869]
22713 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22714 up arguments below 2**-450, not just those below 2**-500.
22715 * math/libm-test.inc (hypot_test): Add another test.
22716
8e27e3cc
JM
22717 [BZ #14868]
22718 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22719 Return a+b for ratio over 2**120, not 2**60.
22720 * math/libm-test.inc (hypot_test): Add another test.
22721
c9c0279b
JM
22722 * math/libm-test.inc (clog_test): Use
22723 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22724 (clog10_test): Likewise.
22725
7c7feb47
JM
22726 [BZ #6778]
22727 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22728
fff1530e
AS
227292012-11-22 Andreas Schwab <schwab@suse.de>
22730
22731 * sysdeps/i386/fpu/libm-test-ulps: Update.
22732
94558d30
PT
227332012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22734
22735 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22736 printf output with newline.
22737
7e1be741
L
227382012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22739
6bfea974
L
22740 [BZ #14865]
22741 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22742 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22743 -z nodlopen, -z initfirst and -z execstack support.
22744 * configure: Regenerated.
22745
7e1be741
L
22746 * elf/elf.h (DF_1_NODIRECT): New macro.
22747 (DF_1_IGNMULDEF): Likewise.
22748 (DF_1_NOKSYMS): Likewise.
22749 (DF_1_NOHDR): Likewise.
22750 (DF_1_EDITED): Likewise.
22751 (DF_1_NORELOC): Likewise.
22752 (DF_1_SYMINTPOSE): Likewise.
22753 (DF_1_GLOBAUDIT): Likewise.
22754 (DF_1_SINGLETON): Likewise.
22755 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22756 DT_1_SUPPORTED_MASK bits.
22757 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22758
105ce2ce
CD
227592012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22760
22761 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22762
123be9de
TS
227632012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22764
d072f3f7
TS
22765 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22766 macro.
22767
123be9de
TS
22768 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22769 (sendmmsg): Move declarations...
22770 * socket/sys/socket.h: ... here.
22771 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22772 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22773 include it from...
22774 * socket/recvmmsg.c: ... this new file.
22775 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22776 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22777 definition of __sendmmsg hidden.
22778 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22779 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22780 Move ENOSYS stub into and include it from...
22781 * socket/sendmmsg.c: ... this new file.
22782 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22783 (sysdep_routines): Move recvmmsg and sendmmsg...
22784 * socket/Makefile (routines): ... here.
22785 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22786 (GLIBC_PRIVATE): Add __sendmmsg.
22787 * include/sys/socket.h (__sendmmsg): Add declarations.
22788 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22789 sendmmsg.
22790
cf9a5d18
JM
227912012-11-20 Joseph Myers <joseph@codesourcery.com>
22792
22793 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22794 variable I1 with __attribute__ ((unused)).
22795 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22796
ecd4caf9
JM
227972012-11-19 Joseph Myers <joseph@codesourcery.com>
22798
be14d48f
JM
22799 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22800 DUMMY variables with __attribute__ ((unused)).
22801
ecd4caf9
JM
22802 * bits/byteswap.h: Include <bits/types.h>.
22803 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22804
986cab95
PT
228052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22806
22807 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22808 string_t. Do not manually set errno.
22809 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22810 length with __strnlen. Make sure to both set errno and return it on
22811 failure.
22812
6d33cc9d
DM
228132012-11-19 David S. Miller <davem@davemloft.net>
22814
22815 With help from Joseph Myers.
22816 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22817 very large arguments properly.
22818 * math/libm-test.inc (atan_test): New tests.
22819 (atan2_test): New tests.
22820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22822
ee663277
JM
228232012-11-19 Joseph Myers <joseph@codesourcery.com>
22824
877f2d8e
JM
22825 [BZ #14856]
22826 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22827 Define to 3.
22828
116fc08a
JM
22829 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22830 [POSIX] (EADDRNOTAVAIL): Likewise.
22831 [POSIX] (EAFNOSUPPORT): Likewise.
22832 [POSIX] (EALREADY): Likewise.
22833 [POSIX] (ECONNABORTED): Likewise.
22834 [POSIX] (ECONNREFUSED): Likewise.
22835 [POSIX] (ECONNRESET): Likewise.
22836 [POSIX] (EDESTADDRREQ): Likewise.
22837 [POSIX] (EDQUOT): Likewise.
22838 [POSIX] (EHOSTUNREACH): Likewise.
22839 [POSIX] (EIDRM): Likewise.
22840 [POSIX] (EISCONN): Likewise.
22841 [POSIX] (ELOOP): Likewise.
22842 [POSIX] (EMULTIHOP): Likewise.
22843 [POSIX] (ENETDOWN): Likewise.
22844 [POSIX] (ENETUNREACH): Likewise.
22845 [POSIX] (ENOBUFS): Likewise.
22846 [POSIX] (ENODATA): Likewise.
22847 [POSIX] (ENOLINK): Likewise.
22848 [POSIX] (ENOMSG): Likewise.
22849 [POSIX] (ENOPROTOOPT): Likewise.
22850 [POSIX] (ENOSR): Likewise.
22851 [POSIX] (ENOSTR): Likewise.
22852 [POSIX] (ENOTCONN): Likewise.
22853 [POSIX] (ENOTSOCK): Likewise.
22854 [POSIX] (EOPNOTSUPP): Likewise.
22855 [POSIX] (EOVERFLOW): Likewise.
22856 [POSIX] (EPROTO): Likewise.
22857 [POSIX] (EPROTONOSUPPORT): Likewise.
22858 [POSIX] (EPROTOTYPE): Likewise.
22859 [POSIX] (ESTALE): Likewise.
22860 [POSIX] (ETIME): Likewise.
22861 [POSIX] (ETXTBSY): Likewise.
22862 [POSIX] (EWOULDBLOCK): Likewise.
22863 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22864 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22865 [POSIX] (SEEK_CUR): Likewise.
22866 [POSIX] (SEEK_END): Likewise.
22867 [POSIX || UNIX98] (mode_t): Do not require.
22868 [POSIX] (off_t): Likewise.
22869 [POSIX] (pid_t): Likewise.
22870 [POSIX] (sys/stat.h): Do not allow header.
22871 [POSIX] (unistd.h): Likewise.
22872 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22873 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22874 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22875 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22876 require.
22877 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22878 sigevent): Specify elements.
22879 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22880 entry.
22881 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22882 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22883
a483863f
JM
22884 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22885 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22886 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22887 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22888 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22889 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22890 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22891 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22892 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22893 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22894 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22895 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22896 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22897 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22898 Likewise.
22899 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22900 Likewise.
22901 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22902 Likewise.
22903 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22904 Likewise.
22905 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22906 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22907 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22908 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22909 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22910 Specify lower bound on value.
22911 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22912 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22913 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22914 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22915 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22916 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22917 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22918 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22919 value.
22920 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22921 as optional.
22922 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22923 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22924 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22925 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22926 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22927 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22928 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22929 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22930 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22931 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22932 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22933 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22934 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22935 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22936 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22937 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22938 entry.
22939 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22940 optional.
22941 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22942 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22943 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22944 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22945 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22946 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22947 Likewise.
22948 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22949 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22950 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22951 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22952 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22953 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22954 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22955 as optional.
22956 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22957 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22958 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22959 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22960 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22961 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22962 specify as optional.
22963 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22964 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22965 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22966 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22967 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22968 [XPG3] (NL_LANGMAX): Likewise.
22969 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22970 [POSIX || XPG3] (NL_NMAX): Likewise.
22971 [POSIX || XPG3] (NL_SETMAX): Likewise.
22972 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22973 [XPG3] (NZERO): Likewise.
22974 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22975 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22976 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22977 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22978 (REG_ERANGE): Expect.
22979 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22980 optional-constant.
22981 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22982 Use (void) in prototype.
22983 [POSIX] (*_t): Allow.
22984 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22985 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22986 (WRDE_BADVAL): Expect.
22987
5ba924e3
JM
22988 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22989 expect.
22990 [XPG3 || XPG4] (O_RSYNC): Likewise.
22991 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22992 Likewise.
22993 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22994 [XPG3 || XPG4] (sigqueue): Likewise.
22995 [XPG3 || XPG4] (sigtimedwait): Likewise.
22996 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22997 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22998 [XPG3 || XPG4] (vsnprintf): Likewise.
22999 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23000 Likewise.
23001 [XPG3 || XPG4] (blksize_t): Likewise.
23002 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23003 Likewise.
23004 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23005 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23006 [XPG3 || XPG4] (struct itimerspec): Likewise.
23007 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23008 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23009 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23010 [XPG3 || XPG4] (clockid_t): Likewise.
23011 [XPG3 || XPG4] (timer_t): Likewise.
23012 [XPG3 || XPG4] (clock_getres): Likewise.
23013 [XPG3 || XPG4] (clock_gettime): Likewise.
23014 [XPG3 || XPG4] (clock_settime): Likewise.
23015 [XPG3 || XPG4] (nanosleep): Likewise.
23016 [XPG3 || XPG4] (timer_create): Likewise.
23017 [XPG3 || XPG4] (timer_delete): Likewise.
23018 [XPG3 || XPG4] (timer_gettime): Likewise.
23019 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23020 [XPG3 || XPG4] (timer_settime): Likewise.
23021 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23022 [XPG3 || XPG4] (getlogin_r): Likewise.
23023 [XPG3 || XPG4] (pread): Likewise.
23024 [XPG3 || XPG4] (pthread_atfork): Likewise.
23025 [XPG3 || XPG4] (pwrite): Likewise.
23026
ee663277
JM
23027 [BZ #14835]
23028 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23029 <bits/siginfo.h>.
23030
942caa16
PT
230312012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23032
e19af380
PT
23033 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23034 finalizing MALLSTREAM.
23035
942caa16
PT
23036 * sysdeps/mach/hurd/syncfs.c: New file.
23037
cfde9b46
SP
230382012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23039
23040 [BZ #14719]
23041 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23042 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23043 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23044 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23045 (_nss_dns_gethostbyname4_r): Likewise.
23046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23047 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23048
f6da27e5
PH
230492012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23050
23051 [BZ #13763]
23052 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23053
6665d4a2
SM
230542012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23055
1f51ee92
SM
23056 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23057 * elf/cache.c (print_entry): Print ",AArch64" for
23058 FLAG_AARCH64_LIB64
23059
6665d4a2
SM
23060 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23061 * elf/cache.c (print_entry): Print ",hard-float" for
23062 FLAG_ARM_LIBHF.
23063
05b227bd
DM
230642012-11-18 David S. Miller <davem@davemloft.net>
23065
23066 With help from Joseph Myers.
23067 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23068 cutoff to 2**-13.
23069 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23070 cutoff to 2**-25.
23071 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23072 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23073 small.
23074 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23075 * math/libm-test.inc (y0_test): New tests.
23076 (y1_test): New tests.
23077 * sysdeps/i386/fpu/libm-test-ulps: Update.
23078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23080
786b0b67
AS
230812012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23082
23083 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23084 64-bit targets.
23085 * configure: Regenerated.
23086
8e18b86d
DM
230872012-11-17 David S. Miller <davem@davemloft.net>
23088
23089 [BZ #14811]
23090 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23091 nonzero exponents with absolute value below 0x1p-128 to +/-
23092 0x1p-128.
23093
531f1ae0
JM
230942012-11-17 Joseph Myers <joseph@codesourcery.com>
23095
12df29e2
JM
23096 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23097
150dc1a0
JM
23098 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23099
531f1ae0
JM
23100 * posix/getconf-speclist.c: New file.
23101 * posix/posix-envs.def: Likewise.
23102 * posix/confstr.c (START_ENV_GROUP): New macro.
23103 (END_ENV_GROUP): Likewise.
23104 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23105 (KNOWN_PRESENT_ENV_STRING): Likewise.
23106 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23107 (UNKNOWN_ENVIRONMENT): Likewise.
23108 (confstr): Include posix-envs.def instead of handling
23109 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23110 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23111 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23112 (END_ENV_GROUP): Likewise.
23113 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23114 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23115 (UNKNOWN_ENVIRONMENT): Likewise.
23116 (__sysconf): Include posix-envs.def instead of handling associated
23117 cases directly here.
23118 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23119 preprocessing getconf-speclist.c rather than running getconf or
23120 generating empty file.
23121
a93f9cbc
PT
231222012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23123
23124 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23125
d64d9f87
AL
231262012-11-16 Andrej Lajovic <natrij@gmail.com>
23127
23128 [BZ #14672]
23129 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23130
447885eb
DM
231312012-11-16 David S. Miller <davem@davemloft.net>
23132
23133 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23134 smaller than LDBL_EPSILON/2.0L, just return xm1.
23135
bcbf9830
L
231362012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23137
23138 * elf/tst-array1.c (init): Set constructor priority to 1000.
23139 (fini): Set destructor priority to 1000.
23140 * elf/tst-array2dep.c: Likewise.
23141
2b766585
SP
231422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23143
23144 [BZ #11741]
23145 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23146 (_IO_new_file_xsputn): Also return EOF if none of the input
23147 data was written when overflow failed.
23148 * libio/iopadn.c (_IO_padn): Likewise.
23149 * libio/iowpadn.c (_IO_wpadn): Likewise.
23150 * stdio-common/tst-put-error.c: Add copyright notice.
23151 (do_test): Add case for printing padded string.
23152 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23153 _IO_padn returned error.
23154 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23155 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23156 return EOF.
23157
b1848fde
SP
231582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23159
23160 * libio/libioP.h: Add comment note that the references to C++
23161 bits are now obsolete.
23162
2fd89785
MS
231632012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23164
23165 * math/libm-test.inc (check_complex): Use asprintf.
23166
e3ea5409
JM
231672012-11-14 Joseph Myers <joseph@codesourcery.com>
23168
23169 * debug/pcprofiledump.c (print_version): Update copyright year.
23170 * malloc/memusagestat.c (print_version): Likewise.
23171
2e64d265
L
231722012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23173
23174 [BZ #14831]
23175 * elf/Makefile (tests): Add tst-audit8.
23176 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23177 ($(objpfx)tst-audit8.out): New target.
23178 (tst-audit8-ENV): New variable.
23179 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23180 audit if l_reloc_result is NULL.
23181 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23182 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23183 * elf/tst-audit8.c: New file.
23184
c485e4d2
MS
231852012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23186
23187 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23188 * misc/Makefile (CFLAGS-select.c): Define.
23189 * posix/Makefile (CFLAGS-pause.c): Define.
23190
3a0d900a
DM
231912012-11-13 David S. Miller <davem@davemloft.net>
23192
23193 * crypt/Makefile: Move test targets after toplevel Rules
23194 inclusion. Grab any necessary sysdep routines when linking.
23195 * crypt/md5.c (md5_process_block): Remove define, we will always
23196 name it __md5_process_block.
23197 (md5_finish_ctx): Update md5_process_block call.
23198 (md5_stream): Likewise.
23199 (md5_process_bytes): Likewise.
23200 (md5_process_block): Rename to __md5_process_block and move to ...
23201 * crypt/md5-block.c: ... here.
23202 * crypt/sha256.c (sha256_process_block): Move to ...
23203 * crypt/sha256-block.c: ... here.
23204 * crypt/sha512.c (sha512_process_block): Move to ...
23205 * crypt/sha512-block.c: ... here.
23206 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23207 path.
23208 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23209 * sysdeps/sparc/sparc64/multiarch/Makefile
23210 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23211 crypt subdir.
23212 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23213 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23214 multiarch changes.
23215 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23216 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23217 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23218 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23219 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23220 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23221 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23222 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23223 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23224 file.
23225 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23226 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23227 file.
23228 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23229
8ca89318
JM
232302012-11-13 Joseph Myers <joseph@codesourcery.com>
23231
e27d476a
JM
23232 * timezone/tzselect.ksh: Update from tzcode git revision
23233 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23234 * timezone/zdump.c: Likewise.
23235 * timezone/zic.c: Likewise.
23236 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23237 in TZVERSION setting, not $(PKGVERSION).
23238 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23239 REPORT_BUGS_TO settings.
23240
8ca89318
JM
23241 [BZ #14838]
23242 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23243 macro.
23244
47594329
MS
232452012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23246
23247 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23248 detection to immediately after _FP_ROUND().
23249 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23250 bits are 0.
23251
640ac3f1
DM
232522012-11-11 David S. Miller <davem@davemloft.net>
23253
23254 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23255 inttypes.h
23256 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23257 __close rather than their public counterparts.
23258
3d2577bb
JM
232592012-11-10 Joseph Myers <joseph@codesourcery.com>
23260
23261 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23262 file.
23263 [UNIX98] (sem_timedwait): Do not expect.
23264 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23265 [XPG4 || UNIX98] (sockatmark): Do not expect.
23266 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23267 (clock_getcpuclockid): Do not expect.
23268 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23269 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23270 Do not expect.
23271 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23272 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23273 [UNIX98] (vwscanf): Likewise.
23274 [UNIX98] (vswscanf): Likewise.
23275
fb1ae1ee
JM
232762012-11-09 Joseph Myers <joseph@codesourcery.com>
23277
9ec6f8bd
JM
23278 * timezone/version.h: Remove file.
23279 * timezone/README: Do not refer to version.h.
23280 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23281 $(objpfx)version.h.
23282 ($(objpfx)zdump.o): Likewise.
c3f81911 23283 ($(objpfx)version.h): New target.
9ec6f8bd 23284
0aa8f8a1
JM
23285 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23286 2012i.
23287 * timezone/README: Don't mention modification to tzselect.ksh.
23288 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23289 work on unmodified tzselect.ksh. Substitute version numbers in
23290 tzselect.ksh.
23291
4e87147f
JM
23292 * Makefile (format-me): Remove.
23293 (INSTALL): Adjust indentation. Use commands directly instead of
23294 using $(format-me).
23295
8b748aed
JM
23296 * aclocal.m4 (ACX_PKGVERSION): New macro.
23297 (ACX_BUGURL): Likewise.
23298 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23299 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23300 (REPORT_BUGS_TO): Likewise.
23301 * configure: Regenerated.
23302 * config.h.in (PKGVERSION): New macro.
23303 (REPORT_BUGS_TO): Likewise.
23304 * config.make.in (PKGVERSION): New variable.
23305 (PKGVERSION_TEXI): Likewise.
23306 (REPORT_BUGS_TO): Likewise.
23307 (REPORT_BUGS_TEXI): Likewise.
23308 * Makefile (format-me): Use -I$(common-objpfx)manual.
23309 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23310 ($(common-objpfx)manual/%): New target.
23311 (manual/%): Remove target.
23312 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23313 (print_version): Use PKGVERSION.
23314 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23315 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23316 and REPORT_BUGS_TO.
23317 ($(objpfx)xtrace): Likewise.
23318 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23319 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23320 (print_version): Use PKGVERSION.
23321 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23322 (do_version): Use PKGVERSION.
23323 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23324 REPORT_BUGS_TO.
23325 (common-ldd-rewrite): Likewise.
23326 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23327 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23328 (print_version): Use PKGVERSION.
23329 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23330 * elf/pldd.c (argp_program_bug_address): Remove variable.
23331 (more_help): New function.
23332 (argp): Use more_help.
23333 (print_version): Use PKGVERSION.
23334 * elf/sln.c (main): Use PKGVERSION.
23335 (usage): Use REPORT_BUGS_TO.
23336 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23337 (top level): Use PKGVERSION.
23338 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23339 (print_version): Use PKGVERSION.
23340 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23341 (print_version): Use PKGVERSION.
23342 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23343 (print_version): Use PKGVERSION.
23344 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23345 (print_version): Use PKGVERSION.
23346 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23347 (print_version): Use PKGVERSION.
23348 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23349 (print_version): Use PKGVERSION.
23350 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23351 and BUGURL.
23352 ($(objpfx)memusage): Likewise.
23353 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23354 (do_version): Use PKGVERSION.
23355 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23356 (print_version): Use PKGVERSION.
23357 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23358 ($PKGVERSION): New variable.
23359 ($REPORT_BUGS_TO): Likewise.
23360 (usage): Use $REPORT_BUGS_TO.
23361 (top level): Use $PKGVERSION.
23362 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23363 ($(objpfx)pkgvers.texi): New rule.
23364 ($(objpfx)stamp-pkgvers): Likewise.
23365 * manual/install.texi: Include pkgvers.texi.
23366 (--with-pkgversion): Document new configure option.
23367 (--with-bugurl): Likewise.
23368 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23369 than necessarily for this particular distribution. Use
23370 REPORT_BUGS_TO for where to report bugs.
23371 * INSTALL: Regenerated.
23372 * manual/libc.texinfo: Include pkgvers.texi.
23373 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23374 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23375 (print_version): Use PKGVERSION.
23376 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23377 (print_version): Use PKGVERSION.
23378 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23379 (print_version): Use PKGVERSION.
23380 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23381 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23382 macro.
23383 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23384 (print_version): Use PKGVERSION.
23385 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23386 (print_version): Use PKGVERSION.
23387 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23388 and PKGVERSION.
23389
92e4b6a9
JM
23390 * timezone/checktab.awk: Update from tzcode 2012i.
23391 * timezone/ialloc.c: Likewise.
23392 * timezone/private.h: Likewise.
23393 * timezone/scheck.c: Likewise.
23394 * timezone/tzfile.h: Likewise.
23395 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23396 (TZVERSION): Hardcode tzcode version number.
23397 * timezone/zdump.c: Update from tzcode 2012i.
23398 * timezone/zic.c: Likewise.
23399 * timezone/version.h: New file.
23400 * timezone/README: Describe version.h. Update upstream location.
23401
9bde902c
JM
23402 [BZ #14824]
23403 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23404 (mktemp): Enable declaration.
23405 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23406 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23408 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23409 Likewise.
23410 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23411 Likewise.
23412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23413 Likewise.
23414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23415 Likewise.
23416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23417 Likewise.
23418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23419 Likewise.
23420
fb1ae1ee
JM
23421 [BZ #14821]
23422 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23423 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23424 for copies of such integer values.
23425 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23426 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23427
2c1adbcb
AJ
234282012-11-09 Andreas Jaeger <aj@suse.de>
23429
23430 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23431 definitions and declarations that are provided by
23432 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23433
d0f8457e
AK
234342012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23435
3a235abb 23436 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
23437 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23438 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23439 definition.
23440
57241e26
MS
234412012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23442
23443 * elf/elf.h: Update comment before AArch64 relocations.
23444
60e8270d
DM
234452012-11-07 David S. Miller <davem@davemloft.net>
23446
23447 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23448 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23449 (__start_context): Declare.
23450 (__makecontext_ret): Delete.
23451 (__makecontext): Hook up __start_context instead of
23452 __makecontext_ret.
23453 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23454 (sysdep_routines): Add __start_context when in stdlib.
23455
0fbb0fbc
JM
234562012-11-07 Joseph Myers <joseph@codesourcery.com>
23457
23458 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23459 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23460 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23461 hardcoded "nm".
23462 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23463 (READELF): New variable. Use it instead of hardcoded "readelf".
23464
eb48db7e
L
234652012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23466
23467 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23468 * sysdeps/x86/Makefile: Here.
23469 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23470 * sysdeps/x86/tst-xmmymm.sh: This.
23471
05bcf62a
JM
234722012-11-07 Joseph Myers <joseph@codesourcery.com>
23473
c4b6cf53
JM
23474 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23475 expectations.
23476 [UNIX98] (pthread_barrier_t): Do not expect.
23477 [UNIX98] (pthread_barrierattr_t): Likewise.
23478 [UNIX98] (pthread_spinlock_t): Likewise.
23479 [UNIX98] (pthread_barrier_destroy): Likewise.
23480 [UNIX98] (pthread_barrier_init): Likewise.
23481 [UNIX98] (pthread_barrier_wait): Likewise.
23482 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23483 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23484 [UNIX98] (pthread_barrierattr_init): Likewise.
23485 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23486 [UNIX98] (pthread_getcpuclockid): Likewise.
23487 [UNIX98] (pthread_mutex_timedlock): Likewise.
23488 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23489 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23490 [UNIX98] (pthread_sigmask): Likewise.
23491 [UNIX98] (pthread_spin_destroy): Likewise.
23492 [UNIX98] (pthread_spin_init): Likewise.
23493 [UNIX98] (pthread_spin_lock): Likewise.
23494 [UNIX98] (pthread_spin_trylock): Likewise.
23495 [UNIX98] (pthread_spin_unlock): Likewise.
23496 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23497 Do not expect.
23498 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23499 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23500 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23501 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23502 [XPG3 || XPG4] (pthread_key_t): Likewise.
23503 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23504 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23505 [XPG3 || XPG4] (pthread_once_t): Likewise.
23506 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23507 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23508 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23509 [XPG3 || XPG4] (pthread_t): Likewise.
23510
cbe6e120
JM
23511 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23512 not expect.
23513 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23514
1b126443
JM
23515 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23516 Change function return type to int.
23517
b961a573
JM
23518 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23519 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23520 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23521 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23522 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23523 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23524 [!POSIX] (posix_madvise): Likewise.
23525 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23526 && !UNIX98].
23527 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23528 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23529 (mode_t): Likewise.
23530 (posix_mem_offset): Likewise.
23531 (posix_typed_mem_get_info): Likewise.
23532 (posix_typed_mem_open): Likewise.
23533
9e188909
JM
23534 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23535 Change condition to [XOPEN2K8].
23536
05bcf62a
JM
23537 * conform/conformtest.pl: Preprocess allow-header data with -x c
23538 instead of from stdin.
23539 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23540 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23541 [C99-based standards] (cerfc): Likewise.
23542 [C99-based standards] (cexp2): Likewise.
23543 [C99-based standards] (cexpm1): Likewise.
23544 [C99-based standards] (clog10): Likewise.
23545 [C99-based standards] (clog1p): Likewise.
23546 [C99-based standards] (clog2): Likewise.
23547 [C99-based standards] (clgamma): Likewise.
23548 [C99-based standards] (ctgamma): Likewise.
23549 [C99-based standards] (cerff): Likewise.
23550 [C99-based standards] (cerfcf): Likewise.
23551 [C99-based standards] (cexp2f): Likewise.
23552 [C99-based standards] (cexpm1f): Likewise.
23553 [C99-based standards] (clog10f): Likewise.
23554 [C99-based standards] (clog1pf): Likewise.
23555 [C99-based standards] (clog2f): Likewise.
23556 [C99-based standards] (clgammaf): Likewise.
23557 [C99-based standards] (ctgammaf): Likewise.
23558 [C99-based standards] (cerfl): Likewise.
23559 [C99-based standards] (cerfcl): Likewise.
23560 [C99-based standards] (cexp2l): Likewise.
23561 [C99-based standards] (cexpm1l): Likewise.
23562 [C99-based standards] (clog10l): Likewise.
23563 [C99-based standards] (clog1pl): Likewise.
23564 [C99-based standards] (clog2l): Likewise.
23565 [C99-based standards] (clgammal): Likewise.
23566 [C99-based standards] (ctgammal): Likewise.
23567 * conform/data/inttypes.h-data [C99-based standards]: Include
23568 stdint.h-data. Remove all expectations for stdint.h contents.
23569 [C99-based standards] (PRI*): Do not allow.
23570 [C99-based standards] (SCN*): Likewise.
23571 [C99-based standards] (*_t): Likewise.
23572 [C99-based-standards] (PRId8): Expect macro.
23573 [C99-based-standards] (PRIi8): Likewise.
23574 [C99-based-standards] (PRIo8): Likewise.
23575 [C99-based-standards] (PRIu8): Likewise.
23576 [C99-based-standards] (PRIx8): Likewise.
23577 [C99-based-standards] (PRIX8): Likewise.
23578 [C99-based-standards] (SCNd8): Likewise.
23579 [C99-based-standards] (SCNi8): Likewise.
23580 [C99-based-standards] (SCNo8): Likewise.
23581 [C99-based-standards] (SCNu8): Likewise.
23582 [C99-based-standards] (SCNx8): Likewise.
23583 [C99-based-standards] (PRIdLEAST8): Likewise.
23584 [C99-based-standards] (PRIiLEAST8): Likewise.
23585 [C99-based-standards] (PRIoLEAST8): Likewise.
23586 [C99-based-standards] (PRIuLEAST8): Likewise.
23587 [C99-based-standards] (PRIxLEAST8): Likewise.
23588 [C99-based-standards] (PRIXLEAST8): Likewise.
23589 [C99-based-standards] (SCNdLEAST8): Likewise.
23590 [C99-based-standards] (SCNiLEAST8): Likewise.
23591 [C99-based-standards] (SCNoLEAST8): Likewise.
23592 [C99-based-standards] (SCNuLEAST8): Likewise.
23593 [C99-based-standards] (SCNxLEAST8): Likewise.
23594 [C99-based-standards] (PRIdFAST8): Likewise.
23595 [C99-based-standards] (PRIiFAST8): Likewise.
23596 [C99-based-standards] (PRIoFAST8): Likewise.
23597 [C99-based-standards] (PRIuFAST8): Likewise.
23598 [C99-based-standards] (PRIxFAST8): Likewise.
23599 [C99-based-standards] (PRIXFAST8): Likewise.
23600 [C99-based-standards] (SCNdFAST8): Likewise.
23601 [C99-based-standards] (SCNiFAST8): Likewise.
23602 [C99-based-standards] (SCNoFAST8): Likewise.
23603 [C99-based-standards] (SCNuFAST8): Likewise.
23604 [C99-based-standards] (SCNxFAST8): Likewise.
23605 [C99-based-standards] (PRId16): Likewise.
23606 [C99-based-standards] (PRIi16): Likewise.
23607 [C99-based-standards] (PRIo16): Likewise.
23608 [C99-based-standards] (PRIu16): Likewise.
23609 [C99-based-standards] (PRIx16): Likewise.
23610 [C99-based-standards] (PRIX16): Likewise.
23611 [C99-based-standards] (SCNd16): Likewise.
23612 [C99-based-standards] (SCNi16): Likewise.
23613 [C99-based-standards] (SCNo16): Likewise.
23614 [C99-based-standards] (SCNu16): Likewise.
23615 [C99-based-standards] (SCNx16): Likewise.
23616 [C99-based-standards] (PRIdLEAST16): Likewise.
23617 [C99-based-standards] (PRIiLEAST16): Likewise.
23618 [C99-based-standards] (PRIoLEAST16): Likewise.
23619 [C99-based-standards] (PRIuLEAST16): Likewise.
23620 [C99-based-standards] (PRIxLEAST16): Likewise.
23621 [C99-based-standards] (PRIXLEAST16): Likewise.
23622 [C99-based-standards] (SCNdLEAST16): Likewise.
23623 [C99-based-standards] (SCNiLEAST16): Likewise.
23624 [C99-based-standards] (SCNoLEAST16): Likewise.
23625 [C99-based-standards] (SCNuLEAST16): Likewise.
23626 [C99-based-standards] (SCNxLEAST16): Likewise.
23627 [C99-based-standards] (PRIdFAST16): Likewise.
23628 [C99-based-standards] (PRIiFAST16): Likewise.
23629 [C99-based-standards] (PRIoFAST16): Likewise.
23630 [C99-based-standards] (PRIuFAST16): Likewise.
23631 [C99-based-standards] (PRIxFAST16): Likewise.
23632 [C99-based-standards] (PRIXFAST16): Likewise.
23633 [C99-based-standards] (SCNdFAST16): Likewise.
23634 [C99-based-standards] (SCNiFAST16): Likewise.
23635 [C99-based-standards] (SCNoFAST16): Likewise.
23636 [C99-based-standards] (SCNuFAST16): Likewise.
23637 [C99-based-standards] (SCNxFAST16): Likewise.
23638 [C99-based-standards] (PRId32): Likewise.
23639 [C99-based-standards] (PRIi32): Likewise.
23640 [C99-based-standards] (PRIo32): Likewise.
23641 [C99-based-standards] (PRIu32): Likewise.
23642 [C99-based-standards] (PRIx32): Likewise.
23643 [C99-based-standards] (PRIX32): Likewise.
23644 [C99-based-standards] (SCNd32): Likewise.
23645 [C99-based-standards] (SCNi32): Likewise.
23646 [C99-based-standards] (SCNo32): Likewise.
23647 [C99-based-standards] (SCNu32): Likewise.
23648 [C99-based-standards] (SCNx32): Likewise.
23649 [C99-based-standards] (PRIdLEAST32): Likewise.
23650 [C99-based-standards] (PRIiLEAST32): Likewise.
23651 [C99-based-standards] (PRIoLEAST32): Likewise.
23652 [C99-based-standards] (PRIuLEAST32): Likewise.
23653 [C99-based-standards] (PRIxLEAST32): Likewise.
23654 [C99-based-standards] (PRIXLEAST32): Likewise.
23655 [C99-based-standards] (SCNdLEAST32): Likewise.
23656 [C99-based-standards] (SCNiLEAST32): Likewise.
23657 [C99-based-standards] (SCNoLEAST32): Likewise.
23658 [C99-based-standards] (SCNuLEAST32): Likewise.
23659 [C99-based-standards] (SCNxLEAST32): Likewise.
23660 [C99-based-standards] (PRIdFAST32): Likewise.
23661 [C99-based-standards] (PRIiFAST32): Likewise.
23662 [C99-based-standards] (PRIoFAST32): Likewise.
23663 [C99-based-standards] (PRIuFAST32): Likewise.
23664 [C99-based-standards] (PRIxFAST32): Likewise.
23665 [C99-based-standards] (PRIXFAST32): Likewise.
23666 [C99-based-standards] (SCNdFAST32): Likewise.
23667 [C99-based-standards] (SCNiFAST32): Likewise.
23668 [C99-based-standards] (SCNoFAST32): Likewise.
23669 [C99-based-standards] (SCNuFAST32): Likewise.
23670 [C99-based-standards] (SCNxFAST32): Likewise.
23671 [C99-based-standards] (PRId64): Likewise.
23672 [C99-based-standards] (PRIi64): Likewise.
23673 [C99-based-standards] (PRIo64): Likewise.
23674 [C99-based-standards] (PRIu64): Likewise.
23675 [C99-based-standards] (PRIx64): Likewise.
23676 [C99-based-standards] (PRIX64): Likewise.
23677 [C99-based-standards] (SCNd64): Likewise.
23678 [C99-based-standards] (SCNi64): Likewise.
23679 [C99-based-standards] (SCNo64): Likewise.
23680 [C99-based-standards] (SCNu64): Likewise.
23681 [C99-based-standards] (SCNx64): Likewise.
23682 [C99-based-standards] (PRIdLEAST64): Likewise.
23683 [C99-based-standards] (PRIiLEAST64): Likewise.
23684 [C99-based-standards] (PRIoLEAST64): Likewise.
23685 [C99-based-standards] (PRIuLEAST64): Likewise.
23686 [C99-based-standards] (PRIxLEAST64): Likewise.
23687 [C99-based-standards] (PRIXLEAST64): Likewise.
23688 [C99-based-standards] (SCNdLEAST64): Likewise.
23689 [C99-based-standards] (SCNiLEAST64): Likewise.
23690 [C99-based-standards] (SCNoLEAST64): Likewise.
23691 [C99-based-standards] (SCNuLEAST64): Likewise.
23692 [C99-based-standards] (SCNxLEAST64): Likewise.
23693 [C99-based-standards] (PRIdFAST64): Likewise.
23694 [C99-based-standards] (PRIiFAST64): Likewise.
23695 [C99-based-standards] (PRIoFAST64): Likewise.
23696 [C99-based-standards] (PRIuFAST64): Likewise.
23697 [C99-based-standards] (PRIxFAST64): Likewise.
23698 [C99-based-standards] (PRIXFAST64): Likewise.
23699 [C99-based-standards] (SCNdFAST64): Likewise.
23700 [C99-based-standards] (SCNiFAST64): Likewise.
23701 [C99-based-standards] (SCNoFAST64): Likewise.
23702 [C99-based-standards] (SCNuFAST64): Likewise.
23703 [C99-based-standards] (SCNxFAST64): Likewise.
23704 [C99-based-standards] (PRIdMAX): Likewise.
23705 [C99-based-standards] (PRIiMAX): Likewise.
23706 [C99-based-standards] (PRIoMAX): Likewise.
23707 [C99-based-standards] (PRIuMAX): Likewise.
23708 [C99-based-standards] (PRIxMAX): Likewise.
23709 [C99-based-standards] (PRIXMAX): Likewise.
23710 [C99-based-standards] (SCNdMAX): Likewise.
23711 [C99-based-standards] (SCNiMAX): Likewise.
23712 [C99-based-standards] (SCNoMAX): Likewise.
23713 [C99-based-standards] (SCNuMAX): Likewise.
23714 [C99-based-standards] (SCNxMAX): Likewise.
23715 [C99-based-standards] (PRIdPTR): Likewise.
23716 [C99-based-standards] (PRIiPTR): Likewise.
23717 [C99-based-standards] (PRIoPTR): Likewise.
23718 [C99-based-standards] (PRIuPTR): Likewise.
23719 [C99-based-standards] (PRIxPTR): Likewise.
23720 [C99-based-standards] (PRIXPTR): Likewise.
23721 [C99-based-standards] (SCNdPTR): Likewise.
23722 [C99-based-standards] (SCNiPTR): Likewise.
23723 [C99-based-standards] (SCNoPTR): Likewise.
23724 [C99-based-standards] (SCNuPTR): Likewise.
23725 [C99-based-standards] (SCNxPTR): Likewise.
23726 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23727 allow.
23728 * conform/data/stdint.h-data: Update comments to clarify
23729 requirements.
23730 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23731 type.
23732 [C99-based standards] (INT8_MAX): Likewise.
23733 [C99-based standards] (INT16_MIN): Likewise.
23734 [C99-based standards] (INT16_MAX): Likewise.
23735 [C99-based standards] (INT32_MIN): Likewise.
23736 [C99-based standards] (INT32_MAX): Likewise.
23737 [C99-based standards] (INT64_MIN): Likewise.
23738 [C99-based standards] (INT64_MAX): Likewise.
23739 [C99-based standards] (UINT8_MAX): Likewise.
23740 [C99-based standards] (UINT16_MAX): Likewise.
23741 [C99-based standards] (UINT32_MAX): Likewise.
23742 [C99-based standards] (UINT64_MAX): Likewise.
23743 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23744 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23745 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23746 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23747 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23748 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23749 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23750 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23751 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23752 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23753 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23754 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23755 [C99-based standards] (INT_FAST8_MIN): Likewise.
23756 [C99-based standards] (INT_FAST8_MAX): Likewise.
23757 [C99-based standards] (INT_FAST16_MIN): Likewise.
23758 [C99-based standards] (INT_FAST16_MAX): Likewise.
23759 [C99-based standards] (INT_FAST32_MIN): Likewise.
23760 [C99-based standards] (INT_FAST32_MAX): Likewise.
23761 [C99-based standards] (INT_FAST64_MIN): Likewise.
23762 [C99-based standards] (INT_FAST64_MAX): Likewise.
23763 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23764 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23765 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23766 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23767 [C99-based standards] (INTPTR_MIN): Likewise.
23768 [C99-based standards] (INTPTR_MAX): Likewise.
23769 [C99-based standards] (UINTPTR_MAX): Likewise.
23770 [C99-based standards] (INTMAX_MIN): Likewise.
23771 [C99-based standards] (INTMAX_MAX): Likewise.
23772 [C99-based standards] (UINTMAX_MAX): Likewise.
23773 [C99-based standards] (PTRDIFF_MIN): Likewise.
23774 [C99-based standards] (PTRDIFF_MAX): Likewise.
23775 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23776 [C99-based standards] (SIZE_MAX): Likewise.
23777 [C99-based standards] (WCHAR_MAX): Likewise.
23778 [C99-based standards] (WINT_MAX): Likewise.
23779 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23780 constraint on value.
23781 [C99-based standards] (WCHAR_MIN): Likewise.
23782 [C99-based standards] (WINT_MIN): Likewise.
23783 [C99-based standards] (*_t): Allow.
23784 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23785 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23786 Include math.h-data and complex.h-data. Remove all expectations
23787 of math.h and complex.h contents.
23788 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23789 at end of line.
23790 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23791 (struct tm): Expect tag.
23792 [C99-based-standards] (wcstof): Expect function.
23793 [C99-based-standards] (wcstold): Likewise.
23794 [C99-based-standards] (wcstoll): Likewise.
23795 [C99-based-standards] (wcstoull): Likewise.
23796 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23797 macro-int-constant. Specify type.
23798 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23799 constraint on value.
23800 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23801 Specify type.
23802 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23803 Specify value.
23804 [ISO C standards]: Do not allow headers.
23805 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23806 wcs[abcdefghijklmnopqrstuvwxyz]*.
23807 [ISO C standards] (*_t): Do not allow.
23808 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23809 Expect function.
23810 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23811 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23812 Specify type.
23813 [ISO C standards]: Do not allow headers.
23814 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23815 is[abcdefghijklmnopqrstuvwxyz]*.
23816 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23817 to[abcdefghijklmnopqrstuvwxyz]*.
23818 [ISO C standards] (*_t): Do not allow.
23819 * conform/data/stdalign.h-data: New file.
23820 * conform/data/stdbool.h-data: Likewise.
23821 * conform/data/stdnoreturn.h-data: Likewise.
23822
7514feb8
RM
238232012-11-07 Roland McGrath <roland@hack.frob.com>
23824
23825 [BZ #14815]
23826 * manual/filesys.texi (Directory Entries): Typo fix.
23827 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23828
19b2ecfc
MS
238292012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23830
23831 * elf/elf.h (EM_AARCH64): New macro.
23832 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23833 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23834 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23835 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23836 (R_AARCH64_TLSDESC): Likewise.
23837 (NT_ARM_TLS): Likewise.
23838 (NT_ARM_HW_BREAK): Likewise.
23839 (NT_ARM_HW_WATCH): Likewise.
23840
60e235ee
JM
238412012-11-07 Joseph Myers <joseph@codesourcery.com>
23842
23843 [BZ #14811]
23844 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23845 (__ieee754_powl): Saturate nonzero exponents with absolute value
23846 below 0x1p-79 to +/- 0x1p-79.
23847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23848 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23849 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23850 nonzero exponents with absolute value below 0x1p-32 to +/-
23851 0x1p-32.
23852 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23853 (__ieee754_powl): Saturate nonzero exponents with absolute value
23854 below 0x1p-79 to +/- 0x1p-79.
23855 * math/libm-test.inc (pow_test): Add more tests.
23856
0ab234b7
AK
238572012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23858
23859 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23860 _dl_s390_cap_flags with kernel. Increase string length.
23861 (_dl_s390_platforms): Add z196 and zEC12.
23862
45832f74
JM
238632012-11-07 Joseph Myers <joseph@codesourcery.com>
23864
23865 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23866 Change XOPEN21K to XOPEN2K.
23867
19218757
MK
238682012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23869
23870 * string/memmove.c: Use memcpy when possible.
23871
c5f45721
AJ
238722012-11-06 Andreas Jaeger <aj@suse.de>
23873
23874 * po/eo.po: Update from translation team.
23875
82477c28
JM
238762012-11-06 Joseph Myers <joseph@codesourcery.com>
23877
23878 [BZ #14793]
23879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23880 exponent and small x and y exponents, scale x or y up. Increase
23881 by 2 the exponent used in scaling up.
23882 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23883 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23884 * math/libm-test.inc (fma_test): Add more tests.
23885 (fma_test_towardzero): Likewise.
23886 (fma_test_downward): Likewise.
23887 (fma_test_upward): Likewise.
23888
99252c8c
JM
238892012-11-05 Joseph Myers <joseph@codesourcery.com>
23890
acfa885f
JM
23891 [BZ #14805]
23892 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23893 fenv_t *.
23894
99252c8c
JM
23895 [BZ #14801]
23896 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23897 namespace for names of struct fields.
23898 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23899 fenv_t fields.
23900 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23901 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23902
d6d98dea
ST
239032012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23904
23905 [BZ #3665]
23906 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23907
e10bb107
TS
239082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23909
23910 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23911 PTR_DEMANGLE.
23912
23913 [BZ #5246]
23914 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23915 PTR_DEMANGLE.
23916
a0c2940d
JM
239172012-11-04 Joseph Myers <joseph@codesourcery.com>
23918
23919 [BZ #14797]
23920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23921 definitely overflow as x * y not x * y + z.
23922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23923 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23924 * math/libm-test.inc (fma_test): Add more tests.
23925 (fma_test_towardzero): Likewise.
23926 (fma_test_downward): Likewise.
23927 (fma_test_upward): Likewise.
23928
b830319d
TS
239292012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23930
23931 [BZ #157]
23932
23933 * include/stub-tag.h: Remove file.
23934 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23935 '#include' of it.
23936 * manual/maint.texi (Porting): Don't reference it.
23937 * Makerules ($(objpfx)stubs): Likewise.
23938 * dirent/closedir.c: Don't include <stub-tag.h>.
23939 * dirent/dirfd.c: Likewise.
23940 * dirent/fdopendir.c: Likewise.
23941 * dirent/getdents.c: Likewise.
23942 * dirent/getdents64.c: Likewise.
23943 * dirent/opendir.c: Likewise.
23944 * dirent/readdir.c: Likewise.
23945 * dirent/readdir64.c: Likewise.
23946 * dirent/readdir64_r.c: Likewise.
23947 * dirent/readdir_r.c: Likewise.
23948 * dirent/rewinddir.c: Likewise.
23949 * dirent/seekdir.c: Likewise.
23950 * dirent/telldir.c: Likewise.
23951 * gmon/profil.c: Likewise.
23952 * grp/setgroups.c: Likewise.
23953 * inet/if_index.c: Likewise.
23954 * io/access.c: Likewise.
23955 * io/chdir.c: Likewise.
23956 * io/chmod.c: Likewise.
23957 * io/chown.c: Likewise.
23958 * io/close.c: Likewise.
23959 * io/dup.c: Likewise.
23960 * io/dup2.c: Likewise.
23961 * io/dup3.c: Likewise.
23962 * io/euidaccess.c: Likewise.
23963 * io/faccessat.c: Likewise.
23964 * io/fchdir.c: Likewise.
23965 * io/fchmod.c: Likewise.
23966 * io/fchmodat.c: Likewise.
23967 * io/fchown.c: Likewise.
23968 * io/fchownat.c: Likewise.
23969 * io/fcntl.c: Likewise.
23970 * io/flock.c: Likewise.
23971 * io/fstatfs.c: Likewise.
23972 * io/fstatfs64.c: Likewise.
23973 * io/fstatvfs.c: Likewise.
23974 * io/fstatvfs64.c: Likewise.
23975 * io/futimens.c: Likewise.
23976 * io/fxstat.c: Likewise.
23977 * io/fxstat64.c: Likewise.
23978 * io/fxstatat.c: Likewise.
23979 * io/fxstatat64.c: Likewise.
23980 * io/getcwd.c: Likewise.
23981 * io/isatty.c: Likewise.
23982 * io/lchmod.c: Likewise.
23983 * io/lchown.c: Likewise.
23984 * io/link.c: Likewise.
23985 * io/linkat.c: Likewise.
23986 * io/lseek.c: Likewise.
23987 * io/lseek64.c: Likewise.
23988 * io/lxstat64.c: Likewise.
23989 * io/mkdir.c: Likewise.
23990 * io/mkdirat.c: Likewise.
23991 * io/mkfifo.c: Likewise.
23992 * io/mkfifoat.c: Likewise.
23993 * io/open.c: Likewise.
23994 * io/open64.c: Likewise.
23995 * io/openat.c: Likewise.
23996 * io/openat64.c: Likewise.
23997 * io/pipe.c: Likewise.
23998 * io/pipe2.c: Likewise.
23999 * io/poll.c: Likewise.
24000 * io/posix_fadvise.c: Likewise.
24001 * io/posix_fadvise64.c: Likewise.
24002 * io/posix_fallocate.c: Likewise.
24003 * io/posix_fallocate64.c: Likewise.
24004 * io/read.c: Likewise.
24005 * io/readlink.c: Likewise.
24006 * io/readlinkat.c: Likewise.
24007 * io/rmdir.c: Likewise.
24008 * io/sendfile.c: Likewise.
24009 * io/sendfile64.c: Likewise.
24010 * io/statfs.c: Likewise.
24011 * io/statfs64.c: Likewise.
24012 * io/statvfs.c: Likewise.
24013 * io/statvfs64.c: Likewise.
24014 * io/symlink.c: Likewise.
24015 * io/symlinkat.c: Likewise.
24016 * io/ttyname.c: Likewise.
24017 * io/ttyname_r.c: Likewise.
24018 * io/umask.c: Likewise.
24019 * io/unlink.c: Likewise.
24020 * io/unlinkat.c: Likewise.
24021 * io/utime.c: Likewise.
24022 * io/utimensat.c: Likewise.
24023 * io/write.c: Likewise.
24024 * io/xmknod.c: Likewise.
24025 * io/xmknodat.c: Likewise.
24026 * io/xstat.c: Likewise.
24027 * io/xstat64.c: Likewise.
24028 * login/getpt.c: Likewise.
24029 * login/grantpt.c: Likewise.
24030 * login/unlockpt.c: Likewise.
24031 * math/e_acoshl.c: Likewise.
24032 * math/e_acosl.c: Likewise.
24033 * math/e_asinl.c: Likewise.
24034 * math/e_atan2l.c: Likewise.
24035 * math/e_atanhl.c: Likewise.
24036 * math/e_coshl.c: Likewise.
24037 * math/e_expl.c: Likewise.
24038 * math/e_fmodl.c: Likewise.
24039 * math/e_gammal_r.c: Likewise.
24040 * math/e_hypotl.c: Likewise.
24041 * math/e_j0l.c: Likewise.
24042 * math/e_j1l.c: Likewise.
24043 * math/e_jnl.c: Likewise.
24044 * math/e_lgammal_r.c: Likewise.
24045 * math/e_log10l.c: Likewise.
24046 * math/e_log2l.c: Likewise.
24047 * math/e_logl.c: Likewise.
24048 * math/e_powl.c: Likewise.
24049 * math/e_rem_pio2l.c: Likewise.
24050 * math/e_sinhl.c: Likewise.
24051 * math/e_sqrtl.c: Likewise.
24052 * math/fclrexcpt.c: Likewise.
24053 * math/fedisblxcpt.c: Likewise.
24054 * math/feenablxcpt.c: Likewise.
24055 * math/fegetenv.c: Likewise.
24056 * math/fegetexcept.c: Likewise.
24057 * math/fegetround.c: Likewise.
24058 * math/feholdexcpt.c: Likewise.
24059 * math/fesetenv.c: Likewise.
24060 * math/fesetround.c: Likewise.
24061 * math/feupdateenv.c: Likewise.
24062 * math/fgetexcptflg.c: Likewise.
24063 * math/fraiseexcpt.c: Likewise.
24064 * math/fsetexcptflg.c: Likewise.
24065 * math/ftestexcept.c: Likewise.
24066 * math/k_cosl.c: Likewise.
24067 * math/k_rem_pio2l.c: Likewise.
24068 * math/k_sinl.c: Likewise.
24069 * math/k_tanl.c: Likewise.
24070 * math/s_asinhl.c: Likewise.
24071 * math/s_atanl.c: Likewise.
24072 * math/s_cbrtl.c: Likewise.
24073 * math/s_erfl.c: Likewise.
24074 * math/s_expm1l.c: Likewise.
24075 * math/s_log1pl.c: Likewise.
24076 * math/s_tanhl.c: Likewise.
24077 * misc/acct.c: Likewise.
24078 * misc/brk.c: Likewise.
24079 * misc/chflags.c: Likewise.
24080 * misc/chroot.c: Likewise.
24081 * misc/fchflags.c: Likewise.
24082 * misc/fgetxattr.c: Likewise.
24083 * misc/flistxattr.c: Likewise.
24084 * misc/fremovexattr.c: Likewise.
24085 * misc/fsetxattr.c: Likewise.
24086 * misc/fsync.c: Likewise.
24087 * misc/ftruncate.c: Likewise.
24088 * misc/futimes.c: Likewise.
24089 * misc/futimesat.c: Likewise.
24090 * misc/getdomain.c: Likewise.
24091 * misc/getdtsz.c: Likewise.
24092 * misc/gethostid.c: Likewise.
24093 * misc/gethostname.c: Likewise.
24094 * misc/getloadavg.c: Likewise.
24095 * misc/getpagesize.c: Likewise.
24096 * misc/getsysstats.c: Likewise.
24097 * misc/getxattr.c: Likewise.
24098 * misc/gtty.c: Likewise.
24099 * misc/ioctl.c: Likewise.
24100 * misc/lgetxattr.c: Likewise.
24101 * misc/listxattr.c: Likewise.
24102 * misc/llistxattr.c: Likewise.
24103 * misc/lremovexattr.c: Likewise.
24104 * misc/lsetxattr.c: Likewise.
24105 * misc/lutimes.c: Likewise.
24106 * misc/madvise.c: Likewise.
24107 * misc/mincore.c: Likewise.
24108 * misc/mlock.c: Likewise.
24109 * misc/mlockall.c: Likewise.
24110 * misc/mmap.c: Likewise.
24111 * misc/mprotect.c: Likewise.
24112 * misc/msync.c: Likewise.
24113 * misc/munlock.c: Likewise.
24114 * misc/munlockall.c: Likewise.
24115 * misc/munmap.c: Likewise.
24116 * misc/preadv.c: Likewise.
24117 * misc/preadv64.c: Likewise.
24118 * misc/ptrace.c: Likewise.
24119 * misc/pwritev.c: Likewise.
24120 * misc/pwritev64.c: Likewise.
24121 * misc/readv.c: Likewise.
24122 * misc/reboot.c: Likewise.
24123 * misc/remap_file_pages.c: Likewise.
24124 * misc/removexattr.c: Likewise.
24125 * misc/revoke.c: Likewise.
24126 * misc/select.c: Likewise.
24127 * misc/setdomain.c: Likewise.
24128 * misc/setegid.c: Likewise.
24129 * misc/seteuid.c: Likewise.
24130 * misc/sethostid.c: Likewise.
24131 * misc/sethostname.c: Likewise.
24132 * misc/setregid.c: Likewise.
24133 * misc/setreuid.c: Likewise.
24134 * misc/setxattr.c: Likewise.
24135 * misc/sstk.c: Likewise.
24136 * misc/stty.c: Likewise.
24137 * misc/swapoff.c: Likewise.
24138 * misc/swapon.c: Likewise.
24139 * misc/sync.c: Likewise.
24140 * misc/syncfs.c: Likewise.
24141 * misc/syscall.c: Likewise.
24142 * misc/truncate.c: Likewise.
24143 * misc/ualarm.c: Likewise.
24144 * misc/usleep.c: Likewise.
24145 * misc/ustat.c: Likewise.
24146 * misc/utimes.c: Likewise.
24147 * misc/vhangup.c: Likewise.
24148 * misc/writev.c: Likewise.
24149 * posix/_exit.c: Likewise.
24150 * posix/alarm.c: Likewise.
24151 * posix/execve.c: Likewise.
24152 * posix/fexecve.c: Likewise.
24153 * posix/fork.c: Likewise.
24154 * posix/fpathconf.c: Likewise.
24155 * posix/getaddrinfo.c: Likewise.
24156 * posix/getegid.c: Likewise.
24157 * posix/geteuid.c: Likewise.
24158 * posix/getgid.c: Likewise.
24159 * posix/getgroups.c: Likewise.
24160 * posix/getlogin.c: Likewise.
24161 * posix/getlogin_r.c: Likewise.
24162 * posix/getpgid.c: Likewise.
24163 * posix/getpid.c: Likewise.
24164 * posix/getppid.c: Likewise.
24165 * posix/getresgid.c: Likewise.
24166 * posix/getresuid.c: Likewise.
24167 * posix/getsid.c: Likewise.
24168 * posix/getuid.c: Likewise.
24169 * posix/glob64.c: Likewise.
24170 * posix/nanosleep.c: Likewise.
24171 * posix/pathconf.c: Likewise.
24172 * posix/pause.c: Likewise.
24173 * posix/posix_madvise.c: Likewise.
24174 * posix/pread.c: Likewise.
24175 * posix/pread64.c: Likewise.
24176 * posix/pwrite.c: Likewise.
24177 * posix/pwrite64.c: Likewise.
24178 * posix/sched_getaffinity.c: Likewise.
24179 * posix/sched_getp.c: Likewise.
24180 * posix/sched_gets.c: Likewise.
24181 * posix/sched_primax.c: Likewise.
24182 * posix/sched_primin.c: Likewise.
24183 * posix/sched_rr_gi.c: Likewise.
24184 * posix/sched_setaffinity.c: Likewise.
24185 * posix/sched_setp.c: Likewise.
24186 * posix/sched_sets.c: Likewise.
24187 * posix/sched_yield.c: Likewise.
24188 * posix/setgid.c: Likewise.
24189 * posix/setlogin.c: Likewise.
24190 * posix/setpgid.c: Likewise.
24191 * posix/setresgid.c: Likewise.
24192 * posix/setresuid.c: Likewise.
24193 * posix/setsid.c: Likewise.
24194 * posix/setuid.c: Likewise.
24195 * posix/sleep.c: Likewise.
24196 * posix/spawni.c: Likewise.
24197 * posix/sysconf.c: Likewise.
24198 * posix/times.c: Likewise.
24199 * posix/wait.c: Likewise.
24200 * posix/wait3.c: Likewise.
24201 * posix/wait4.c: Likewise.
24202 * posix/waitpid.c: Likewise.
24203 * resolv/gai_sigqueue.c: Likewise.
24204 * resource/getpriority.c: Likewise.
24205 * resource/getrlimit.c: Likewise.
24206 * resource/getrusage.c: Likewise.
24207 * resource/nice.c: Likewise.
24208 * resource/setpriority.c: Likewise.
24209 * resource/setrlimit.c: Likewise.
24210 * resource/ulimit.c: Likewise.
24211 * rt/aio_cancel.c: Likewise.
24212 * rt/aio_fsync.c: Likewise.
24213 * rt/aio_read.c: Likewise.
24214 * rt/aio_sigqueue.c: Likewise.
24215 * rt/aio_suspend.c: Likewise.
24216 * rt/aio_write.c: Likewise.
24217 * rt/clock_getres.c: Likewise.
24218 * rt/clock_gettime.c: Likewise.
24219 * rt/clock_nanosleep.c: Likewise.
24220 * rt/clock_settime.c: Likewise.
24221 * rt/lio_listio.c: Likewise.
24222 * rt/mq_close.c: Likewise.
24223 * rt/mq_getattr.c: Likewise.
24224 * rt/mq_notify.c: Likewise.
24225 * rt/mq_open.c: Likewise.
24226 * rt/mq_receive.c: Likewise.
24227 * rt/mq_send.c: Likewise.
24228 * rt/mq_setattr.c: Likewise.
24229 * rt/mq_timedreceive.c: Likewise.
24230 * rt/mq_timedsend.c: Likewise.
24231 * rt/mq_unlink.c: Likewise.
24232 * rt/shm_open.c: Likewise.
24233 * rt/shm_unlink.c: Likewise.
24234 * rt/timer_create.c: Likewise.
24235 * rt/timer_delete.c: Likewise.
24236 * rt/timer_getoverr.c: Likewise.
24237 * rt/timer_gettime.c: Likewise.
24238 * rt/timer_settime.c: Likewise.
24239 * setjmp/__longjmp.c: Likewise.
24240 * setjmp/setjmp.c: Likewise.
24241 * signal/kill.c: Likewise.
24242 * signal/killpg.c: Likewise.
24243 * signal/raise.c: Likewise.
24244 * signal/sigaction.c: Likewise.
24245 * signal/sigaltstack.c: Likewise.
24246 * signal/sigblock.c: Likewise.
24247 * signal/sigignore.c: Likewise.
24248 * signal/sigintr.c: Likewise.
24249 * signal/signal.c: Likewise.
24250 * signal/sigpause.c: Likewise.
24251 * signal/sigpending.c: Likewise.
24252 * signal/sigqueue.c: Likewise.
24253 * signal/sigreturn.c: Likewise.
24254 * signal/sigset.c: Likewise.
24255 * signal/sigsetmask.c: Likewise.
24256 * signal/sigstack.c: Likewise.
24257 * signal/sigsuspend.c: Likewise.
24258 * signal/sigtimedwait.c: Likewise.
24259 * signal/sigvec.c: Likewise.
24260 * signal/sigwait.c: Likewise.
24261 * signal/sigwaitinfo.c: Likewise.
24262 * signal/sysv_signal.c: Likewise.
24263 * socket/accept.c: Likewise.
24264 * socket/accept4.c: Likewise.
24265 * socket/bind.c: Likewise.
24266 * socket/connect.c: Likewise.
24267 * socket/getpeername.c: Likewise.
24268 * socket/getsockname.c: Likewise.
24269 * socket/getsockopt.c: Likewise.
24270 * socket/isfdtype.c: Likewise.
24271 * socket/listen.c: Likewise.
24272 * socket/recv.c: Likewise.
24273 * socket/recvfrom.c: Likewise.
24274 * socket/recvmsg.c: Likewise.
24275 * socket/send.c: Likewise.
24276 * socket/sendmsg.c: Likewise.
24277 * socket/sendto.c: Likewise.
24278 * socket/setsockopt.c: Likewise.
24279 * socket/shutdown.c: Likewise.
24280 * socket/sockatmark.c: Likewise.
24281 * socket/socket.c: Likewise.
24282 * socket/socketpair.c: Likewise.
24283 * stdio-common/ctermid.c: Likewise.
24284 * stdio-common/cuserid.c: Likewise.
24285 * stdio-common/remove.c: Likewise.
24286 * stdio-common/rename.c: Likewise.
24287 * stdio-common/renameat.c: Likewise.
24288 * stdio-common/tempname.c: Likewise.
24289 * stdlib/getcontext.c: Likewise.
24290 * stdlib/makecontext.c: Likewise.
24291 * stdlib/setcontext.c: Likewise.
24292 * stdlib/swapcontext.c: Likewise.
24293 * stdlib/system.c: Likewise.
24294 * streams/fattach.c: Likewise.
24295 * streams/fdetach.c: Likewise.
24296 * streams/getmsg.c: Likewise.
24297 * streams/getpmsg.c: Likewise.
24298 * streams/putmsg.c: Likewise.
24299 * streams/putpmsg.c: Likewise.
24300 * sysdeps/unix/bsd/getpt.c: Likewise.
24301 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24302 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24303 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24305 Likewise.
24306 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24307 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24308 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24309 * sysvipc/msgctl.c: Likewise.
24310 * sysvipc/msgget.c: Likewise.
24311 * sysvipc/msgrcv.c: Likewise.
24312 * sysvipc/msgsnd.c: Likewise.
24313 * sysvipc/semctl.c: Likewise.
24314 * sysvipc/semget.c: Likewise.
24315 * sysvipc/semop.c: Likewise.
24316 * sysvipc/semtimedop.c: Likewise.
24317 * sysvipc/shmat.c: Likewise.
24318 * sysvipc/shmctl.c: Likewise.
24319 * sysvipc/shmdt.c: Likewise.
24320 * sysvipc/shmget.c: Likewise.
24321 * termios/tcdrain.c: Likewise.
24322 * termios/tcflow.c: Likewise.
24323 * termios/tcflush.c: Likewise.
24324 * termios/tcgetattr.c: Likewise.
24325 * termios/tcgetpgrp.c: Likewise.
24326 * termios/tcsendbrk.c: Likewise.
24327 * termios/tcsetattr.c: Likewise.
24328 * termios/tcsetpgrp.c: Likewise.
24329 * time/adjtime.c: Likewise.
24330 * time/clock.c: Likewise.
24331 * time/getitimer.c: Likewise.
24332 * time/gettimeofday.c: Likewise.
24333 * time/setitimer.c: Likewise.
24334 * time/settimeofday.c: Likewise.
24335 * time/stime.c: Likewise.
24336 * time/time.c: Likewise.
24337
243382012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24339
a20492cf
PT
24340 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24341 /usr/old/bin.
24342
72e182e3
PT
24343 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24344 instead of spaces.
24345 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24346
fbeafede
JM
243472012-11-03 Joseph Myers <joseph@codesourcery.com>
24348
5b5b04d6
JM
24349 [BZ #14796]
24350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24351 FE_TONEAREST before applying Dekker multiplication and Knuth
24352 addition. Clear inexact exceptions and check for exact zero
24353 results afterwards.
24354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24355 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24356 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24357 * math/libm-test.inc (fma_test): Add more tests.
24358 (fma_test_towardzero): Likewise.
24359 (fma_test_downward): Likewise.
24360 (fma_test_upward): Likewise.
24361 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24362 function.
24363 (libc_fesetround): New macro.
24364 (libc_fesetroundf): Likewise.
24365 (libc_fesetroundl): Likewise.
24366 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24367 function.
24368 (libc_fesetround_387): Likewise.
24369 (libc_fesetroundf): New macro.
24370 (libc_fesetround): Likewise.
24371 (libc_fesetroundl): Likewise.
24372 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24373 function.
24374 (libc_fesetroundf): New macro.
24375 (libc_fesetround): Likewise.
24376 (libc_fesetroundl): Likewise.
24377 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24378 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24379 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24380 libm_hidden_ver.
24381 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24382 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24383 libm_hidden_def.
24384 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24385 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24386 libm_hidden_ver.
24387 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24388 libm_hidden_def.
24389
fbeafede
JM
24390 [BZ #3439]
24391 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24392 integer constant usable in #if and use that to give value to enum
24393 constant.
24394 (FE_DIVBYZERO): Likewise.
24395 (FE_UNDERFLOW): Likewise.
24396 (FE_OVERFLOW): Likewise.
24397 (FE_INVALID): Likewise.
24398 (FE_INVALID_SNAN): Likewise.
24399 (FE_INVALID_ISI): Likewise.
24400 (FE_INVALID_IDI): Likewise.
24401 (FE_INVALID_ZDZ): Likewise.
24402 (FE_INVALID_IMZ): Likewise.
24403 (FE_INVALID_COMPARE): Likewise.
24404 (FE_INVALID_SOFTWARE): Likewise.
24405 (FE_INVALID_SQRT): Likewise.
24406 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24407 (FE_TONEAREST): Likewise.
24408 (FE_TOWARDZERO): Likewise.
24409 (FE_UPWARD): Likewise.
24410 (FE_DOWNWARD): Likewise.
24411 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24412 (FE_DIVBYZERO): Likewise.
24413 (FE_OVERFLOW): Likewise.
24414 (FE_UNDERFLOW): Likewise.
24415 (FE_INEXACT): Likewise.
24416 (FE_TONEAREST): Likewise.
24417 (FE_DOWNWARD): Likewise.
24418 (FE_UPWARD): Likewise.
24419 (FE_TOWARDZERO): Likewise.
24420 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24421 (FE_UNDERFLOW): Likewise.
24422 (FE_OVERFLOW): Likewise.
24423 (FE_DIVBYZERO): Likewise.
24424 (FE_INVALID): Likewise.
24425 (FE_TONEAREST): Likewise.
24426 (FE_TOWARDZERO): Likewise.
24427 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24428 (FE_OVERFLOW): Likewise.
24429 (FE_UNDERFLOW): Likewise.
24430 (FE_DIVBYZERO): Likewise.
24431 (FE_INEXACT): Likewise.
24432 (FE_TONEAREST): Likewise.
24433 (FE_TOWARDZERO): Likewise.
24434 (FE_UPWARD): Likewise.
24435 (FE_DOWNWARD): Likewise.
24436 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24437 (FE_DIVBYZERO): Likewise.
24438 (FE_OVERFLOW): Likewise.
24439 (FE_UNDERFLOW): Likewise.
24440 (FE_INEXACT): Likewise.
24441 (FE_TONEAREST): Likewise.
24442 (FE_DOWNWARD): Likewise.
24443 (FE_UPWARD): Likewise.
24444 (FE_TOWARDZERO): Likewise.
24445
105ca950
CM
244462012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24447
24448 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24449
a542b389
AS
244502012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24451
24452 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24453 commands. Quote $PWD.
24454 (blacklist_exports): Don't use remove_newlines. Replace "declare
24455 -x" by "export".
24456 (remove_newlines): Remove.
24457
f62c8abc
L
244582012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24459
24460 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24461 * stdlib/stdlib.h (atof): Moved to ...
24462 * include/bits/stdlib-float.h: Here. New file.
24463 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24464 * stdlib/bits/stdlib-float.h: New file.
24465 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24466 -mno-sse -mno-mmx.
24467 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24468 <xmmintrin.h>.
24469
0155d5b2
JM
244702012-11-02 Joseph Myers <joseph@codesourcery.com>
24471
a68d0680
JM
24472 * conform/conformtest.pl (@headers): Add fenv.h.
24473 * conform/data/fenv.h-data: New file.
24474 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24475 include of <math/fenv.h>.
24476
caf7f573
JM
24477 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24478 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24479 && !UNIX98]. Enables tests for XOPEN2K8.
24480 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24481 POSIX2008]: Likewise.
24482
6c073ad6
JM
24483 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24484 (struct rusage): Do not expect type or its members.
24485
0155d5b2
JM
24486 [BZ #3439]
24487 * math/math.h (FP_NAN): Define macro to integer constant usable in
24488 #if and use that to give value to enum constant.
24489 (FP_INFINITE): Likewise.
24490 (FP_ZERO): Likewise.
24491 (FP_SUBNORMAL): Likewise.
24492 (FP_NORMAL): Likewise.
24493
b5dcacb4
AS
244942012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24495
24496 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24497 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24498 arguments.
24499
f7934be8
RM
245002012-11-02 Roland McGrath <roland@hack.frob.com>
24501
24502 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24503 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24504 autoconf-time if not.
24505 * configure.in: Remove AC_PREREQ.
24506
d7d08bde
TMQMF
245072012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24508
24509 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24510 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24511 of the internal implementation.
24512
dcdae19a
JM
245132012-11-02 Joseph Myers <joseph@codesourcery.com>
24514
24515 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24516 except include of <misc/sys/syslog.h>.
24517
d6cffd3e
AS
245182012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24519
24520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24521 function returns with a NULL context exit with zero.
24522
b3563932
TMQMF
245232012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24524
24525 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24526
b288a93d
L
245272012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24528
24529 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24530 (run_program_cmd): This.
24531 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24532 (tst_langinfo): New variable. Use it.
24533
a2421a68
SAS
245342012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24535
24536 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24537 floating point opcodes.
24538
6f796e1b
TS
245392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24540
7402596b
TS
24541 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24542 variable.
24543
d0d4f868
TS
24544 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24545
6f796e1b
TS
24546 * sysdeps/mach/hurd/powerpc: Remove directory.
24547 * sysdeps/mach/powerpc: Likewise.
24548
4da224a2
AS
245492012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24550
24551 * scripts/check-local-headers.sh: Ignore c++ headers.
24552
341dd673
TS
245532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24554
24555 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24556 __libc_cleanup_region_start argument.
24557
473611b2
JM
245582012-11-01 Joseph Myers <joseph@codesourcery.com>
24559
24560 [BZ #14784]
24561 [BZ #14785]
24562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24563 x * y using scaling, not as x * y + z.
24564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24565 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24566 * math/libm-test.inc (fma_test): Add more tests.
24567 (fma_test_towardzero): Likewise.
24568 (fma_test_downward): Likewise.
24569 (fma_test_upward): Likewise.
24570
4078da3d
TS
245712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24572
24573 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24574
903252aa
JM
245752012-10-31 Joseph Myers <joseph@codesourcery.com>
24576
24577 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24578 New variable.
24579
cbc818d0
TS
245802012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24581
24582 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24583
5a03cb1e
AS
245842012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24585
24586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24587 Fix sort order.
24588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24589 Likewise.
24590
90aff2ff
TMQMF
245912012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24592
24593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24594 Fix the order of the list for glibc 2.17.
24595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24596 Likewise.
24597
1818fcb7
AS
245982012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24599
24600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24601
ef82f4da
JM
246022012-10-31 Joseph Myers <joseph@codesourcery.com>
24603
16a0e2ec
JM
24604 [BZ #14610]
24605 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24606 for low part of x being zero before using __atanl (y).
24607 * math/libm-test.inc (atan2_test): Add another test.
24608
0eb69512
JM
24609 * manual/install.texi (Configuring and compiling): Document
24610 general use of test-wrapper and test-wrapper-env.
24611 * INSTALL: Regenerated.
24612
ef82f4da
JM
24613 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24614 (__fma): Do not extract and scale down low bits on after-rounding
24615 systems when result rounded to normal precision would have normal
24616 exponent.
24617 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24618 (__fmal): Do not extract and scale down low bits on after-rounding
24619 systems when result rounded to normal precision would have normal
24620 exponent.
24621 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24622 (__fmal): Do not extract and scale down low bits on after-rounding
24623 systems when result rounded to normal precision would have normal
24624 exponent.
24625 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24626 macro.
24627 (fma_test): Add more tests.
24628 (fma_test_towardzero): Likewise.
24629 (fma_test_downward): Likewise.
24630 (fma_test_upward): Likewise.
24631
954ef0d9
L
246322012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24633
24634 * sysdeps/i386/tininess.h: Renamed to ...
24635 * sysdeps/x86/tininess.h: This.
24636 * sysdeps/x86_64/tininess.h: Removed.
24637
df61ffb2
JM
246382012-10-30 Joseph Myers <joseph@codesourcery.com>
24639
24640 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24641 input. Use $(build-program-cmd).
24642 ($(objpfx)tst-array1-static.out): Likewise.
24643 ($(objpfx)tst-array2.out): Likewise.
24644 ($(objpfx)tst-array3.out): Likewise.
24645 ($(objpfx)tst-array4.out): Likewise.
24646 ($(objpfx)tst-array5.out): Likewise.
24647 ($(objpfx)tst-array5-static.out): Likewise.
24648
01767843
CM
246492012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24650
47cc1490
CM
24651 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24652 if defined.
24653
01767843
CM
24654 * nss/nsswitch.h (nss_interface_function): Provide new
24655 macro for use with NSS functions.
24656 * grp/initgroups.c: Use new macro.
24657 * nss/getXXbyYY.c: Likewise.
24658 * nss/getXXbyYY_r.c: Likewise.
24659 * nss/getXXent.c: Likewise.
24660 * nss/getXXent_r.c: Likewise.
24661 * sysdeps/posix/getaddrinfo.c: Likewise.
24662
8321aa97
AJ
246632012-10-30 Andreas Jaeger <aj@suse.de>
24664
24665 * po/ru.po: Update Russion translation from translation project.
24666
2a27fd6d
JM
246672012-10-30 Joseph Myers <joseph@codesourcery.com>
24668
8627a232
JM
24669 [BZ #14152]
24670 [BZ #14783]
24671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24672 result and shift together with sticky bit instead of replicating
24673 round-to-nearest rounding.
24674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24675 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24676 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24677 missing underflow exceptions.
24678 (fma_test_towardzero): Add more tests.
24679 (fma_test_downward): Likewise.
24680 (fma_test_upward): Likewise.
24681
2a27fd6d
JM
24682 [BZ #14047]
24683 * sysdeps/generic/tininess.h: New file.
24684 * sysdeps/i386/tininess.h: Likewise.
24685 * sysdeps/sh/tininess.h: Likewise.
24686 * sysdeps/x86_64/tininess.h: Likewise.
24687 * stdlib/tst-strtod-underflow.c: Likewise.
24688 * stdlib/tst-tininess.c: Likewise.
24689 * stdlib/strtod_l.c: Include <tininess.h>.
24690 (round_and_return): Do not set errno for exact underflow cases.
24691 Force an underflow exception when setting errno for underflow.
24692 Determine underflow based on rounding to normal precision if
24693 TININESS_AFTER_ROUNDING.
24694 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24695 ERANGE for exact underflow cases.
24696 * stdlib/Makefile (tests): Add tst-tininess and
24697 tst-strtod-underflow.
24698 ($(objpfx)tst-tininess): Use $(link-libm).
24699 ($(objpfx)tst-strtod-underflow): Likewise.
24700
e7170363
AJ
247012012-10-30 Andreas Jaeger <aj@suse.de>
24702
e5088dc6
AJ
24703 [BZ#14767]
24704 * elf/Makefile (tests): Remove conditional for have-initfini-array
24705 since this is now always required and the variable does not exist
24706 anymore.
24707 (tests-static): Likewise.
24708 (modules-names): Likewise.
24709
e7170363 24710 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24711
24712 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24713 merged with constructor/destructor.
24714 (init_array): Likewise.
24715 * elf/tst-array2dep.c (fini_array): Likewise.
24716 (init_array): Likewise.
24717
60457d8a
MF
247182012-10-29 Mike Frysinger <vapier@gentoo.org>
24719
24720 * manual/message.texi: Delete @cartouche tags.
24721
8bece752
PT
247222012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24723
94ce799f
PT
24724 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24725 EOPNOTSUPP.
24726 * sysdeps/mach/hurd/fsync.c: Likewise.
24727
8bece752
PT
24728 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24729 [_POSIX_REALTIME_SIGNALS]: Change condition to
24730 [_POSIX_REALTIME_SIGNALS > 0].
24731
86ebe6b1
AJ
247322012-10-27 Andreas Jaeger <aj@suse.de>
24733
24734 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24735 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24737 [__WORDSIZE != 64]: Likewise.
24738
54399c08
L
247392012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24740
24741 * iconvdata/tst-table.sh: Remove ${SHELL}.
24742 * iconvdata/tst-tables.sh: Likewise.
24743
e2211bed
DM
247442012-10-25 David S. Miller <davem@davemloft.net>
24745
24746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24747 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24748 of strtoull.
24749
f303f97c
DM
24750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24751 ifunc-impl-list.c
24752 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24753 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24754 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24755 file.
24756
1e9d84cd
RM
247572012-10-25 Roland McGrath <roland@hack.frob.com>
24758
24759 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24760 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24761 __getdirentries.
24762
df381762
JM
247632012-10-25 Joseph Myers <joseph@codesourcery.com>
24764 Jim Blandy <jimb@codesourcery.com>
24765
24766 * scripts/cross-test-ssh.sh: New file.
24767 * manual/install.texi (Configuring and compiling): Document use of
24768 cross-test-ssh.sh.
24769 * INSTALL: Regenerated.
24770
bff64913
PT
247712012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24772
24773 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24774 EOPNOTSUPP.
24775
25fe8932
JM
247762012-10-25 Joseph Myers <joseph@codesourcery.com>
24777
24778 * Makeconfig (run-program-prefix): Fix comment.
24779
cc1290d0
JM
247802012-10-24 Joseph Myers <joseph@codesourcery.com>
24781 Jim Blandy <jimb@codesourcery.com>
24782
24783 * Makeconfig (test-wrapper): New variable,
24784 (test-wrapper-env): Likewise.
24785 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24786 (run-built-tests): Define to yes.
24787 (run-program-prefix): Use $(test-wrapper).
24788 (built-program-cmd): Likewise.
24789 * Rules (make-test-out): Use $(test-wrapper-env) and
24790 $(host-built-program-cmd).
24791 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24792 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24793 tst-pathopt.sh.
24794 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24795 $(test-wrapper-env) to tst-rtld-load-self.sh.
24796 ($(objpfx)order2.out): Use $(test-wrapper).
24797 ($(objpfx)tst-initorder.out): Likewise.
24798 ($(objpfx)tst-initorder2.out): Likewise.
24799 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24800 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24801 (test_wrapper_env): New variable. Use it to run ld.so.
24802 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24803 Use it to run ld.so.
24804 (test_wrapper_env): Likewise.
24805 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24806 $(test-wrapper) to run-iconv-test.sh.
24807 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24808 (ICONV): Use $test_wrapper.
24809 * posix/Makefile ($(objpfx)globtest.out): Pass
24810 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24811 globtest.sh, not $(run-program-prefix).
24812 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24813 (test_wrapper): Likewise.
24814 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24815 set together with run_via_rtld_prefix.
24816 (run_program_prefix): Define in terms of test_wrapper and
24817 run_via_rtld_prefix.
24818
6e6249d0
RM
248192012-10-24 Roland McGrath <roland@hack.frob.com>
24820
24821 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24822 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24823 Targets removed.
24824
24825 [BZ #14743]
24826 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24827 Declare __clock_getres, __clock_gettime, __clock_settime,
24828 __clock_nanosleep, and __clock_getcpuclockid.
24829 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24830 Remove librt_hidden_def (clock_gettime).
24831 * sysdeps/unix/clock_gettime.c: Likewise.
24832 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24833 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24834 * rt/clock_getres.c: Define __clock_getres as an alias.
24835 * sysdeps/posix/clock_getres.c: Likewise.
24836 * rt/clock_settime.c: Define __clock_settime as an alias.
24837 * sysdeps/unix/clock_settime.c: Likewise.
24838 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24839 * sysdeps/unix/clock_nanosleep.c: Likewise.
24840 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24841 * rt/clock-compat.c: New file.
24842 * rt/Makefile (librt-routines): Add clock-compat and move
24843 $(clock-routines) to ...
24844 (routines): ... here, new variable.
24845 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24846 Don't add get_clockfreq here.
24847 * rt/Versions (libc: GLIBC_2.17): New version set.
24848 Add clock_* symbols here.
24849 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24850 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24851 (GLIBC_2.17): Add clock_* symbols.
24852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24854 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24856 Likewise.
24857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24858 Likewise.
24859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24863 * NEWS: Mention the move.
24864
24865 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24866 Use __open, __read, __close rather than their public counterparts.
24867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24868 (__get_clockfreq_via_cpuinfo): Likewise.
24869 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24870 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24871
24872 * config.h.in (HAVE_IFUNC): New #undef.
24873 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24874 was successful.
24875 * configure: Regenerated.
24876
0cae3f4b
MF
248772012-10-24 Mike Frysinger <vapier@gentoo.org>
24878
24879 * configure.in: Move READELF check to start of file.
24880 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24881 libc_cv_asm_gnu_indirect_function in the process.
24882 * configure: Regenerated.
24883
8175a253
MF
248842012-10-24 Mike Frysinger <vapier@gentoo.org>
24885
24886 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24887 send the output to /dev/null.
24888 (libc_cv_cc_with_libunwind): Likewise.
24889 (libc_cv_as_noexecstack): Likewise.
24890 * configure: Regenerate.
24891
0708a7d1
JM
248922012-10-24 Joseph Myers <joseph@codesourcery.com>
24893
10b40d85
JM
24894 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24895
0708a7d1
JM
24896 * posix/globtest.sh (TMPDIR): Do not set.
24897 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24898 (testout): Likewise.
24899
9fddec1a
AJ
249002012-10-24 Andreas Jaeger <aj@suse.de>
24901
3a8db22f
AJ
24902 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24903 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24904 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24905 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24906 posix_fadvise64, posix_fallocate64.
24907
9fddec1a
AJ
24908 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24909 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24910 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24911 Likewise.
24912 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24913 Likewise.
24914 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24915
24916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24917 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24918 <bits/fcntl-linux.h>.
24919 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24920
24921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24922 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24923 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24924 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24925 [__WORDSIZE != 64]: Likewise.
24926
ebfd1bbd
JM
249272012-10-23 Joseph Myers <joseph@codesourcery.com>
24928
03ac099f
JM
24929 * Makeconfig (run-built-tests): New variable.
24930 * Rules [$(cross-compiling) = yes]: Change condition to
24931 [$(run-built-tests) = no].
24932 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24933 to [$(run-built-tests) = yes].
24934 * elf/Makefile [$(cross-compiling) = no]: Likewise
24935 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24936 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24937 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24938 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24939 * io/Makefile [$(cross-compiling) = no]: Likewise.
24940 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24941 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24942 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24943 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24944 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24945 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24946 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24947 * string/Makefile [$(cross-compiling) = no]: Likewise.
24948
ebfd1bbd
JM
24949 * posix/Makefile ($(objpfx)globtest.out): Pass
24950 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24951 $(rtld-installed-name).
24952 * posix/globtest.sh (elf_objpfx): Remove variable.
24953 (rtld_installed_name): Likewise.
24954 (library_path): Likewise.
24955 (run_program_prefix): New variable. Use for running globtest
24956 binary.
24957
166bca24
JB
249582012-10-23 Jim Blandy <jimb@codesourcery.com>
24959 Joseph Myers <joseph@codesourcery.com>
24960
24961 * Makeconfig (host-built-program-cmd): New variable.
24962 * elf/Makefile (tst-stackguard1-ARGS): Use
24963 $(host-built-program-cmd).
24964 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24965 (tst-spawn-ARGS): Likewise.
24966 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24967
88866099
JM
249682012-10-23 Joseph Myers <joseph@codesourcery.com>
24969 Jim Blandy <jimb@codesourcery.com>
24970
24971 * Makeconfig (run-via-rtld-prefix): New variable.
24972 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24973 (built-program-cmd): Likewise.
24974
b4b4c296
AJ
249752012-10-22 Andreas Jaeger <aj@suse.de>
24976
24977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24978 __O_RSYNC if it exists, otherwise to O_SYNC.
24979
6fb54a22
JB
249802012-10-22 Jim Blandy <jimb@codesourcery.com>
24981 Joseph Myers <joseph@codesourcery.com>
24982
24983 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24984 /dev/null.
24985 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24986 from /dev/null
24987 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24988 /dev/null.
24989
481b90b9
AJ
249902012-10-22 Andreas Jaeger <aj@suse.de>
24991
2a0e2669
AJ
24992 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24993 Define always.
24994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24995
76e38f9a
AJ
24996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24997 bits/fcntl-linux.h.
24998
7cd37b43
AJ
24999 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25000 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25001
481b90b9
AJ
25002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25003 to __O_LARGEFILE.
25004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25005 to __O_LARGEFILE.
25006
aba75984
JB
250072012-10-21 Jim Blandy <jimb@codesourcery.com>
25008 Joseph Myers <joseph@codesourcery.com>
25009
25010 * config.make.in (NM): New variable.
25011
88d4247f
AJ
250122012-10-21 Andreas Jaeger <aj@suse.de>
25013
25014 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25015 definitions and declarations that are provided by
25016 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25017
f2eed205
L
250182012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25019
25020 [BZ #14683]
25021 * elf/Makefile (tests-static): Add tst-leaks1-static.
25022 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25023 ($(objpfx)tst-leaks1-static): New rule.
25024 ($(objpfx)tst-leaks1-static-mem): Likewise.
25025 (tst-leaks1-static-ENV): New macro.
25026 * elf/dl-open.c (dl_open_worker): Check the main application
25027 only if SHARED is defined.
25028 * elf/tst-leaks1-static.c: New file.
25029
335e6931
AJ
250302012-10-20 Andreas Jaeger <aj@suse.de>
25031
25032 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25033 generic values for Linux.
25034 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25035 and declarations that are provided by <bits/fcntl-linux.h> and
25036 include <bits/fcntl-linux.h>.
25037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25038 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25039
ac5c94d3
RM
250402012-10-20 Roland McGrath <roland@hack.frob.com>
25041
25042 * io/fcntl.h: Move include of <bits/types.h> to the top and
25043 include it unconditionally.
25044
de54b33a
L
250452012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25046
228cfb01
L
25047 * wcsmbs/Makefile (tests-ifunc): New variable.
25048 (tests): Add $(tests-ifunc).
25049 * wcsmbs/test-wcschr-ifunc.c: New file.
25050 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25051 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25052 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25053 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25054 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25055
69f07e5f
L
25056 * string/Makefile (tests-ifunc): New variable.
25057 (tests): Add $(tests-ifunc).
25058 * string/test-memccpy.c (TEST_NAME): New macro.
25059 * string/test-memchr.c (TEST_NAME): Likewise.
25060 * string/test-memcmp.c (TEST_NAME): Likewise.
25061 * string/test-memcpy.c (TEST_NAME): Likewise.
25062 * string/test-memmem.c (TEST_NAME): Likewise.
25063 * string/test-memmove.c (TEST_NAME): Likewise.
25064 * string/test-memset.c (TEST_NAME): Likewise.
25065 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25066 * string/test-stpcpy.c (TEST_NAME): Likewise.
25067 * string/test-stpncpy.c (TEST_NAME): Likewise.
25068 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25069 * string/test-strcasestr.c (TEST_NAME): Likewise.
25070 * string/test-strcat.c (TEST_NAME): Likewise.
25071 * string/test-strchr.c (TEST_NAME): Likewise.
25072 * string/test-strcmp.c(TEST_NAME): Likewise.
25073 * string/test-strcpy.c (TEST_NAME): Likewise.
25074 * string/test-strcspn.c (TEST_NAME): Likewise.
25075 * string/test-strlen.c (TEST_NAME): Likewise.
25076 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25077 * string/test-strncmp.c (TEST_NAME): Likewise.
25078 * string/test-strncpy.c (TEST_NAME): Likewise.
25079 * string/test-strnlen.c (TEST_NAME): Likewise.
25080 * string/test-strpbrk.c (TEST_NAME): Likewise.
25081 * string/test-strrchr.c (TEST_NAME): Likewise.
25082 * string/test-strspn.c (TEST_NAME): Likewise.
25083 * string/test-strstr.c (TEST_NAME): Likewise.
25084 * string/test-bcopy-ifunc.c: New file.
25085 * string/test-bzero-ifunc.c: Likewise.
25086 * string/test-memccpy-ifunc.c: Likewise.
25087 * string/test-memchr-ifunc.c: Likewise.
25088 * string/test-memcmp-ifunc.c: Likewise.
25089 * string/test-memcpy-ifunc.c: Likewise.
25090 * string/test-memmem-ifunc.c: Likewise.
25091 * string/test-memmove-ifunc.c: Likewise.
25092 * string/test-mempcpy-ifunc.c: Likewise.
25093 * string/test-memset-ifunc.c: Likewise.
25094 * string/test-rawmemchr-ifunc.c: Likewise.
25095 * string/test-stpcpy-ifunc.c: Likewise.
25096 * string/test-stpncpy-ifunc.c: Likewise.
25097 * string/test-strcasecmp-ifunc.c: Likewise.
25098 * string/test-strcasestr-ifunc.c: Likewise.
25099 * string/test-strcat-ifunc.c: Likewise.
25100 * string/test-strchr-ifunc.c: Likewise.
25101 * string/test-strchrnul-ifunc.c: Likewise.
25102 * string/test-strcmp-ifunc.c: Likewise.
25103 * string/test-strcpy-ifunc.c: Likewise.
25104 * string/test-strcspn-ifunc.c: Likewise.
25105 * string/test-strlen-ifunc.c: Likewise.
25106 * string/test-strncasecmp-ifunc.c: Likewise.
25107 * string/test-strncat-ifunc.c: Likewise.
25108 * string/test-strncmp-ifunc.c: Likewise.
25109 * string/test-strncpy-ifunc.c: Likewise.
25110 * string/test-strnlen-ifunc.c: Likewise.
25111 * string/test-strpbrk-ifunc.c: Likewise.
25112 * string/test-strrchr-ifunc.c: Likewise.
25113 * string/test-strspn-ifunc.c: Likewise.
25114 * string/test-strstr-ifunc.c: Likewise.
25115
de54b33a
L
25116 * debug/Makefile (tests-ifunc): New variable.
25117 (tests): Add $(tests-ifunc).
25118 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25119 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25120 * debug/test-stpcpy_chk-ifunc.c: New file.
25121 * debug/test-strcpy_chk-ifunc.c: Likewise.
25122
88481c16
SP
251232012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25124
25125 [BZ #13601]
25126 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25127 header is not read in.
25128
135948bd
JM
251292012-10-19 Joseph Myers <joseph@codesourcery.com>
25130
89f1c388
JM
25131 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25132 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25133 directly. Pass built executable to script as
25134 $(built-program-cmd).
25135 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25136 $testprogram without using LD_LIBRARY_PATH and $ldso.
25137
e40a0d21
JM
25138 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25139 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25140 $(rtld-installed-name).
25141 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25142 (rtld_installed_name): Likewise.
25143 (library_path): Likewise.
25144 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25145 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25146 $(run-program-prefix) to tst-tables.sh.
25147 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25148 it to run tst-table-from and tst-table-to.
25149 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25150 Pass it to tst-table.sh.
25151 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25152 $(run-program-prefix) to tst-gettext.sh.
25153 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25154 tst-translit.sh.
25155 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25156 tst-gettext2.sh.
25157 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25158 to run tst-gettext.
25159 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25160 to run tst-gettext2.
25161 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25162 to run tst-translit.
25163 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25164 $(run-program-prefix) to tst-mtrace.sh.
25165 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25166 to run tst-mtrace.
25167 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25168 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25169 $(rtld-installed-name).
25170 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25171 (rtld_installed_name): Likewise.
25172 (run_program_prefix): New variable. Use it to run wordexp-test.
25173
728e272a
JM
25174 * Makeconfig (ARCH): Remove all definitions.
25175 (machine): Likewise.
25176 [ARCH]: Remove conditional code.
25177 [!objdir]: Give error.
25178 [!objdir] (objpfx): Remove.
25179 [!objdir] (common-objpfx): Likewise.
25180 [!objdir] (common-objdir): Likewise.
25181 * configure.in (config_makefile): Remove. Hardcode Makefile in
25182 AC_CONFIG_FILES call.
25183 * configure: Regenerated.
25184
d528cdcf
JM
25185 [BZ #13888]
25186 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25187 or TMPDIR.
25188 (testout): Likewise.
25189
135948bd
JM
25190 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25191 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25192 $(rtld-installed-name).
25193 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25194 (rtld_installed_name): Likwise.
25195 (runit): Remove function.
25196 (run_getconf): New variable, Use it for running getconf binary.
25197
38c78296
L
251982012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25199
25200 [BZ #14716]
25201 * string/test-memmem.c (check_result): New function.
25202 (do_one_test): Use it.
25203 (check1): New function.
25204 (test_main): Use it.
25205
d077f65f
MT
252062012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25207
25208 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25209
ced52c71
JM
252102012-10-18 Joseph Myers <joseph@codesourcery.com>
25211
25212 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25213 (_G_LSEEK64): Likewise.
25214 (_G_MMAP64): Likewise.
25215 (_G_FSTAT64): Likewise.
25216 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25217 (_G_LSEEK64): Likewise.
25218 (_G_MMAP64): Likewise.
25219 (_G_FSTAT64): Likewise.
25220 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25221 unconditional. Call __mmap64 directly.
25222 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25223 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25224 __lseek64 directly.
25225 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25226 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25227 __mmap64 directly.
25228 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25229 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25230 __lseek64 directly.
25231 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25232 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25233 __lseek64 directly.
25234 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25235 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25236 __lseek64 directly.
25237 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25238 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25239 __fxstat64 directly.
25240 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25241 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25242 unconditional.
25243 (freopen64) [!_G_OPEN64]: Remove conditional code.
25244 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25245 unconditional.
25246 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25247 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25248 unconditional.
25249 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25250 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25251 unconditional.
25252 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25253 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25254 unconditional.
25255 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25256 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25257 unconditional.
25258 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25259 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25260 unconditional.
25261 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25262 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25263 unconditional.
25264 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25265
b741de23
SP
252662012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25267
25268 [BZ #12140]
25269 * manual/memory.texi (Malloc Tunable Parameters): Add note
25270 about free list pointers overwriting some perturb bytes.
25271 Wording suggested by Roland McGrath.
25272
f9b9d9c9
JM
252732012-10-17 Joseph Myers <joseph@codesourcery.com>
25274
25275 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25276 (lgamma_test): Likewise.
25277 (tgamma_test): Likewise.
25278
172a631a
FW
252792012-10-16 Florian Weimer <fweimer@redhat.com>
25280
25281 [BZ #14700]
25282 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25283 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25284
e9f37252
MK
252852012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25286
25287 * NEWS: Mention BZ #14716.
25288 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25289 when removing AVAILABLE1_USES_J macro.
25290
d394eb74
L
252912012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25292
25293 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25294 (__bswap_64): __uint64_t for unsigned 64-bit int.
25295
ca38dc17
AS
252962012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25297
25298 * include/string.h (memmem): Declare libc hidden alias.
25299 * string/memmem.c (memmem): Define libc hidden alias.
25300 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25301 __read, __close instead of open, read, close.
25302
9a387d1f
L
253032012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25304
ac49ecaf
L
25305 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25306 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25307 global and hidden.
25308 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25309 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25310 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25311 Likewise.
25312 (__rawmemchr_sse2): Likewise.
25313 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25314 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25315 (__strchr_sse2): Likewise.
25316 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25317 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25318 (__strcasecmp_sse2): Likewise.
25319 (__strncasecmp_sse2): Likewise.
25320 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25321 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25322 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25323 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25324 (__strrchr_sse2): Likewise.
25325 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25326 ifunc-impl-list.c.
25327 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25328 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25329 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25330 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25331 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25332 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25333 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25334 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25335 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25336 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25337 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25338 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25339 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25340 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25341 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25342 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25343 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25344 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25345 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25346 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25347 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25348 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25349 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25350 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25351 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25352 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25353 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25354 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25355 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25356 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25357
b090e8ea
L
25358 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25359 global and hidden.
25360 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25361 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25362 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25363 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25364 Likewise.
25365 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25366 Likewise.
25367 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25368 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25369 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25370 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25371 ifunc-impl-list.c.
25372 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25373 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25374 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25375 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25376 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25377 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25378 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25379 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25380 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25381 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25382 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25383 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25384 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25385 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25386 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25387 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25388 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25389 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25390 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25391 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25392 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25393 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25394 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25395 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25397 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25398 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25399 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25400 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25401 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25402 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25403 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25404 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25405 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25406 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25407 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25408 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25409 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25410 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25411 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25412 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25413
11dd4af6
L
25414 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25415 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25416 * include/ifunc-impl-list.h: New file.
25417 * misc/ifunc-impl-list.c: Likewise.
25418 * misc/Makefile (routines): Add ifunc-impl-list.
25419 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25420 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
25421 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25422 TEST_NAME]: New variables.
11dd4af6
L
25423 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25424 are defined.
25425 (test_init): Call __libc_ifunc_impl_list to initialize
25426 func_list if TEST_IFUNC and TEST_NAME are defined.
25427
9a387d1f
L
25428 * string/Makefile (strop-tests): Add bcopy and bzero.
25429 * string/test-bcopy.c: New file.
25430 * string/test-bzero.c: Likewise.
25431 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25432 defined.
25433 * string/test-memset.c: Support bzero test if TEST_BZERO is
25434 defined.
25435 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25436 __libc_memmove.
25437 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25438 __libc_memset.
25439 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25440 of memset.
25441
472371b9
JM
254422012-10-10 Joseph Myers <joseph@codesourcery.com>
25443
1e4a9536
JM
25444 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25445 * configure: Regenerated.
25446
d173d12e
JM
25447 * Makeconfig (+link-static-before-libc): Don't include
25448 $(link-static-libc).
25449
472371b9
JM
25450 * libio/libio.h (_IO_pos_t): Remove.
25451
89a3ad0b
AO
254522012-10-10 Alexandre Oliva <aoliva@redhat.com>
25453
25454 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25455 McGrath.
25456
e7451425
AO
254572012-10-10 Alexandre Oliva <aoliva@redhat.com>
25458
25459 * crypt/crypt-entry.c: Include fips-private.h.
25460 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25461 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25462 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25463 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25464
4ba74a35
AO
254652012-10-10 Alexandre Oliva <aoliva@redhat.com>
25466
25467 * crypt/crypt-private.h: Include stdbool.h.
25468 (_ufc_setup_salt_r): Return bool.
25469 * crypt/crypt-entry.c: Include errno.h.
25470 (__crypt_r): Return NULL with EINVAL for bad salt.
25471 * crypt/crypt_util.c (bad_for_salt): New.
25472 (_ufc_setup_salt_r): Check that salt is long enough and within
25473 the specified alphabet.
25474 * crypt/badsalttest.c: New file.
25475 * crypt/Makefile (tests): Add it.
25476 ($(objpfx)badsalttest): New.
25477
f96f1242
MK
254782012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25479
25480 * NEWS: Add entry for BZ #14602.
25481
0e8e0c1c
JM
254822012-10-09 Joseph Myers <joseph@codesourcery.com>
25483
25484 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25485 type-generic.
25486 * math/libm-test.inc: Update comment listing what functions and
25487 macros are tested.
25488 (isgreater_test): New function.
25489 (isgreaterequal_test): Likewise.
25490 (isless_test): Likewise.
25491 (islessequal_test): Likewise.
25492 (islessgreater_test): Likewise.
25493 (isunordered_test): Likewise.
25494 (main): Call the new functions.
25495
273edc5e
RM
254962012-10-09 Roland McGrath <roland@hack.frob.com>
25497
b8493de0
RM
25498 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25499 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25500 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25501 * sysdeps/i386/configure: Regenerated.
25502 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25503 * sysdeps/mach/configure: Regenerated.
25504 * sysdeps/mach/hurd/configure: Regenerated.
25505 * sysdeps/powerpc/configure: Regenerated.
25506 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25507 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25508 * sysdeps/s390/s390-32/configure: Regenerated.
25509 * sysdeps/s390/s390-64/configure: Regenerated.
25510 * sysdeps/sh/configure: Regenerated.
25511 * sysdeps/sparc/configure: Regenerated.
25512 * sysdeps/unix/sysv/linux/configure: Regenerated.
25513 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25514 * sysdeps/x86_64/configure: Regenerated.
25515
273edc5e
RM
25516 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25517 defined. Don't check if MAP is NULL.
25518
c8450f70
JM
255192012-10-09 Joseph Myers <joseph@codesourcery.com>
25520
25521 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25522 (_G_stat64): Likewise.
25523 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25524 (_G_stat64): Likewise.
25525 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25526 instead of struct _G_stat64.
25527 * libio/fileops.c (mmap_remap_check): Likewise.
25528 (decide_maybe_mmap): Likewise.
25529 (_IO_new_file_seekoff): Likewise.
25530 (_IO_file_stat): Likewise.
25531 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25532 _G_off64_t.
25533 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25534 instead of struct _G_stat64.
25535 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25536
57e605ba
MK
255372012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25538
25539 [BZ #14602]
25540 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25541 Replace with ...
25542 (CHECK_EOL): New macro.
25543 (two_way_short_needle): Check beginning of haystack for EOL. Use
25544 CHECK_EOL.
25545 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25546 Replace with CHECK_EOL.
25547 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25548 Replace with CHECK_EOL.
25549
ef1bb361
JM
255502012-10-08 Joseph Myers <joseph@codesourcery.com>
25551
25552 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25553 type-generic.
25554 * math/libm-test.inc: Update comment listing what functions and
25555 macros are tested.
25556 (finite_test): New function.
25557 (isinf_test): Likewise.
25558 (isnan_test): Likewise.
25559 (fpclassify_test): Test subnormal input.
25560 (isfinite_test): Likewise.
25561 (isnormal_test): Likewise.
25562 (main): Call the new functions.
25563
55f11534
JN
255642012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25565
25566 [BZ #14660]
25567 * Makerules (%.dynsym): Force C locale when running
25568 $(OBJDUMP) --dynamic-syms.
25569
1ab29350
AS
255702012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25571
25572 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25573 <stdint.h>.
25574
f1ecb7ef
DM
255752012-10-06 David S. Miller <davem@davemloft.net>
25576
25577 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25578 upper 32-bits of the length value in %o2 since we use branch-on-register
25579 tests which consider the entire 64-bit register.
25580
5d41d91a
L
255812012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25582
25583 * string/test-strstr.c (check2): Add a test for page boundary.
25584
3baddb72
DM
255852012-10-05 David S. Miller <davem@davemloft.net>
25586
25587 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25588 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25589 file.
25590 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25591 sysdep_routines.
25592 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25593 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25594 and bzero when HWCAP_SPARC_CRYPTO is present.
25595
9cee5585
L
255962012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25597
d7e0dab9
L
25598 [BZ #14602]
25599 * string/test-strstr.c (check2): New function.
25600 (test_main): Call check2.
25601
03759f47
L
25602 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25603 and bug-strchr1.
25604 * string/bug-strcasestr1.c (do_test): Moved to ...
25605 * string/test-strcasestr.c (check1): Here. New function.
25606 (do_one_test): Break out result checking code into ...
25607 (check_result): This. New function.
25608 (do_one_test): Call check_result.
25609 (test_main): Call check1.
25610 * string/bug-strchr1.c (do_test): Moved to ...
25611 * string/test-strchr.c (check1): Here. New function.
25612 (do_one_test): Break out result checking code into ...
25613 (check_result): This. New function.
25614 (do_one_test): Call check_result.
25615 (test_main): Call check1.
25616 * string/bug-strstr1.c (main): Moved to ...
046f153e 25617 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25618 (do_one_test): Break out result checking code into ...
25619 (check_result): This. New function.
25620 (do_one_test): Call check_result.
25621 (test_main): Call check1.
25622 * string/bug-strcasestr1.c: Removed.
25623 * string/bug-strchr1.c: Likewise.
25624 * string/bug-strstr1.c: Likewise.
25625
53cea63e
L
25626 * elf/Makefile (dl-routines): Add hwcaps.
25627 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25628 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25629 (_dl_important_hwcaps): Moved to ...
25630 * elf/dl-hwcaps.c: Here. New file.
25631 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25632
9cee5585 25633 [BZ #14557]
bb859b06
L
25634 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25635 if IS_IN_rtld isn't defined.
25636
9cee5585
L
25637 * elf/dl-support.c (_dl_sysinfo_map): New.
25638 Include "get-dynamic-info.h" and "setup-vdso.h".
25639 (_dl_non_dynamic_init): Call setup_vdso.
25640 * elf/dynamic-link.h: Don't include <assert.h>.
25641 (elf_get_dynamic_info): Moved to ...
25642 * elf/get-dynamic-info.h: Here. New file.
25643 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25644 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25645 * elf/setup-vdso.h: Here. New file.
25646 * elf/rtld.c: Include "setup-vdso.h".
25647 (dl_main): Call setup_vdso.
25648
23c31b76
JM
256492012-10-05 Joseph Myers <joseph@codesourcery.com>
25650
28234b07
JM
25651 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25652 creal in comment listing functions tested. List finite, isinf,
25653 isnan, isless, islessequal, isgreater, isgreaterequal,
25654 islessgreater, isunordered, lgamma_r and pow10 as functions and
25655 macros not tested. Mention which functions not tested are aliases
25656 for other functions. Fix typo. Note that signs of NaNs are not
25657 tested.
25658
23c31b76
JM
25659 * scripts/config.guess: Update from config.git.
25660 * scripts/config.sub: Likewise.
25661
9043e228
RM
256622012-10-04 Roland McGrath <roland@hack.frob.com>
25663
25664 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25665 * misc/madvise.c (madvise): Renamed to __madvise.
25666 Make madvise a weak alias.
25667 * include/sys/mman.h: Declare __madvise.
25668 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25669 * sysdeps/unix/syscalls.list
25670 (madvise): Make __madvise the strong name, and madvise a weak alias.
25671 * sysdeps/unix/sysv/linux/syscalls.list
25672 (madvise, mmap): Remove redundant entries.
25673 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25674 * malloc/malloc.c (mtrim): Likewise.
25675 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25676
f57f8055
RM
256772012-10-03 Roland McGrath <roland@hack.frob.com>
25678
25679 * sysdeps/mach/hurd/dl-cache.c: File removed.
25680 * config.h.in (USE_LDCONFIG): New #undef.
25681 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25682 * configure: Regenerated.
25683 * elf/Makefile (dl-routines): Add dl-cache only under
25684 [$(use-ldconfig) = yes].
25685 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25686 cache on [USE_LDCONFIG].
25687 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25688 [USE_LDCONFIG].
25689 * elf/rtld.c (dl_main): Likewise.
25690
5bb0c10a
PT
256912012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25692
25693 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25694 _SC_LEVEL4_CACHE_LINESIZE.
25695
010188c6
RM
256962012-10-03 Roland McGrath <roland@hack.frob.com>
25697
25698 * sysdeps/unix/bsd/confstr.h: File removed.
25699
b6c5ec07
AO
257002012-10-02 Alexandre Oliva <aoliva@redhat.com>
25701
25702 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25703 sys/sdt-config.h.
25704
408223d4
RM
257052012-10-02 Roland McGrath <roland@hack.frob.com>
25706
25707 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25708 Make 'mapoff' field ElfW(Off) rather than off_t.
25709
bb9510dc
DL
257102012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25711
fc997c6e
DL
25712 * nscd/Makefile: Remove nscd-cflags and all its users.
25713 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25714 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25715
bb9510dc
DL
25716 [BZ #10631]
25717 * malloc.c (malloc_printerr): Clarify error message.
25718
05699367
L
257192012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25720
25721 [BZ #14648]
25722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25723 Set bit_FMA_Usable if FMA is supported.
25724 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25725 macro.
25726 (bit_FMA4_Usable): Updated.
25727 (index_FMA_Usable): New macro.
25728 (CPUID_FMA): Likewise
25729 (HAS_FMA): Defined with bit_FMA_Usable.
25730
51367701
RM
257312012-10-01 Roland McGrath <roland@hack.frob.com>
25732
25733 * bits/types.h (__swblk_t): Type removed.
25734 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25735 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25737 (__SWBLK_T_TYPE): Likewise.
25738 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25739 (__SWBLK_T_TYPE): Likewise.
25740 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25741 (__SWBLK_T_TYPE): Likewise.
25742 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25743 (__SWBLK_T_TYPE): Likewise.
25744
4d57bf63 257452012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25746 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25747
25748 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25749 (xdr_mapname): Use YPMAXMAP as maxsize.
25750 (xdr_peername): Use YPMAXPEER as maxsize.
25751 (xdr_keydat): Use YPAXRECORD as maxsize.
25752 (xdr_valdat): Use YPMAXRECORD as maxsize.
25753
93c65d43
RM
257542012-10-01 Roland McGrath <roland@hack.frob.com>
25755
497a03d6
RM
25756 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25757
93c65d43
RM
25758 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25759 * csu/init-first.c: ... here.
25760 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25761 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25762 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25763 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25764 * sysdeps/i386/init-first.c: File removed.
25765 * sysdeps/sh/init-first.c: File removed.
25766
bec749fd
JM
257672012-10-01 Joseph Myers <joseph@codesourcery.com>
25768
25769 [BZ #14645]
25770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25771 if x * y might underflow to zero and z is zero.
25772 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25773 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25774 * math/libm-test.inc (min_subnorm_value): New variable.
25775 (fma_test): Add more tests.
25776 (fma_test_towardzero): Likewise.
25777 (fma_test_downward): Likewise
25778 (fma_test_upward): Likewise.
25779 (initialize): Set min_subnorm_value.
25780
8ec5b013
JM
257812012-09-29 Joseph Myers <joseph@codesourcery.com>
25782
25783 [BZ #14638]
25784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25785 0 + 0.
25786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25787 mode for addition resulting in exact zero.
25788 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25789 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25790 exact 0 + 0.
25791 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25793 * math/libm-test.inc (fma_test): Add more tests.
25794 (fma_test_towardzero): New function.
25795 (fma_test_downward): Likewise.
25796 (fma_test_upward): Likewise.
25797 (main): Call the new functions.
25798
b1fa802e
DM
257992012-09-28 David S. Miller <davem@davemloft.net>
25800
25801 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25802
d3b9fd9e
RM
258032012-09-28 Roland McGrath <roland@hack.frob.com>
25804
ea4d37b3
RM
25805 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25806 instead of SIGALRM.
25807
ac51c949
RM
25808 * sysdeps/gnu/_G_config.h: Moved to ...
25809 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25810 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25811 * sysdeps/generic/_G_config.h: ... here.
25812
28c195f7
RM
25813 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25814
848917f9
RM
25815 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25816
6bacf05b
RM
25817 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25818 Conditionalize target on [libnss_test1.so-version].
25819
91363dbb
RM
25820 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25821
cc87f7d8
RM
25822 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25823 (elfobjdir): Move out of conditionals.
25824
b1c608fe
RM
25825 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25826 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25827 (__nss_lookup_function): Conditionalize label remove_from_tree on
25828 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25829
1d9a6d96
DM
258302012-09-28 David S. Miller <davem@davemloft.net>
25831
25832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25833 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25834 file.
25835 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25836 sysdep_routines.
25837 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25838 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25839 when HWCAP_SPARC_CRYPTO is present.
25840
72581615
PT
258412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25842
25843 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25844
715a900c
JL
258452012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25846
25847 [BZ #6530]
25848 * stdio-common/vfprintf.c (process_string_arg): Revert
25849 2000-07-22 change.
25850
258512011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25852
25853 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25854 for testcase.
25855 * stdio-common/tst-sprintf.c: Include <locale.h>
25856 (main): Test sprintf's handling of incomplete multibyte
25857 characters.
25858
9bac1d86
L
258592012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25860
25861 * elf/dl-runtime.c (VERSYMIDX): Removed.
25862 * elf/dl-version.c (VERSYMIDX): Likewise.
25863 * elf/do-rel.h (VERSYMIDX): Likewise.
25864 (VALIDX): Likewise.
25865 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25866 * elf/rtld.c (VALIDX): Likewise.
25867 (ADDRIDX): Likewise.
9bac1d86
L
25868 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25869 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25870 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25871 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25872 (VALIDX): Likewise.
25873 (ADDRIDX): Likewise.
9bac1d86 25874
b31606c0
PT
258752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25876
25877 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25878
11541177
JL
258792012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25880
25881 [BZ #11438]
25882 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25883 to global scope.
25884 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25885 addresses are in the same scope as 192.0.2/24.
25886 * posix/gai.conf: Document new scope table defaults.
25887
adb26fae
SP
258882012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25889
25890 [BZ #5298]
25891 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25892 for ftell. Compute offsets from write pointers instead.
25893 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25894
4573c6b0
SP
258952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25896
25897 [BZ #14543]
25898 * libio/Makefile (tests): New test case tst-fseek.
25899 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25900 combination works in wide mode.
25901 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25902 state when the external buffer state changes.
25903
aa9bbfe6
DM
259042012-09-27 David S. Miller <davem@davemloft.net>
25905
25906 [BZ #14376]
25907 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25908 pass reloc->r_addend in as the 'high' argument to
25909 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25910
784421e7
DM
25911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25912
c39bc8b8
PT
259132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25914
25915 * rt/tst-aio2.c: Include <pthread.h>.
25916 * rt/tst-aio3.c: Likewise.
25917
1ccc2399
SE
259182012-09-27 Steve Ellcey <sellcey@mips.com>
25919
25920 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25921
31ed4153
L
259222012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25923
25f5f885
L
25924 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25925 contents on [SHARED].
31ed4153 25926
b7bfe116
MP
259272012-09-26 Marek Polacek <polacek@redhat.com>
25928
25929 [BZ #14530]
25930 [BZ #13741]
25931 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25932 for C++ and GCC <4.3 as well as for non GCC compilers.
25933
43c4edba
MT
259342012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25935
25936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25937
6a1bf82f
RM
259382012-09-25 Roland McGrath <roland@hack.frob.com>
25939
25940 * Makefile.in (all, install): Declare with .PHONY.
25941 Reported by Michael Hope <michael.hope@linaro.org>.
25942
8ad11b9a
TMQMF
259432012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25944
25945 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25946 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25947 system header.
25948 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25949 Likewise.
25950 (sydep_routines): Add the new and the internal functions.
25951 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25952 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25954 (GLIBC_2.17): Add the new function.
25955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25956 (GLIBC_2.17): Likewise.
25957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25958 (GLIBC_2.17): Likewise.
25959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25960 (GLIBC_2.17): Likewise.
25961 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25962
7e2fca8d
AM
259632012-09-25 Alan Modra <amodra@gmail.com>
25964
25965 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25966 Add release barrier before setting once_control to say
25967 initialisation is done. Add hints on lwarx. Use macro in
25968 place of isync.
25969 (clear_once_control): Add release barrier.
25970
b87c4b24
JM
259712012-09-25 Joseph Myers <joseph@codesourcery.com>
25972
d032e0d2
JM
25973 [BZ #13629]
25974 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25975 specially.
25976 * math/s_clog10.c (__clog10): Likewise.
25977 * math/s_clog10f.c (__clog10f): Likewise.
25978 * math/s_clog10l.c (__clog10l): Likewise.
25979 * math/s_clogf.c (__clogf): Likewise.
25980 * math/s_clogl.c (__clogl): Likewise.
25981 * math/Makefile (libm-calls): Add x2y2m1.
25982 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25983 (__x2y2m1): Likewise.
25984 (__x2y2m1l): Likewise.
25985 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25986 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25987 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25988 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25989 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25990 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25991 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25992 * sysdeps/i386/fpu/libm-test-ulps: Update.
25993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25994
b87c4b24
JM
25995 [BZ #14621]
25996 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25997 int as type of variable DEPTH.
25998 (glob): Use size_t instead of int as type of variables NEWCOUNT
25999 and OLD_PATHC.
26000
6d3bf199
LD
260012012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26002
22bf5c17
LD
26003 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26004 Add s_sincosf-sse2.
26005 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26006 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26007 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26008 macros for using routine as __sincosf_ia32.
26009 Use macro for function declaration and weak_alias.
26010 * sysdeps/i386/fpu/libm-test-ulps: Update.
26011
26012 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26014
26015 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26016 subnormal argument.
26017 * math/s_cexpf.c (__cexpf): Likewise.
26018 * math/s_csinf.c (__csinf): Likewise.
26019 * math/s_csinhf.c (__csinhf): Likewise.
26020 * math/s_ctanf.c (__ctanf): Likewise.
26021 * math/s_ctanhf.c (__ctanhf): Likewise.
26022 * math/s_ccosh.c (__ccoshf): Likewise.
26023 * math/s_cexp.c (__cexpl): Likewise.
26024 * math/s_csin.c (__csin): Likewise.
26025 * math/s_csinh.c (__csinh): Likewise.
26026 * math/s_ctan.c (__ctan): Likewise.
26027 * math/s_ctanh.c (ctanh): Likewise.
26028 * math/s_ccoshl.c (__ccoshl): Likewise.
26029 * math/s_cexpl.c (__cexpl): Likewise.
26030 * math/s_csinl.c (__csinl): Likewise.
26031 * math/s_csinhl.c (__csinhl): Likewise.
26032 * math/s_ctanl.c (__ctanl): Likewise.
26033 * math/s_ctanhl.c (__ctanhl): Likewise.
26034
203e5603
JM
260352012-09-25 Joseph Myers <joseph@codesourcery.com>
26036
26037 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26038 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26039 (_IO_off_t): Define to __off_t, not _G_off_t.
26040 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26041 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26042 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26043 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26044 type of __dummy and __dummy2 fields.
26045 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26046 (_G_ssize_t): Likewise.
26047 (_G_off_t): Likewise.
26048 (_G_pid_t): Likewise.
26049 (_G_uid_t): Likewise.
26050 (_G_wchar_t): Likewise.
26051 (_G_wint_t): Likewise.
26052 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26053 (_G_ssize_t): Likewise.
26054 (_G_off_t): Likewise.
26055 (_G_pid_t): Likewise.
26056 (_G_uid_t): Likewise.
26057 (_G_wchar_t): Likewise.
26058 (_G_wint_t): Likewise.
26059 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26060 (_G_ssize_t): Likewise.
26061 (_G_off_t): Likewise.
26062 (_G_pid_t): Likewise.
26063 (_G_uid_t): Likewise.
26064 (_G_wchar_t): Likewise.
26065 (_G_wint_t): Likewise.
26066
9fab36eb
SP
260672012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26068
26069 * malloc/arena.c: Include malloc-sysdep.h.
26070 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26071 is sufficient to shrink the heap or an unmap is needed.
26072 * sysdeps/generic/malloc-sysdep.h: New file. Define
26073 new function check_may_shrink_heap.
26074 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26075 new function check_may_shrink_heap.
26076
2b4f00d1
SP
260772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26078
26079 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26080 comments.
26081
9a9028b1
DL
260822012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26083
57c69bef
DL
26084 * catgets/test-gencat.sh: Add "set -e".
26085 * elf/tst-pathopt.sh: Likewise.
26086 * grp/tst_fgetgrent.sh: Likewise.
26087 * iconvdata/run-iconv-test.sh: Likewise.
26088 * intl/tst-gettext.sh: Likewise.
26089 * intl/tst-gettext2.sh: Likewise.
26090 * intl/tst-gettext4.sh: Likewise.
26091 * intl/tst-gettext6.sh: Likewise.
26092 * intl/tst-translit.sh: Likewise.
26093 * io/ftwtest-sh: Likewise.
26094 * libio/test-freopen.sh: Likewise.
26095 * malloc/tst-mtrace.sh: Likewise.
26096 * posix/globtest.sh: Likewise.
26097 * posix/tst-getconf.sh: Likewise.
26098 * posix/wordexp-tst.sh: Likewise.
26099 * stdio-common/tst-printf.sh: Likewise.
26100 * stdio-common/tst-unbputc.sh: Likewise.
26101 * stdlib/tst-fmtmsg.sh: Likewise.
26102 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26103 * catgets/Makefile: Do not specify -e option when running
26104 testsuite shell scripts.
26105 * elf/Makefile: Likewise.
26106 * grp/Makefile: Likewise.
26107 * iconvdata/Makefile: Likewise.
26108 * intl/Makefile: Likewise.
26109 * io/Makefile: Likewise.
26110 * libio/Makefile: Likewise.
26111 * malloc/Makefile: Likewise.
26112 * posix/Makefile: Likewise.
26113 * stdio-common/Makefile: Likewise.
26114 * stdlib/Makefile: Likewise.
26115 * sysdeps/x86_64/Makefile: Likewise.
26116
9a9028b1
DL
26117 * io/ftwtest-sh: Add copyright header.
26118 * posix/globtest.sh: Likewise.
26119 * posix/tst-getconf.sh: Likewise.
26120 * posix/wordexp-tst.sh: Likewise.
26121 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26122
ced6f16e
L
261232012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26124
94b32c39
L
26125 [BZ #13679]
26126 * Makeconfig (+link): Defined as $(+link-static) if
26127 $(build-shared) isn't yes.
26128 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26129 isn't yes.
26130 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26131
189e935b
L
26132 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26133
ced6f16e
L
26134 [BZ #14562]
26135 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26136 new chunk size with MALLOC_ALIGN_MASK.
26137
a9f8e53a
JM
261382012-09-24 Joseph Myers <joseph@codesourcery.com>
26139
26140 [BZ #5044]
26141 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26142 <rounding-mode.h>.
26143 (__printf_fphex): Determine rounding using get_rounding_mode and
26144 round_away.
26145 * stdio-common/tst-printf-round.c (struct hex_test): New
26146 structure.
26147 (hex_tests): New variable.
26148 (test_hex_in_one_mode): New function.
26149 (do_test): Also run tests for hex float output.
26150
43153109
JM
261512012-09-21 Joseph Myers <joseph@codesourcery.com>
26152
26153 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26154 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26155 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26156 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26157 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26158 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26159 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26160 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26161
8a26625d
JM
261622012-09-20 Joseph Myers <joseph@codesourcery.com>
26163
26164 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26165 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26166 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26167 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26168
f3fd569c
DL
261692012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26170
26171 [BZ #14579]
26172 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26173 mode only.
26174 * elf/tst-rtld-load-self.sh: New test.
26175 * elf/Makefile: Run it.
26176
63bbedd4
JM
261772012-09-18 Joseph Myers <joseph@codesourcery.com>
26178
26179 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26180 (tst-writev-ENV): Remove.
26181 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26182
626f8b6a
CM
261832012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26184
26185 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26186
b7aaa4d6
JM
261872012-09-17 Joseph Myers <joseph@codesourcery.com>
26188
26189 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26190 unconditional.
26191 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26192 Likewise.
26193 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26194 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26195 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26196 Likewise.
26197
65513990
L
261982012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26199
26200 [BZ #14587]
26201 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26202 * config.make.in (have-cpp-asm-debuginfo): Removed.
26203 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26204 * configure: Regenerated.
26205
784761be
JM
262062012-09-14 Joseph Myers <joseph@codesourcery.com>
26207
26208 [BZ #5044]
26209 * stdio-common/printf_fp.c: Include <stdbool.h> and
26210 <rounding-mode.h>.
26211 (___printf_fp): Determine rounding using get_rounding_mode and
26212 round_away.
26213 * stdio-common/tst-printf-round.c: New file.
26214 * stdio-common/Makefile (tests): Add tst-printf-round.
26215 (link-libm): New variable.
26216 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26217
9503345f
L
262182012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26219
26220 [BZ #14576]
26221 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26222 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26223 Likewise.
26224 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26225 Likewise.
26226
ad35fc00
JM
262272012-09-13 Joseph Myers <joseph@codesourcery.com>
26228
26229 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26230 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26231 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26232 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26233
6c9b0f68
JM
262342012-09-12 Joseph Myers <joseph@codesourcery.com>
26235
26236 [BZ #14518]
26237 * include/rounding-mode.h: New file.
26238 * sysdeps/generic/get-rounding-mode.h: Likewise.
26239 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26240 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26241 (MAX_VALUE): New macro.
26242 (MIN_VALUE): Likewise.
26243 (overflow_value): New function.
26244 (underflow_value): Likewise.
26245 (round_and_return): Use overflow_value and underflow_value to
26246 determine return values in overflow and underflow cases. Use
26247 round_away to determine rounding depending on rounding mode.
26248 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26249 determine return values in overflow and underflow cases.
26250 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26251 (struct test_results): New structure.
26252 (struct test): Use struct test_results to store expected results
26253 for all rounding modes.
26254 (TEST): Include expected results for all rounding modes.
26255 (test_in_one_mode): New function.
26256 (do_test): Use test_in_one_mode to compute and check results.
26257 Check results for all rounding modes.
26258 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26259 $(link-libm).
26260
19fcedd5
AM
262612012-12-09 Allan McRae <allan@archlinux.org>
26262
1e9d84cd 26263 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26264
8bbfd2f1
JM
262652012-09-11 Joseph Myers <joseph@codesourcery.com>
26266
26267 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26268 (_G_int32_t): Likewise.
26269 (_G_uint16_t): Likewise.
26270 (_G_uint32_t): Likewise.
26271 (_G_HAVE_BOOL): Likewise.
26272 (_G_HAVE_ATEXIT): Likewise.
26273 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26274 (_G_HAVE_IO_FILE_OPEN): Likewise.
26275 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26276 (_G_int32_t): Likewise.
26277 (_G_uint16_t): Likewise.
26278 (_G_uint32_t): Likewise.
26279 (_G_HAVE_BOOL): Likewise.
26280 (_G_HAVE_ATEXIT): Likewise.
26281 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26282 (_G_HAVE_IO_FILE_OPEN): Likewise.
26283 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26284 (_G_int32_t): Likewise.
26285 (_G_uint16_t): Likewise.
26286 (_G_uint32_t): Likewise.
26287 (_G_HAVE_BOOL): Likewise.
26288 (_G_HAVE_ATEXIT): Likewise.
26289 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26290 (_G_HAVE_IO_FILE_OPEN): Likewise.
26291
b1dc5912
L
262922012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26293
26294 * csu/libc-tls.c: Update copyright years.
26295
0e886ef9
JM
262962012-09-10 Joseph Myers <joseph@codesourcery.com>
26297
28361c5e
JM
26298 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26299 [!_G_USING_THUNKS]: Remove conditional code.
26300 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26301 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26302
0e886ef9
JM
26303 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26304 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26305 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26306 (_G_VTABLE_LABEL_PREFIX): Likewise.
26307 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26308 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26309 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26310 (_G_VTABLE_LABEL_PREFIX): Likewise.
26311 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26312 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26313 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26314 (_G_VTABLE_LABEL_PREFIX): Likewise.
26315 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26316
bcba7aa2
L
263172012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26318
26319 * libio/Makefile: Include ../Makeconfig before tests.
26320 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26321 only if $(build-shared) is yes.
26322
06585ee8
L
26323 * iconv/gconv_db.c: Update copyright years.
26324
80ccd52c
LD
263252012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26326
26327 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26328 unwind info if defined PIC. Fix special cases description.
26329 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26330
26331 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26332 DP_HI_MASK entry.
26333 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26334
691bc9c1
L
263352012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26336
3d9b46b3
L
26337 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26338
de2139a9
L
26339 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26340 is NULL.
26341
5ca78dd0
L
26342 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26343 (LDLIBS-tst-chk4): This.
26344 (LDFLAGS-tst-chk5): Renamed to ...
26345 (LDLIBS-tst-chk5): This.
26346 (LDFLAGS-tst-chk6): Renamed to ...
26347 (LDLIBS-tst-chk6): This.
26348 (LDFLAGS-tst-lfschk4): Renamed to ...
26349 (LDLIBS-tst-lfschk4): This.
26350 (LDFLAGS-tst-lfschk5): Renamed to ...
26351 (LDLIBS-tst-lfschk5): This.
26352 (LDFLAGS-tst-lfschk6): Renamed to ...
26353 (LDLIBS-tst-lfschk6): This.
26354
691bc9c1
L
26355 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26356 on $(common-objpfx)soversions.mk.
26357
65cafb1c
JM
263582012-09-07 Joseph Myers <joseph@codesourcery.com>
26359
26360 [BZ #10014]
26361 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26362 example host name.
26363
c78ab094
SP
263642012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26365
26366 * malloc/arena.c (arena_get_retry): New function that gets
26367 another arena for the caller to try its request on.
26368 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26369 current arena cannot fulfill the request.
26370 (__libc_memalign): Likewise.
26371 (__libc_memalign): Likewise.
26372 (__libc_pvalloc): Likewise.
26373 (__libc_calloc): Likewise.
26374
01f49f59
JT
263752012-09-05 John Tobey <john.tobey@gmail.com>
26376
26377 [BZ #13542]
26378 * manual/arith.texi (Operations on Complex): Fix description
26379 of carg branch cut.
26380
4c23fed5
JM
263812012-09-06 Joseph Myers <joseph@codesourcery.com>
26382
1d3c8572
JM
26383 [BZ #10014]
26384 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26385 host name.
26386
4c23fed5
JM
26387 [BZ #10038]
26388 * manual/memory.texi (Memory): Make order of menu items match
26389 order of sections.
26390
04570aaa
L
263912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26392
26393 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26394 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26395 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26396
b80af2f4
L
263972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26398
26399 * csu/libc-tls.c (static_dtv): Renamed to ...
26400 (_dl_static_dtv): This. Make it global.
26401 (_dl_initial_dtv): Removed.
26402 (__libc_setup_tls): Updated.
26403 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26404 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26405 DL_INITIAL_DTV.
26406
2abe9f15
PM
264072012-09-06 Petr Machata <pmachata@redhat.com>
26408
26409 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26410 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26411 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26412 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26413
0948c3af
L
264142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26415
26416 [BZ #14545]
26417 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26418 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26419 freeing dtv[-1].
26420
a5055ad1
L
264212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26422
26423 [BZ #14544]
26424 * Makeconfig (link-static-before-libc): Replace $(+prector)
26425 with $(+prectorT).
26426 (link-static-after-libc): Replace $(+postctor) with
26427 $(+postctorT).
26428 (link-bounded): Replace $(+prector)/$(+postctor) with
26429 $(+prectorT)/$(+postctorT).
26430 (+prectorT): New macro.
26431 (+postctorT): Likewise.
26432
ed8c2ecd
JM
264332012-09-06 Joseph Myers <joseph@codesourcery.com>
26434
26435 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26436 (round_str): Handle values above the maximum for IBM long double
26437 as inexact.
26438 * stdlib/tst-strtod-round.c (tests): Regenerated.
26439
14c996c8
AK
264402012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26441
26442 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26443 assembler flag.
26444 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26445 zarch_nohighgprs around the zarch optimized routines.
26446 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26447 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26448 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26449 for zarch.
26450
430d6ce6
DM
264512012-09-05 David S. Miller <davem@davemloft.net>
26452
26453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26454
57f41c40
AS
26455 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26456 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26457 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26458 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26459 entries.
26460
24d4e01b
AO
264612012-09-05 Alexandre Oliva <aoliva@redhat.com>
26462
26463 * malloc/arena.c: Fold copyright years.
26464 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26465
61d58174
AO
264662012-09-05 Alexandre Oliva <aoliva@redhat.com>
26467
26468 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26469
20196a5e
AO
264702012-09-05 Alexandre Oliva <aoliva@redhat.com>
26471
26472 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26473
5c447383
AO
264742012-09-05 Alexandre Oliva <aoliva@redhat.com>
26475
26476 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26477 change internal state upon failure.
26478
fad64255
AO
264792012-09-05 Alexandre Oliva <aoliva@redhat.com>
26480
26481 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26482 * malloc/memusage.c (mmap): Likewise.
26483 (mmap64, mremap): Likewise. Adjust name in comment.
26484
1ffb8c90
SP
264852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26486
26487 * libio/fileops.c: Fix typos in comments.
26488 * libio/oldfileops.c: Likewise.
26489 * libio/wfileops.c: Likewise.
26490
6ef9cc37
SP
264912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26492
26493 [BZ #1349]
26494 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26495 (tst-malloc-usable-ENV): Set environment for test case.
26496 * malloc/hooks.c (malloc_check_get_size): New function to get
26497 requested size.
26498 * malloc/malloc.c (musable): Use malloc_check_get_size.
26499 * malloc/tst-malloc-usable.c: New test case.
26500
4d038ae3
AS
265012012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26502
26503 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26504
c4e85184
AM
265052012-09-05 Allan McRae <allan@archlinux.org>
26506
b9dafc56 26507 [BZ #13966]
c4e85184
AM
26508 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26509 determine header location.
26510 * configure: Regenerated.
26511
e1343020
AS
265122012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26513
26514 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26515 float format.
26516 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
26517 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26518 format.
e1343020
AS
26519 (test): Regenerate.
26520
0a9f1987
DM
265212012-09-04 David S. Miller <davem@davemloft.net>
26522
26523 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26524 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26525 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26526
29237804
FW
265272012-09-04 Florian Weimer <fweimer@redhat.com>
26528
26529 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26530 failures.
26531
edb3cb88
FW
26532 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26533
60160d83
JM
265342012-09-04 Joseph Myers <joseph@codesourcery.com>
26535
26536 [BZ #9914]
26537 * libio/iogetdelim.c: Include <limits.h>.
26538 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26539 + len + 1 would overflow.
26540
bcd6c8dc
AJ
265412012-09-03 Andreas Jaeger <aj@suse.de>
26542
26543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26544 * sysdeps/i386/fpu/libm-test-ulps: Update.
26545
4ffffbd2
LD
265462012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26547
26548 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26549 Add s_sinf-sse2, s_conf-sse2.
26550
26551 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26552 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26553 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26554 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26555
26556 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26557 for using routine as __sinf_ia32.
26558 Use macro for function declaration and weak_alias.
26559 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26560 for using routine as __cosf_ia32.
26561 Use macro for function declaration and weak_alias.
26562
26563 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26564 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26565
26566 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26567 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26569
26570 * math/libm-test.inc (cos_test): Add more test cases.
26571 (sin_test): Likewise.
26572 (sincos_test): Likewise.
26573
511fa286
AK
265742012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26575
26576 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26577 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26578 hidden.
26579 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26580
5f30cfec
L
265812012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26582
26583 [BZ #14538]
26584 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26585 first element of the GOT.
26586 (elf_machine_load_address): Return the difference between
26587 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26588
0786794f
AM
265892012-09-01 Allan McRae <allan@archlinux.org>
26590
5f30cfec
L
26591 [BZ #13412]
26592 * configure.in (AWK): Require gawk version 3.0 or later.
26593 * configure: Regenerated.
0786794f 26594
26889eac
JM
265952012-09-01 Joseph Myers <joseph@codesourcery.com>
26596
26597 * sysdeps/unix/sysv/linux/kernel-features.h
26598 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26599 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26600 [__NR_clock_getres]: Make code unconditional.
26601 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26602 (clock_getcpuclockid): Remove code left unreachable by removal of
26603 conditionals.
26604 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26605 code unconditional.
26606 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26607 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26608 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26609 Make code unconditional.
26610 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26611 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26612 * sysdeps/unix/sysv/linux/clock_settime.c
26613 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26614 conditional code.
26615 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26616 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26617
d22e28b0
L
266182012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26619
26620 [BZ #14476]
26621 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26622 scripts/test-installation.pl.
26623
26624 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26625 and $ld_so_version if it is set.
26626
050af9c4
SP
266272012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26628
26629 [BZ #14516]
26630 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26631 failure if reading from procfs failed.
26632 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26633
ad845c0b
JM
266342012-08-27 Joseph Myers <joseph@codesourcery.com>
26635
26636 * sysdeps/unix/sysv/linux/kernel-features.h
26637 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26638 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26639 Remove conditional code.
26640 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26641 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26642 Remove conditional code.
26643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26644 * sysdeps/unix/sysv/linux/i386/fxstat.c
26645 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26646 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26647 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26648 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26650 * sysdeps/unix/sysv/linux/i386/lxstat.c
26651 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26653 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26654 Remove conditional code.
26655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26656 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26657 Remove conditional code.
26658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26659 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26660 <kernel-features.h>.
26661 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26662 Remove.
26663 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26664 Remove conditional code.
26665 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26666 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26667 Remove conditional.
26668
5dbf56af
MF
266692012-08-27 Mike Frysinger <vapier@gentoo.org>
26670
26671 [BZ #5400]
26672 * NEWS: Add fixed bug number.
26673
d6e70f43
JM
266742012-08-27 Joseph Myers <joseph@codesourcery.com>
26675
7efb4737
JM
26676 [BZ #14519]
26677 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26678 underflowing exponent in case of negative sign.
26679 * stdlib/tst-strtod-round-data: Add more tests.
26680 * stdlib/tst-strtod-round.c (tests): Regenerated.
26681
af92131a
JM
26682 [BZ #3479]
26683 * stdlib/strtod_l.c (NDIG): Remove.
26684 (HEXNDIG): Likewise.
26685 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26686 smallest representable value.
26687 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26688 lie within an exact representation of 1/2 ulp of the result.
26689 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26690 unconditionally.
26691 (TENS_P9_IDX): Define unconditionally.
26692 (TENS_P9_SIZE): Likewise.
26693 (TENS_P10_IDX): Likewise.
26694 (TENS_P10_SIZE): Likewise.
26695 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26696 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26697 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26698 entries for 10^2^13 and 10^2^14.
26699 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26700 (TENS_P13_IDX): Define.
26701 (TENS_P13_SIZE): Likewise.
26702 (TENS_P14_IDX): Likewise.
26703 (TENS_P14_SIZE): Likewise.
26704 (_fpioconst_pow10): Change array size to
26705 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26706 unconditional.
26707 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26708 1024]: Add entries for 10^2^13 and 10^2^14.
26709 [LAST_POW10 > _LAST_POW10]: Remove #error.
26710 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26711 (_fpioconst_pow10): Change array size to
26712 FPIOCONST_POW10_ARRAY_SIZE.
26713 * stdlib/gen-fpioconst.c: New file.
26714 * stdlib/gen-tst-strtod-round.c: Likewise.
26715 * stdlib/tst-strtod-round-data: Likewise.
26716 * stdlib/tst-strtod-round.c: Likewise.
26717 * stdlib/Makefile (tests): Add tst-strtod-round.
26718
d6e70f43
JM
26719 [BZ #14459]
26720 * stdlib/strtod_l.c: Include <stdint.h>.
26721 (NDEBUG): Do not define.
26722 (round_and_return): Change EXPONENT parameter to type intmax_t.
26723 Rearrange calculations to avoid internal overflow possibilities.
26724 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26725 Rearrange calculations to avoid internal overflow possibilities.
26726 Assert that number fits inside MPNSIZE limbs.
26727 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26728 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26729 calculations and add assertions to avoid internal overflow
26730 possibilities. Add casts to avoid signed/unsigned operations.
26731 * stdlib/tst-strtod-overflow.c: New file.
26732 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26733
1f529f7d
MP
267342012-08-25 Marek Polacek <polacek@redhat.com>
26735
26736 * time/time.h: Fix some typos in comments.
26737
59a629f1
RM
267382012-08-23 Roland McGrath <roland@hack.frob.com>
26739
26740 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26741 * posix/tst-rfc3484-2.c: Likewise.
26742 * posix/tst-rfc3484-3.c: Likewise.
26743
d3bafbc9
SM
267442012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26745
26746 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26747 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26748
4efcc022
JM
267492012-08-23 Joseph Myers <joseph@codesourcery.com>
26750
26751 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26752 #include of fxstatat64.c.
26753
3cc3ef96
RM
267542012-08-22 Roland McGrath <roland@hack.frob.com>
26755
f04e2132
RM
26756 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26757 * shadow/getspent_r.c: Likewise.
26758 * shadow/getspnam.c: Likewise.
26759 * shadow/getspnam_r.c: Likewise.
26760 * gshadow/getsgent.c: Likewise.
26761 * gshadow/getsgent_r.c: Likewise.
26762 * gshadow/getsgnam.c: Likewise.
26763 * gshadow/getsgnam_r.c: Likewise.
26764 * inet/getnetbyad.c: Likewise.
26765 * inet/getnetbyad_r.c: Likewise.
26766 * inet/getnetbynm.c: Likewise.
26767 * inet/getnetbynm_r.c: Likewise.
26768 * inet/getnetent.c: Likewise.
26769 * inet/getnetent_r.c: Likewise.
26770 * inet/getproto.c: Likewise.
26771 * inet/getproto_r.c: Likewise.
26772 * inet/getprtent.c: Likewise.
26773 * inet/getprtent_r.c: Likewise.
26774 * inet/getprtname.c: Likewise.
26775 * inet/getprtname_r.c: Likewise.
26776 * inet/getrpcbyname.c: Likewise.
26777 * inet/getrpcbyname_r.c: Likewise.
26778 * inet/getrpcbynumber.c: Likewise.
26779 * inet/getrpcbynumber_r.c: Likewise.
26780 * inet/getrpcent.c: Likewise.
26781 * inet/getrpcent_r.c: Likewise.
26782 * inet/getaliasent.c: Likewise.
26783 * inet/getaliasent_r.c: Likewise.
26784 * inet/getaliasname.c: Likewise.
26785 * inet/getaliasname_r.c: Likewise.
26786 * nscd/getgrgid_r.c: Likewise.
26787 * nscd/getgrnam_r.c: Likewise.
26788 * nscd/gethstbyad_r.c: Likewise.
26789 * nscd/gethstbynm3_r.c: Likewise.
26790 * nscd/getpwnam_r.c: Likewise.
26791 * nscd/getpwuid_r.c: Likewise.
26792 * nscd/getsrvbynm_r.c: Likewise.
26793 * nscd/getsrvbypt_r.c: Likewise.
26794 * nscd/gai.c: Likewise.
26795
c53d909c
RM
26796 * configure.in (build_nscd): New substituted variable, set
26797 by --disable-build-nscd and defaults to $use_nscd.
26798 * configure: Regenerated.
26799 * config.make.in (build-nscd): New substituted variable.
26800 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26801 Change conditional to require [$(build-nscd) = yes] as well.
26802 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26803
3cc3ef96
RM
26804 [BZ# 13696]
26805 * configure.in (use_nscd): New substituted variable, set by
26806 --disable-nscd. If enabled, define USE_NSCD.
26807 * configure: Regenerated.
26808 * config.h.in: Add USE_NSCD.
26809 * config.make.in (use-nscd): New substituted variable.
26810 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26811 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26812 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26813 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26814 (CFLAGS-getgrnam_r.c): Likewise.
26815 (CFLAGS-initgroups.c): Likewise.
26816 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26817 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26818 Variables removed.
26819 * inet/getnetgrent_r.c
26820 (nscd_setnetgrent): New function, broken out of ...
26821 (setnetgrent): ... here. Call it.
26822 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26823 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26824 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26825 * nscd/Makefile (routines, aux): Move definitions after include of
26826 Makeconfig. Conditionalize on [$(use-nscd) != no].
26827 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26828 Conditionalize on [USE_NSCD].
26829 (is_nscd, nscd_init_cb): Likewise.
26830 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26831 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26832 * nss/nss_db/db-init.c: Likewise.
26833 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26834 [USE_NSCD].
26835 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26836 (make_request): Use it.
26837 (cache_valid_p): New function.
26838 (__check_pf): Use it.
26839 * NEWS: Add item for --disable-nscd.
26840
07e51550
DL
268412012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26842
26843 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26844 to support sed >= 4.2.1-20-ga9bf076.
26845 * configure: Regenerated.
26846
35a5b08b
RM
268472012-08-22 Roland McGrath <roland@hack.frob.com>
26848
26849 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26850 Conditionalize whole body on [IREL].
26851
8479f23a
JL
268522012-08-22 Jeff Law <law@redhat.com>
26853
26854 [BZ #14505]
26855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26856 if the family is PF_UNSPEC.
26857
48da0b21
MF
268582012-08-22 Mike Frysinger <vapier@gentoo.org>
26859
26860 * Makerules (lib-version): Rename from V.
26861 (install-lib-nosubdir): Change V to lib-version.
26862
15d0da8c
WS
268632012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26864
26865 [BZ #14252]
26866 * powerpc32/power6/wcschr.c: New file.
26867 * powerpc32/power6/wcscpy.c: New file.
26868 * powerpc32/power6/wcsrchr.c: New file.
26869 * powerpc64/power6/wcschr.c: New file.
26870 * powerpc64/power6/wcscpy.c: New file.
26871 * powerpc64/power6/wcsrchr.c: New file.
26872
bcca0895
MK
268732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26874
26875 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26876 (two_way_short_needle): Use it.
5a4aaa33
RM
26877 * string/strstr.c (AVAILABLE1_USES_J): Define.
26878 * string/strcasestr.c: Likewise.
99677e57
MK
26879
26880 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26881 array references.
26882 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26883
400726de
MK
26884 [BZ #11607]
26885 * NEWS: Add an entry.
26886 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26887 define their defaults.
26888 (two_way_short_needle): Detect end-of-string on-the-fly.
26889 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26890 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26891 * string/bug-strcasestr1.c: New test.
26892 * string/Makefile: Run it.
26893
20a71f2c
MK
268942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26895
26896 [BZ #11607]
26897 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26898 the first character.
26899
21ad0558
RM
269002012-08-21 Roland McGrath <roland@hack.frob.com>
26901
26902 * csu/elf-init.c (__libc_csu_irel): Function removed.
26903 * csu/libc-start.c (apply_irel): New function.
26904 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26905
0e1d9911
JM
269062012-08-21 Joseph Myers <joseph@codesourcery.com>
26907
26908 * sysdeps/unix/sysv/linux/kernel-features.h
26909 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26910 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26911 <kernel-features.h>.
26912 [__NR_fadvise64_64]: Make code unconditional.
26913 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26914 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26915 !__NR_fadvise64_64)]: Likewise.
26916 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26917 !__NR_fadvise64_64))]: Likewise.
26918 [__NR_fadvise64]: Make code unconditional.
26919 [!__NR_fadvise64]: Remove conditional code.
26920 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26921 <kernel-features.h>.
26922 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26923 unconditional.
26924 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26925 conditional code.
26926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26927 not include <kernel-features.h>.
26928 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26929 unconditional.
26930 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26931 conditional code.
26932 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26933 include <kernel-features.h>.
26934 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26935 unconditional.
26936 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26937 conditional code.
26938
14a50c9d
WS
269392012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26940
26941 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26942 slight instruction rearrangements per scrollpipe analysis.
26943 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26944
c0f4faf0
RM
269452012-08-20 Roland McGrath <roland@hack.frob.com>
26946
696da859
RM
26947 * manual/syslog.texi (syslog; vsyslog, closelog):
26948 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26949 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26950
c0f4faf0
RM
26951 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26952 DSOCAPS to match condition on defining it.
26953
348363b2
JM
269542012-08-20 Joseph Myers <joseph@codesourcery.com>
26955
a35cbf28
JM
26956 * sysdeps/unix/sysv/linux/kernel-features.h
26957 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26959 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26960 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26962 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26963 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26965 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26966 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26967
445f7ecd
JM
26968 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26969 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26970
348363b2
JM
26971 * sysdeps/unix/sysv/linux/kernel-features.h
26972 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26973 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26974 unconditional.
26975 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26976 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26977 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26978 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26979 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26980 Make code unconditional.
26981 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26982 (__mmap64) [!__NR_mmap2]: Likewise.
26983 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26984 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26985 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26986 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26987 [__NR_mmap2]: Make code unconditional.
26988 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26989 (__mmap64) [!__NR_mmap2]: Likewise.
26990
bc5bc0e5
AK
269912012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26992
26993 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26994
88d506de
AJ
269952012-08-18 Andreas Jaeger <aj@suse.de>
26996
26997 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26998
493387d2
MF
269992012-08-18 Mike Frysinger <vapier@gentoo.org>
27000
27001 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27002 * include/unistd.h (__have_sock_cloexec): Likewise.
27003 (__have_pipe2): Likewise.
27004 (__have_dup3): Likewise.
27005
a277af22
MF
270062012-08-18 Mike Frysinger <vapier@gentoo.org>
27007
27008 [BZ #9685]
27009 * include/unistd.h (__have_pipe2): Change define into an extern int.
27010 (__have_dup3): Likewise.
27011 * socket/have_sock_cloexec.c: Include fcntl.h.
27012 (__have_pipe2): New variable.
27013 (__have_dup3): Likewise.
27014
fdab8fd3
MF
270152012-08-17 Mike Frysinger <vapier@gentoo.org>
27016
27017 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27018
31035e80
MP
270192012-08-17 Marek Polacek <polacek@redhat.com>
27020
27021 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27022 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27023
3bd9e993
RM
270242012-08-17 Roland McGrath <roland@hack.frob.com>
27025
c91c505f
RM
27026 * configure.in: Add AC_SUBST for sysheaders.
27027 * configure: Regenerated.
27028 * config.make.in (sysheaders): New substituted variable.
27029
7c6f9d53
RM
27030 * sysdeps/unix/mkfifo.c: Moved ...
27031 * sysdeps/posix/mkfifo.c: ... here.
27032 * sysdeps/unix/mkfifoat.c: Moved ...
27033 * sysdeps/posix/mkfifoat.c: ... here.
27034
27035 * sysdeps/unix/utime.c: Moved ...
27036 * sysdeps/posix/utime.c: ... here.
27037
27038 * sysdeps/unix/time.c: Moved ...
27039 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27040 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27041 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27042
27043 * sysdeps/unix/nice.c: Moved ...
27044 * sysdeps/posix/nice.c: ... here.
27045
27046 * sysdeps/unix/alarm.c: Moved ...
27047 * sysdeps/posix/alarm.c: ... here.
27048
3bd9e993
RM
27049 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27050
d1f09384
JL
270512012-08-17 Jeff Law <law@redhat.com>
27052
27053 * intl/Makefile (codeset_mo): New variable.
27054 ($(codeset_mo)): New target.
27055 (tst-codeset.out): Depend on that. Remove explicit rule.
27056 (tst-gettext3.out, tst-gettext5.out): Likewise.
27057 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27058 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27059 * intl/tst-codeset.sh: Remove.
27060 * intl/tst-gettext3.sh: Likewise.
27061 * intl/tst-gettext5.sh: Likewise.
27062
2ae1ae5c
RM
270632012-08-17 Roland McGrath <roland@hack.frob.com>
27064
c31fdb83
RM
27065 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27066 * sysdeps/unix/syscalls.list: ... here.
27067
a0844057
RM
27068 * sysdeps/posix/getaddrinfo.c
27069 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27070 (gaiconf_init, gaiconf_reload): Use them.
27071 [!_STATBUF_ST_NSEC]
27072 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27073 Define using time_t rather than struct timespec.
27074
750c1f2a
RM
27075 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27076 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27077 Macros removed.
27078 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27079 [!NO_THREADS].
27080 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27081 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27082 Likewise.
27083
2ae1ae5c
RM
27084 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27085 __libc_cleanup_push argument.
27086
e66a42f5
RM
27087 * bits/param.h: New file.
27088 * misc/sys/param.h: New file.
27089 * include/sys/param.h: New file.
27090 * misc/Makefile (headers): Add bits/param.h.
27091 * sysdeps/generic/sys/param.h: File removed.
27092 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27093 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27094 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27095 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27096
b7c08a66
RM
27097 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27098 last change.
27099
b2e1c562
RM
27100 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27101 [_IO_MTSAFE_IO].
27102 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27103 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27104 New macros.
27105
c75ccd4c
RM
27106 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27107 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27108 rather than -D_IO_MTSAFE_IO conditionally.
27109 * stdio-common/Makefile (CPPFLAGS): Likewise.
27110 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27111 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27112 Use $(libio-mtsafe).
27113 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27114 of -D_IO_MTSAFE_IO.
27115 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27116 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27117 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27118 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27119 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27120 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27121 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27122 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27123 (CFLAGS-fread_u_chk.c): Likewise.
27124 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27125 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27126 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27127 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27128 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27129 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27130 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27131 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27132 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27133
27134 * libio/Makefile: Test [$(libc-reentrant) = yes]
27135 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27136
27137 * Makeconfig
27138 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27139 * sysdeps/pthread/configure: File removed.
27140 * sysdeps/pthread/Makeconfig: New file.
27141 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27142 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27143
d9195db8
GB
271442012-08-16 Gary Benson <gbenson@redhat.com>
27145
27146 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27147 unmapping the first object in a namespace.
27148
86466cd9
RM
271492012-08-16 Roland McGrath <roland@hack.frob.com>
27150
27151 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27152 (__internal_setnetgrent): ... this. Add internal_function to
27153 definition. Add libc_hidden_def.
27154 (setnetgrent): Update caller.
27155 (internal_endnetgrent): Renamed to ...
27156 (__internal_endnetgrent): ... this. Add internal_function to
27157 definition. Add libc_hidden_def.
27158 (endnetgrent): Update caller.
27159 (internal_getnetgrent_r): Renamed to ...
27160 (__internal_getnetgrent_r): ... this. Add internal_function to
27161 definition. Add libc_hidden_def.
27162 (__getnetgrent_r): Update caller.
27163 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27164
c3c8283c
JM
271652012-08-16 Joseph Myers <joseph@codesourcery.com>
27166
27167 * stdlib/longlong.h: Update from GCC.
27168
db1ee0a8
RM
271692012-08-16 Roland McGrath <roland@hack.frob.com>
27170
27171 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27172 on _QL, which is set by umul_ppmm but never used.
27173 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27174 variables, which are set by GMP macros but never used.
27175 * stdio-common/_itowa.c (_itowa): Likewise.
27176 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27177 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27178
30f69637
CD
271792012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27180
27181 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27182 struct La_sh_regs is not constant.
27183 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27184 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27185 and struct La_sparc64_regs are not constant.
27186
93a78ac4
JM
271872012-08-16 Joseph Myers <joseph@codesourcery.com>
27188
27189 * sysdeps/unix/sysv/linux/kernel-features.h
27190 (__ASSUME_POSIX_TIMERS): Remove.
27191 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27192 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27193 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27194 Make code unconditional.
27195 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27196 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27197 Make code unconditional.
27198 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27199 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27200 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27201 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27202 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27203 Make code unconditional.
27204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27205 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27206 (__libc_missing_posix_timers): Remove.
27207
dd924cd7
RM
272082012-08-15 Roland McGrath <roland@hack.frob.com>
27209
4b4f2771
RM
27210 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27211 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27212
601c888b
RM
27213 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27214
176790a7
RM
27215 * elf/dl-sym.c: Include <stdlib.h>.
27216
329bc018
RM
27217 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27218 constants, which avoids warnings in 32-bit builds.
27219
e04e272d
RM
27220 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27221 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27222
952bf94a
RM
27223 * misc/lseek.c: File moved to ...
27224 * io/lseek.c: ... here.
27225
7c99b50a
RM
27226 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27227
dd924cd7
RM
27228 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27229 shifting LEN more than 31 bits at once.
27230
b3f479a8
LD
272312012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27232
27233 [BZ #14195]
8c4ae0d4
RM
27234 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27235 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27236 * string/test-strncasecmp.c (check1): Renamed to...
27237 (bz12205): ...this.
27238 (bz14195): Add new testcase for two empty input strings and N > 0.
27239 (test_main): Call new testcase, adapt for renamed function.
27240
9c55864e
AJ
272412012-08-15 Andreas Jaeger <aj@suse.de>
27242
27243 [BZ #14090]
27244 * crypt/md5test2.c: New test, based on test supplied by Serge
27245 Belyshev <belyshev@depni.sinp.msu.ru>.
27246 * crypt/Makefile (xtests): Add md5test-giant..
27247 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27248
02dcb6c5
PE
272492012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27250
27251 [BZ #14090]
27252 * crypt/md5.c (md5_process_block): Don't assume the buffer
27253 length is less than 2**32.
27254 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27255 length is less than 2**64.
27256
a3f95dcc
RM
272572012-08-15 Roland McGrath <roland@hack.frob.com>
27258
be75d758
RM
27259 * string/str-two-way.h: Include <sys/param.h>.
27260 (MAX): Macro removed.
27261
7312ca90
RM
27262 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27263 Move #define and #undef of memmove to just before and after
27264 including <string.h>.
27265
9a0a5486
RM
27266 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27267 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27268 and after including <string.h>. Move declarations of
27269 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27270 to before #include "string/memmove.c".
27271
67cc348d
RM
27272 * include/dirent.h: Declare __getdirentries.
27273
a3f95dcc
RM
27274 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27275 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27276
ca98e171
MF
272772012-08-14 Mike Frysinger <vapier@gentoo.org>
27278
27279 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27280 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27281 * sysdeps/i386/configure: Regenerated.
27282 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27283 STABS_CURRENT_FILE, and STABS_FUN.
27284 (END): Remove call to STABS_FUN_END.
27285 (STABS_CURRENT_FILE1): Delete.
27286 (STABS_CURRENT_FILE): Likewise.
27287 (STABS_FUN): Likewise.
27288 (STABS_FUN_END): Likewise.
27289 (STABS_FUN2): Likewise.
27290 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27291 * sysdeps/x86_64/configure: Regenerated.
27292
5908bf46
RM
272932012-08-14 Roland McGrath <roland@hack.frob.com>
27294
27295 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27296 * elf/dl-lookup.c: Likewise.
5908bf46 27297
f2c05b9e
JM
272982012-08-14 Joseph Myers <joseph@codesourcery.com>
27299
27300 * sysdeps/unix/sysv/linux/kernel-features.h
27301 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27302 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27303 unconditionally.
27304 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27305 unconditionally.
27306 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27307 condition on __ASSUME_CLONE_THREAD_FLAGS.
27308
e11f5155
AJ
273092012-08-14 Andreas Jaeger <aj@suse.de>
27310
27311 * sysdeps/i386/fpu/libm-test-ulps: Update.
27312
51a9ba86
MK
273132012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27314
2fdd4f78
AJ
27315 * include/atomic.h (atomic_exchange_and_add): Split into ...
27316 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27317 New atomic macros.
51a9ba86 27318
ba6cba9e
MT
273192012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27320
27321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27322
42443a47
JL
273232012-08-13 Jeff Law <law@redhat.com>
27324
27325 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27326 null byte in the output string.
27327
121dce05
JM
273282012-08-10 Joseph Myers <joseph@codesourcery.com>
27329
27330 * sysdeps/unix/sysv/linux/kernel-features.h
27331 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27332 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27333 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27334 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27335 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27336 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27337 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27338
bf51f568
JL
273392012-08-09 Jeff Law <law@redhat.com>
27340
27341 [BZ #13939]
27342 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27343 When avoid_arena is set, don't retry in the that arena. Pick the
27344 next one, whatever it might be.
27345 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27346 (arena_lock): Pass in new parameter to arena_get2.
27347 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27348 arena_get2.
27349 (__libc_malloc): Unify retrying after main arena failure with
27350 __libc_memalign version.
27351 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27352
f85fa270
L
273532012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27354
27355 [BZ #14166]
27356 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27357 to __redirect_strstr.
27358 (__strstr_sse42): Use typeof __redirect_strstr.
27359 (__strstr_ia32): Likewise.
27360 (__libc_strstr): New prototype.
27361 (strstr): Renamed to ...
27362 (__libc_strstr): This.
27363 (strstr): New strong alias of __libc_strstr.
27364 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27365 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27366 __redirect_time.
27367 Include <time.h>.
27368 (__libc_time): New prototype.
27369 (time_ifunc): Replace time with __libc_time.
27370 (time): New strong alias and hidden definition of __libc_time.
27371 (__GI_time): Remove strong alias.
27372 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27373 Include <stddef.h>.
27374 (memmove): Redefined to __redirect_memmove.
27375 (__memmove_sse2): Use typeof __redirect_memmove.
27376 (__memmove_ssse3): Likewise.
27377 (__memmove_ssse3_back): Likewise.
27378 (__libc_memmove): New prototype.
27379 (memmove): Renamed to ...
27380 (__libc_memmove): This.
27381 (memmove): New strong alias of __libc_memmove.
27382
33b4a91e
MS
273832012-08-08 Mark Salter <msalter@redhat.com>
27384
27385 * elf/elf.h
27386 (R_MN10300_TLS_GD): Define.
27387 (R_MN10300_TLS_LD): Likewise.
27388 (R_MN10300_TLS_LDO): Likewise.
27389 (R_MN10300_TLS_GOTIE): Likewise.
27390 (R_MN10300_TLS_IE): Likewise.
27391 (R_MN10300_TLS_LE): Likewise.
27392 (R_MN10300_TLS_DTPMOD): Likewise.
27393 (R_MN10300_TLS_DTPOFF): Likewise.
27394 (R_MN10300_TLS_TPOFF): Likewise.
27395 (R_MN10300_SYM_DIFF): Likewise.
27396 (R_MN10300_ALIGN): Likewise.
27397 (R_MN10300_NUM): Update.
27398
b36137f1
JM
273992012-08-08 Joseph Myers <joseph@codesourcery.com>
27400
27401 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27402 Remove.
27403
cdd915fd
RM
274042012-08-08 Roland McGrath <roland@hack.frob.com>
27405
a2433aac
RM
27406 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27407
cdd915fd
RM
27408 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27409 sysdeps/unix -> sysdeps/posix move.
27410 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27411
bf9b740a
AM
274122012-08-07 Allan McRae <allan@archlinux.org>
27413
27414 [BZ #14303]
27415 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27416 (SUNOS_CPP): Likewise.
27417 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27418 not found.
27419 (open_input): Call CPP using execvp.
27420
93df14ee
JM
274212012-08-07 Joseph Myers <joseph@codesourcery.com>
27422
27423 * sysdeps/unix/sysv/linux/kernel-features.h
27424 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27425 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27426 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27427 (__ASSUME_WAITID_SYSCALL): Likewise.
27428 * sysdeps/unix/sysv/linux/dl-execstack.c
27429 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27430 code unconditional.
27431 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27432 conditional code.
27433 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27434 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27435 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27436 code.
27437 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27438 unconditional.
27439 [__ASSUME_WAITID_SYSCALL]: Likewise.
27440 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27441
d34689de
RM
274422012-08-07 Roland McGrath <roland@hack.frob.com>
27443
a281decc
RM
27444 * sysdeps/unix/closedir.c: Renamed to ...
27445 * sysdeps/posix/closedir.c: ... here.
27446 * sysdeps/unix/dirfd.c: Renamed to ...
27447 * sysdeps/posix/dirfd.c: ... here.
27448 * sysdeps/unix/dirstream.h: Renamed to ...
27449 * sysdeps/posix/dirstream.h: ... here.
27450 * sysdeps/unix/fdopendir.c: Renamed to ...
27451 * sysdeps/posix/fdopendir.c: ... here.
27452 * sysdeps/unix/opendir.c: Renamed to ...
27453 * sysdeps/posix/opendir.c: ... here.
27454 * sysdeps/unix/readdir.c: Renamed to ...
27455 * sysdeps/posix/readdir.c: ... here.
27456 * sysdeps/unix/readdir_r.c: Renamed to ...
27457 * sysdeps/posix/readdir_r.c: ... here.
27458 * sysdeps/unix/rewinddir.c: Renamed to ...
27459 * sysdeps/posix/rewinddir.c: ... here.
27460 * sysdeps/unix/seekdir.c: Renamed to ...
27461 * sysdeps/posix/seekdir.c: ... here.
27462 * sysdeps/unix/telldir.c: Renamed to ...
27463 * sysdeps/posix/telldir.c: ... here.
27464 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27465 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27466 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27467 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27468
22895b47
RM
27469 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27470 * bits/fcntl.h: ... here.
27471
707a53b6
RM
27472 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27473 not 0.
27474 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27475 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27476 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27477 (struct flock): Move l_start, l_len to the beginning.
27478 Use __pid_t for l_pid.
27479 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27480 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27481 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27482 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27483 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27484 [__USE_LARGEFILE64] (struct flock64): New type.
27485 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27486
f0bd3e25
RM
27487 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27488 * bits/dirent.h: ... here.
27489
d34689de
RM
27490 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27491 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27492
6dad2c06
JM
274932012-08-07 Joseph Myers <joseph@codesourcery.com>
27494
27495 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27496 Change from 2.6.0 to 2.6.16.
27497 * sysdeps/unix/sysv/linux/configure: Regenerated.
27498 * sysdeps/unix/sysv/linux/kernel-features.h
27499 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27500 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27501 version.
27502 (__ASSUME_UTIMES): Likewise.
27503 (__ASSUME_CLONE_STOPPED): Remove.
27504 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27505 architectures, not kernel version.
27506 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27507 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27508 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27509 (__ASSUME_WAITID_SYSCALL): Likewise.
27510 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27511 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27512 * README: State 2.6.16 as minimum Linux kernel version. Do not
27513 refer to older versions.
27514
03af9520
RM
275152012-08-06 Roland McGrath <roland@hack.frob.com>
27516
8e49df1d
RM
27517 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27518 Define alphasort64 as an alias.
27519 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27520 Define versionsort64 as an alias.
27521 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27522 Define scandir64 as an alias.
27523 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27524 Define scandirat64 as an alias.
27525 * dirent/alphasort64.c (alphasort64):
27526 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27527 * dirent/versionsort64.c: Likewise.
27528 * dirent/scandir64.c: Likewise.
27529 * dirent/scandirat64.c: Likewise.
27530 * sysdeps/wordsize-64/alphasort.c: File removed.
27531 * sysdeps/wordsize-64/alphasort64.c: File removed.
27532 * sysdeps/wordsize-64/scandir.c: File removed.
27533 * sysdeps/wordsize-64/scandir64.c: File removed.
27534 * sysdeps/wordsize-64/scandirat.c: File removed.
27535 * sysdeps/wordsize-64/scandirat64.c: File removed.
27536 * sysdeps/wordsize-64/versionsort.c: File removed.
27537 * sysdeps/wordsize-64/versionsort64.c: File removed.
27538 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27539 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27540 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27541 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27542 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27543 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27544 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27545 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27546
27547 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27548 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27549 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27551 [defined __arch64__ || defined __sparcv9]
27552 (__INO_T_MATCHES_INO64_T): New macro.
27553 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27554 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27555 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27556 * sysdeps/unix/sysv/linux/bits/dirent.h
27557 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27558 (_DIRENT_MATCHES_DIRENT64): New macro.
27559
03af9520
RM
27560 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27561 Define lockf64 as an alias.
27562 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27563 Define fseeko64 as an alias.
27564 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27565 Define ftello64 as an alias.
27566 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27567 Define _IO_fgetpos64 and fgetpos64 as aliases.
27568 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27569 Define _IO_fsetpos64 and fsetpos64 as aliases.
27570 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27571 Conditionalize body on this.
27572 * libio/fseeko64.c: Likewise.
27573 * libio/ftello64.c: Likewise.
27574 * libio/iofgetpos64.c: Likewise.
27575 * libio/iofsetpos64.c: Likewise.
27576 * sysdeps/wordsize-64/lockf.c: File removed.
27577 * sysdeps/wordsize-64/lockf64.c: File removed.
27578 * sysdeps/wordsize-64/fseeko.c: File removed.
27579 * sysdeps/wordsize-64/fseeko64.c: File removed.
27580 * sysdeps/wordsize-64/ftello.c: File removed.
27581 * sysdeps/wordsize-64/ftello64.c: File removed.
27582 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27583 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27584 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27585 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27586 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27587 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27588 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27589 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27590 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27591 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27592 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27593 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27594 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27595 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27596
27597 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27598 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27599 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27601 [defined __arch64__ || defined __sparcv9]
27602 (__OFF_T_MATCHES_OFF64_T): New macro.
27603 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27604 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27606 (__OFF_T_MATCHES_OFF64_T): New macro.
27607
c5757acd
L
276082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27609
27610 * stdlib/secure-getenv.c (__secure_getenv): Replace
27611 GLIBC_2_16 with GLIBC_2_17.
27612
3a31811e
L
276132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27614
27615 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27616 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27617
faa2bccb
DM
276182012-08-03 David S. Miller <davem@davemloft.net>
27619
27620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27621
85fe1997
JM
276222012-08-03 Joseph Myers <joseph@codesourcery.com>
27623
27624 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27625 Remove.
27626 (__ASSUME_CORRECT_SI_PID): Likewise.
27627 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27628 (__ASSUME_TMPFS_NAME): Likewise.
27629 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27630 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27631 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27632 (HAVE_AUX_SECURE): Make definition unconditional.
27633 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27634 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27635
4f75b7a0
RM
276362012-08-03 Roland McGrath <roland@hack.frob.com>
27637
27638 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27639 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27640 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27641 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27642 __eloop_threshold instead of SYMLOOP_MAX.
27643
27644 * sysdeps/generic/eloop-threshold.h: New file.
27645 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27646 of MAXSYMLINKS.
27647 * elf/chroot_canon.c (chroot_canon): Likewise.
27648
7aab07e4
JM
276492012-08-03 Joseph Myers <joseph@codesourcery.com>
27650
27651 [BZ #13717]
27652 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27653 Change to 2.6.0 everywhere.
27654 * sysdeps/unix/sysv/linux/configure: Regenerated.
27655 * sysdeps/unix/sysv/linux/kernel-features.h
27656 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27657 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27658 kernel versions.
27659 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27660 (__ASSUME_FUTEX_REQUEUE): Remove.
27661 (__ASSUME_STATFS64): Define unconditionally.
27662 (__ASSUME_AT_SECURE): Likewise.
27663 (__ASSUME_CORRECT_SI_PID): Likewise.
27664 (__ASSUME_TGKILL): Define without depending on kernel version for
27665 i386.
27666 (__ASSUME_UTIMES): Likewise.
27667 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27668 kernel version.
27669 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27670 (__ASSUME_TMPFS_NAME): Likewise.
27671 * README: Update reference to Linux kernel versions.
27672
b67e9372
MP
276732012-08-02 Marek Polacek <polacek@redhat.com>
27674
1f529f7d 27675 [BZ# 14150]
b67e9372
MP
27676 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27677 libc_cv_asm_type_prefix with %.
27678 * configure: Regenerated.
d2441631
RM
27679 * include/libc-symbols.h: Remove comment about
27680 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27681 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27682 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27683 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27684 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27685 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27686 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27687 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27688 * elf/tst-unique2mod1.c: Likewise.
27689 * elf/tst-unique1mod2.c: Likewise.
27690 * elf/tst-unique1mod1.c: Likewise.
27691 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27692 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27693 Replace ASM_TYPE_DIRECTIVE with .type.
27694 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27695 * sysdeps/i386/sysdep.h: Likewise.
27696 * sysdeps/x86_64/sysdep.h: Likewise.
27697 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27699 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27700 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27701 * sysdeps/powerpc/powerpc32/sysdep.h:
27702 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27703 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27704 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27705 * sysdeps/i386/fpu/e_powf.S: Likewise.
27706 * sysdeps/i386/fpu/e_expl.S: Likewise.
27707 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27708 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27709 * sysdeps/i386/fpu/e_pow.S: Likewise.
27710 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27711 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27712 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27713 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27714 * sysdeps/i386/fpu/e_log2.S: Likewise.
27715 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27716 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27717 * sysdeps/i386/fpu/e_powl.S: Likewise.
27718 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27719 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27720 * sysdeps/i386/fpu/e_logl.S: Likewise.
27721 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27722 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27723 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27724 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27725 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27726 * sysdeps/i386/fpu/e_log.S: Likewise.
27727 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27728 * sysdeps/i386/fpu/e_logf.S: Likewise.
27729 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27730 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27731 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27732 * sysdeps/i386/fpu/e_log10.S: Likewise.
27733 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27734 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27735 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27736 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27737 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27738 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27739 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27740 * sysdeps/i386/i686/strtok.S: Likewise.
27741 * sysdeps/i386/i386-mcount.S: Likewise.
27742 * sysdeps/i386/strtok.S: Likewise.
27743 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27744 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27745 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27746 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27747 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27748 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27749 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27750 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27751 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27752 * sysdeps/x86_64/_mcount.S: Likewise.
27753 * sysdeps/x86_64/strtok.S: Likewise.
27754 * sysdeps/sh/_mcount.S: Likewise.
27755
2747bf9a
RM
277562012-08-01 Roland McGrath <roland@hack.frob.com>
27757
27758 * libio/iofopen.c: Include <fcntl.h>.
27759 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27760 (_IO_fopen64, fopen64): Define as aliases.
27761 * libio/iofopen64.c: Include <fcntl.h>.
27762 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27763 Conditionalize body on this.
27764 * sysdeps/wordsize-64/iofopen.c: File removed.
27765 * sysdeps/wordsize-64/iofopen64.c: File removed.
27766
3fb791b8
MP
277672012-08-01 Marek Polacek <polacek@redhat.com>
27768
27769 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27770 Use dlfcn directly instead of a variable.
27771 (binfmt-subdir): Do not define.
27772 (dlfcn): Likewise.
27773
a9f1039f
JM
277742012-08-01 Joseph Myers <joseph@codesourcery.com>
27775
23bddc06
JM
27776 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27777 Remove all definitions.
27778 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27779 <kernel-features.h>.
27780 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27781 (miss_F_GETOWN_EX): Remove all definitions.
27782 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27783 macro definition.
27784 [!__ASSUME_FCNTL64]: Remove conditional code.
27785 [__ASSUME_FCNTL64]: Make code unconditional.
27786 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27787 <kernel-features.h>.
27788 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27789 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27790 (lockf64) [__NR_fcntl64]: Make code unconditional.
27791 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27792
a9f1039f
JM
27793 * sysdeps/unix/sysv/linux/kernel-features.h
27794 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27795 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27796 Make code unconditional.
27797 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27798 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27800 [__NR_vfork]: Make code unconditional.
27801 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27802 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27804 [__NR_vfork]: Make code unconditional.
27805 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27806 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27807
09c0ee5f
RM
278082012-08-01 Roland McGrath <roland@hack.frob.com>
27809
48aec5b9
RM
27810 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27811 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27812
cd97c966
RM
27813 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27814 Define mkstemp64 as an alias.
3f55550c
RM
27815 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27816 Define mkstemps64 as an alias.
cd97c966
RM
27817 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27818 Define mkostemp64 as an alias.
b8625cfc
RM
27819 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27820 Define mkostemps64 as an alias.
cd97c966
RM
27821 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27822 Conditionalize body on this.
27823 * misc/mkostemp64.c: Likewise.
b8625cfc 27824 * misc/mkostemps64.c: Likewise.
3f55550c 27825 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27826 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27827 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27828 * sysdeps/wordsize-64/mkostemp.c: File removed.
27829 * sysdeps/wordsize-64/mkstemp.c: File removed.
27830 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27831 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27832 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27833 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27834
09c0ee5f
RM
27835 [BZ #14138]
27836 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27837 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27838 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27839 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27840
27841 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27842 compat_symbol macros from <shlib-compat.h> rather than the underlying
27843 default_symbol_version and symbol_version macros, so that DEFAULT
27844 lines in shlib-versions are respected.
27845 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27846
7e66ee51
FW
278472012-08-01 Florian Weimer <fweimer@redhat.com>
27848
27849 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27850 Declare with warn_unused_result.
27851 (setgid, setregid, setegid, setresgid): Likewise.
27852 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27853 Likewise.
27854 * WUR-REPORT: Remove set*id functions.
27855
d2a54255
PT
278562012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27857
27858 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27859
7ecdb005
RM
278602012-07-31 Roland McGrath <roland@hack.frob.com>
27861
b4180a5e 27862 [BZ #10191]
789bd351
RM
27863 * include/sys/socket.h (__libc_accept, __libc_accept4):
27864 Add attribute_hidden.
27865 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27866
40ce302d
RM
27867 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27868 use of PTR_MANGLE.
27869 * inet/getnetgrent_r.c (setup): Likewise.
27870
7ecdb005
RM
27871 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27872
e2eabb2c
DM
278732012-07-31 David S. Miller <davem@davemloft.net>
27874
27875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27876
d0419dbf
JM
278772012-07-31 Joseph Myers <joseph@codesourcery.com>
27878
27879 [BZ #13629]
27880 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27881 value between 1.0 and 2.0 and smaller part has absolute value less
27882 than 1.0.
27883 * math/s_clog10.c (__clog10): Likewise.
27884 * math/s_clog10f.c (__clog10f): Likewise.
27885 * math/s_clog10l.c (__clog10l): Likewise.
27886 * math/s_clogf.c (__clogf): Likewise.
27887 * math/s_clogl.c (__clogl): Likewise.
27888 * math/libm-test.inc (clog_test): Add more tests.
27889 (clog10_test): Likewise.
27890 * sysdeps/i386/fpu/libm-test-ulps: Update.
27891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27892
2bc13872
FW
278932012-07-31 Florian Weimer <fweimer@redhat.com>
27894
27895 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27896 Exit with zero in case no suitable GID is found, and write a
27897 message to standard error.
27898
bea9b193
RM
278992012-07-30 Roland McGrath <roland@hack.frob.com>
27900
27901 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27902 rather than to 1.
27903 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27904 (MAXPATHLEN): Removed.
27905 (NOGROUP, NODEV): New macros.
27906 (setbit, clrbit, isset, isclr): New macros.
27907 (howmany, roundup, powerof2): New macros.
27908 (DEV_BSIZE): New macro.
27909
27910 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27911 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27912
27913 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27914 definition on [!__NO_LONG_DOUBLE_MATH].
27915
27916 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27917 PTR_MANGLE and PTR_DEMANGLE.
27918
27919 * socket/accept4.c (accept4): Rename to __libc_accept4.
27920 Define accept4 as a weak alias.
27921
27922 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27923 on [_DIRENT_HAVE_D_TYPE].
27924 * io/ftw.c (ftw_dir): Likewise.
27925
27926 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27927
27928 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27929
27930 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27931 Use the BSD numbers rather than the arbitrary ones we had.
27932 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27933 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27934 (SIGXCPU, SIGXFSZ): New macros.
27935 (_NSIG): Now 32.
27936
27937 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27938 initializer on [_LIBC_REENTRANT].
27939
27940 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27941 definitions inside [_POSIX_MAPPED_FILES].
27942
27943 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27944
27945 * dirent/opendir.c: Include <fcntl.h>.
27946
27947 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27948 (__libc_getspecific): Likewise.
27949 (__libc_key_create): Likewise.
27950
27951 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27952 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27953 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27954 (tmpfile64): Define as alias.
27955 * sysdeps/wordsize-64/tmpfile.c: File removed.
27956 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27957 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27958 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27959
27960 * stdio-common/vfscanf.c: Include <stdbool.h>.
27961 * nss/makedb.c: Likewise.
27962 * stdio-common/_i18n_number.h: Likewise.
27963 * argp/argp-help.c: Likewise.
27964 * posix/wordexp.c: Likewise.
27965 * sysdeps/posix/spawni.c: Likewise.
27966 * nss/nss_files/files-initgroups.c: Likewise.
27967 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27968 * nss/nss_files/files-initgroups.c: Likewise.
27969 * nss/nss_db/db-netgrp.c: Likewise.
27970 * nss/nss_db/db-initgroups.c: Likewise.
27971 * io/fchmodat.c: Include <sys/stat.h>.
27972
27973 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27974 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27975
27976 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27977 [HAVE_MMAP].
27978
27979 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27980 Add multiple inclusion protection.
27981
e5abc686
DM
279822012-07-27 David S. Miller <davem@davemloft.net>
27983
27984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27985
815e6fa3
GB
279862012-07-27 Gary Benson <gbenson@redhat.com>
27987
27988 [BZ #14298]
27989 * elf/rtld.c: Include <stap-probe.h>.
27990 (dl_main): Added static probes "init_start" and "init_complete".
27991 * elf/dl-load.c: Include <stap-probe.h>.
27992 (lose): Take new parameter "nsid".
27993 Added static probe "map_failed".
27994 (_dl_map_object_from_fd): Pass namespace id to lose.
27995 Added static probe "map_start".
27996 (open_verify): Pass namespace id to lose.
27997 * elf/dl-open.c: Include <stap-probe.h>.
27998 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27999 and "reloc_complete".
28000 * elf/dl-close.c: Include <stap-probe.h>.
28001 (_dl_close_worker): Added static probes "unmap_start" and
28002 "unmap_complete".
28003 * elf/rtld-debugger-interface.txt: New file documenting the above.
28004
9f98c16c
RM
280052012-07-26 Roland McGrath <roland@hack.frob.com>
28006
28007 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28008 rather than a string variable.
28009 * sunrpc/rpc_main.c (h_output): Likewise.
28010 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28011
f3c22df3
PT
280122012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28013
28014 * inet/check_native.c: New file.
28015
3129cfc6
JM
280162012-07-26 Joseph Myers <joseph@codesourcery.com>
28017
da865e95
JM
28018 [BZ #13629]
28019 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28020 if larger part has absolute value 1.0.
28021 * math/s_clog10.c (__clog10): Likewise.
28022 * math/s_clog10f.c (__clog10f): Likewise.
28023 * math/s_clog10l.c (__clog10l): Likewise.
28024 * math/s_clogf.c (__clogf): Likewise.
28025 * math/s_clogl.c (__clogl): Likewise.
28026 * math/libm-test.inc (clog_test): Add more tests.
28027 (clog10_test): Likewise.
28028 * sysdeps/i386/fpu/libm-test-ulps: Update.
28029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28030
3129cfc6
JM
28031 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28032 (pltexit): Likewise.
28033 (La_regs): Likewise.
28034 (La_retval): Likewise.
28035 (int_retval): Likewise.
28036 Update #error for removed macros to refer only to definitions in
28037 tst-audit.h.
28038 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28039 macro.
28040 (pltexit): Likewise.
28041 (La_regs): Likewise.
28042 (La_retval): Likewise.
28043 (int_retval): Likewise.
28044 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28045 macro.
28046 (pltexit): Likewise.
28047 (La_regs): Likewise.
28048 (La_retval): Likewise.
28049 (int_retval): Likewise.
28050 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28051 macro.
28052 (pltexit): Likewise.
28053 (La_regs): Likewise.
28054 (La_retval): Likewise.
28055 (int_retval): Likewise.
28056 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28057 macro.
28058 (pltexit): Likewise.
28059 (La_regs): Likewise.
28060 (La_retval): Likewise.
28061 (int_retval): Likewise.
28062 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28063 macro.
28064 (pltexit): Likewise.
28065 (La_regs): Likewise.
28066 (La_retval): Likewise.
28067 (int_retval): Likewise.
28068 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28069 macro.
28070 (pltexit): Likewise.
28071 (La_regs): Likewise.
28072 (La_retval): Likewise.
28073 (int_retval): Likewise.
28074 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28075 macro definitions in tst-audit.h.
28076 * sysdeps/i386/tst-audit.h: New file.
28077 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28078 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28079 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28080 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28081 * sysdeps/sh/tst-audit.h: Likewise.
28082 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28083 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28084 * sysdeps/x86_64/tst-audit.h: Likewise.
28085
bfc07087
AJ
280862012-07-26 Andreas Jaeger <aj@suse.de>
28087
b1b2aaf8
AJ
28088 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28089 ptrace.
28090
28091 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28092 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28093 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28094 PTRACE_O_MASK.
28095 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28096 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28097 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28098
bfc07087
AJ
28099 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28100 value.
28101
28102 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28103 _sigsys.
28104 (si_call_addr, si_syscall, si_arch): Define new macro.
28105 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28106 _sigsys.
28107 (si_call_addr, si_syscall, si_arch): Define new marcro.
28108 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28109 _sigsys.
28110 (si_call_addr, si_syscall, si_arch): Define new macro.
28111 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28112 _sigsys.
28113 (si_call_addr, si_syscall, si_arch): Define new macro.
28114
89b4b02f
JM
281152012-07-25 Joseph Myers <joseph@codesourcery.com>
28116
28117 [BZ #13717]
28118 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28119 Change to 2.4.21 where previously 2.4.1.
28120 * sysdeps/unix/sysv/linux/configure: Regenerated.
28121 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28122 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28123 Linux kernel version.
28124 (__ASSUME_STD_AUXV): Remove.
28125 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28126 kernel version.
28127 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28128 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28129 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28130 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28131 (__ASSUME_NETLINK_SUPPORT): Likewise.
28132 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28133 (__no_netlink_support): Remove conditional definition.
28134 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28135 Remove.
28136 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28137 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28138 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28139 (if_nameindex_ioctl): Remove.
28140 (if_nameindex_netlink): Do not handle __no_netlink_support.
28141 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28142 code.
28143 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28144 Remove conditional code.
28145 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28146 code.
28147 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28148 unconditional.
28149 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28150 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28151 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28152 Remove.
28153 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28154 [!__ASSUME_STD_AUXV]: Remove conditional code.
28155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28156 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28157 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28159 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28160 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28161 code.
28162 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28164 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28165 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28166 conditional code.
28167 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28169 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28170 code.
28171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28172 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28173 conditional code.
28174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28175 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28176 code unconditional.
28177 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28178 conditional code.
28179 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28180 unconditional.
28181 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28182 conditional code.
28183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28184 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28185 unconditional.
28186 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28187 conditional code.
28188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28189 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28190 code unconditional.
28191 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28192 conditional code.
28193 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28194 unconditional.
28195 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28196 conditional code.
28197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28198 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28199 code unconditional.
28200 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28201 conditional code.
28202 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28203 unconditional.
28204 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28205 conditional code.
28206
842a39cd
AS
282072012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28208
28209 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28210 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28211 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28212 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28213 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28214 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28215 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28216 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28217 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28218 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28219 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28220 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28221 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28222 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28223 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28224 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28225 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28226 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28227 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28229 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28230 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28231 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28232
84b3fd84
FW
282332012-07-25 Florian Weimer <fweimer@redhat.com>
28234
28235 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28236 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28237 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28238 Introduce __libc_secure_getenv.
0c7936d5
FW
28239 * stdlib/Versions (2.17): Add secure_getenv
28240 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28241 * stdlib/secure-getenv.c: Rename __secure_getenv to
28242 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28243 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28244 * stdlib/tst-secure-getenv.c: New.
28245 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28246 * manual/startup.texi (Environment Access): Document
28247 secure_getenv.
84b3fd84
FW
28248 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28249 __libc_secure_getenv.
28250 * inet/ruserpass.c (ruserpass): Likewise.
28251 * malloc/mtrace.c (mtrace): Likewise.
28252 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28253 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28254 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28255 * sysdeps/posix/tempname.c: Likewise. Evaluate
28256 HAVE_SECURE_GETENV.
28257 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28258 __secure_getenv to __libc_secure_getenv.
84b3fd84 28259 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28261 Likewise.
28262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28263 Likewise.
28264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28271
56e49b71
JM
282722012-07-25 Joseph Myers <joseph@codesourcery.com>
28273
28274 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28275 (struct La_i86_retval): Likewise.
28276 (struct La_x86_64_regs): Likewise.
28277 (struct La_x86_64_retval): Likewise.
28278 (struct La_x32_regs): Likewise.
28279 (struct La_x32_retval): Likewise.
28280 (struct La_ppc32_regs): Likewise.
28281 (struct La_ppc32_retval): Likewise.
28282 (struct La_ppc64_regs): Likewise.
28283 (struct La_ppc64_retval): Likewise.
28284 (struct La_sh_regs): Likewise.
28285 (struct La_sh_retval): Likewise.
28286 (struct La_s390_32_regs): Likewise.
28287 (struct La_s390_32_retval): Likewise.
28288 (struct La_s390_64_regs): Likewise.
28289 (struct La_s390_64_retval): Likewise.
28290 (struct La_sparc32_regs): Likewise.
28291 (struct La_sparc32_retval): Likewise.
28292 (struct La_sparc64_regs): Likewise.
28293 (struct La_sparc64_retval): Likewise.
28294 (struct audit_ifaces): Remove architecture-specific pltenter and
28295 pltexit members.
28296 * sysdeps/i386/ldsodefs.h: New file.
28297 * sysdeps/powerpc/ldsodefs.h: Likewise.
28298 * sysdeps/s390/ldsodefs.h: Likewise.
28299 * sysdeps/sh/ldsodefs.h: Likewise.
28300 * sysdeps/sparc/ldsodefs.h: Likewise.
28301 * sysdeps/x86_64/ldsodefs.h: Likewise.
28302
354691b7
MP
283032012-07-25 Marek Polacek <polacek@redhat.com>
28304
28305 [BZ #6808]
28306 * math/libm-test.inc (yn_test): Add another test.
28307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28308 to ERANGE when the result is +-Inf.
28309 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28310 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28311 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28312 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28313
bf9e2071
JM
283142012-07-24 Joseph Myers <joseph@codesourcery.com>
28315
28316 * conform/data/time.h-data (NULL): Use macro-constant. Require
28317 equal to 0.
28318 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28319 clock_t.
28320 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28321
57633811
TS
283222012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28323
28324 * configure.in <sysdeps resolving>: Correct printing
28325 Implies_before.
28326 * configure: Regenerate.
28327
c23c33b0
TS
283282012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28329
28330 * math/w_ilogb.c: Include <limits.h>.
28331 * math/w_ilogbl.c: Likewise.
28332
b5982523
JM
283332012-07-20 Joseph Myers <joseph@codesourcery.com>
28334
28335 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28336 va_copy. Document allowing for unavailable va_copy only as
28337 pre-C99 compatibility.
28338 * manual/string.texi (Copying and Concatenation): Use va_copy
28339 instead of __va_copy in concat example.
28340
ac4ea442
PT
283412012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28342
28343 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28344 (__sendto): Use create_address_port. Initialize APORT and deallocate
28345 it if not null.
28346
f98eafbd
PT
28347 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28348 with O_NOLINK passed to __file_name_lookup.
28349
898c7aab
PT
28350 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28351 with O_NOLINK passed to __file_name_lookup.
28352
0ced335a
PT
28353 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28354 negative N or less than NGIDS.
28355
b3404dbd
PT
28356 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28357 type to string_t. Set ERANGE as errno and return it if NAME is not big
28358 enough. Use memcpy instead of strncpy.
28359
0f48659e
JM
283602012-07-20 Joseph Myers <joseph@codesourcery.com>
28361
28362 * elf/Makefile (check-data): Remove.
28363 (localplt.data): New vpath directive.
28364 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28365 instead of $(check-data).
28366 * scripts/data/localplt-generic.data: Move to ...
28367 * sysdeps/generic/localplt.data: ... here.
28368 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28369 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28370 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28372 ... here.
28373 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28375 ... here.
28376 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28378 ... here.
28379 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28381 ... here.
28382 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28384 ... here.
28385 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28387 ... here.
28388
d37cbdaa
AZ
283892012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28390
28391 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28392 PPC32 and PPC64 files.
28393 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28394 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28395
46f85fc2
AK
283962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28397
28398 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28399 __makecontext_ret to ...
28400 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28401 ... here and call exit if uc_link is NULL. New file.
28402 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28403 __makecontext_ret.S.
28404 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28405 __makecontext_ret to ...
28406 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28407 ... here and call exit if uc_link is NULL. New file.
28408 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28409 __makecontext_ret.S.
28410
08f43f9b
AK
284112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28412
28413 * elf/elf.h (R_390_IRELATIVE): New definition.
28414 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28415 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28416 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28417 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28418 (elf_machine_lazy_rel): Likewise.
28419 * sysdeps/s390/dl-irel.h: New file.
28420 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28421 * sysdeps/s390/s390-64/memset.S: New asm code.
28422 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28423 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28424 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28425 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28426 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28427 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28428 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28429 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28430 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28431 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28432 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28433 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28434 * sysdeps/s390/s390-32/memset.S: New asm code.
28435 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28436
3b05db33
MP
284372012-07-17 Marek Polacek <polacek@redhat.com>
28438
28439 [BZ #14349]
28440 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28441 * sysdeps/s390/s390-64/configure.in: Likewise.
28442 * sysdeps/sparc/configure.in: Likewise.
28443 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28444 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28445 * sysdeps/i386/configure.in: Likewise.
28446 * sysdeps/x86_64/configure.in: Likewise.
28447 * sysdeps/sh/configure.in: Likewise.
28448 * sysdeps/s390/s390-32/configure: Regenerated.
28449 * sysdeps/s390/s390-64/configure: Likewise.
28450 * sysdeps/x86_64/configure: Likewise.
28451 * sysdeps/sh/configure: Likewise.
28452 * sysdeps/powerpc/powerpc64/configure: Likewise.
28453 * sysdeps/powerpc/powerpc32/configure: Likewise.
28454 * sysdeps/sparc/configure: Likwise.
28455 * sysdeps/i386/configure: Likewise.
28456
a66877c6
MP
28457 * elf/dl-open.c: Comment fixes.
28458
cfc82fd8
JM
284592012-07-17 Joseph Myers <joseph@codesourcery.com>
28460
bd29910a
JM
28461 * Makefile [CXX] (check-data): Remove.
28462 [CXX] (c++-types.data): New vpath directive.
28463 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28464 vpath. Do not allow for C++ type data being missing.
28465 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28466 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28467 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28468 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28469 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28470 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28471 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28473 ... here.
28474 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28476 ... here.
28477 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28479 ... here.
28480 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28482 ... here.
28483 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28485 ... here.
28486 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28488 ... here.
28489 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28491 ... here.
28492 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28494
cfc82fd8
JM
28495 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28496 definitions to architecture-specific files.
28497 (TLS_IE): Likewise.
28498 (TLS_LD): Likewise.
28499 (TLS_GD): Likewise.
28500 * sysdeps/i386/tls-macros.h: New file.
28501 * sysdeps/powerpc/tls-macros.h: Likewise.
28502 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28503 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28504 * sysdeps/sh/tls-macros.h: Likewise.
28505 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28506 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28507 * sysdeps/x86_64/tls-macros.h: Likewise.
28508
f7db3170
TS
285092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28510
07cbfc23
TS
28511 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28512 zero value for regular exit case.
28513
f7db3170
TS
28514 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28515 (__start_context): Preserve zero value for regular exit case.
28516
dc97c227
TS
285172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28518 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28519
28520 * manual/setjmp.texi (setcontext): Clarify normal process
28521 termination when uc_link is the null pointer.
28522 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28523 exit call.
28524
d0cd7d02
AS
285252012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28526
28527 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28528 preprocessor. Test for each exception mask separately.
28529
dd318934
AJ
285302012-07-16 Andreas Jaeger <aj@suse.de>
28531
28532 * po/ru.po: Update from translation team.
28533
8048311a
JM
285342012-07-15 Joseph Myers <joseph@codesourcery.com>
28535
28536 * conform/data/string.h-data (NULL): Use macro-constant. Require
28537 equal to 0.
28538 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28539 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28540 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28541 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28542 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28543
b637d46e
AJ
285442012-07-13 Andreas Jaeger <aj@suse.de>
28545
28546 * po/fr.po: Update from translation team.
28547
541428fe
MP
285482012-07-12 Marek Polacek <polacek@redhat.com>
28549
28550 [BZ #14173]
28551 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28552 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28553 loop condition.
28554
ec332e94
JM
285552012-07-12 Joseph Myers <joseph@codesourcery.com>
28556
28557 [BZ #13717]
28558 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28559 Change to 2.4.1 where previously 2.4.0.
28560 * sysdeps/unix/sysv/linux/configure: Regenerated.
28561 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28562 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28563 version.
28564 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28565 (__ASSUME_AT_CLKTCK): Remove.
28566 (__ASSUME_AT_PAGESIZE): Likewise.
28567 (__ASSUME_AT_XID): Likewise.
28568 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28569 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28570 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28571 unconditionally.
28572 (HAVE_AUX_PAGESIZE): Likewise.
28573 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28574 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28575 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28576
7b6e99be
JB
285772012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28578
28579 [BZ #14307]
28580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28581 the temporary buffer used to invoke __gethostbyname2_r,
28582 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28583 host_data / struct gaih_addrtuple.
28584 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28585 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28586 header file nss/nsswitch.h.
28587 * nss/nsswitch.h (global scope): Add definition of implementation
28588 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28589 resolv/nss_dns/dns-host.c).
28590
608404eb
AJ
285912012-07-11 Andreas Jaeger <aj@suse.de>
28592
28593 * po/fr.po: Update from translation team.
28594
71220aca
AJ
28595 * po/sv.po: Update from translation team
28596 * po/fr.po: Another update from translation team.
28597
28cfe843
AZ
285982012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28599
28600 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28601 for subnormals or multiply small sinh result by itself.
28602 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28604
6b90f981
DM
286052012-07-11 David S. Miller <davem@davemloft.net>
28606
28607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28608
c6825772
AS
286092012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28610
28611 [BZ #14347]
28612 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28613 (INTERNAL_MARK): Shift it here.
28614
7b8e0d49
MP
286152012-07-10 Marek Polacek <polacek@redhat.com>
28616
28617 [BZ #14151]
28618 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28619 libc_cv_asm_global_directive with .globl.
28620 * configure: Regenerated.
28621 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28622 with .globl.
28623 * sysdeps/i386/configure: Regenerated.
28624 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28625 with .globl.
28626 * sysdeps/x86_64/configure: Regenerated.
28627 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28628 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28629 * elf/tst-unique2mod2.c: Likewise.
28630 * elf/tst-unique2mod1.c: Likewise.
28631 * elf/tst-unique1mod2.c: Likewise.
28632 * elf/tst-unique1mod1.c: Likewise.
28633 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28634 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28635 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28636 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28637 * sysdeps/mach/sysdep.h: Likewise.
28638 * sysdeps/i386/sysdep.h: Likewise.
28639 * sysdeps/i386/i386-mcount.S: Likewise.
28640 * sysdeps/x86_64/_mcount.S: Likewise.
28641 * sysdeps/x86_64/sysdep.h: Likewise.
28642 * sysdeps/sh/_mcount.S: Likewise.
28643 * sysdeps/sh/sysdep.h: Likewise.
28644 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28645 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28646 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28647 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28648 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28649 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28650 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28651 * locale/localeinfo.h: Likewise.
28652 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28653 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28654
6c55cda3
RM
286552012-07-09 Roland McGrath <roland@hack.frob.com>
28656
28657 [BZ #14336]
28658 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28659 system".
28660 * manual/message.texi (The Uniforum approach): Likewise.
28661 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28662 (glibc iconv Implementation): Likewise.
28663
638a572e
JM
286642012-07-09 Joseph Myers <joseph@codesourcery.com>
28665
28666 [BZ #14337]
28667 * math/s_clog.c (__clog): Avoid scaling a value down where that
28668 could result in underflow.
28669 * math/s_clog10.c (__clog10): Likewise.
28670 * math/s_clog10f.c (__clog10f): Likewise.
28671 * math/s_clog10l.c (__clog10l): Likewise.
28672 * math/s_clogf.c (__clogf): Likewise.
28673 * math/s_clogl.c (__clogl): Likewise.
28674 * math/libm-test.inc (clog_test): Add more tests.
28675 (clog10_test): Likewise.
28676 * sysdeps/i386/fpu/libm-test-ulps: Update.
28677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28678
261f4859
AS
286792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28680
0abaf3e4
AS
28681 [BZ #14283]
28682 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28683 by 7 not 8 to examine high bit of fractional part.
28684
261f4859
AS
28685 [BZ #14042]
28686 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28687 for call to __mcount_internal.
28688 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28689 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28690 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28691
f17ac40d
JM
286922012-07-06 Joseph Myers <joseph@codesourcery.com>
28693
9ad63c23
JM
28694 [BZ #14154]
28695 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28696 approximation for values within 0x1p-13f of an odd multiple of
28697 pi/4.
28698 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28699 exception. Add more tests.
28700 * sysdeps/i386/fpu/libm-test-ulps: Update.
28701
f17ac40d
JM
28702 [BZ #6778]
28703 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28704 inputs and return -1 for them. Do not check for +Inf in case not
28705 reachable for +Inf.
28706 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28707 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28708 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28709 and return -1 for them. Do not check for +Inf in case not
28710 reachable for +Inf.
28711 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28712 define.
28713 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28714 and return -1 for them. Do not check for +Inf in case not
28715 reachable for +Inf.
28716 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28717 spurious underflow.
28718 * sysdeps/i386/fpu/libm-test-ulps: Update.
28719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28720
fb21f89b
MF
287212012-07-06 Mike Frysinger <vapier@gentoo.org>
28722
28723 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28724
cdfe2c5e
JM
287252012-07-05 Joseph Myers <joseph@codesourcery.com>
28726
28727 [BZ #14157]
28728 [BZ #14331]
28729 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28730 could result in spurious underflow. Scale down values above
28731 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28732 * math/s_csqrtf.c (__csqrtf): Likewise.
28733 * math/s_csqrtl.c (__csqrtl): Likewise.
28734 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28735 spurious underflow.
28736 * sysdeps/i386/fpu/libm-test-ulps: Update.
28737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28738
70d35b67
AS
287392012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28740
704bc459
AS
28741 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28742 xopen-msg.sed.
28743 * catgets/xopen-msg.awk: New file.
28744 * catgets/xopen-msg.sed: Removed.
28745
70d35b67
AS
28746 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28747 po2text.sed.
28748 * intl/po2test.awk: New file.
28749 * intl/po2test.sed: Removed.
28750
ca61cf32
JM
287512012-07-04 Joseph Myers <joseph@codesourcery.com>
28752
28753 [BZ #14328]
28754 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28755 or multiply small sinh result by itself.
28756 * math/s_ctanf.c (__ctanf): Likewise.
28757 * math/s_ctanh.c (__ctanh): Likewise.
28758 * math/s_ctanhf.c (__ctanhf): Likewise.
28759 * math/s_ctanhl.c (__ctanhl): Likewise.
28760 * math/s_ctanl.c (__ctanl): Likewise.
28761 * math/libm-test.inc (ctan_test_tonearest): New function.
28762 (ctan_test_towardzero): Likewise.
28763 (ctan_test_downward): Likewise.
28764 (ctan_test_upward): Likewise.
28765 (ctanh_test_tonearest): Likewise.
28766 (ctanh_test_towardzero): Likewise.
28767 (ctanh_test_downward): Likewise.
28768 (ctanh_test_upward): Likewise.
28769 (main): Call these new functions.
28770 * sysdeps/i386/fpu/libm-test-ulps: Update.
28771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28772
ca48a46a
MF
287732012-07-03 Mike Frysinger <vapier@gentoo.org>
28774
28775 * .gitignore: Delete /ports entry.
28776
9d63d37d
AJ
287772012-07-03 Andreas Jaeger <aj@suse.de>
28778
28779 * po/bg.po: Update from translation team.
28780 * po/cs.po: Likewise.
28781 * po/de.po: Likewise.
28782 * po/hr.po: Likewise.
28783 * po/nl.pl: Likewise.
28784 * po/pl.po: Likewise.
28785 * po/vi.po: Likewise.
28786
370ca3d2
JM
287872012-07-03 Joseph Myers <joseph@codesourcery.com>
28788
95f5a9a8
JM
28789 * Makeconfig [!+link] (+link-before-libc): New variable.
28790 [!+link] (+link-after-libc): Likewise.
28791 [!+link] (+link-tests): Likewise.
28792 [!+link] (+link): Define in terms of $(+link-before-libc) and
28793 $(+link-after-libc).
28794 [!+link-static] (+link-static-before-libc): New variable.
28795 [!+link-static] (+link-static-after-libc): Likewise.
28796 [!+link-static] (+link-static-tests): Likewise.
28797 [!+link-static] (+link-static): Define in terms of
28798 $(+link-static-before-libc) and $(+link-static-after-libc).
28799 [build-shared] (link-libc-before-gnulib): New variable.
28800 [build-shared] (link-libc-tests): Likewise.
28801 [build-shared] (link-libc): Define in terms of
28802 $(link-libc-before-gnulib).
28803 [!build-shared] (link-libc-tests): New variable.
28804 (link-libc-static-tests): New variable.
28805 [!gnulib] (gnulib-arch): New variable.
28806 [!gnulib] (gnulib-tests): Likewise.
28807 [!gnulib] (static-gnulib-arch): Likewise.
28808 [!gnulib] (static-gnulib-tests): Likewise.
28809 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28810 Define with "=" instead of ":=".
28811 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28812 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28813 * Rules (binaries-all-notests): New variable.
28814 (binaries-all-tests): Likewise.
28815 (binaries-static-notests): Likewise.
28816 (binaries-static-tests): Likewise.
28817 (binaries-all): Define using $(binaries-all-notests) and
28818 $(binaries-all-tests).
28819 (binaries-static): Define using $(binaries-static-notests) and
28820 $(binaries-static-tests).
28821 (binaries-shared-tests): New variable.
28822 (binaries-shared-notests): Likewise.
28823 (binaries-shared): Remove variable.
28824 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28825 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28826 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28827 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28828 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28829 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28830 * elf/Makefile (sln-modules): New variable.
28831 (extra-objs): Add $(sln-modules:=.o).
28832 (ldconfig-modules): Add static-stubs.
28833 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28834 * elf/static-stubs.c: New file.
28835
7a845b2c
JM
28836 [BZ #14283]
28837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28838 by 7 not 8 to examine high bit of fractional part. Use volatile
28839 variables when splitting into final array of floats if
28840 __FLT_EVAL_METHOD__ != 0.
28841 * math/libm-test.inc (cos_test): Add another test.
28842 (sin_test): Likewise.
28843 * sysdeps/i386/fpu/libm-test-ulps: Update.
28844
e2283f38
JM
28845 [BZ #14273]
28846 * math/libm-test.inc (cosh_test): Add more tests.
28847
370ca3d2
JM
28848 * version.h (RELEASE): Set to "development".
28849 (VERSION): Set to "2.16.90".
28850
ee9247c3
CD
288512012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28852
28853 * NEWS: Update copyright. Remove last-updated date.
28854 Mention math library bug fixes and timezone data changes.
28855 * README: Mention GNU/Hurd, x32, and HPPA support status.
28856
4648c381
TS
288572012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28858
28859 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28860
aac78a43
AJ
288612012-06-27 Andreas Jaeger <aj@suse.de>
28862
28863 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28864
ed3dbfad
AJ
288652012-06-25 Andreas Jaeger <aj@suse.de>
28866
28867 * sysdeps/s390/fpu/libm-test-ulps: Update.
28868
4d0ee855
AS
288692012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28870 Thomas Schwinge <thomas@codesourcery.com>
28871
28872 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28873 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28875 fanotify_mark.
28876
af1bce34
TS
288772012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28878
a9fa33ba
TS
28879 * sysdeps/mach/start.c: Remove file.
28880 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28881 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28882 * sysdeps/sh/init-first.c: Likewise.
28883
58f902b8
TS
28884 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28885 registers for frame unwinding purposes, add CFI directives.
28886 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28887 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28888 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28889 Likewise.
28890
1518f58b
TS
28891 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28892 __fortify_fail returning.
28893 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28894
db9b5059
TS
28895 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28896 sysdeps/sh/____longjmp_chk.S.
28897 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28898 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28899 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28900 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28901
967705fe
TS
28902 * sysdeps/sh/abort-instr.h: New file.
28903 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28904 process in case exit returns.
28905
a9def8c4
TS
28906 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28907 initialize the GOT register before use.
28908
2a649725
TS
28909 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28910 calculation of ARGC > 4.
28911
af1bce34
TS
28912 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28913 meaningful names to some local labels.
28914
d230f50a
KK
289152012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28916 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28917
28918 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28919 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28920 (__arch_compare_and_exchange_val_16_acq): Likewise.
28921 (__arch_compare_and_exchange_val_32_acq): Likewise.
28922 (atomic_exchange_and_add): Fix gUSA sequence.
28923 (atomic_add): Likewise.
28924 (atomic_add_negative): Likewise.
28925 (atomic_add_zero): Likewise.
28926 (atomic_bit_test_set): Likewise.
28927
0479b305
AS
289282012-06-22 Andreas Schwab <schwab@redhat.com>
28929
28930 [BZ #13579]
28931 * include/link.h (struct link_map): Add l_free_initfini.
28932 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28933 l_initfini.
28934 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28935 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28936 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28937 set.
28938
0e3933b9
CD
289392012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28940
28941 * configure.in: Use AC_LANG_SOURCE.
28942 * configure: Regenerate.
28943
4248b1b1
RM
289442012-06-22 Roland McGrath <roland@hack.frob.com>
28945
28946 * configure.in (libc_cv_localstatedir): New substituted variable.
28947 * configure: Regenerated.
28948 * config.make.in (localstatedir): New variable, substituted from
28949 libc_cv_localstatedir.
28950 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28951 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28952 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28953 * sysdeps/gnu/configure: Regenerated.
28954
006dd861
JL
289552012-06-21 Jeff Law <law@redhat.com>
28956
28957 [BZ #14277]
28958 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28959 free. Simplify list management for _LIBC case.
28960
79662d42
JM
289612012-06-21 Joseph Myers <joseph@codesourcery.com>
28962
b7abb4bf
JM
28963 [BZ #14273]
28964 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28965 Clear sign bit of 64-bit integer value before comparing against
28966 overflow value.
28967
79662d42
JM
28968 * sysdeps/mach/configure: Regenerated.
28969
1f150908
L
289702012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28971
28972 [BZ #14278]
28973 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28974
28363bbf
JL
289752012-06-21 Jeff Law <law@redhat.com>
28976
28977 [BZ #13882]
28978 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28979 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28980 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28981 * elf/dl-open.c (dl_open_worker): Likewise.
28982
09615db4
CD
289832012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28984
28985 * scripts/list-sources.sh: Scan PORTS for translations.
28986 * po/libc.pot: Regenerated.
28987
2174c6dd
AJ
289882012-06-21 Andreas Jaeger <aj@suse.de>
28989
28990 [BZ #12194]
28991 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28992 warning.
28993 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28994 * bits/byteswap-16.h (__bswap_16): Likewise.
28995 * bits/byteswap.h (__bswap_constant_16): Likewise.
28996
3ee947b1
L
289972012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28998
28999 [BZ #14117]
a2f34833
L
29000 * sysdeps/i386/fpu_control.h: Removed.
29001 * sysdeps/x86_64/fpu_control.h: Moved to ...
29002 * sysdeps/x86/fpu_control.h: Here.
29003
3ee947b1
L
29004 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29005 (_FPU_SETCW): Likewise.
29006
ed1825f8
L
290072012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29008
25f1282a
L
29009 [BZ #14117]
29010 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29011 * sysdeps/x86/fpu/bits/mathinline.h: This.
29012 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29013
ed1825f8
L
29014 [BZ #14050]
29015 [BZ #14117]
29016 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29017 functions if __x86_64__ is defined.
29018
36d54b74
CLT
290192012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29020
29021 * string/endian.h: Add !__ASSEMBLER__ condition for including
29022 conversion interfaces.
29023
10285c21
JM
290242012-06-15 Joseph Myers <joseph@codesourcery.com>
29025
29026 [BZ #14241]
29027 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29028 of ABS(x) in calculating zero to negative powers other than odd
29029 integers.
29030 * math/libm-test.inc (pow_test): Add more tests.
29031
06c5abbd
AJ
290322012-06-15 Andreas Jaeger <aj@suse.de>
29033
29034 * manual/contrib.texi (Contributors): Update entry of Liubov
29035 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29036 Machado Filho.
29037
a3aeac40
CH
290382012-06-15 Cyril Hrubis <metan@ucw.cz>
29039
29040 * string/string.h: Add __wur to GNU version of strerror_r.
29041
49bdf4c1
L
290422012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29043
29044 [BZ #14229]
29045 * string/Makefile (tests): Add tst-strtok_r.
29046 * string/tst-strtok_r.c: New file.
29047 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29048 RAX_LP/RDX_LP on SAVE_PTR.
29049
834f9b8d
RM
290502012-06-14 Roland McGrath <roland@hack.frob.com>
29051
29052 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29053
75fa1921
JM
290542012-06-14 Joseph Myers <joseph@codesourcery.com>
29055
29056 * libm_test.inc (csqrt_test): Allow more spurious underflow
29057 exceptions.
29058 (j0_test): Likewise.
29059 (j1_test): Likewise.
29060 (y0_test): Likewise.
29061 (y1_test): Likewise.
29062
771766df
CD
290632012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29064
29065 * po/Makefile (libc.pot): Use UTF-8 charset.
29066
ceb9e56b
PP
290672012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29068
29069 [BZ #14210]
29070 Suppress sign-conversion warning from FD_SET.
29071 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29072 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29073 not unsigned long int.
29074 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29075
ddb28975
L
290762012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29077
29078 [BZ #14050]
29079 [BZ #14117]
29080 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29081 __extern_always_inline instead of __extern_inline.
29082 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29083 (__signbit): Likewise.
29084 (__signbitl): Support C++ namespace.
29085 (lrintf): New inline function.
29086 (lrint): Likewise.
29087 (llrintf): Likewise.
29088 (llrint): Likewise.
29089 (fmaxf): Likewise.
29090 (fmax): Likewise.
29091 (fminf): Likewise.
29092 (fmin): Likewise.
29093 (rint): Likewise.
29094 (rintf): Likewise.
29095 (ceil): Likewise.
29096 (ceilf): Likewise.
29097 (floor): Likewise.
29098 (floorf): Likewise.
29099 (nearbyint): Likewise.
29100 (nearbyintf): Likewise.
29101
d7b4fb26
TS
291022012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29103
29104 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29105 non-default versions.
29106
eb55f5c2
RM
291072012-06-11 Roland McGrath <roland@hack.frob.com>
29108
29109 [BZ #14218]
29110 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29111
366af02c
TS
291122012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29113
99ff6e5c
TS
29114 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29115 (FE_UPWARD, FE_DOWNWARD): Don't define.
29116 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29117 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29118
366af02c
TS
29119 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29120 reading it.
29121 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29122 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29123
793ea851
KK
291242012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29125
29126 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29128 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29129 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29130
a728a38f
L
291312012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29132
29133 [BZ #14117]
c08010c7
L
29134 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29135 * sysdeps/i386/fpu/Implies: New file.
29136 * sysdeps/x86_64/fpu/Implies: Likewise.
29137 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29138 * sysdeps/x86/fpu/bits/fenv.h: This.
29139
a728a38f
L
29140 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29141 __SSE_MATH__.
29142
6e230d11
SP
291432012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29144
29145 [BZ #14134]
29146 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29147 character 0xffff that matches the last element of the
29148 conversion table.
29149
1b671feb
AZ
291502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29151
29152 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29153 fmodl commit.
29154
6043738b
AZ
291552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29156
29157 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29158 values higher than 25.6283.
29159
34ae0b32
AZ
291602012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29161
29162 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29163 subnormal exponent extraction and add some __builtin_expect.
29164 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29165 Fix for subnormal mantissa calculation.
29166
1214ec8f
MF
291672012-06-04 Mike Frysinger <vapier@gentoo.org>
29168
29169 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29170 cpu2 is -1 and errno is not ENOSYS.
29171
f3d1f93c
L
291722012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29173
29174 [BZ #14117]
0e4a3cd7
L
29175 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29176 * sysdeps/x86/bits/string.h: This.
29177 * sysdeps/x86_64/bits/string.h: Removed.
29178
6704c645
L
29179 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29180 if not compiling for x86-64, but compiling for >= i486.
29181
48495318
L
29182 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29183 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29184
14adcbfc
L
29185 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29186 New macro from Linux kernel 3.4.0.
29187 (FP_XSTATE_MAGIC2): Likewise.
29188 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29189 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29190 (struct _fpx_sw_bytes): New struct.
29191 (struct _xsave_hdr): Likewise.
29192 (struct _ymmh_state): Likewise.
29193 (struct _xstate): Likewise.
29194
68e408ab
L
29195 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29196 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29197 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29198 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29199 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29200 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29201
f3d1f93c
L
29202 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29203 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29204 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29205 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29206 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29207 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29208
d9dc34cd
TMQMF
292092012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29210
29211 [BZ #13743]
29212 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29213 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29214 (sysdep_headers): Include sys/platform/ppc.h.
29215 * sysdeps/powerpc/test-gettimebase.c: Test for
29216 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29217 * manual/Makefile (appendices): Include platform.texi.
29218 * manual/contrib.texi (Contributors): Update @node pointers.
29219 * manual/maint.texi (Maintenance): Likewise.
29220 (Platform): New node.
29221 * manual/platform.texi: New file. Document the new features.
29222
4af3879c
SP
292232012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29224 Jakub Jelinek <jakub@redhat.com>
29225
29226 [BZ #14188]
29227 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29228 where __builtin_expect is unavailable.
29229
2fd6ff13
DM
292302012-06-03 David S. Miller <davem@davemloft.net>
29231
29232 * stdlib/longlong.h: Updated from GCC.
29233
173f7220
AS
292342012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29235
29236 [BZ #14042]
29237 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29238 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29239 __mcount_internal.
29240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29241 (GLIBC_2.16): Likewise.
29242
f34a1c6f
L
292432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29244
29245 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29246
88a4576f
JM
292472012-06-01 Joseph Myers <joseph@codesourcery.com>
29248
ea32bcdd
JM
29249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29250 (default-abi): New variable.
29251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29252 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29253 variable.
29254 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29255 Likewise.
29256 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29257 Likewise.
29258 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29259 Likewise.
29260
88a4576f
JM
29261 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29262 definition. Document in comment.
29263
402fe938
DM
292642012-06-01 David S. Miller <davem@davemloft.net>
29265
29266 * stdlib/longlong.h: Updated from GCC.
29267
3553723f
L
292682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29269
29270 [BZ #14117]
3bd872c4
L
29271 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29272 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29273 sys/debugreg.h sys/io.h here.
29274 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29275 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29276 sys/io.h.
29277 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29278 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29279 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29280 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29281 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29282 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29283
3553723f
L
29284 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29285 Define only if __x86_64__ is defined.
29286
4842e4fe
JM
292872012-06-01 Joseph Myers <joseph@codesourcery.com>
29288
c5bfe3d5
JM
29289 [BZ #14048]
29290 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29291 Use int64_t for variable i.
29292 * math/libm-test.inc (fmod_test): Add more tests.
29293
4842e4fe
JM
29294 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29295 z computation is not scheduled after fetestexcept.
29296 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29297 Use math_force_eval instead of asm to ensure calculation scheduled
29298 before exception test.
29299 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29300 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29301
efb73488
AJ
293022012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29303
29304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29305 computation is not scheduled after fetestexcept.
29306
29bcce7c
L
293072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29308
29309 [BZ #14117]
29310 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29311 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29312
73a68f94
AZ
293132012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29314
29315 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29316 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29317
67b6df78
L
293182012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29319
edf2933a 29320 [BZ #14117]
ebc64a18
L
29321 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29322 <bits/wordsize.h>.
29323 (__WCHAR_MIN): Support __WORDSIZE == 64.
29324 (__WCHAR_MAX): Likewise.
29325
edf2933a
L
29326 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29327 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29328
57c6cf40
L
29329 [BZ #14183]
29330 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29331 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29332
67b6df78 29333 [BZ #14117]
8eb6281e
L
29334 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29335 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29336
aac639f4
L
29337 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29338 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29339
67b6df78
L
29340 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29341 Defined to 1 if __x86_64__ isn't defined.
29342 (_STAT_VER_LINUX_OLD): New.
29343 (st_atime): Remove duplicate.
29344 (st_mtime): Likewise.
29345 (st_ctime): Likewise.
29346
1c2cfe81
DM
293472012-05-31 David S. Miller <davem@davemloft.net>
29348
29349 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29350 entries.
29351
5be8418c
AS
293522012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29353
e7725326
AS
29354 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29355 gen-libm-test.pl.
29356
5be8418c
AS
29357 [BZ #14132]
29358 * elf/dl-reloc.c: Include <_itoa.h>.
29359 (_dl_reloc_bad_type): Remove use of INTUSE.
29360 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29361 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29362 * stdio-common/psiginfo.c (psiginfo): Likewise.
29363 * stdio-common/psignal.c (psignal): Likewise.
29364 * string/strsignal.c (strsignal): Likewise.
29365 * include/signal.h (_sys_siglist): Declare hidden proto.
29366 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29367 INTVARDEF with libc_hidden_data_def.
29368 * stdio-common/itoa-udigits.c: Likewise.
29369 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29370 (_itoa_lower_digits_internal): Remove declaration.
29371 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29372 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29373 (_sys_sigabbrev_internal): Remove aliases.
29374 (_sys_siglist): Define hidden alias.
29375
507352f1
MT
293762012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29377
29378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29379 bits/sysctl.h.
29380
42bbb1c3
L
293812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29382
29383 [BZ #14117]
6bd784b6
L
29384 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29385 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29386
8bca20f0
L
29387 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29388 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29389 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29390 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29391 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29392 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29393
f9e890a9
L
29394 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29395 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29396 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29397
471101a1
L
29398 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29399 with __addr.
29400 (insw): Likewise.
29401 (insl): Likewise.
29402 (outsb): Likewise.
29403 (outsw): Likewise.
29404 (outsl): Likewise.
29405
6451c862
L
29406 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29407 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29408 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29409
a254b8c9
L
29410 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29411 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29412 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29413 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29414 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29415 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29416
b8dfdd92
L
29417 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29418 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29419
578cd270
L
29420 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29421 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29422
de662f5f
L
29423 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29424 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29425 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29426
25653439
L
29427 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29428 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29429 to ...
29430 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29431
6bad24a0
L
29432 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29433 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29434 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29435
42bbb1c3
L
29436 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29437 for x86-64.
29438 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29439
2d10d547
JM
294402012-05-31 Joseph Myers <joseph@codesourcery.com>
29441
29442 * math/math.h (M_El): Use two more decimal places.
29443 (M_LOG2El): Likewise.
29444 (M_LOG10El): Likewise.
29445 (M_LN2l): Likewise.
29446 (M_LN10l): Likewise.
29447 (M_PIl): Likewise.
29448 (M_PI_2l): Likewise.
29449 (M_PI_4l): Likewise.
29450 (M_1_PIl): Likewise.
29451 (M_2_PIl): Likewise.
29452 (M_2_SQRTPIl): Likewise.
29453 (M_SQRT2l): Likewise.
29454 (M_SQRT1_2l): Likewise.
29455
f230c29b
DM
294562012-05-31 David S. Miller <davem@davemloft.net>
29457
29458 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29459 values between float registers.
29460 * sysdeps/sparc/sparc64/memset.S: Likewise.
29461 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29462
fed806c3
MF
294632012-05-31 Mike Frysinger <vapier@gentoo.org>
29464
29465 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29466 -D_FORTIFY_SOURCE=1.
29467 (CPPFLAGS-tst-longjmp_chk.c): Define.
29468 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29469 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29470 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29471 CFLAGS-tst-wchar-h.c.
29472
30917259
MP
294732012-05-31 Marek Polacek <polacek@redhat.com>
29474
29475 [BZ #14132]
29476 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29477 __endmntent_internal): Remove declaration.
29478 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29479 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29480 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29481
1c58d5dc
DM
294822012-05-30 David S. Miller <davem@davemloft.net>
29483
29484 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29485 (___Q_simulate_exceptions): Use real FP ops rather than writing
29486 into the %fsr.
29487 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29488 Likewise.
29489
7dc00e0d
L
294902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29491
29492 [BZ #14117]
0bd53985
L
29493 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29494 * sysdeps/x86/bits/xtitypes.h: This.
29495
3a257e66
L
29496 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29497 * sysdeps/x86/bits/wordsize.h: This.
29498
62f62904
L
29499 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29500 * sysdeps/x86/bits/huge_vall.h: This.
29501
404fe9d9
L
29502 * sysdeps/i386/bits/select.h: Removed.
29503 * sysdeps/x86_64/bits/select.h: Renamed to ...
29504 * sysdeps/x86/bits/select.h: This.
29505
d48d0446
L
29506 * sysdeps/i386/bits/setjmp.h: Removed.
29507 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29508 * sysdeps/x86/bits/setjmp.h: This.
29509
7dc00e0d
L
29510 * sysdeps/i386/bits/mathdef.h: Removed.
29511 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29512 * sysdeps/x86/bits/mathdef.h: This.
29513
03277f8f
AS
295142012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29515
29516 [BZ #14132]
29517 * include/sys/socket.h (__connect_internal)
29518 (__libc_sa_len_internal): Remove declaration.
29519 (__connect, __libc_sa_len): Declare hidden_proto.
29520 (SA_LEN): Remove use of INTUSE.
29521 * socket/connect.c: Add libc_hidden_def.
29522 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29523 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29524 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29525 alias.
29526 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29527 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29528 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29529 of adding _internal alias.
29530
13764867
L
295312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29532
29533 [BZ #14117]
6bd97696
L
29534 * sysdeps/i386/bits/link.h: Removed.
29535 * sysdeps/i386/bits/linkmap.h: Likewise.
29536 * sysdeps/x86_64/bits/link.h: Renamed to ...
29537 * sysdeps/x86/bits/link.h: This.
29538 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29539 * sysdeps/x86/bits/linkmap.h: This.
29540
f726f0bb
L
29541 * sysdeps/i386/bits/endian.h: Removed.
29542 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29543 * sysdeps/x86/bits/endian.h: This.
29544
13764867
L
29545 * sysdeps/i386/bits/byteswap.h: Removed.
29546 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29547 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29548 * sysdeps/x86/bits/byteswap.h: This.
29549 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29550 * sysdeps/x86/bits/byteswap-16.h: This.
29551 * sysdeps/i386/Implies: Add x86.
29552 * sysdeps/x86_64/Implies: Likewise.
29553
ae251b0b
DM
295542012-05-30 David S. Miller <davem@davemloft.net>
29555
29556 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29557 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29558 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29559 (FP_TRAPPING_EXCEPTIONS): Define.
29560 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29561 (FP_TRAPPING_EXCEPTIONS): Define.
29562 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29563 subnormals only when inexact has been signalled or underflow
29564 exceptions are enabled.
29565 (_FP_PACK_CANONICAL): Likewise.
29566
d5c90867
L
295672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29568
29569 [BZ #14183]
29570 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29571 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29572
63f1549e
RH
295732012-05-30 Richard Henderson <rth@twiddle.net>
29574
8d8f2279
RH
29575 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29576 with #ifndef NOT_IN_libc.
29577
63f1549e
RH
29578 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29579 marked to avoid plt entry.
29580
0ab0291b
L
295812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29582
29583 [BZ #14112]
29584 * Makeconfig (default-abi): New macro.
29585 (abi-includes): Likewise.
29586 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29587 $(abi-$(default-abi)-lib-soname) for soname if defined.
29588 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29589 abi-variants.
29590 * Makefile (installed-stubs): Likewise.
29591 * include/stubs-biarch.h: Removed.
29592 * scripts/lib-names.awk: Only handle one library at a time.
29593 * scripts/soversions.awk: Remove WORDSIZE support.
29594 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29595 entries.
29596 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29597 Removed.
29598 (syscall-list-default-condition): Likewise.
29599 (syscall-list-default-condition): Likewise.
29600 (syscall-list-includes): Likewise.
29601 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29602 syscall-list-* with abi-*. Handle undefined abi-variants.
29603 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29604 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29605 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29606 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29607 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29608 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29609 Removed.
29610 (syscall-list-32-options): Likewise.
29611 (syscall-list-32-condition): Likewise.
29612 (syscall-list-64-options): Likewise.
29613 (syscall-list-64-condition): Likewise.
29614 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29615 macro.
29616 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29617 Renamed to ...
29618 (abi-*): This.
29619 (abi-64-ld-soname): New macro.
29620 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29621 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29622 Renamed to ...
29623 (abi-*): This.
29624 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29625 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29626
4da0431d
JM
296272012-05-30 Joseph Myers <joseph@codesourcery.com>
29628
3a85279c
JM
29629 * sysdeps/unix/sysv/linux/kernel-features.h
29630 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29631 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29632 include <kernel-features.h>.
29633 [!__NR_ftruncate64]: Remove conditional code.
29634 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29635 [__NR_ftruncate64]: Make code unconditional.
29636 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29637 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29638 include <kernel-features.h>.
29639 [!__NR_ftruncate64]: Remove conditional code.
29640 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29641 [__NR_ftruncate64]: Make code unconditional.
29642 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29644 include <kernel-features.h>.
29645 [!__NR_ftruncate64]: Remove conditional code.
29646 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29647 [__NR_ftruncate64]: Make code unconditional.
29648 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29650 include <kernel-features.h>.
29651 [!__NR_ftruncate64]: Remove conditional code.
29652 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29653 [__NR_ftruncate64]: Make code unconditional.
29654 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29655
4da0431d
JM
29656 * configure.in (libc_cv_fpie): Weaken to a compile test using
29657 LIBC_TRY_CC_OPTION.
29658 * configure: Regenerated.
29659
11ef492c
AK
296602012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29661
29662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29666 Refreshed.
29667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29673 Refreshed.
29674
d66ef399
DM
296752012-05-27 David S. Miller <davem@davemloft.net>
29676
29677 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29678 (___Q_zero): New.
29679 (__Q_simulate_exceptions): Return void. Change to simulate
29680 exceptions by writing into the %fsr.
29681 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29682 (__Qp_handle_exceptions): Likewise.
29683 (numbers): Delete.
29684 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29685 __Qp_handle_exceptions.
29686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29687 __Qp_handle_exceptions.
29688 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29689 as unused and give dummy FP_RND_NEAREST initializer.
29690 (FP_INHIBIT_RESULTS): Define.
29691 (___Q_simulate_exceptions): Update declaration.
29692 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29693 formatting.
29694 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29695 as unused and give dummy FP_RND_NEAREST initializer.
29696 (__Qp_handle_exceptions): Update declaration.
29697 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29698 formatting.
29699
04fb54b5
TS
297002012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29701
29702 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29703 the temporary FPU control word.
29704 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29705 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29706 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29707 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29708 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29709 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29710 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29711 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29712 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29713 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29714 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29715
3f99608f
KK
297162012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29717
29718 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29719 fields.
29720
65a4de4e
CLT
297212012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29722
29723 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29724 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29725 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29726 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29727 Likewise.
29728 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29729 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29730 Likewise.
29731
15749d40
UD
297322012-05-27 Ulrich Drepper <drepper@gmail.com>
29733
29734 * po/h.po: Update from translation team.
29735
25dbcb27
AS
297362012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29737
3d3f8e55
AS
29738 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29739
25dbcb27
AS
29740 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29741 handling of denormals.
29742 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29743 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29744 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29745 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29746 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29747 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29749 Likewise.
29750
7ad47a80 297512012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29752
29753 [BZ #14152]
29754 * math/libm-test.inc (fma_test): Don't always expect underflow
29755 exception.
29756
9c6ea9fa
SP
297572012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29758
29759 [BZ #12416]
29760 * elf/tst-execstack.c: Include stackinfo.h.
29761 (do_test): Adjust test case to ensure that pthread_getattr_np
29762 behaviour remains the same after marking stack executable.
29763
a8239222
JM
297642012-05-25 Joseph Myers <joseph@codesourcery.com>
29765
29766 * sysdeps/unix/sysv/linux/kernel-features.h
29767 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29768 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29769 kernel-features.h.
29770 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29771 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29772 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29773 kernel-features.h.
29774 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29775 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29776
918b5606
L
297772012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29778
29779 * configure.in: Define the default includes to being none.
29780 * configure: Regenerated.
29781
3a097cc7
RM
297822012-05-25 Roland McGrath <roland@hack.frob.com>
29783
8422c9a5
RM
29784 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29785 * sysdeps/x86_64/setjmp.S: Likewise.
29786 * sysdeps/i386/bsd-setjmp.S: Likewise.
29787 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29788 * sysdeps/i386/setjmp.S: Likewise.
29789 * sysdeps/i386/__longjmp.S: Likewise.
29790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29791 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29792
3a097cc7
RM
29793 * include/stap-probe.h: New file.
29794 * configure.in: Handle --enable-systemtap.
29795 * configure: Regenerated.
29796 * config.h.in (USE_STAP_PROBE): New #undef.
29797 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29798 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29799 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29800
21708942
JM
298012012-05-25 Joseph Myers <joseph@codesourcery.com>
29802
29803 [BZ #13717]
29804 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29805 to 2.4.0 where earlier.
29806 * sysdeps/unix/sysv/linux/configure: Regenerated.
29807 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29808 <kernel-features.h>.
29809 [__ASSUME_32BITUIDS]: Make code unconditional.
29810 [!__ASSUME_32BITUIDS]: Remove conditional code.
29811 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29812 <kernel-features.h>.
29813 [__ASSUME_32BITUIDS]: Make code unconditional.
29814 [!__ASSUME_32BITUIDS]: Remove conditional code.
29815 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29816 [__ASSUME_32BITUIDS]: Make code unconditional.
29817 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29818 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29819 <kernel-features.h>.
29820 [__ASSUME_32BITUIDS]: Make code unconditional.
29821 [!__ASSUME_32BITUIDS]: Remove conditional code.
29822 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29823 <kernel-features.h>.
29824 [__ASSUME_32BITUIDS]: Make code unconditional.
29825 [!__ASSUME_32BITUIDS]: Remove conditional code.
29826 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29827 <kernel-features.h>.
29828 [__ASSUME_32BITUIDS]: Make code unconditional.
29829 [!__ASSUME_32BITUIDS]: Remove conditional code.
29830 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29831 <kernel-features.h>.
29832 [__ASSUME_32BITUIDS]: Make code unconditional.
29833 [!__ASSUME_32BITUIDS]: Remove conditional code.
29834 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29835 <kernel-features.h>.
29836 [__ASSUME_32BITUIDS]: Make code unconditional.
29837 [!__ASSUME_32BITUIDS]: Remove conditional code.
29838 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29839 <kernel-features.h>.
29840 [__ASSUME_32BITUIDS]: Make code unconditional.
29841 [!__ASSUME_32BITUIDS]: Remove conditional code.
29842 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29843 <kernel-features.h>.
29844 [__ASSUME_32BITUIDS]: Make code unconditional.
29845 [!__ASSUME_32BITUIDS]: Remove conditional code.
29846 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29847 <kernel-features.h>.
29848 [__ASSUME_32BITUIDS]: Make code unconditional.
29849 [!__ASSUME_32BITUIDS]: Remove conditional code.
29850 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29851 <kernel-features.h>.
29852 [__ASSUME_32BITUIDS]: Make code unconditional.
29853 [!__ASSUME_32BITUIDS]: Remove conditional code.
29854 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29855 <kernel-features.h>.
29856 [__ASSUME_32BITUIDS]: Make code unconditional.
29857 [!__ASSUME_32BITUIDS]: Remove conditional code.
29858 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29859 <kernel-features.h>.
29860 [__NR_setresgid] (__setresgid): Do not declare.
29861 [__ASSUME_32BITUIDS]: Make code unconditional.
29862 [!__ASSUME_32BITUIDS]: Remove conditional code.
29863 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29864 <kernel-features.h>.
29865 [__NR_setresuid] (__setresuid): Do not declare.
29866 [__ASSUME_32BITUIDS]: Make code unconditional.
29867 [!__ASSUME_32BITUIDS]: Remove conditional code.
29868 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.c: Do not include
29881 <kernel-features.h>.
29882 [__ASSUME_32BITUIDS]: Make code unconditional.
29883 [!__ASSUME_32BITUIDS]: Remove conditional code.
29884 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29885 <kernel-features.h>.
29886 [__ASSUME_32BITUIDS]: Make code unconditional.
29887 [!__ASSUME_32BITUIDS]: Remove conditional code.
29888 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29889 <kernel-features.h>.
29890 [__ASSUME_32BITUIDS]: Make code unconditional.
29891 [!__ASSUME_32BITUIDS]: Remove conditional code.
29892 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29893 <kernel-features.h>.
29894 [__ASSUME_32BITUIDS]: Make code unconditional.
29895 [!__ASSUME_32BITUIDS]: Remove conditional code.
29896 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29897 <kernel-features.h>.
29898 [__ASSUME_32BITUIDS]: Make code unconditional.
29899 [!__ASSUME_32BITUIDS]: Remove conditional code.
29900 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29901 <kernel-features.h>.
29902 [__ASSUME_32BITUIDS]: Make code unconditional.
29903 [!__ASSUME_32BITUIDS]: Remove conditional code.
29904 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29905 <kernel-features.h>.
29906 [__ASSUME_32BITUIDS]: Make code unconditional.
29907 [!__ASSUME_32BITUIDS]: Remove conditional code.
29908 * sysdeps/unix/sysv/linux/kernel-features.h
29909 (__ASSUME_SETRESUID_SYSCALL): Remove.
29910 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29911 (__ASSUME_32BITUIDS): Likewise.
29912 (__ASSUME_LDT_WORKS): Likewise.
29913 (__ASSUME_O_DIRECTORY): Likewise.
29914 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29915 architecture but not kernel version.
29916 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29917 (__ASSUME_MMAP2_SYSCALL): Likewise.
29918 (__ASSUME_STAT64_SYSCALL): Likewise.
29919 (__ASSUME_IPC64): Likewise.
29920 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29921 <kernel-features.h>.
29922 [__ASSUME_32BITUIDS]: Make code unconditional.
29923 [!__ASSUME_32BITUIDS]: Remove conditional code.
29924 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29925 <kernel-features.h>.
29926 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29927 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29928 132096]: Remove conditional code.
29929 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29930 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29931 <kernel-features.h>.
29932 [__ASSUME_32BITUIDS]: Make code unconditional.
29933 [!__ASSUME_32BITUIDS]: Remove conditional code.
29934 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29935 <kernel-features.h>.
29936 [__ASSUME_32BITUIDS]: Make code unconditional.
29937 [!__ASSUME_32BITUIDS]: Remove conditional code.
29938 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29939 <kernel-features.h>.
29940 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29941 unconditional.
29942 (__setresgid): Do not declare.
29943 [__ASSUME_32BITUIDS]: Make code unconditional.
29944 [!__ASSUME_32BITUIDS]: Remove conditional code.
29945 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29946 <kernel-features.h>.
29947 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29948 unconditional.
29949 (__setresuid): Do not declare.
29950 [__ASSUME_32BITUIDS]: Make code unconditional.
29951 [!__ASSUME_32BITUIDS]: Remove conditional code.
29952 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/semctl.c: Do not include
29957 <kernel-features.h>.
29958 [__ASSUME_32BITUIDS]: Make code unconditional.
29959 [!__ASSUME_32BITUIDS]: Remove conditional code.
29960
a386f1cc
RH
299612012-05-25 Richard Henderson <rth@twiddle.net>
29962
29963 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29964 dl_hwcap to ifunc resolver.
29965 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29966 elf_ifunc_invoke.
29967 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29968 dl_hwcap to ifunc resolver.
29969 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29970
b6550497
JM
299712012-05-24 Joseph Myers <joseph@codesourcery.com>
29972
29973 [BZ #14153]
29974 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29975 for |x| <= 2**-26, not 2**-57.
29976 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29977 exception.
29978
b0bc23a1
JL
299792012-05-24 Jeff Law <law@redhat.com>
29980
29981 * stdio-common/Makefile (tests): Add bug25.
29982 * stdio-common/bug25.c: New test.
29983
347c92e9
L
299842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29985
29986 [BZ #13576]
29987 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29988 multiple of MALLOC_ALIGNMENT in size.
29989 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29990
6bcc8b3f
JM
299912012-05-24 Joseph Myers <joseph@codesourcery.com>
29992
29993 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29994 Require >= 256.
29995 (FILENAME_MAX): Use macro-int-constant.
29996 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29997 (_IOFBF): Use macro-int-constant.
29998 (_IOLBF): Likewise.
29999 (_IONBF): Likewise.
30000 (SEEK_CUR): Likewise.
30001 (SEEK_END): Likewise.
30002 (SEEK_SET): Likewise.
30003 (TMP_MAX): Likewise.
30004 (EOF): Use macro-int-constant. Require < 0.
30005 (NULL): Use macro-constant. Require == 0.
30006 (stdin): Require type to be FILE *.
30007 (stdout): Likewise.
30008 (stderr): Likewise.
30009 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30010 macro-int-constant.
30011 (EXIT_SUCCESS): Likewise.
30012 (NULL): Use macro-constant. Require == 0.
30013 (RAND_MAX): Use macro-int-constant.
30014 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30015 [C99-based standards] (strtof): Require function.
30016 [C99-based standards] (strtold): Likewise.
30017 [C99-based standards] (strtoll): Likewise.
30018 [C99-based standards] (strtoull): Likewise.
30019 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30020 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30021 [ISO || ISO99 || ISO11] (math.h): Likewise.
30022 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30023 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30025
d18ea0c5
AS
300262012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30027
30028 [BZ #14132]
56d25bb8
AS
30029 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30030 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30031 * intl/dgettext.c (DCGETTEXT): Likewise.
30032 * intl/gettext.c (DCGETTEXT): Likewise.
30033 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30034 * posix/regex_internal.h (gettext): Likewise.
30035 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30036 Remove declaration.
30037 * include/argz.h (__argz_count_internal)
30038 (__argz_stringify_internal): Remove declaration.
30039 (__argz_count, __argz_stringify): Declare hidden proto.
30040 * intl/dcgettext.c: Remove use of INTDEF.
30041 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30042 * string/argz-stringify.c: Likewise.
30043 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30044 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30045 Declare hidden proto.
d18ea0c5
AS
30046 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30047 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30048 Declare hidden proto.
30049 * include/stdio.h (__asprintf_internal): Don't declare.
30050 (__asprintf): Don't define as macro. Declare hidden proto.
30051 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30052 (__fsetlocking): Declare hidden proto.
30053 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30054 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30055 hidden proto.
30056 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30057 (_IO_setlinebuf): Remove use of INTUSE.
30058 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30059 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30060 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30061 Remove declaration.
30062 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30063 (_IO_do_flush): Remove use of INTUSE.
30064 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30065 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30066 (_IO_adjust_column, _IO_least_wmarker)
30067 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30068 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30069 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30070 (_IO_default_doallocate, _IO_wdefault_doallocate)
30071 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30072 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30073 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30074 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30075 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30076 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30077 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30078 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30079 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30080 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30081 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30082 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30083 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30084 proto.
30085 (_IO_flush_all_internal, _IO_adjust_column_internal)
30086 (_IO_default_uflow_internal, _IO_default_finish_internal)
30087 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30088 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30089 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30090 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30091 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30092 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30093 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30094 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30095 (_IO_file_close_internal, _IO_file_close_it_internal)
30096 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30097 (_IO_file_init_internal, _IO_file_attach_internal)
30098 (_IO_file_fopen_internal, _IO_file_read_internal)
30099 (_IO_file_sync_internal, _IO_file_seek_internal)
30100 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30101 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30102 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30103 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30104 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30105 (_IO_list_all_internal, _IO_link_in_internal)
30106 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30107 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30108 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30109 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30110 (_IO_do_write_internal, _IO_padn_internal)
30111 (_IO_getline_info_internal, _IO_getline_internal)
30112 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30113 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30114 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30115 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30116 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30117 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30118 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30119 with libc_hidden_ver, remove use of INTUSE.
30120 * libio/genops.c: Likewise.
30121 * libio/freopen.c: Likewise.
30122 * libio/freopen64.c: Likewise.
30123 * libio/iofclose.c: Likewise.
30124 * libio/iofdopen.c: Likewise.
30125 * libio/iofflush.c: Likewise.
30126 * libio/iofflush_u.c: Likewise.
30127 * libio/iofgets.c: Likewise.
30128 * libio/iofgets_u.c: Likewise.
30129 * libio/iofopen.c: Likewise.
30130 * libio/iofopncook.c: Likewise.
30131 * libio/iofread.c: Likewise.
30132 * libio/iofread_u.c: Likewise.
30133 * libio/ioftell.c: Likewise.
30134 * libio/iofwrite.c: Likewise.
30135 * libio/iogetline.c: Likewise.
30136 * libio/iogets.c: Likewise.
30137 * libio/iogetwline.c: Likewise.
30138 * libio/iopadn.c: Likewise.
30139 * libio/iopopen.c: Likewise.
30140 * libio/ioseekoff.c: Likewise.
30141 * libio/ioseekpos.c: Likewise.
30142 * libio/iosetbuffer.c: Likewise.
30143 * libio/iosetvbuf.c: Likewise.
30144 * libio/ioungetc.c: Likewise.
30145 * libio/ioungetwc.c: Likewise.
30146 * libio/iovdprintf.c: Likewise.
30147 * libio/iovsprintf.c: Likewise.
30148 * libio/iovsscanf.c: Likewise.
30149 * libio/memstream.c: Likewise.
30150 * libio/obprintf.c: Likewise.
30151 * libio/oldfileops.c: Likewise.
30152 * libio/oldiofclose.c: Likewise.
30153 * libio/oldiofdopen.c: Likewise.
30154 * libio/oldiofopen.c: Likewise.
30155 * libio/oldiopopen.c: Likewise.
30156 * libio/oldstdfiles.c: Likewise.
30157 * libio/putc.c: Likewise.
30158 * libio/setbuf.c: Likewise.
30159 * libio/setlinebuf.c: Likewise.
30160 * libio/stdfiles.c: Likewise.
30161 * libio/strops.c: Likewise.
30162 * libio/vasprintf.c: Likewise.
30163 * libio/vscanf.c: Likewise.
30164 * libio/vsnprintf.c: Likewise.
30165 * libio/vswprintf.c: Likewise.
30166 * libio/wfiledoalloc.c: Likewise.
30167 * libio/wfileops.c: Likewise.
30168 * libio/wgenops.c: Likewise.
30169 * libio/wmemstream.c: Likewise.
30170 * libio/wstrops.c: Likewise.
30171 * libio/__fpurge.c: Likewise.
30172 * libio/__fsetlocking.c: Likewise.
30173 * assert/assert.c: Likewise.
30174 * debug/fgets_chk.c: Likewise.
30175 * debug/fgets_u_chk.c: Likewise.
30176 * debug/fread_chk.c: Likewise.
30177 * debug/fread_u_chk.c: Likewise.
30178 * debug/gets_chk.c: Likewise.
30179 * debug/obprintf_chk.c: Likewise.
30180 * debug/vasprintf_chk.c: Likewise.
30181 * debug/vdprintf_chk.c: Likewise.
30182 * debug/vsnprintf_chk.c: Likewise.
30183 * debug/vsprintf_chk.c: Likewise.
30184 * malloc/mtrace.c: Likewise.
30185 * misc/error.c: Likewise.
30186 * misc/syslog.c: Likewise.
30187 * stdio-common/asprintf.c: Likewise.
30188 * stdio-common/fxprintf.c: Likewise.
30189 * stdio-common/getw.c: Likewise.
30190 * stdio-common/isoc99_fscanf.c: Likewise.
30191 * stdio-common/isoc99_scanf.c: Likewise.
30192 * stdio-common/isoc99_vfscanf.c: Likewise.
30193 * stdio-common/isoc99_vscanf.c: Likewise.
30194 * stdio-common/isoc99_vsscanf.c: Likewise.
30195 * stdio-common/printf-prs.c: Likewise.
30196 * stdio-common/printf_fp.c: Likewise.
30197 * stdio-common/printf_fphex.c: Likewise.
30198 * stdio-common/printf_size.c: Likewise.
30199 * stdio-common/putw.c: Likewise.
30200 * stdio-common/scanf.c: Likewise.
30201 * stdio-common/sprintf.c: Likewise.
30202 * stdio-common/tmpfile.c: Likewise.
30203 * stdio-common/vfprintf.c: Likewise.
30204 * stdio-common/vfscanf.c: Likewise.
30205 * stdlib/strfmon_l.c: Likewise.
30206 * sunrpc/openchild.c: Likewise.
30207 * sunrpc/xdr_stdio.c: Likewise.
30208 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30209 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30210
d6c33fda
RM
302112012-05-24 Roland McGrath <roland@hack.frob.com>
30212
c1487492
RM
30213 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30214
30215 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30216 in the third column, to generate for the shared library an IFUNC
30217 that uses _dl_vdso_vsym.
30218 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30219 * Makeconfig (object-suffixes-noshared): New variable.
30220
30221 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30222 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30223 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30224 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30225
d6c33fda
RM
30226 [BZ #14132]
30227 * include/sys/time.h (__gettimeofday): Remove macro.
30228 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30229 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30230 Remove INTDEF.
30231 (__gettimeofday): Add libc_hidden_def.
30232 (gettimeofday): Add libc_hidden_weak.
30233 * sysdeps/mach/gettimeofday.c: Likewise.
30234 * sysdeps/posix/gettimeofday.c: Likewise.
30235 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30236 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30237 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30238 (__gettimeofday_internal): Remove strong_alias.
30239 (__gettimeofday): Add libc_hidden_def.
30240 (gettimeofday): Add libc_hidden_weak.
30241 * sysdeps/unix/syscalls.list (gettimeofday):
30242 Remove __gettimeofday_internal alias.
30243
b5a2bbe6
L
302442012-05-24 Daniel Jacobowitz <drow@false.org>
30245 H.J. Lu <hongjiu.lu@intel.com>
30246
30247 [BZ #12495]
30248 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30249 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30250 (largebin_index_32_big): New.
30251 (largebin_index): Use it for 16-byte alignment.
30252 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30253 correction with front_misalign.
30254
cfba4fda
L
302552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30256
7f907421
L
30257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30259 Likewise.
30260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30261 Likewise.
30262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30263 Likewise.
30264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30265 Likewise.
30266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30267 Likewise.
30268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30269 Likewise.
30270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30271 Likewise.
30272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30273 Likewise.
30274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30275 Likewise.
30276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30277 Likewise.
30278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30279 Likewise.
30280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30281 Likewise.
30282
cfba4fda
L
30283 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30284 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30285
80bad0cc
JM
302862012-05-24 Joseph Myers <joseph@codesourcery.com>
30287
7a25eb06
JM
30288 [BZ #10846]
30289 [BZ #14036]
30290 * math/libm-test.inc (exp_test): Add test from bug 14036.
30291 (pow_test): Add test from bug 10846.
30292
795405f9
JM
30293 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30294 and other flags.
30295 (special_function): Do not include flags in test name.
30296 (parse_args): Likewise.
30297 * sysdeps/i386/fpu/libm-test-ulps: Update.
30298 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30299 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30300 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30302
80bad0cc
JM
30303 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30304 exceptions.
30305 * math/libm-test.inc ("Philosophy"): Update comment about
30306 exception testing.
30307 (UNDERFLOW_EXCEPTION): New macro.
30308 (UNDERFLOW_EXCEPTION_OK): Likewise.
30309 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30310 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30311 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30312 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30313 (INVALID_EXCEPTION_OK): Update value.
30314 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30315 (OVERFLOW_EXCEPTION_OK): Likewise.
30316 (IGNORE_ZERO_INF_SIGN): Likewise.
30317 (test_exceptions): Handle underflow exceptions.
30318 (acos_test): Update for underflow exception expectations.
30319 (cexp_test): Likewise.
30320 (clog_test): Likewise.
30321 (clog10_test): Likewise.
30322 (csqrt_test): Likewise.
30323 (ctan_test): Likewise.
30324 (ctanh_test): Likewise.
30325 (exp_test): Likewise.
30326 (exp10_test): Likewise.
30327 (exp2_test): Likewise.
30328 (expm1_test): Likewise.
30329 (fma_test): Likewise.
30330 (j0_test): Likewise.
30331 (jn_test): Likewise.
30332 (nexttoward_test): Likewise.
30333 (pow_test): Likewise.
30334 (scalbn_test): Likewise.
30335 (scalbln_test): Likewise.
30336 (tan_test): Likewise.
30337 (y1_test): Likewise.
30338 * sysdeps/i386/fpu/libm-test-ulps: Update.
30339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30340
9e0e3d0b
DM
303412012-05-23 David S. Miller <davem@davemloft.net>
30342
30343 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30344 (__libc_sigaction): Remove unused local variables.
30345
ccd0a08f
L
303462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30347
30348 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30349
62bdf9a6
PE
303502012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30351
f8591f80
PE
30352 mktime: avoid signed integer overflow
30353 * time/mktime.c (__mktime_internal): Do not mishandle the case
30354 where diff == INT_MIN.
30355
94c7d826
PE
30356 mktime: simplify computation of average
30357 * time/mktime.c (ranged_convert): Use new time_t_avg function
30358 instead of rolling our own (probably-slower) code.
30359
ce73d683
PE
30360 mktime: do not assume signed right shift propagates sign bit
30361 * time/mktime.c (isdst_differ): New static function.
30362 (__mktime_internal): No need to normalize tm_isdst now.
30363 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30364 tm_isdst values.
30365
72a22e59
PE
30366 mktime: merge another wrapv change from gnulib
30367 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30368 from some compilers.
30369
68605433
PE
30370 mktime: remove incorrect attempt at unusual arithmetics
30371 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30372 The code didn't really work on such machines anyway.
30373 (TYPE_MINIMUM): Assume two's complement.
30374 (twos_complement_arithmetic): Verify that long_int and time_t
30375 are two's complement (or unsigned, in the latter case).
30376
03cf7fe3
PE
30377 mktime: check signed shifts on long_int and time_t, too
30378 * time/mktime.c (SHR): Check that shifts work as desired
30379 on the types long_int and time_t too, as SHR is used on
30380 such types.
30381
f04dfbc2
PE
30382 mktime: do not assume 'long' is wide enough
30383 * time/mktime.c (verify): Move decl up.
30384 (long_int): New type.
30385 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30386 to remove assumption in the code that 'long' is wide enough to
30387 store year values. This assumption is not true on x32 and on
30388 some non-glibc platforms.
30389
62bdf9a6
PE
30390 mktime: merge wrapv change from gnulib
30391 * time/mktime.c (WRAPV): New macro.
30392 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30393 (guess_time_tm, __mktime_internal): Do not assume that signed
30394 integer overflow wraps around; modern compilers generate code
30395 where this assumption is no longer valid.
30396
5e292e4f
L
303972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30398
30399 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30400 Replace "jmp L(pseudo_end)" with "ret".
30401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30402 Likewise.
30403
8caf8c87
AJ
304042012-05-23 Andreas Jaeger <aj@suse.de>
30405
30406 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30407 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30408
1a09dc56
AJ
304092012-05-23 Andreas Jaeger <aj@suse.de>
30410 Maximilian Attems <max@stro.at>
30411
30412 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30413 New macros.
30414
1c87aba0
L
304152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30416
30417 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30418 code so that pseudo_end is just ret and the stack pointer is
30419 correct also for static library in error case.
30420
40e45bd5
JM
304212012-05-23 Joseph Myers <joseph@codesourcery.com>
30422
c2670533
JM
30423 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30424 move to syscalls.list.
30425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30429
40e45bd5
JM
30430 * manual/install.texi (Running make install): Do not mention Linux
30431 kernel version for which pt_chown is not needed.
30432 (Linux): Do not mention problems with nscd with 2.0 kernels.
30433 * INSTALL: Regenerated.
30434
be08eda5
AJ
304352012-05-23 Andreas Jaeger <aj@suse.de>
30436
30437 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30438 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30439 macro.
30440 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30441 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30442 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30443 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30444 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30445 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30446 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30447 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30448 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30450 * sysdeps/unix/sysv/linux/bits/in.h
30451 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30452
a6a056bb
RM
304532012-05-22 Roland McGrath <roland@hack.frob.com>
30454
30455 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30456 (PREPARE_VERSION): Just use assert instead, it will be elided
30457 under [NDEBUG] anyway.
30458
c9009328
L
304592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30460
30461 * sysdeps/unix/sysv/linux/Makefile: Include
30462 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 30463 (sysdep_routines): Remove sysctl.
c9009328
L
30464 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30465 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30466 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30467 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30468 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30469
73338355
AJ
304702012-05-22 Andreas Jaeger <aj@suse.de>
30471
30472 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30473 that pseudo_end is just ret and the stack pointer is correct also
30474 for static library in error case.
30475
d44638b0
PP
304762012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30477
30478 [BZ #14122]
30479 * nss/nsswitch.c (defconfig_entries): New variable.
30480 (__nss_database_lookup): Don't leak defconfig entries.
30481 (nss_parse_service_list): Don't leak on error paths.
30482 (free_database_entries): New function.
30483 (free_defconfig): New function.
30484 (free_mem): Move common code to free_database_entries.
30485
31a39bd8
L
304862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30487
da0331a8
L
30488 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30489 Add arch_prctl.
30490 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30491
31a39bd8
L
30492 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30493 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30495 New macro.
30496 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30497 (INTERNAL_SYSCALL_TYPES): Likewise.
30498 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30499 (LOAD_REGS_TYPES_[1-6]): Likewise.
30500 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30501 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30502
45470df3
AZ
305032012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30504
30505 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30506 copysignl for GLIBC_2_0.
30507 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30508 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30509 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30510 logbl for GLIBC_2_0.
30511 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30512 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30513
98a61bcb
L
305142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30515
a4f6e481
L
30516 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30517 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30518
f63d5db6
L
30519 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30520 Use "neg %eax".
30521
98a61bcb
L
30522 * time/mktime.c: Update copyright years.
30523
95770f14
PE
305242012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30525
6226efbd
PE
30526 mktime: merge comment-quoting-style change from gnulib
30527 * time/mktime.c: Quote 'like this' in comments.
30528 The GNU coding standards suggest that we no longer quote `like this',
30529 as "`" and "'" are typically rendered asymmetrically nowadays.
30530 The typical gnulib style is to quote 'like this' when quoting
30531 code, and "like this" when quoting English.
30532
b99e4f78
PE
30533 * time/mktime.c (compile-command): Add "-I.".
30534
643e01e6
PE
30535 mktime: merge mktime-internal.h change from gnulib
30536 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30537
2554247d
PE
30538 mktime: merge time_r change from gnulib
30539 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30540
826dd0ab
PE
30541 mktime: merge DEBUG change from gnulib
30542 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30543 case system <time.h> has a #define.
30544
bd83aabe
PE
30545 mktime: merge <sys/types.h> change from gnulib
30546 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30547 since <time.t> is now guaranteed to define time_t.
30548
95770f14
PE
30549 mktime: merge HAVE_CONFIG_H change from gnulib
30550 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30551
5e1a27a9
L
305522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30553
0e44a77e
L
30554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30555 Use "neg %eax".
30556
5e1a27a9
L
30557 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30558 __rlim_t cast.
30559 (struct rusage): Use anonymous union to pad each field to
30560 __syscall_slong_t.
30561
46259bec
DM
305622012-05-21 David S. Miller <davem@davemloft.net>
30563
30564 * Makefules (o-iterator): Remove .s cases.
30565 (compile-command.s): Delete.
30566 (COMPILE.s): Delete.
30567 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30568
59f0c22e
JM
305692012-05-21 Joseph Myers <joseph@codesourcery.com>
30570
30571 * configure.in (libc_cv_predef_stack_protector): Only consider
30572 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30573 * configure: Regenerated.
30574
20c07380
L
305752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30576
bbb3154b
L
30577 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30578 New macro. Use R*LP on int and pointer.
30579 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30580 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30581 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30582 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30583
20c07380
L
30584 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30585 [__WORDSIZE_TIME64_COMPAT32] instead of
30586 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30587 (struct utmp): Likewise.
30588 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30589 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30590 Renamed to ...
30591 (__WORDSIZE_TIME64_COMPAT32): This.
30592 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30593 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30594 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30595 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30596 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30597 (__WORDSIZE_TIME64_COMPAT32): New macro.
30598
d8d1017e
AJ
305992012-05-21 Andreas Jaeger <aj@suse.de>
30600
30601 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30602 only if [SHARED]. Add prototype for __wcschr_ia32.
30603
6c7fb145
RM
306042012-05-21 Roland McGrath <roland@hack.frob.com>
30605
30606 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30607 of %rbp unmolested in the jmp_buf while mangling the low bits.
30608 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30609 unmolested high bits of %rbp while demangling the low bits.
30610 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30611
66274218
AJ
306122012-05-21 Andreas Jaeger <aj@suse.de>
30613
07c58f8f
AJ
30614 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30615 * sunrpc/svc_simple.c: Use it for registerrpc.
30616 * sunrpc/xcrypt.c: Use it for passwd2des.
30617
66274218
AJ
30618 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30619
61f65140
L
306202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30621
30622 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30623 Don't define if [__SYSCALL_WORDSIZE != 32].
30624 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30625 New macro.
30626
5fefb436
AJ
306272012-05-21 Bruno Haible <bruno@clisp.org>
30628 Andreas Jaeger <aj@suse.de>
30629
30630 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30631 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30632 inptr and inend for must_buffer_ch.
30633 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30634 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30635 * stdio-common/Makefile (tests): Remove bug15.
30636 (bug15-ENV): Remove macro.
30637 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30638 anymore.
30639
d8e272ab
AJ
306402012-05-19 Andreas Jaeger <aj@suse.de>
30641 Roland McGrath <roland@hack.frob.com>
30642
30643 * manual/contrib.texi: Completely rewritten. It contains now an
30644 alphabetical list of contributors and their contributions.
30645
4a56a162
RH
306462012-05-21 Richard Henderson <rth@twiddle.net>
30647
30648 * misc/getauxval.c (__getauxval): Use unsigned long int.
30649 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30650 (getauxval): Use unsigned long int.
30651
d024d23c
L
306522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30653
30654 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30655
cbc00a03
RM
306562012-05-21 Roland McGrath <roland@hack.frob.com>
30657
30658 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30659 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30660 __alignof__ (long double).
30661
478143fa
AZ
306622012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30663
30664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30665
c7683a6d
RH
306662012-05-20 Richard Henderson <rth@twiddle.net>
30667
30668 * misc/getauxval.c: New file.
30669 * misc/sys/auxv.h: New file.
30670 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30671 (routines): Add getauxval.
30672 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30673 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30674 * elf/dl-sysdep.c (_dl_auxv): Remove.
30675 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30676 * elf/dl-support.c (_dl_auxv): New variable.
30677 (_dl_aux_init): Initialize it.
30678 * manual/startup.texi (Auxiliary Vector): New node.
30679 * sysdeps/generic/bits/hwcap.h: New file.
30680 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30681 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30682 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30683 * sysdeps/sparc/sysdep.h: ... here. Include it.
30684 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30687 Update.
c7683a6d
RH
30688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30696
a6f1845d
AZ
306972012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30698
30699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30700
cbcbe830
DM
307012012-05-19 David S. Miller <davem@davemloft.net>
30702
30703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30704
e0b16cc2
JM
307052012-05-19 Joseph Myers <joseph@codesourcery.com>
30706
30707 [BZ #14123]
30708 * math/s_ccosh.c: Include <float.h>
30709 (__ccosh): Avoid internal overflow calculating sinh and cosh
30710 values before multiplying by sin and cos values.
30711 * math/s_ccoshf.c: Likewise.
30712 * math/s_ccoshl.c: Likewise.
30713 * math/s_csin.c: Likewise.
30714 * math/s_csinf.c: Likewise.
30715 * math/s_csinl.c: Likewise.
30716 * math/s_csinh.c: Likewise.
30717 * math/s_csinhf.c: Likewise.
30718 * math/s_csinhl.c: Likewise.
30719 * math/libm-test.inc (ccos_test): Add more tests.
30720 (ccosh_test): Likewise.
30721 (csin_test): Likewise.
30722 (csinh_test): Likewise.
30723 * sysdeps/i386/fpu/libm-test-ulps: Update.
30724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30725
6ad13e08
L
307262012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30727
f66f0ce8
L
30728 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30729 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30730
6ad13e08
L
30731 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30732
b1d072a7
JM
307332012-05-19 Joseph Myers <joseph@codesourcery.com>
30734
30735 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30736 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30737 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30738 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30739 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30740 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30741 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30742 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30743 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30744 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30745 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30746 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30747 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30748 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30749 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30750 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30751 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30752 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30753 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30754 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30755 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30756 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30757 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30758 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30759 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30760 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30761 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30762 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30763 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30764 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30765 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30766
9eae47cb
AJ
307672012-05-18 Andreas Jaeger <aj@suse.de>
30768
30769 * csu/.gitignore: Delete.
30770
bb07f69f
L
307712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30772
30773 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30774 (timex): Use __syscall_slong_t.
30775
e6bdb741
AJ
307762012-05-18 Andreas Jaeger <aj@suse.de>
30777 Carlos O'Donell <carlos_odonell@mentor.com>
30778
30779 * manual/install.texi (Configuring and compiling): Update
30780 description about files modified in the source directory.
d6c33fda 30781 * INSTALL: Regenerated.
e6bdb741 30782
1b74487e
L
307832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30784
30785 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30786 value. Use "or" to set return value to -1.
30787 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30788 negate return value.
30789
a88b64b9
TMQMF
307902012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30791
57f41c40
AS
30792 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30793 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30794 failure if the compiler has Graphite support disabled.
30795 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30796 Likewise.
57f41c40
AS
30797 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30798 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30799 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30800 Likewise.
30801
3707636e
L
308022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30803
610b8622
L
30804 * sysdeps/x86_64/x32/_itoa.h: New file.
30805
7cd195df
L
30806 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30807 getdents system call only if kernel and user dirents have the
30808 same d_ino and d_off.
30809
94b07d20
L
30810 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30811 LLONG_MAX != LONG_MAX.
30812 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30813 (_fitoa_word): Likewise.
30814
18298070
L
30815 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30816 years.
30817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30818 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30819 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30820
553c7ea4
L
30821 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30822 include <bits/wordsize.h>. Check __x86_64__ instead of
30823 __WORDSIZE.
30824 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30825 if __x86_64__ is defined. Use anonymous union on fpstate.
30826
3707636e
L
30827 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30828 anonymous union.
30829
b53ef01a
AS
308302012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30831
37fb1dc0
AS
30832 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30833 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30834 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30835 Refer to _rtld_local_ro instead of _rtld_global_ro.
30836 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30837 Likewise.
30838 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30839 Likewise.
30840 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30841 Likewise.
30842 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30843 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30844 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30845
b53ef01a
AS
30846 * sysdeps/powerpc/powerpc32/dl-machine.c
30847 (__elf_machine_runtime_setup) [PROF]: Don't reference
30848 _dl_prof_resolve.
30849
7a185db2
AJ
308502012-05-18 Andreas Jaeger <aj@suse.de>
30851
30852 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30853 function only available for GCCs before 3.4 since GCC 3.4
30854 introduced a builtin.
30855 (lrint): Likewise.
30856 (llrintf): Likewise.
30857 (llrint): Likewise.
30858 (fmaxf): Likewise.
30859 (fmax): Likewise.
30860 (fminf): Likewise.
30861 (fmin): Likewise.
30862 (rint): Likewise.
30863 (rintf): Likewise.
30864 (nearbyint): Likewise.
30865 (nearbyintf): Likewise.
30866 (ceil): Likewise.
30867 (ceilf): Likewise.
30868 (floor): Likewise.
30869 (floorf): Likewise.
30870
3e5aef87
L
308712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30872
428bd707
L
30873 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30874 on both fields and cast pointer to __syscall_ulong_t.
30875
3e5aef87
L
30876 * bits/types.h (__fsword_t): New type.
30877 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30878 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30879 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30880 (__FSWORD_T_TYPE): Likewise.
30881 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30882 (__FSWORD_T_TYPE): Likewise.
30883 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30884 (__FSWORD_T_TYPE): Likewise.
30885 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30886 (__FSWORD_T_TYPE): Likewise.
30887 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30888 __SWORD_TYPE with __fsword_t.
30889 (statfs64): Likewise.
30890
1ba7c3dc
DM
308912012-05-17 David S. Miller <davem@davemloft.net>
30892
30893 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30894
59910343
AJ
308952012-05-17 Andreas Jaeger <aj@suse.de>
30896
30897 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30898 warning.
30899
2e4c1e9e
L
309002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30901
30902 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30903
de7f5ce7
AJ
309042012-05-17 Andreas Jaeger <aj@suse.de>
30905
30906 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30907 when it is used.
30908
286abc3d
CM
309092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30910
30911 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30912
477cc68e
L
309132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30914
30915 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30916 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30917
1a0994f5
CD
309182012-05-17 Andreas Jaeger <aj@suse.de>
30919 Carlos O'Donell <carlos_odonell@mentor.com>
30920
30921 [BZ #14059]
30922 * sysdeps/x86_64/multiarch/init-arch.h
30923 (bit_YMM_Usable): Rename to...
30924 (bit_AVX_Usable): ... this.
30925 (bit_FMA4_Usable): New macro.
30926 (bit_XMM_state): New macro.
30927 (bit_YMM_state): New macro.
30928 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30929 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30930 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30931 (CPUID_OSXSAVE): New macro.
30932 (CPUID_AVX): New macro.
30933 (CPUID_FMA4): New macro.
30934 (index_YMM_Usable): Rename to...
30935 (index_AVX_Usable): ... this.
30936 (HAS_AVX): Use HAS_ARCH_FEATURE.
30937 (HAS_FMA4): Likewise.
30938 (HAS_YMM_USABLE): Remove.
30939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30940 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30941 are present.
30942 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30943 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30944 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30945 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30946 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30947
0af797de
CM
309482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30949
30950 * math/libm-test.c: Support platforms without multiple rounding modes.
30951 * math/bug-nextafter.c: Support platforms without FP exceptions.
30952 * math/bug-nexttoward.c: Likewise.
30953 * math/test-fenv.c: Likewise.
30954 * math/test-misc.c: Likewise.
30955 * stdlib/bug-getcontext.c: Likewise.
30956
e39745ff
AJ
309572012-05-17 Andreas Jaeger <aj@suse.de>
30958
30959 * manual/examples/search.c (critter_cmp): Change signature to
30960 avoid warnings.
30961 * manual/string.texi (Collation Functions): Likewise.
30962
48970aba
L
309632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30964
30965 * bits/types.h: Fold copyright years.
30966 * bits/typesizes.h: Likewise.
30967 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30968 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30969 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30971 * time/time.h: Likewise.
30972
bedee953
PP
309732012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30974
30975 [BZ #208]
30976 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30977 in instead of returning them. Return void.
30978 (__libc_mallinfo): Accumulate over all arenas.
30979 (__malloc_stats): Adjust for change in int_mallinfo interface.
30980
61653dfb
RM
309812012-05-16 Roland McGrath <roland@hack.frob.com>
30982
30b99d79
RM
30983 [BZ #10375]
30984 * configure.in (NM): Add AC_CHECK_TOOL for it.
30985 (libc_extra_cflags): New substituted variable.
30986 Check for -fstack-protector being used implicitly.
30987 * configure: Regenerated.
30988 * config.make.in (config-extra-cflags): New variable,
30989 gets @libc_extra_cflags@.
30990 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30991
61653dfb
RM
30992 [BZ #10375]
30993 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30994 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30995 * configure: Regenerated.
30996 * config.make.in (CPPUNDEFS): New substituted variable.
30997 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30998 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30999 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31000
661768bb
L
310012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31002
31003 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31004 (mq_attr): Use __syscall_slong_t.
31005
d4261567
L
310062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31007
31008 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31009 Check __x86_64__ instead of __WORDSIZE.
31010 (_STAT_VER_LINUX): Likewise.
31011 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31012 __syscall_ulong_t and __syscall_slong_t.
31013 (stat64): Likewise.
31014
cf3ff365
L
310152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31016
31017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31018
76cf3e4d
L
310192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31020
31021 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31022
a637753a
L
310232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31024
31025 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31026 __syscall_ulong_t.
31027
d5e05119
L
31028 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31029 include <bits/wordsize.h>. Check __x86_64__ instead of
31030 __WORDSIZE.
31031 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31032 defined.
31033 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31034
f62ee380
L
31035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31036 include <bits/wordsize.h>. Check __x86_64__ instead of
31037 __WORDSIZE.
31038 (user_regs_struct): Use "__extension__ unsigned long long"
31039 instead of "unsigned long" if __x86_64__ is defined.
31040 (user): Likewise. Pad after pointer field if __ILP32__ is
31041 defined.
31042
4e124ced
JM
310432012-05-16 Joseph Myers <joseph@codesourcery.com>
31044
6a3951a0
JM
31045 * configure.in (makeinfo): Require version 4.5 or later. Allow
31046 versions 5 to 9.
31047 * configure: Regenerated.
31048 * manual/install.texi (texinfo): Increase version requirement to
31049 4.5 or later.
31050 * INSTALL: Regenerated.
31051
4e124ced
JM
31052 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31053
953ca31a
L
310542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31055
31056 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31057
617aca05
L
31058 * sysdeps/x86_64/x32/ffs.c: New file.
31059
5762f7ae
L
31060 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31061 __syscall_ulong_t.
31062 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31063 defined. Use __syscall_ulong_t.
31064 (shminfo): Use __syscall_ulong_t.
31065 (shm_info): Likewise.
31066
a26b6856
L
31067 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31068 __syscall_ulong_t.
31069
cb2b9ef7
L
31070 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31071 <bits/wordsize.h>.
31072 (msgqnum_t): Use __syscall_ulong_t.
31073 (msglen_t): Likewise.
31074 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31075 __syscall_ulong_t.
31076
34683bb0
L
31077 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31078 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31079
84a68786
L
31080 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31081
48baa5f1
L
31082 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31083 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31084
180be88b
L
31085 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31086 __syscall_slong_t.
31087
5e90c8ad
L
31088 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31089 include <bits/wordsize.h>. Check __x86_64__ instead of
31090 __WORDSIZE.
31091
23dfb58b
L
31092 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31093 "unsigned long long int" if __x86_64__ is defined.
31094 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31095
ce5d54b0
L
31096 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31097 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31098 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31099
13dc9eac
L
31100 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31101 <stdint.h>.
31102 (GET_PC): Cast to uintptr_t first.
31103 (GET_FRAME): Likewise.
31104 (GET_STACK): Likewise.
31105
a7895d15
L
31106 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31107 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31108 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31109 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31110 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31111 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31112 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31113 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31114 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31115 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31116 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31117 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31118 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31119 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31120 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31121 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31122 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31123 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31124 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31125 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31126 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31127 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31128 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31129 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31130 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31131 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31132 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31133 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31134 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31135
656416c9
AS
311362012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31137
5bd66283
AS
31138 * Makerules (+depfiles): Also collect depfiles from .oS in
31139 $(extra-objs).
31140 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31141 .oS, $(libnldbl-routines)).
31142
656416c9
AS
31143 * Makerules (native-compile-mkdep-flags): Define.
31144 * sunrpc/Makefile (extra-objs): Add $(addprefix
31145 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31146 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31147 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31148 calling $(make-target-directory).
31149
a46f2169
L
311502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31151
31152 * bits/types.h (__snseconds_t): Removed.
31153 * time/time.h (struct timespec): Replace __snseconds_t with
31154 __syscall_slong_t.
31155 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31156 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31157 Likewise.
31158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31159 (__SNSECONDS_T_TYPE): Likewise.
31160 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31161 (__SNSECONDS_T_TYPE): Likewise.
31162 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31163 (__SNSECONDS_T_TYPE): Likewise.
31164
6af6528b
L
311652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31166
31167 * sysdeps/mach/hurd/bits/typesizes.h
31168 (__SYSCALL_SLONG_TYPE): New macro.
31169 (__SYSCALL_ULONG_TYPE): Likewise.
31170
de986b56
L
311712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31172
31173 * bits/types.h (__syscall_slong_t): New type.
31174 (__syscall_ulong_t): Likewise.
31175
31176 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31177 (__SYSCALL_ULONG_TYPE): Likewise.
31178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31179 (__SYSCALL_SLONG_TYPE): Likewise.
31180 (__SYSCALL_ULONG_TYPE): Likewise.
31181 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31182 (__SYSCALL_SLONG_TYPE): Likewise.
31183 (__SYSCALL_ULONG_TYPE): Likewise.
31184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31185 (__SYSCALL_SLONG_TYPE): Likewise.
31186 (__SYSCALL_ULONG_TYPE): Likewise.
31187
85736dc7
L
311882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31189
31190 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31191 Add sigaltstack-offsets.sym.
31192 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31193 <sigaltstack-offsets.h>.
31194 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31195 longjmp_msg pointer.
31196 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31197 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31198 signal stack.
31199 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31200
cc03b296
JM
312012012-05-15 Joseph Myers <joseph@codesourcery.com>
31202
a9538892
JM
31203 * elf/stackguard-macros.h: Remove file.
31204 * sysdeps/generic/stackguard-macros.h: New file.
31205 * sysdeps/i386/stackguard-macros.h: Likewise.
31206 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31207 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31208 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31209 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31210 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31211 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31212 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31213 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31214 <elf/stackguard-macros.h>.
31215
cc03b296
JM
31216 [BZ #14109]
31217 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31218 __aligned__ in attribute.
31219 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31220 (gregset_t): Likewise.
31221
93171016
L
312222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31223
31224 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31225 * sysdeps/x86_64/64/Implies-after: Here. New file.
31226 * sysdeps/x86_64/x32/Implies-after: New file.
31227
d86813a0
L
312282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31229
31230 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31231 and access return value for _dl_profile_fixup. Use R10_LP to
31232 load frame size.
31233
2953ec75
L
312342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31235
31236 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31237
3b550e9e
L
312382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31239
31240 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31241 * sysdeps/x86_64/x32/sysdep.h: New file.
31242
eda41706
L
312432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31244
31245 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31246 * sysdeps/x86_64/setjmp.S: Likewise.
31247
9ea01d93
AZ
312482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31249
31250 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31251 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31252 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31253 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31254 remove unused global constant.
31255
02a91938
CM
312562012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31257
31258 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31259 include of <not-cancel.h>.
31260
6540185f
RM
312612012-05-15 Roland McGrath <roland@hack.frob.com>
31262
31263 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31264
509072a0
AJ
312652012-05-15 Jeff Law <law@redhat.com>
31266 Andreas Jaeger <aj@suse.de>
31267
31268 [BZ #13594]
31269 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31270 out from...
31271 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31272 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31273 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31274 code changing __hst_map_handle.map.
31275
ba75122d
RM
312762012-05-15 Roland McGrath <roland@hack.frob.com>
31277
31278 * configure.in (sysnames): Look for Implies-before and Implies-after
31279 files.
31280 * configure: Regenerated.
31281
890d8bd8
L
312822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31283
31284 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31285 8-byte data alignment with LP_SIZE alignment.
31286
f6ee6623
L
312872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31288
31289 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31290 into R10_LP.
31291
ea2626f6
L
312922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31293
31294 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31295
085f715e
L
312962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31297
31298 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31299 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31300 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31301 Likewise.
31302 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31303
be8498fc
L
313042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31305
31306 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31307 (stackinfo_sub_sp): Likewise.
31308
70bc83b9
L
313092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31310
31311 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31312 RAX_LP.
31313
9bc0b730
L
313142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31315
31316 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31317 into R*_LP.
31318
6d2850e7
L
313192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31320
31321 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31322 sizes into R*_LP.
31323
3cb84561
L
313242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31325
31326 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31327
54e2ed81
L
313282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31329
31330 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31331 into R11_LP and load __x86_64_shared_cache_size_half into
31332 R8_LP.
31333
8a17f349
L
313342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31335
31336 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31337 R8_LP.
31338
777b1eea
AZ
313392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31340
31341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31342 logb for POWER7.
31343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31344 logbf for POWER7.
31345 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31346 logbl for POWER7.
31347 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31348 powerpc32/power7/fpu/s_logb.c via #include.
31349 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31350 powerpc32/power7/fpu/s_logbf.c via #include.
31351 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31352 powerpc32/power7/fpu/s_logbl.c via #include.
31353
d20d4ac2
JM
313542012-05-15 Joseph Myers <joseph@codesourcery.com>
31355
31356 * README.libm: Remove file.
31357
6cdef1ab
L
313582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31359
31360 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31361 count for x32. Use R*_LP and omit operand-size suffix.
31362
0b254d8f
L
313632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31364
31365 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31366 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31367 * sysdeps/x86_64/x32/shlib-versions: New file.
31368
ceb809dc
RM
313692012-05-14 Roland McGrath <roland@hack.frob.com>
31370
31371 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31372 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31373 Use _dl_fatal_printf instead.
31374
37f1abd4
JM
313752012-05-14 Joseph Myers <joseph@codesourcery.com>
31376
31377 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31378 set if not set by the user. Do not allow for being unset.
31379 * sysdeps/unix/sysv/linux/configure: Regenerated.
31380
11de3a33
L
313812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31382
31383 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31384 the `q' suffix from lea and replace .quad with ASM_ADDR.
31385
e02f153a
L
313862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31387
31388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31389 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31390 instead of $17.
31391 (PTR_DEMANGLE): Likewise.
31392
520ae0fd
L
313932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31394
31395 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31396 (LP_OP): Likewise.
31397 (ASM_ADDR): Likewise.
31398 (RAX_LP): Likewise.
31399 (RBP_LP): Likewise.
31400 (RBX_LP): Likewise.
31401 (RCX_LP): Likewise.
31402 (RDI_LP): Likewise.
31403 (RSI_LP): Likewise.
31404 (RSP_LP): Likewise.
31405 (R8_LP): Likewise.
31406 (R9_LP): Likewise.
31407 (R10_LP): Likewise.
31408 (R10_LP): Likewise.
31409 (R11_LP): Likewise.
31410 (R12_LP): Likewise.
31411 (R13_LP): Likewise.
31412 (R14_LP): Likewise.
31413 (R15_LP): Likewise.
31414
b985be81
L
314152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31416
31417 * sysdeps/x86_64/x32/dl-machine.h: New file.
31418
6a4888ff
AJ
314192012-05-14 Andreas Jaeger <aj@suse.de>
31420
31421 * manual/Makefile (subdir): Remove export of subdir.
31422 (all): Remove target.
31423 (.PHONY): Remove all from list.
31424 (mkinstalldirs): Remove.
31425 (.PHONY): Remove installdirs from list.
31426 ($(inst_infodir)/libc.info): Use make-target-directory.
31427 (installdirs): Remove.
31428 (subdir_%): Remove.
31429 (glibc-targets): Remove.
31430 (lib): Remove.
31431 (stubs): Remove.
31432 ($(objpfx)stubs ../po/manual.pot): Remove.
31433 ($(objpfx)stamp%): Remove.
31434 (make-target-directory): Remove.
31435 (subdir_install): Remove.
31436 (routines): Remove.
31437 (aux): Remove.
31438 (sources): Remove.
31439 (objects): Remove.
31440 (headers): Remove.
31441
31442 [BZ #13750]
31443 * manual/.gitignore: Remove, it's not needed anymore.
31444 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31445 all files in it.
31446 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31447 directory.
31448 (texis): Renamed to $(objpfx)texis.
31449 (texis-path): New, contains path to generated files.
31450 (chapters.%): Use texis-path for complete path, add extra argument
31451 libc-texinfo.sh.
31452 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31453 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31454 (summary,texi, stamp-summary): Use complete path of
31455 files. Generate files in build dir.
31456 (dir-add.texi): Build in build dir.
31457 (libm-err.texi,stamp-libm-err): Likewise.
31458 (version.texi, stamp-version): Likewise.
31459 (.%c.texi): Likewise.
31460 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31461 (mostlyclean): Remove target.
31462 (realclean): Remove target.
31463 (generated): Add new variable with contents from mostlyclean and
31464 realclean, remove entries duplicated in common-mostlyclean, add
31465 stamp-libm-err and stamp-version.
31466 (generated-dirs): Add libc directory.
31467 ($(inst_infodir)/libc.info): Install files from build dir.
31468
31469 * manual/install.texi (Configuring and compiling): Adjust since
31470 the info files are not part of the tar ball anymore.
31471
7ac77294
AJ
314722012-05-14 Andreas Jaeger <aj@suse.de>
31473
31474 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31475 variable.
31476
ffb7875d
JM
314772012-05-14 Joseph Myers <joseph@codesourcery.com>
31478
31479 [BZ #13717]
31480 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31481 to 2.2.0 where earlier.
31482 * sysdeps/unix/sysv/linux/configure: Regenerated.
31483 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31484 Remove conditional code.
31485 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31486 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31487 Remove conditional code.
31488 [!__NR_lchown]: Likewise.
31489 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31490 [__NR_lchown]: Likewise.
31491 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31492 comment referencing __ASSUME_LCHOWN_SYSCALL.
31493 * sysdeps/unix/sysv/linux/i386/sigaction.c
31494 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31495 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31496 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31497 Remove conditional code.
31498 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31499 (__protocol_available): Remove #if 0 code.
31500 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31501 conditional code.
31502 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31503 * sysdeps/unix/sysv/linux/kernel-features.h
31504 (__ASSUME_GETCWD_SYSCALL): Don't define.
31505 (__ASSUME_REALTIME_SIGNALS): Likewise.
31506 (__ASSUME_PREAD_SYSCALL): Likewise.
31507 (__ASSUME_PWRITE_SYSCALL): Likewise.
31508 (__ASSUME_POLL_SYSCALL): Likewise.
31509 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31510 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31511 non-SPARC.
31512 (__ASSUME_SIOCGIFNAME): Don't define.
31513 (__ASSUME_MSG_NOSIGNAL): Likewise.
31514 (__ASSUME_SENDFILE): Define unconditionally.
31515 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31516 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31517 conditional code.
31518 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31519 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31520 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31521 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31522 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31523 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31524 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31526 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31529 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31530 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31532 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31533 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31535 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31536 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31538 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31539 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31541 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31542 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31544 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31545 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31547 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31549 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31550 Remove conditional code.
31551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31552 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31553 Remove conditional code.
31554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31555 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31556 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31557 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31558 Remove conditional code.
31559 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31560 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31561 Remove conditional code.
31562 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31563 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31564 Remove conditional code.
31565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31566 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31567 Remove conditional code.
31568 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31569 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31570 Remove conditional code.
31571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31572 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31573 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31574 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31575 * sysdeps/unix/sysv/linux/sigaction.c
31576 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31577 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31578 * sysdeps/unix/sysv/linux/sigpending.c
31579 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31580 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31581 * sysdeps/unix/sysv/linux/sigprocmask.c
31582 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31583 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31584 * sysdeps/unix/sysv/linux/sigsuspend.c
31585 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31586 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31587 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31588 (__libc_missing_rt_sigs): Remove.
31589 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31590 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31591 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31592 Remove conditional code.
31593 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31594 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31595 return 1.
31596 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31597 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31598 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31599 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31600
1bfb7291
AJ
316012012-05-14 Andreas Jaeger <aj@suse.de>
31602
caae5a81
AJ
31603 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31604 it's not used in glibc.
31605 (__coshm1): Likewise.
31606 (__acosh1p): Likewise.
31607 (__sgn): Likewise.
31608
1bfb7291
AJ
31609 * manual/string.texi (Copying and Concatenation): Add missing
31610 variable in concat example.
31611 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31612
c044d724
L
316132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31614
144c5467 31615 [BZ #14103]
c044d724
L
31616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31617 __builtin_clzl with __builtin_clzll.
31618
2523c62b
L
316192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31620
31621 [BZ #14104]
31622 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31623 libc_freeres_ptr.
31624
d7bb4c42
LD
316252012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31626
31627 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31628 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31629 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31630 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31631
9dc4e1fb
MF
316322012-05-14 Mike Frysinger <vapier@gentoo.org>
31633
31634 * NEWS: Update ia64 info.
31635
c7df0112
AS
316362012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31637
31638 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31639 used as bcopy.
31640
dc70356c
TS
316412012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31642
31643 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31644 * sysdeps/unix/syscalls.list (dup3): Likewise.
31645 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31646 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31647
9fb1a21f
L
316482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31649
31650 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31651 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31652
4822a2a5
L
316532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31654
31655 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31656 thread pointer.
31657 (TLS_IE): Use mov/add instead of movq/addq to load thread
31658 pointer.
31659 (TLS_GD_PREFIX): New.
31660 (TLS_GD): Use it.
31661
842b81d6
DM
316622012-05-11 David S. Miller <davem@davemloft.net>
31663
31664 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31665 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31666 (_FPU_SETCW): Likewise.
31667
1cf463cd
L
316682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31669
31670 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31671 is 32-byte aligned.
31672
60cc4a18
AS
316732012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31674
31675 [BZ #11837]
31676 * iconvdata/gb18030.c: Update tables.
31677 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31678 characters specially.
31679 (BODY for TO_LOOP): Add encoding of missing ranges.
31680
febb44a4
TS
316812012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31682
31683 [BZ #13673]
31684 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31685 * sysdeps/mach/hurd/dup3.c: Likewise.
31686 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31687 * sysdeps/powerpc/memmove.c:: Likewise.
31688
0a10fb9e
L
316892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31690
31691 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31692 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31693
df8a552f
L
316942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31695
31696 * elf/elf.h (R_X86_64_RELATIVE64): New.
31697 (R_X86_64_NUM): Updated.
31698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31699 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31700 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31701 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31702 tst-quad1pie tst-quad2pie
31703 (modules-names): Add tst-quadmod1 tst-quadmod2.
31704 ($(objpfx)tst-quad1): New dependency.
31705 ($(objpfx)tst-quad2): Likewise.
31706 ($(objpfx)tst-quad1pie): Likewise.
31707 ($(objpfx)tst-quad2pie): Likewise.
31708 * sysdeps/x86_64/tst-quad1.c: New file.
31709 * sysdeps/x86_64/tst-quad1pie.c: New file.
31710 * sysdeps/x86_64/tst-quad2.c: Likewise.
31711 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31712 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31713 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31714 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31715 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31716
f34d6f84
ST
317172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31718
f42d41d1
ST
31719 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31720 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31721 * streams/stropts.h (t_scalar_t): Define type.
31722
3c3571fc
ST
31723 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31724 (_PATH_PRESERVE): Set to "/var/lib".
31725 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31726
61f06bd3
ST
31727 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31728 instead of int.
31729
918d4d71
ST
31730 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31731 if __dir_mkfile succeeded.
31732
f34d6f84
ST
31733 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31734 checking for _hurd_dtablesize. Unlock it right after having
31735 finished _hurd_dtable allocation.
31736
10589b4a
TS
317372012-05-10 Thomas Schwinge <thomas@schwinge.name>
31738
674cdbc7
TS
31739 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31740 * sysdeps/mach/hurd/configure: Regenerated.
31741 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31742 special-casing to...
31743 * sysdeps/gnu/configure.in: ... this new file.
31744 * sysdeps/unix/sysv/linux/configure: Regenerated.
31745 * sysdeps/gnu/configure: New generated file.
31746
8e41b99f
TS
31747 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31748 for Linux: use nsec instead of usec, as well as:
31749 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31750 members of type struct timespec.
31751 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31752 New macros.
31753 (struct stat64): Likewise.
31754 (_STATBUF_ST_NSEC): New macro.
31755 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31756
10589b4a
TS
31757 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31758 __strtoul_internal rather than strtoul.
31759
63643c85
PT
317602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31761
31762 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31763 and reject them.
31764
3faebe6a
ST
317652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31766
31767 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31768 which preserves existing values.
31769 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31770
c6474b07
PT
317712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31772
31773 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31774 TIMEOUT values. Return EINVAL for NFDS values either negative or
31775 greater than FD_SETSIZE.
31776
1043890b
ST
317772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31778
31779 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31780 allocated, call __vm_protect to finish enabling the existing space, and
31781 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31782 allocate the remainder.
31783
37ed8b9b
PT
317842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31785
31786 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31787 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31788
db653660
ST
317892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31790
37ed8b9b
PT
31791 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31792 sysdeps/mach/hurd/readlink.c.
b29d4053 31793
db653660
ST
31794 * posix/tst-sysconf.c (posix_options): Only use
31795 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31796 _POSIX_SYNCHRONIZED_IO when they are defined
31797 * sysdeps/mach/hurd/bits/posix_opt.h:
31798 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31799 (_XOPEN_REALTIME): Undefine macro.
31800 (_XOPEN_REALTIME_THREADS): Undefine macro.
31801 (_XOPEN_SHM): Undefine macro.
31802 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31803 macro to -1.
31804 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31805 macro to -1.
31806 (_POSIX_ASYNC_IO): Undefine macro.
31807 (_POSIX_PRIORITIZED_IO): Undefine macro.
31808 (_POSIX_SPIN_LOCKS): Define macro to -1.
31809
ee16e894
ST
31810 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31811 SA_NODEFER, SA_RESETHAND.
31812 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31813 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31814 F_DUPFD_CLOEXEC.
31815
6103ae3b
TS
318162012-05-10 Thomas Schwinge <thomas@schwinge.name>
31817
31818 * elf/Makefile (pldd-modules): Define unconditionally.
31819
80b4e5f3
TS
318202012-05-10 Thomas Schwinge <thomas@schwinge.name>
31821
31822 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31823
edadcbd6
ST
318242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31825
31826 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31827 Return ENOENT when name is empty.
31828 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31829
80694780
TS
318302012-05-10 Thomas Schwinge <thomas@schwinge.name>
31831
1792c087
TS
31832 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31833
80694780
TS
31834 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31835
6b645f0d
ST
318362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31837
80694780
TS
31838 Fix mlock in all cases except non-readable pages.
31839 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31840 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31841
6b645f0d
ST
31842 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31843 (__mkdir): When path is `/', just fail with EEXIST.
31844 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31845
e468f8a3
TS
318462012-05-10 Thomas Schwinge <thomas@schwinge.name>
31847
31848 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31849 <sys/uio.h> (for writev).
31850 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31851 and <sys/param.h> (for MIN).
31852
a4186cff
PT
318532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31854
31855 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31856 REQUESTED_TIME. Properly set the remaining time and return EINTR
31857 if interrupted.
31858
510bbf14
TS
318592012-05-10 Thomas Schwinge <thomas@schwinge.name>
31860
31861 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31862 Depend on against $(link-rpcuserlibs).
31863
5d5722e8
ST
318642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31865
a4186cff
PT
31866 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31867 (__libc_stack_end): Do not use attribute_relro.
31868 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31869 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31870 to libthread-provided value.
a4186cff
PT
31871 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31872 attribute_relro.
5d5722e8 31873
37233df9
TS
318742012-05-10 Thomas Schwinge <thomas@schwinge.name>
31875
be971a2b
TS
31876 [BZ #3748]
31877 * bits/libc-lock.h (__libc_once_get): New macro.
31878 * sysdeps/mach/bits/libc-lock.h: Likewise.
31879 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31880 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31881 instead of using implementation details.
31882
37233df9
TS
31883 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31884 * libio/freopen.c: Likewise.
31885 * libio/freopen64.c: Likewise.
31886 * misc/syslog.c: Likewise.
31887 * nscd/connections.c: Likewise.
31888 * nscd/netgroupcache.c: Likewise.
31889 * sysdeps/posix/getcwd.c: Likewise.
31890
38de94a5
RM
318912012-05-10 Roland McGrath <roland@hack.frob.com>
31892
31893 * math/w_ilogbf.c: Add #include <limits.h>.
31894
67530489
ST
318952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31896
a4186cff 31897 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31898 path instead of returning without unlocking.
31899
67530489
ST
31900 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31901 immediate-write ioctls.
31902 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31903
5aa3a74a
TS
319042012-05-10 Thomas Schwinge <thomas@schwinge.name>
31905
18bad2ae
TS
31906 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31907 __builtin_frame_address instead of making assumptions about the
31908 location of the return address relative to DATA. Force early load of
31909 the return address.
31910 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31911 __builtin_frame_address.
31912
5aa3a74a
TS
31913 dup3 for GNU Hurd.
31914 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31915 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31916 implement dup3 and do some further code clean-ups.
31917 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31918 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31919
ecd0de9a
ST
319202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31921
cd9fa985
ST
31922 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31923
a4186cff
PT
31924 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31925 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31926 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31927 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31928 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31929 d->port.lock.
802ca5a5 31930
a4186cff
PT
31931 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31932 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31933 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31934
bcf55240
TS
319352012-05-10 Thomas Schwinge <thomas@schwinge.name>
31936
6960eb42
TS
31937 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31938 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31939 definitions.
31940
eb43375f
TS
31941 accept4 for GNU Hurd.
31942 * include/sys/socket.h (__libc_accept4): New prototype.
31943 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31944 to implement __libc_accept4.
31945 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31946 __libc_accept4.
31947 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31948
bcf55240
TS
31949 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31950 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31951 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31952 signal-defines.sym.
31953
6178c55b
ST
319542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31955
a4186cff 31956 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31957
6f080c2f
TS
319582012-05-10 Thomas Schwinge <thomas@schwinge.name>
31959
31960 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31961 assertion on O_CLOEXEC flag.
31962 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31963 * hurd/intern-fd.c: Likewise.
31964 * hurd/port2fd.c: Likewise.
31965
bcfe3a54
ST
319662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31967
31968 [BZ #3906]
31969 * bits/in.h (IPV6_PKTINFO): Define new macro.
31970 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31971
89c9aa49
AZ
319722012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31973
31974 [BZ #13954]
31975 [BZ #13955]
31976 [BZ #13956]
31977 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31978 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31979 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31980 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31981 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31982 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31983 * math/libm-test.inc (logb_test) : Additional logb tests.
31984
021db4be
AJ
319852012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31986 Andreas Jaeger <aj@suse.de>
31987
31988 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31989 * configure: Regenerated.
31990 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31991 * config.make.in (link-obsolete-rpc): New substituted variable.
31992 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31993 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31994 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31995 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31996 so that libc.a contains the symbols.
31997 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31998 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31999 * sunrpc/auth_none.c: Likewise.
32000 * sunrpc/auth_unix.c: Likewise.
32001 * sunrpc/authdes_prot.c: Likewise.
32002 * sunrpc/authuxprot.c: Likewise.
32003 * sunrpc/clnt_gen.c: Likewise.
32004 * sunrpc/clnt_perr.c: Likewise.
32005 * sunrpc/clnt_raw.c: Likewise.
32006 * sunrpc/clnt_simp.c: Likewise.
32007 * sunrpc/clnt_tcp.c: Likewise.
32008 * sunrpc/clnt_udp.c: Likewise.
32009 * sunrpc/clnt_unix.c: Likewise.
32010 * sunrpc/des_crypt.c: Likewise.
32011 * sunrpc/des_soft.c: Likewise.
32012 * sunrpc/get_myaddr.c: Likewise.
32013 * sunrpc/key_call.c: Likewise.
32014 * sunrpc/key_prot.c: Likewise.
32015 * sunrpc/netname.c: Likewise.
32016 * sunrpc/pm_getmaps.c: Likewise.
32017 * sunrpc/pm_getport.c: Likewise.
32018 * sunrpc/pmap_clnt.c: Likewise.
32019 * sunrpc/pmap_prot.c: Likewise.
32020 * sunrpc/pmap_prot2.c: Likewise.
32021 * sunrpc/pmap_rmt.c: Likewise.
32022 * sunrpc/publickey.c: Likewise.
32023 * sunrpc/rpc_cmsg.c: Likewise.
32024 * sunrpc/rpc_common.c: Likewise.
32025 * sunrpc/rpc_dtable.c: Likewise.
32026 * sunrpc/rpc_prot.c: Likewise.
32027 * sunrpc/rpc_thread.c: Likewise.
32028 * sunrpc/rtime.c: Likewise.
32029 * sunrpc/svc.c: Likewise.
32030 * sunrpc/svc_auth.c: Likewise.
32031 * sunrpc/svc_raw.c: Likewise.
32032 * sunrpc/svc_run.c: Likewise.
32033 * sunrpc/svc_tcp.c: Likewise.
32034 * sunrpc/svc_udp.c: Likewise.
32035 * sunrpc/svc_unix.c: Likewise.
32036 * sunrpc/svcauth_des.c: Likewise.
32037 * sunrpc/xcrypt.c: Likewise.
32038 * sunrpc/xdr.c: Likewise.
32039 * sunrpc/xdr_array.c: Likewise.
32040 * sunrpc/xdr_float.c: Likewise.
32041 * sunrpc/xdr_intXX_t.c: Likewise.
32042 * sunrpc/xdr_mem.c: Likewise.
32043 * sunrpc/xdr_rec.c: Likewise.
32044 * sunrpc/xdr_ref.c: Likewise.
32045 * sunrpc/xdr_sizeof.c: Likewise.
32046 * sunrpc/xdr_stdio.c: Likewise.
32047
b5c086a2
RM
320482012-05-10 Roland McGrath <roland@hack.frob.com>
32049
32050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32051 change. Update copyright years.
32052
6d74dd09
JM
320532012-05-10 Joseph Myers <joseph@codesourcery.com>
32054
32055 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32056
28e72501
MK
320572012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32058 Joseph Myers <joseph@codesourcery.com>
32059 Paul Pluzhnikov <ppluzhnikov@google.com>
32060
32061 [BZ #14012]
32062 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32063 requiring rpcgen.
32064 [cross-compiling] (extra-libs): Likewise.
32065 [cross-compiling] (extra-libs-others): Likewise.
32066 [cross-compiling] (librpcsvc-routines): Likewise.
32067 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32068 [cross-compiling] (omit-deps): Likewise.
32069 (sunrpc-CPPFLAGS): New variable.
32070 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32071 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32072 (cross-rpcgen-objs): New variable.
32073 (extra-objs): Append $(cross-rpcgen-objs).
32074 ($(cross-rpcgen-objs)): New rule.
32075 ($(objpfx)cross-rpcgen): Likewise.
32076 (rpcgen-cmd): Define to use $(built-program-file). Expand
32077 comment.
32078 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32079 ($(objpfx)x%.stmp): Likewise.
32080 * sunrpc/proto.h [IS_IN_build] (_): Define.
32081 [IS_IN_build] (_libc_intl_domainname): Likewise.
32082
c8c59454
L
320832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32084
32085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32086 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32087 and R_X86_64_TPOFF64.
32088
6f27cd16
JM
320892012-05-10 Joseph Myers <joseph@codesourcery.com>
32090
32091 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32092 sysdeps/unix/sysv/syscalls.list.
32093 (stime): Likewise.
32094 (utime): Likewise.
32095 * sysdeps/unix/sysv/syscalls.list: Remove file.
32096
02467e1c
PE
320972012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32098
32099 [BZ #3440]
32100 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32101 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32102 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32103 (__LC_IDENTIFICATION): Make these macros useful in #if
32104 expressions, as required by C99.
32105
da392631
AS
321062012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32107
32108 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32109 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32110 after this.
32111
8115f29b
L
321122012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32113
32114 * stdlib/longlong.h: Updated from GCC.
32115
bdd74070
AJ
321162012-05-09 Andreas Jaeger <aj@suse.de>
32117
edfe0dbe
AJ
32118 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32119 default is first entry.
32120 (run_mode): Set type.
32121 (main): Remove informal message about syslog.
32122 (options): Fix typo.
32123
bcfe3a54
ST
32124 [BZ #14053]
32125 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32126 to asm.
bcfe3a54
ST
32127 (lrint): Likewise.
32128 (llrintf): Likewise.
32129 (llrint): Likewise.
32130 (rint): Likewise.
32131 (rintf): Likewise.
32132 (nearbyint): Likewise.
32133 (nearbyintf): Likewise.
bdd74070 32134
91d8d69e
AJ
321352012-05-09 Andreas Jaeger <aj@suse.de>
32136 Pedro Alves <palves@redhat.com>
32137
32138 * nscd/nscd.c (run_mode): Use enum.
32139 (main): Cleanup coding style issue.
32140
bb90b80b
AJ
321412012-05-09 Alexandre Oliva <aoliva@redhat.com>
32142 Andreas Jaeger <aj@suse.de>
32143
bcfe3a54
ST
32144 * nscd/nscd.c (go_background): Replaced with...
32145 (run_mode): ... this.
bb90b80b 32146 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32147 (options): Add -F --foreground.
32148 (main): Implement it.
32149 (parse_opt): Parse it.
bb90b80b 32150
1a4b75a1
AJ
321512012-05-09 Andreas Jaeger <aj@suse.de>
32152
32153 [BZ #14083]
32154 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32155 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32156 -Wconversion warning.
32157 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32158 Likewise.
32159
b1cc2472
JM
321602012-05-09 Joseph Myers <joseph@codesourcery.com>
32161
32162 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32163 == 0.
32164 (LC_ALL): Use macro-int-constant.
32165 (LC_COLLATE): Likewise.
32166 (LC_CTYPE): Likewise.
32167 (LC_MESSAGES): Likewise.
32168 (LC_MONETARY): Likewise.
32169 (LC_NUMERIC): Likewise.
32170 (LC_TIME): Likewise.
32171 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32172 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32173 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32174 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32175 Specify type.
32176 [C99-based standards] (float_t): Expect type.
32177 [C99-based standards] (double_t): Expect type.
32178 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32179 type.
32180 [C99-based standards] (HUGE_VALL): Likewise.
32181 [C99-based standards] (INFINITY): Likewise.
32182 [C99-based standards] (NAN): Likewise.
32183 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32184 [C99-based standards] (FP_NAN): Likewise.
32185 [C99-based standards] (FP_NORMAL): Likewise.
32186 [C99-based standards] (FP_SUBNORMAL): Likewise.
32187 [C99-based standards] (FP_ZERO): Likewise.
32188 [C99-based standards] (FP_FAST_FMA): Use
32189 optional-macro-int-constant. Specify type. Require == 1.
32190 [C99-based standards] (FP_FAST_FMAF): Likewise.
32191 [C99-based standards] (FP_FAST_FMAL): Likewise.
32192 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32193 [C99-based standards] (FP_ILOGBNAN): Likewise.
32194 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32195 Specify type.
32196 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32197 [C99-based standards] (math_errhandling): Specify type.
32198 [ISO99 || ISO11] (signgam): Do not allow.
32199 [non-C99-based standards] (copysignf): Do not allow.
32200 [non-C99-based standards] (exp2f): Likewise.
32201 [non-C99-based standards] (log2f): Likewise.
32202 [non-C99-based standards] (modff): Allow.
32203 [non-C99-based standards] (erff): Do not allow.
32204 [non-C99-based standards] (erfcf): Likewise.
32205 [non-C99-based standards] (gammaf): Likewise.
32206 [non-C99-based standards] (hypotf): Likewise.
32207 [non-C99-based standards] (j0f): Likewise.
32208 [non-C99-based standards] (j1f): Likewise.
32209 [non-C99-based standards] (jnf): Likewise.
32210 [non-C99-based standards] (lgammaf): Likewise.
32211 [non-C99-based standards] (tgammaf): Likewise.
32212 [non-C99-based standards] (y0f): Likewise.
32213 [non-C99-based standards] (y1f): Likewise.
32214 [non-C99-based standards] (ynf): Likewise.
32215 [non-C99-based standards] (isnanf): Likewise.
32216 [non-C99-based standards] (acoshf): Likewise.
32217 [non-C99-based standards] (asinhf): Likewise.
32218 [non-C99-based standards] (atanhf): Likewise.
32219 [non-C99-based standards] (cbrtf): Likewise.
32220 [non-C99-based standards] (expm1f): Likewise.
32221 [non-C99-based standards] (ilogbf): Likewise.
32222 [non-C99-based standards] (log1pf): Likewise.
32223 [non-C99-based standards] (logbf): Likewise.
32224 [non-C99-based standards] (nextafterf): Likewise.
32225 [non-C99-based standards] (remainderf): Likewise.
32226 [non-C99-based standards] (rintf): Likewise.
32227 [non-C99-based standards] (scalbf): Likewise.
32228 [non-C99-based standards] (copysignl): Likewise.
32229 [non-C99-based standards] (exp2l): Likewise.
32230 [non-C99-based standards] (log2l): Likewise.
32231 [non-C99-based standards] (modfl): Allow.
32232 [non-C99-based standards] (erfl): Do not allow.
32233 [non-C99-based standards] (erfcl): Likewise.
32234 [non-C99-based standards] (gammal): Likewise.
32235 [non-C99-based standards] (hypotl): Likewise.
32236 [non-C99-based standards] (j0l): Likewise.
32237 [non-C99-based standards] (j1l): Likewise.
32238 [non-C99-based standards] (jnl): Likewise.
32239 [non-C99-based standards] (lgammal): Likewise.
32240 [non-C99-based standards] (tgammal): Likewise.
32241 [non-C99-based standards] (y0l): Likewise.
32242 [non-C99-based standards] (y1l): Likewise.
32243 [non-C99-based standards] (ynl): Likewise.
32244 [non-C99-based standards] (isnanl): Likewise.
32245 [non-C99-based standards] (acoshl): Likewise.
32246 [non-C99-based standards] (asinhl): Likewise.
32247 [non-C99-based standards] (atanhl): Likewise.
32248 [non-C99-based standards] (cbrtl): Likewise.
32249 [non-C99-based standards] (expm1l): Likewise.
32250 [non-C99-based standards] (ilogbl): Likewise.
32251 [non-C99-based standards] (log1pl): Likewise.
32252 [non-C99-based standards] (logbl): Likewise.
32253 [non-C99-based standards] (nextafterl): Likewise.
32254 [non-C99-based standards] (remainderl): Likewise.
32255 [non-C99-based standards] (rintl): Likewise.
32256 [non-C99-based standards] (scalbl): Likewise.
32257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32258 [non-C99-based standards] (FP_*): Do not allow.
32259 [C99-based standards] (FP_*): Change to
32260 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32261 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32262 allow.
32263 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32264 (SIG_ERR): Likewise.
32265 [X/Open-based standards] (SIG_HOLD): Likewise.
32266 (SIG_IGN): Likewise.
32267 (SIGABRT): Use macro-int-constant. Specify type. Require
32268 positive value.
32269 (SIGFPE): Likewise.
32270 (SIGILL): Likewise.
32271 (SIGINT): Likewise.
32272 (SIGSEGV): Likewise.
32273 (SIGTER): Likewise.
32274 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32275 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32276 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32277 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32278 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32279 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32280 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32281 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32282 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32283 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32284 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32285 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32286 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32287 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32288 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32289 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32290 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32291 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32292 [X/Open-based standards] (SIGTRAP): Likewise.
32293 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32294 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32295 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32296 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32297 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32298 allow.
32299
b9f1922d
IW
323002012-05-08 Ian Wienand <ianw@vmware.com>
32301
32302 [BZ #14080]
32303 * time/tzset.c (__tzset_parse_tz): Update default rules for
32304 daylight time changes in the Energy Policy Act of 2005.
32305
1db86e88
AJ
323062012-05-09 Andreas Jaeger <aj@suse.de>
32307
32308 [BZ #13983]
32309 * elf/ldconfig.c (parse_conf): Change string to make clear that
32310 ldconfig only issued a warning if ld.so.conf does not exist.
32311
dee4a4e3
DM
323122012-05-08 David S. Miller <davem@davemloft.net>
32313
ee0db190
DM
32314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32315 movxtod instead of popping the value on the stack.
32316
dee4a4e3
DM
32317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32318
6a43ec98
CD
323192012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32320
32321 * config.h.in: Add HAVE_ARM_PCS_VFP.
32322
05c2c961
RMG
323232012-05-08 Roland Mc Grath <roland@hack.frob.com>
32324
bcfe3a54
ST
32325 [BZ #13979]
32326 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32327 checking but the checks are disabled for any reason.
05c2c961 32328
4b30f61a
L
323292012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32330
32331 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32332 and ELF64_R_TYPE with ELFW(R_TYPE).
32333
eee2bc67
JM
323342012-05-08 Joseph Myers <joseph@codesourcery.com>
32335
7ea5391a
JM
32336 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32337 (ulimit): Likewise.
32338
eee2bc67
JM
32339 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32340 (settimeofday): Likewise.
32341
abb66a67
MF
323422012-05-08 Mike Frysinger <vapier@gentoo.org>
32343
32344 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32345 a struct th_u2 inside the union, and move tu_block/tu_code into
32346 a new th_u3 union of tu_block/tu_code inside of that. Move
32347 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32348 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32349 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32350 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32351 (th_stuff): Change to th_u1.tu_stuff.
32352 (th_data): Define.
32353 (th_msg): Change to th_u1.th_u2.tu_data.
32354
7f18b530
DM
323552012-05-07 David S. Miller <davem@davemloft.net>
32356
05760585
DM
32357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32358
7f18b530
DM
32359 [BZ #14074]
32360 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32361 (SETUP_PIC_REG): Use it.
32362 (SETUP_PIC_REG_LEAF): Use it.
32363
495fd99f
JM
323642012-05-07 Joseph Myers <joseph@codesourcery.com>
32365
32366 [BZ #13885]
32367 [BZ #13923]
32368 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32369 USE_AS_EXPM1L.
32370 (EXPL_FINITE): Likewise.
32371 (FLDLOG): Likewise.
32372 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32373 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32374 e_expl.S.
32375 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32376 USE_AS_EXPM1L.
32377 (EXPL_FINITE): Likewise.
32378 (FLDLOG): Likewise.
32379 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32380 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32381 e_expl.S.
32382 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32383 test of -max_value argument for long double.
32384 * sysdeps/i386/fpu/libm-test-ulps: Update.
32385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32386
6693d694
DM
323872012-05-06 David S. Miller <davem@davemloft.net>
32388
32389 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32390 quad soft-float symbols whose references which are compiler
32391 generated.
32392 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32393
6c23e11c
JM
323942012-05-06 Joseph Myers <joseph@codesourcery.com>
32395
d8b82cad
JM
32396 [BZ #13884]
32397 [BZ #13914]
32398 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32399 USE_AS_EXP10L.
32400 (EXPL_FINITE): Likewise.
32401 (FLDLOG): Likewise.
32402 (c0): Likewise.
32403 (c1): Likewise.
32404 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32405 Adjust comments for base varying.
32406 (__expl_finite): Change alias to EXPL_FINITE.
32407 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32408 e_expl.S.
32409 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32410 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32411 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32412 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32413 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32414 USE_AS_EXP10L.
32415 (EXPL_FINITE): Likewise.
32416 (FLDLOG): Likewise.
32417 (c0): Likewise.
32418 (c1): Likewise.
32419 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32420 Adjust comments for base varying.
32421 (__expl_finite): Change alias to EXPL_FINITE.
32422 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32423 tests for bugs.
32424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32425
6c23e11c
JM
32426 [BZ #14064]
32427 * math/libm-test.inc (check_float_internal): Correct ulp
32428 calculation for subnormal expected results.
32429
29ba805c
AJ
324302012-05-06 Andreas Jaeger <aj@suse.de>
32431
32432 * Makeconfig (+math-flags): New, set to -frounding-math.
32433 (+cflags): Add +math-flags so that all of glibc gets compiled with
32434 it.
32435
32436 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32437
7b17aeda
JM
324382012-05-05 Joseph Myers <joseph@codesourcery.com>
32439
5779f134
JM
32440 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32441 Disable one test.
32442
41498f4d
JM
32443 [BZ #13787]
32444 [BZ #13922]
32445 [BZ #14036]
32446 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32447 (__ieee754_expl): Allow for and saturate large arguments.
32448 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32449 (u_threshold): Likewise.
32450 (__exp): Call __ieee754_exp before checking for overflow and
32451 underflow.
32452 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32453 (u_threshold): Likewise.
32454 (__expf): Call __ieee754_expf before checking for overflow and
32455 underflow.
32456 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32457 (u_threshold): Likewise.
32458 (__expl): Call __ieee754_expl before checking for overflow and
32459 underflow.
32460 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32461 (__ieee754_expl): Allow for and saturate large arguments.
32462 * math/libm-test.inc (exp_test): Add another test. Do not allow
32463 missing overflow exception on overflow.
32464 (expm1_test): Do not allow missing overflow exception on overflow.
32465
6698b8bf
JM
32466 * sysdeps/i386/fpu/e_expl.c: Move to ...
32467 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32468 rather than using inline asm.
32469 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32470 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32471 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32472
7b17aeda
JM
32473 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32474 (nice): Likewise.
32475 (poll): Likewise.
32476 (signal): Likewise.
32477 (time): Likewise.
32478 (times): Likewise.
32479
f7c85819
JM
324802012-05-04 Joseph Myers <joseph@codesourcery.com>
32481
32482 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32483 sysdeps/unix/common/syscalls.list.
32484 (fchmod): Likewise.
32485 (fchown): Likewise.
32486 (ftruncate): Likewise.
32487 (getrusage): Likewise.
32488 (gettimeofday): Likewise.
32489 (setpgid): Likewise.
32490 (setregid): Likewise.
32491 (setreuid): Likewise.
32492 (sigaction): Likewise.
32493 (truncate): Likewise.
32494 (vhangup): Likewise.
32495 * sysdeps/unix/common/syscalls.list: Remove file.
32496 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32497 * sysdeps/unix/sysv/linux/Implies: Likewise.
32498
336270d0
L
324992012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32500
32501 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32503 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32504 Moved to ...
32505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32506 Here.
32507 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32508 to ...
32509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32510 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32511 to ...
32512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32513 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32514 to ...
32515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32516 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32517 to ...
32518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32519 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32520 to ...
32521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32522 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32523 to ...
32524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32525 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32526 to ...
32527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32528 Here.
32529 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32530 to ...
32531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32532 Here.
32533 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32534 to ...
32535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32536 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32537 Moved to ...
32538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32539 Here.
32540 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32541 to ...
32542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32543
d128e450
JM
325442012-05-04 Joseph Myers <joseph@codesourcery.com>
32545
fa8ee516
JM
32546 * sysdeps/unix/common/bits/dirent.h: Remove file.
32547 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32548
d128e450
JM
32549 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32550 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32551 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32552 * sysdeps/unix/bsd/isatty.c: Likewise.
32553 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32554 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32555 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32556
ff8faaf0 325572012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32558
62881be4 32559 [BZ #13563]
31dc8730
AZ
32560 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32561 long double comparison inaccuracies.
32562 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32564
6fef930c
AS
325652012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32566
32567 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32568 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32569
8f203e6c
JM
325702012-05-04 Joseph Myers <joseph@codesourcery.com>
32571
32572 [BZ #14049]
32573 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32574 nonzero digits before rounding a hex value.
32575 * stdlib/tst-strtod.c (tests): Add another test.
32576
5197d9c2
AK
325772012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32578
32579 * sysdeps/s390/fpu/libm-test-ulps: Update.
32580
f0c1dedf
AJ
325812012-05-03 Andreas Jaeger <aj@suse.de>
32582
32583 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32584 does not get optimized out.
32585 (malloc_opt_barrier): New.
32586
a65ef2ae 325872012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32588 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32589
2b942cb7 32590 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32591 intermediate file deletion.
2b942cb7 32592 (generated): Add .symlist files.
a65ef2ae 32593
54b71e02
JM
325942012-05-03 Joseph Myers <joseph@codesourcery.com>
32595
32596 [BZ #13775]
32597 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32598 Redirect under this condition.
32599 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32600 [__USE_GNU] (__dprintf_chk): Not under this condition.
32601 [__USE_GNU] (__vdprintf_chk): Likewise.
32602 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32603 under this condition.
32604 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32605 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32606 [__USE_XOPEN2K8] (vdprintf): Likewise.
32607 [__USE_GNU] (__dprintf_chk): Not under this condition.
32608 [__USE_GNU] (__vdprintf_chk): Likewise.
32609 [__USE_GNU] (dprintf): Likewise.
32610 [__USE_GNU] (vdprintf): Likewise.
32611
d3dfcc41
RM
326122012-05-03 Roland McGrath <roland@hack.frob.com>
32613
32614 * elf/Makefile (common-generated): Set this instead of generated for
32615 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32616 $(all-built-dso)-derived lists.
32617
7ac30cc5
AJ
326182012-05-03 Andreas Jaeger <aj@suse.de>
32619
0c51e550
AJ
32620 * sysdeps/i386/fpu/libm-test-ulps: Update.
32621
7ac30cc5
AJ
32622 * FAQ: Removed.
32623 * FAQ.in: Likewise.
32624 * scripts/gen-FAQ.pl: Likewise.
32625 * manual/install.texi (Installation): Point to online location of
32626 FAQ.
32627 * Makefile (files-for-dist): Remove FAQ.
32628 (FAQ): Remove.
32629
d4c2917f
AM
326302012-05-02 Allan McRae <allan@archlinux.org>
32631
32632 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32633 (LDFLAGS-reldepmod5.so): Likewise.
32634 (LDFLAGS-reldep6mod1.so): Likewise.
32635 (LDFLAGS-reldep6mod4.so): Likewise.
32636 (LDFLAGS-reldep8mod3.so): Likewise.
32637 (LDFLAGS-unload4mod1.so): Likewise.
32638 (LDFLAGS-unload4mod2.so): Likewise.
32639 (LDFLAGS-tst-initorder): Likewise.
32640 (LDFLAGS-tst-initordera2.so): Likewise.
32641 (LDFLAGS-tst-initordera3.so): Likewise.
32642 (LDFLAGS-tst-initordera4.so): Likewise.
32643 (LDFLAGS-tst-initorderb2.so): Likewise.
32644 (LDFLAGS-noload): Likewise.
32645 (LDFLAGS-next): Likewise.
32646 (LDFLAGS-order2mod1.so): Likewise.
32647 (LDFLAGS-order2mod2.so): Likewise.
32648 (LDFLAGS-tst-initorder2): Likewise.
32649 (LDFLAGS-tst-initorder2a.so): Likewise.
32650 (LDFLAGS-tst-initorder2b.so): Likewise.
32651 (LDFLAGS-tst-initorder2c.so): Likewise.
32652 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32653
d77f993f
DM
326542012-05-02 David S. Miller <davem@davemloft.net>
32655
32656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32657
171a70b4
PP
326582012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32659
32660 [BZ #14055]
32661 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32662
0be196ad
AJ
326632012-05-02 Andreas Jaeger <aj@suse.de>
32664
32665 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32666 since we manipulate rounding mode.
32667 (CPPFLAGS-test-idouble.c): Likewise.
32668 (CPPFLAGS-test-ifloat.c): Likewise.
32669 (CFLAGS-test-ldouble.c): Likewise.
32670 (CFLAGS-test-double.c): Likewise.
32671 (CFLAGS-test-float.c): Likewise.
32672 (CFLAGS-test-misc.c): Likewise.
32673 (CFLAGS-test-test-fenv.c): Likewise.
32674
4f9d04aa
AZ
326752012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32676
2b942cb7
RM
32677 [BZ #2550]
32678 [BZ #2570]
32679 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32680 comparisons to determine direction to adjust input.
4f9d04aa 32681
82a79e7d
RM
326822012-05-01 Roland McGrath <roland@hack.frob.com>
32683
f5a01ca9
RM
32684 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32685 output to the target.
32686
90fe4186
RM
32687 * scripts/localplt.awk: New file.
32688 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32689 (check-localplt-CFLAGS): Variable removed.
32690 ($(all-built-dso:=.jmprel)): New static pattern rule.
32691 (generated): Add those targets.
32692 (localplt-built-dso): New variable.
32693 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32694
32695 * elf/check-localplt.c: File removed.
32696
82397ed6
RM
32697 * scripts/check-execstack.awk: New file.
32698 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32699 (check-execstack-CFLAGS): Variable removed.
32700 ($(objpfx)check-execstack.h): Target removed.
32701 ($(objpfx)execstack-default): New target.
32702 (generated): Add that instead of check-execstack.h.
32703 ($(all-built-dso:=.phdr)): New static pattern rule.
32704 (generated): Add those targets.
32705 * elf/check-execstack.c: File removed.
32706
82a79e7d
RM
32707 * scripts/check-textrel.awk: New file.
32708 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32709 (check-textrel-CFLAGS): Variable removed.
32710 (all-built-dso): Use := to define.o
32711 ($(all-built-dso:=.dyn)): New static pattern rule.
32712 (generated): Add those targets.
32713 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32714 * config.make.in (READELF): New substituted variable.
32715 * elf/check-textrel.c: File removed.
32716
62fde54f 327172012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32718
615605c9
JM
32719 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32720 allow.
32721 * conform/data/ctype.h-data [C99-based standards] (isblank):
32722 Expect function.
32723 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32724 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32725 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32726 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32727 Specify type. Require positive value.
32728 (EILSEQ): Likewise.
32729 (ERANGE): Likewise.
32730 [ISO || POSIX] (EILSEQ): Do not expect.
32731 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32732 Specify type. Require positive value.
32733 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32734 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32735 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32736 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32737 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32738 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32739 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32740 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32741 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32742 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32743 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32744 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32745 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32746 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32747 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32748 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32749 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32750 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32751 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32752 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32753 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32754 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32755 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32756 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32757 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32758 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32759 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32760 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32761 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32762 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32763 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32764 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32765 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32766 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32767 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32768 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32769 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32770 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32771 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32772 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32773 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32774 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32775 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32776 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32777 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32778 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32779 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32780 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32781 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32782 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32783 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32784 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32785 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32786 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32787 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32788 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32789 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32790 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32791 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32792 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32793 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32794 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32795 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32796 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32797 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32798 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32799 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32800 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32801 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32802 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32803 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32804 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32805 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32806 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32807 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32808 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32809 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32810 Require >= 2.
32811 (FLT_ROUNDS): Expect as macro, not constant.
32812 (FLT_MANT_DIG): Use macro-int-constant.
32813 (DBL_MANT_DIG): Likewise.
32814 (LDBL_MANT_DIG): Likewise.
32815 (FLT_DIG): Likewise.
32816 (DBL_DIG): Likewise.
32817 (LDBL_DIG): Likewise.
32818 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32819 (DBL_MIN_EXP): Likewise.
32820 (LDBL_MIN_EXP): Likewise.
32821 (FLT_MAX_EXP): Use macro-int-constant.
32822 (DBL_MAX_EXP): Likewise.
32823 (LDBL_MAX_EXP): Likewise.
32824 (FLT_MAX_10_EXP): Likewise.
32825 (DBL_MAX_10_EXP): Likewise.
32826 (LDBL_MAX_10_EXP): Likewise.
32827 (FLT_MAX): Use macro-constant.
32828 (DBL_MAX): Likewise.
32829 (LDBL_MAX): Likewise.
32830 (FLT_EPSILON): Use macro-constant. Give upper bound.
32831 (DBL_EPSILON): Likewise.
32832 (LDBL_EPSILON): Likewise.
32833 (FLT_MIN): Likewise.
32834 (DBL_MIN): Likewise.
32835 (LDBL_MIN): Likewise.
32836 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32837 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32838 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32839 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32840 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32841 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32842 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32843 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32844 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32845 [ISO11] (FLT_TRUE_MIN): Likewise.
32846 [ISO11] (LDBL_TRUE_MIN): Likewise.
32847 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32848 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32849 (SCHAR_MIN): Use macro-int-constant. Specify type.
32850 (SCHAR_MAX): Likewise.
32851 (UCHAR_MAX): Likewise.
32852 (CHAR_MIN): Likewise.
32853 (CHAR_MAX): Likewise.
32854 (MB_LEN_MAX): Use macro-int-constant.
32855 (SHRT_MIN): Use macro-int-constant. Specify type.
32856 (SHRT_MAX): Likewise.
32857 (USHRT_MAX): Likewise.
32858 (INT_MAX): Likewise.
32859 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32860 bound negative.
32861 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32862 bound with "U".
32863 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32864 bound with "L".
32865 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32866 bound negative. Suffix upper bound with "L".
32867 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32868 bound with "UL".
32869 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32870 Specify type.
32871 [C99-based standards] (LLONG_MAX): Likewise.
32872 [C99-based standards] (ULLONG_MAX): Likewise.
32873 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32874 == 0.
32875 [ISO11] (max_align_t): Require type.
32876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32877
c9140a62
JM
32878 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32879 from $CFLAGS, without defining away __attribute__ calls.
32880 (checknamespace): Use $CFLAGS_namespace.
32881
9af0bf29
JM
32882 * conform/conformtest.pl (@keywords): Only include C99 keywords
32883 for standards based on C99 or C11.
32884
343222a2
JM
32885 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32886 Disable tests.
32887 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32888 UNIX98]: Likewise.
32889
661f8cf0
JM
32890 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32891 usability of symbols in #if.
32892
ee74b9cb
JM
32893 * conform/conformtest.pl: If macro or constant types start
32894 "promoted:", expect the symbol to be of the following type
32895 promoted by the integer promotions.
62fde54f 32896
aafc49b3
JM
32897 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32898 in one place. Also handle "macro-constant".
32899
fefdf574
JM
32900 * conform/conformtest.pl: Only accept expected macro values with
32901 "==". Parse all "macro" lines in one place.
32902 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32903
f2d922fe
JM
32904 * conform/conformtest.pl: Handle braced types on "constant" lines
32905 instead of handling "typed-constant".
32906 * conform/data/signal.h-data: Use "constant" instead of
32907 "typed-constant".
32908
d22956c9
JM
32909 * conform/conformtest.pl: Handle "optional-" at start of lines in
32910 one place rather than duplicating several cases. Handle each
32911 format of "macro" line with initial "optional-".
32912
028e2e38
JM
32913 * conform/conformtest.pl: Only accept expected constant or
32914 optional-constant values with "==". Parse all "constant" lines in
32915 one place. Parse all "optional-constant" lines in one place.
32916 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32917 * conform/data/fmtmsg.h-data: Likewise.
32918 * conform/data/netinet/in.h-data: Likewise.
32919 * conform/data/tar.h-data: Likewise.
32920 * conform/data/limits.h-data: Use "==" form on "constant" and
32921 "optional-constant" lines.
32922
1b8f2850
JM
32923 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32924 Use -std=c99 for XOPEN2K.
32925 (@knownproblems): Remove.
32926 (newtoken): Don't check %isknown.
32927
a05a144b
JM
32928 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32929 Do not expect macro.
32930 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32931 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32932 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32933 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32934 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32935 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32936 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32937 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32938 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32939 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32940 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32941 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32942 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32943 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32944 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32945 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32946 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32947 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32948 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32949 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32950 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32951 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32952 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32953 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32954 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32955 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32956 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32957 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32958 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32959 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32960 [XPG3] (acosh): Likewise.
32961 [XPG3] (asinh): Likewise.
32962 [XPG3] (atanh): Likewise.
32963 [XPG3] (cbrt): Likewise.
32964 [XPG3] (expm1): Likewise.
32965 [XPG3] (ilogb): Likewise.
32966 [XPG3] (log1p): Likewise.
32967 [XPG3] (logb): Likewise.
32968 [XPG3] (nextafter): Likewise.
32969 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32970 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32971 [XPG3] (remainder): Likewise.
32972 [XPG3] (rint): Likewise.
32973 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32974 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32975 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32976 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32977 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32978 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32979 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32980 [UNIX98 || XOPEN2K] (scalb): Expect.
32981 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32982 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32983 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32984 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32985 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32986 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32987 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32988 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32989 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32990 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32991 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32992 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32993 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32994 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32995 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32996 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32997 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32998 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32999 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33000 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33001 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33002 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33003 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33004 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33005 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33006 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33007 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33008 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33009 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33010 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33011 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33012 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33013 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33014 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33015 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33016 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33017 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33018 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33019 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33020 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33021 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33022 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33023 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33024 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33025 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33026 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33027 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33028 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33029 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33030 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33031 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33032 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33033 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33034 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33035 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33036 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33037 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33038 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33039 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33040 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33041 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33042 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33043 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33044 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33045 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33046 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33047 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33048 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33049 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33050 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33051 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33052 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33053 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33054 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33055 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33056 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33057 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33058 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33059 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33060 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33061 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33062 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33063 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33064 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33065 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33066 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33067 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33068 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33069 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33070 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33071 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33072 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33073 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33074 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33075 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33076 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33077 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33078 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33079 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33080 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33081 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33082 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33083 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33084 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33085 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33086 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33087 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33088 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33089 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33090 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33091 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33092 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33093 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33094 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33095 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33096 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33097 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33098 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33099 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33100 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33101 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33102 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33103 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33104 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33105 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33106 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33107 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33108 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33109 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33110 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33111 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33112 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33113 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33114 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33115 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33116 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33117 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33118
73c5ebe3
JM
33119 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33120 _XOPEN_SOURCE_EXTENDED for XPG4.
33121
39c33b6c
JM
33122 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33123
62fde54f
JM
33124 * Makeconfig (localtime): Remove variable.
33125 (inst_localtime-file): Likewise.
33126
0741d64c
AS
331272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33128
33129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33130 Update.
33131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33132 Update.
33133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33134 Update.
33135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33136 Update.
33137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33138 Update.
33139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33140 Update.
33141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33142 Update.
33143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33144 Update.
33145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33146 Update.
33147
7cb029ee
JM
331482012-05-01 Joseph Myers <joseph@codesourcery.com>
33149
33150 [BZ #2550]
33151 [BZ #2570]
33152 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33153 comparisons to determine direction to adjust input.
33154 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33155 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33156 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33157 Likewise.
33158 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33159 Likewise.
33160 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33161 Likewise.
33162 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33163 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33164 Likewise.
33165 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33166 Likewise.
33167 * math/libm-test.inc (nexttoward_test): Add more tests.
33168
412bd966
AS
331692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33170
33171 [BZ #14040]
33172 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33173 in version GLIBC_2.1, not GLIBC_2.0.
33174 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33175 Likewise.
33176
9568c0c2
JM
331772012-04-30 Joseph Myers <joseph@codesourcery.com>
33178
adfbc8ac
JM
33179 [BZ #13942]
33180 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33181 (1 - x) * (1 + x).
33182 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33183 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33184 * math/libm-test.inc (acos_test): Add more tests.
33185 (asin_test): Likewise.
33186 * sysdeps/i386/fpu/libm-test-ulps: Update.
33187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33188
5ba3cc69
JM
33189 [BZ #14034]
33190 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33191 of square root.
33192 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33193 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33194 * math/libm-test.inc (acos_test_tonearest): New function.
33195 (acos_test_towardzero): Likewise.
33196 (acos_test_downward): Likewise.
33197 (acos_test_upward): Likewise.
33198 (asin_test_tonearest): Likewise.
33199 (asin_test_towardzero): Likewise.
33200 (asin_test_downward): Likewise.
33201 (asin_test_upward): Likewise.
33202 (main): Call the new functions.
33203 * sysdeps/i386/fpu/libm-test-ulps: Update.
33204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33205
9568c0c2
JM
33206 [BZ #13884]
33207 [BZ #13924]
33208 * math/e_exp10.c: Include <float.h>.
33209 (__ieee754_exp10): Handle underflow here rather than multiplying
33210 large negative argument by M_LN10.
33211 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33212 of __ieee754_expf.
33213 * math/e_exp10l.c: Include <float.h>.
33214 (__ieee754_exp10l): Handle underflow here rather than multiplying
33215 large negative argument by M_LN10l.
33216 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33217 spurious overflow exception on underflow.
33218
5ac3ea17
MP
332192012-04-29 Marek Polacek <polacek@redhat.com>
33220
33221 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33222 (__fortify_function): New macro.
33223 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33224 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33225 __extern_always_inline.
33226 * libio/bits/stdio2.h: Likewise.
33227 * libio/bits/stdio.h: Likewise.
33228 * string/string.h: Likewise.
33229 * string/bits/string3.h: Likewise.
33230 * include/stdio.h: Likewise.
33231 * stdlib/bits/stdlib.h: Likewise.
33232 * stdlib/stdlib.h: Likewise.
33233 * rt/bits/mqueue2.h: Likewise.
33234 * rt/mqueue.h: Likewise.
33235 * posix/bits/unistd.h: Likewise.
33236 * posix/unistd.h: Likewise.
33237 * io/bits/poll2.h: Likewise.
33238 * io/bits/fcntl2.h: Likewise.
33239 * io/fcntl.h: Likewise.
33240 * io/sys/poll.h: Likewise.
33241 * misc/bits/syslog.h: Likewise.
33242 * misc/bits/syslog-ldbl.h: Likewise.
33243 * misc/sys/syslog.h: Likewise.
33244 * socket/bits/socket2.h: Likewise.
33245 * socket/sys/socket.h: Likewise.
33246 * debug/tst-chk1.c: Likewise.
33247 * wcsmbs/bits/wchar2.h: Likewise.
33248 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33249 * wcsmbs/wchar.h: Likewise.
33250
ecf0ebfb
AJ
332512012-04-29 Andreas Jaeger <aj@suse.de>
33252
33253 * Makerules (tests): Remove enable-check-abi protection.
33254 (check-abi-warn): Remove.
33255 (check-abi-%): Remove check-abi-warn usage.
33256
33257 * configure.in: Remove check-abi configure option.
33258 * configure: Regenerated.
33259 * config.make.in (enable-check-abi): Remove.
33260
6d5c57fa
AS
332612012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33262
24c5d07e 33263 [BZ #14033]
ded5180a
AS
33264 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33265 double functions to double *_finite functions.
33266
7e0d315d
AS
33267 [BZ #13941]
33268 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33269 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33270 LDBL_MIN_EXP.
33271 * stdio-common/Makefile (tests): Add tst-sprintf3.
33272 * stdio-common/tst-sprintf3.c: New file.
33273
6d5c57fa
AS
33274 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33275 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33276
0749ff8b
JM
332772012-04-28 Joseph Myers <joseph@codesourcery.com>
33278
33279 * conform/conformtest.pl: Remove duplicate typed-constant
33280 handling.
33281
8dbd5d7b
DM
332822012-04-28 David S. Miller <davem@davemloft.net>
33283
33284 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33285 (check-abi-%): Remove AWK script prerequisite and explicit
33286 abilist directory.
33287 (check-abi): Rewrite to just diff the symlist with the abilist.
33288 (config-tls, config-abi-config): Delete, no longer used.
33289 (update-abi-%): Remove AWK script and explicit abilist directory.
33290 (update-abi): Rewrite to simply compare and conditionally copy the
33291 symlist and the sysdep abilist file. Remove update-abi-config
33292 checks.
33293 * abilist/ld.abilist: Remove.
33294 * abilist/libBrokenLocale.abilist: Remove.
33295 * abilist/libanl.abilist: Remove.
33296 * abilist/libcrypt.abilist: Remove.
33297 * abilist/libdl.abilist: Remove.
33298 * abilist/librt.abilist: Remove.
33299 * abilist/libthread_db.abilist: Remove.
33300 * abilist/libutil.abilist: Remove.
33301 * scripts/extract-abilist.awk: Remove.
33302 * scripts/merge-abilist.awk: Remove.
33303 * sysdeps/generic/libcidn.abilist: New file.
33304 * sysdeps/generic/libnss_compat.abilist: New file.
33305 * sysdeps/generic/libnss_db.abilist: New file.
33306 * sysdeps/generic/libnss_dns.abilist: New file.
33307 * sysdeps/generic/libnss_files.abilist: New file.
33308 * sysdeps/generic/libnss_hesiod.abilist: New file.
33309 * sysdeps/generic/libnss_nis.abilist: New file.
33310 * sysdeps/generic/libnss_nisplus.abilist: New file.
33311 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33312 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33313 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33314 file.
33315 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33316 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33317 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33318 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33319 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33320 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33321 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33322 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33323 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33324 file.
33325 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33326 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33327 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33328 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33329 file.
33330 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33331 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33332 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33333 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33334 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33335 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33336 file.
33337 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33338 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33339 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33340 file.
33341 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33343 New file.
33344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33345 New file.
33346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33347 New file.
33348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33349 New file.
33350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33351 New file.
33352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33353 New file.
33354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33355 New file.
33356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33357 New file.
33358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33359 New file.
33360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33361 New file.
33362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33363 New file.
33364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33365 New file.
33366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33367 New file.
33368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33369 file.
33370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33371 New file.
33372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33373 New file.
33374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33375 file.
33376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33377 New file.
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33379 New file.
33380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33381 file.
33382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33383 New file.
33384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33385 New file.
33386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33387 New file.
33388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33389 New file.
33390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33391 New file.
33392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33393 New file.
33394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33396 file.
33397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33398 New file.
33399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33400 file.
33401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33402 file.
33403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33404 file.
33405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33406 file.
33407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33408 file.
33409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33410 New file.
33411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33412 file.
33413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33414 file.
33415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33416 New file.
33417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33418 file.
33419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33421 file.
33422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33423 New file.
33424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33425 file.
33426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33427 file.
33428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33429 file.
33430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33431 file.
33432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33433 file.
33434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33435 New file.
33436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33437 file.
33438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33439 file.
33440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33441 New file.
33442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33443 file.
33444 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33445 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33446 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33447 file.
33448 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33449 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33450 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33451 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33452 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33453 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33454 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33455 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33456 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33457 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33460 file.
33461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33462 New file.
33463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33464 file.
33465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33466 file.
33467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33468 file.
33469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33470 file.
33471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33472 file.
33473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33474 New file.
33475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33476 New file.
33477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33478 file.
33479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33480 New file.
33481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33482 file.
33483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33485 file.
33486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33487 New file.
33488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33489 file.
33490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33491 file.
33492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33493 file.
33494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33495 file.
33496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33497 file.
33498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33499 New file.
33500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33501 New file.
33502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33503 file.
33504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33505 New file.
33506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33507 file.
33508
41d73a1b
JM
335092012-04-28 Joseph Myers <joseph@codesourcery.com>
33510
33511 * conform/conformtest.pl: Fix typo in handling typed-constant from
33512 allow-header.
33513
28aeeda4
JM
335142012-04-27 Joseph Myers <joseph@codesourcery.com>
33515
adae8f5e
JM
33516 * README: Cut down references to pre-2.6 Linux kernels and
33517 Linuxthreads. Update lists of configurations in libc and ports
33518 and sort alphabetically. Say "or newer" with Linux kernel version
33519 requirements.
33520
28aeeda4
JM
33521 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33522
a462cb63
RA
335232012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33524
33525 [BZ #887]
33526 * math/libm-test.inc (logb_test_downward): New test to expose
33527 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33528 rounding mode.
33529
6ad3493e
JM
335302012-04-27 Joseph Myers <joseph@codesourcery.com>
33531
33532 [BZ #14027]
33533 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33534 to be done.
33535 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33536 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33537
2ce4f015
JM
335382012-04-26 Joseph Myers <joseph@codesourcery.com>
33539
5aeb141a
JM
33540 * sysdeps/unix/i386/brk.S: Remove file.
33541 * sysdeps/unix/i386/dl-brk.S: Likewise.
33542 * sysdeps/unix/i386/pipe.S: Likewise.
33543 * sysdeps/unix/i386/sigreturn.S: Likewise.
33544 * sysdeps/unix/i386/syscall.S: Likewise.
33545 * sysdeps/unix/i386/vfork.S: Likewise.
33546 * sysdeps/unix/i386/wait.S: Likewise.
33547
7143acae
JM
33548 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33549 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33550
2ce4f015
JM
33551 * configure.in (arm*-none*): Do not allow without
33552 --enable-hacker-mode.
33553 (netbsd*): Remove case setting base_os.
33554 (386bsd*): Likewise.
33555 (freebsd*): Likewise.
33556 (bsdi*): Likewise.
33557 (osf*): Likewise.
33558 (sunos*): Likewise.
33559 (ultrix*): Likewise.
33560 (newsos*): Likewise.
33561 (dynix*): Likewise.
33562 (*bsd*): Likewise.
33563 (sysv*): Likewise.
33564 (isc*): Likewise.
33565 (esix*): Likewise.
33566 (sco*): Likewise.
33567 (minix*): Likewise.
33568 (irix4*): Likewise.
33569 (irix6*): Likewise.
33570 (solaris[2-9]*): Likewise.
33571 (none): Likewise.
33572 * configure: Regenerated.
33573
0ac229c8
AZ
335742012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33575
33576 [BZ #11521]
33577 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33578 overflow or cancellation in calculating denominator.
33579 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33580 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33581 down expression to avoid unexpected rounding in newer GCCs.
33582 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33583
33f244f4
DM
335842012-04-26 David S. Miller <davem@davemloft.net>
33585
33586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33587 long-double compat symbols.
33588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33601
cfa1f3e8
DM
336022012-04-25 David S. Miller <davem@davemloft.net>
33603
33604 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33605 HWCAP_* values only after the memory barriers have been defined.
33606 (atomic_full_barrier): Define.
33607 (atomic_read_barrier): Define.
33608 (atomic_write_barrier): Define.
33609
6e236b92
SP
336102012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33611
33612 * shlib-versions: Add libgcc_s version information.
33613 * sysdeps/generic/libgcc_s.h: Remove.
33614 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33615 libgcc_s.h.
33616 * sysdeps/gnu/unwind-resume.c: Likewise.
33617 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33618
aab39a09
DM
336192012-04-25 David S. Miller <davem@davemloft.net>
33620
33621 * sysdeps/unix/sparc/brk.S: Delete.
33622 * sysdeps/unix/sparc/dl-brk.S: Delete.
33623 * sysdeps/unix/sparc/pipe.S: Delete.
33624 * sysdeps/unix/sparc/sysdep.S: Delete.
33625 * sysdeps/unix/sparc/sysdep.h: Delete.
33626 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33627 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33628 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33629 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33630 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33631 (JUMPTARGET): Remove.
33632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33633 sysdeps/unix/sparc/sysdep.h
33634 (ENTRY, END): Remove.
33635 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33636
a3cc4f48
JM
336372012-04-25 Joseph Myers <joseph@codesourcery.com>
33638
2ed8cda2
JM
33639 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33640 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33641 -DIS_IN_build.
33642
35d76d59
JM
33643 * timezone/README: Update upstream location and email address for
33644 tzcode and tzdata.
33645 * timezone/zdump.c: Update from tzcode 2012b.
33646 * timezone/zic.c: Likewise.
33647
a3cc4f48
JM
33648 * configure.in (libc_cv_as_needed): Remove test.
33649 * configure: Regenerated.
33650 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33651 conditional definition.
33652 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33653 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33654 * config.make.in (have-as-needed): Remove variable.
33655
ceab42c3
SP
336562012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33657 Paul Pluzhnikov <ppluzhnikov@google.com>
33658
33659 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33660 strings correctly.
33661
3ce2865f
CLT
336622012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33663
33664 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33665 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33666 * sysdeps/sh/strlen.S: Likewise.
33667
f37e0d68
JM
336682012-04-24 Joseph Myers <joseph@codesourcery.com>
33669
ae186e9a
JM
33670 * sysdeps/unix/fork.S: Remove file.
33671 * sysdeps/unix/i386/fork.S: Likewise.
33672 * sysdeps/unix/sparc/fork.S: Likewise.
33673
b96914af
JM
33674 * sysdeps/unix/system.c: Remove file.
33675 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33676
f37e0d68
JM
33677 * sysdeps/unix/getegid.S: Remove file.
33678 * sysdeps/unix/geteuid.S: Likewise.
33679
87ef29ca
RM
336802012-04-24 Roland McGrath <roland@hack.frob.com>
33681
83bcd236
RM
33682 * scripts/check-localplt.awk: New file.
33683 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33684 of diff.
33685 * scripts/data/localplt-generic.data: Add a comment.
33686
87ef29ca
RM
33687 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33688 NODE when __dir_mkfile failed.
33689 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33690 Reported by Ludovic Courtès <ludo@gnu.org>.
33691
e5a6e567
AJ
336922012-04-24 Andreas Jaeger <aj@suse.de>
33693
33694 * Makerules (common-clean): Also remove gen-as-const-headers
33695 files.
33696
c1820385
JM
336972012-04-24 Joseph Myers <joseph@codesourcery.com>
33698
33699 * Makerules (native-compile): Do not change working directory for
33700 build. Use $(OUTPUT_OPTION) in command.
33701 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33702
94e02fc4
AZ
337032012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33704
33705 [BZ #13886]
33706 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33707 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33708 * math/libm-test.inc (floor_test): Add more tests.
33709 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33710
3a533ca3
JM
337112012-04-24 Joseph Myers <joseph@codesourcery.com>
33712
940ab4b3
JM
33713 * sysdeps/unix/getdents.c: Remove file.
33714 * sysdeps/unix/sysv/getdents.c: Likewise.
33715 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33716
90e037bd
JM
33717 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33718 sysdeps/unix/mman/syscalls.list.
33719 (mmap): Likewise.
33720 (mprotect): Likewise.
33721 (msync): Likewise.
33722 (munmap): Likewise.
33723 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33724 * sysdeps/unix/mman/syscalls.list: Remove.
33725 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33726
3a533ca3
JM
33727 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33728 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33729 * configure: Regenerated.
33730 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33731 $(libgcc_s_suffix).
33732 * config.make.in (libgcc_s_suffix): Remove variable.
33733
1ad743de
JM
337342012-04-23 Joseph Myers <joseph@codesourcery.com>
33735
4ad451e2
JM
33736 * sysdeps/unix/sysv/gethostname.c: Move to ...
33737 * sysdeps/posix/gethostname.c: ... here.
33738
5e37ce39
JM
33739 * sysdeps/unix/execve.S: Remove file.
33740
1ad743de
JM
33741 * sysdeps/unix/_exit.S: Remove file.
33742
4e681b5b
AJ
337432012-04-23 Andreas Jaeger <aj@suse.de>
33744
33745 [BZ #13739]
33746 * manual/Makefile: Remove make dist support, there's no
33747 need for a stand-alone documentation tar ball.
33748 (TEXI2DVI): Define always, it's not in Makeconfig.
33749 (dist): Removed.
33750 (tar-it): Removed.
33751 (edition): Removed.
33752 (glibc-doc-$(edition).tar): Removed
33753 (%.Z): Removed.
33754 (%.gz): Removed.
33755 (%.uu): Removed.
33756 (ETAGS): Remove, it's in Makeconfig.
33757 (move-if-change): Remove, it's in Makeconfig.
33758
38686a03 337592012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33760
33761 [BZ #13970]
33762 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33763 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33764 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33765 (strtod_l, strtof_l, strtold_l): Remove __wur.
33766 It is not necessarily an error to ignore strtol's return value.
33767 One can reliably look at the stored endptr to decide whether
33768 the number had valid syntax.
33769
7c0616fa
AJ
337702012-04-21 Andreas Jaeger <aj@suse.de>
33771
803cb6b7 33772 [BZ #13739]
7c0616fa
AJ
33773 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33774
b0fe253f
JM
337752012-04-21 Joseph Myers <joseph@codesourcery.com>
33776
33777 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33778 * sysdeps/unix/sysv/Versions: Remove file.
33779
8280f22d
MT
337802012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33781
33782 [BZ #13927]
33783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33784
75ce411f 337852012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33786
33787 [BZ #7064]
33788 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33789 version from __vm86.
33790
097d59fa
JM
337912012-04-20 Joseph Myers <joseph@codesourcery.com>
33792
a90f3bcb
JM
33793 * sysdeps/unix/common/lxstat.c: Remove file.
33794 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33795
edc7ea78
JM
33796 * sysdeps/unix/sysv/Makefile: Remove file.
33797
cb78c221
JM
33798 * sysdeps/unix/sysv/direct.h: Remove file.
33799
efa6a45f
JM
33800 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33801 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33802 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33803 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33804 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33805 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33806 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33807
9c9f2d0c
JM
33808 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33809
4541c83b
JM
33810 * sysdeps/unix/xmknod.c: Remove file.
33811 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33812
f5d153a0
JM
33813 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33814
aa746595
JM
33815 * sysdeps/unix/sysv/i386/time.S: Remove file.
33816
cce5905e
JM
33817 * sysdeps/unix/fxstat.c: Remove file.
33818 * sysdeps/unix/xstat.c: Likewise.
33819 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33820
37fa3841
JM
33821 * sysdeps/unix/sysv/sigaction.c: Remove file.
33822
ff1962a3
JM
33823 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33824 (sysdep_headers): Remove variable.
33825 [termio.h not in sysdep_headers] (generated): Likewise.
33826 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33827 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33828 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33829 * sysdeps/unix/sysv/tcflow.c: Likewise.
33830 * sysdeps/unix/sysv/tcflush.c: Likewise.
33831 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33832 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33833 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33834 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33835 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33836
e7740d31
JM
33837 * sysdeps/unix/siglist.c: Remove file.
33838
ee06f18b
JM
33839 * sysdeps/unix/getppid.S: Remove file.
33840
097d59fa
JM
33841 * sysdeps/unix/mkdir.c: Remove file.
33842 * sysdeps/unix/rmdir.c: Likewise.
33843
ff3d51ec
AS
338442012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33845
33846 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33847 ERR_MAX value.
33848 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33849 errlist-compat value.
33850
50f81fd7
DM
338512012-04-18 David S. Miller <davem@davemloft.net>
33852
33853 * sysdeps/generic/memcopy.h (reg_char): Delete.
33854 * debug/strcat_chk.c: Use char, not reg_char.
33855 * debug/strcpy_chk.c: Likewise.
33856 * debug/strncat_chk.c: Likewise.
33857 * debug/strncpy_chk.c: Likewise.
33858 * string/memchr.c: Likewise.
33859 * string/memrchr.c: Likewise.
33860 * string/rawmemchr.c: Likewise.
33861 * string/strcat.c: Likewise.
33862 * string/strchr.c: Likewise.
33863 * string/strchrnul.c: Likewise.
33864 * string/strcmp.c: Likewise.
33865 * string/strcpy.c: Likewise.
33866 * string/strncat.c: Likewise.
33867 * string/strncmp.c: Likewise.
33868 * string/strncpy.c: Likewise.
33869
8ff41c46
WS
338702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33871
33872 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33873 __builtin_memcopy is called when src and dest ranges are known to not
33874 overlap.
33875
6b652f46
WS
338762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33877
33878 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33879 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33880 fwd_align_merge macro call.
33881 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33882 bwd_align_merge macro call.
33883 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33884
b282631e
WS
338852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33886
33887 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33888 bwd_align_merge macros.
33889 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33890 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33891 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33892
95aa737c
DM
338932012-04-18 David S. Miller <davem@davemloft.net>
33894
33895 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33896
7a99a614
AJ
338972012-04-18 Andreas Jaeger <aj@suse.de>
33898
33899 [BZ# 6794]
33900 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33901 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33902 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33903
33904 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33905 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33906 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33907
33908 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33909 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33910 Adjust for changed ldbl-128 files.
33911
33912 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33913 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33914 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33915
e5270c23
DM
339162012-04-17 David S. Miller <davem@davemloft.net>
33917
33918 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33919
fb5e92c9
AS
339202012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33921
33922 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33923 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33924 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33925 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33926 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33927 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33928
76da7265
AZ
339292012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33930
33931 [BZ #6794]
33932 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33933 * math/libm-test.inc: Add ilogb errno and exception tests.
33934 * math/w_ilogb.c: New file: ilogb wrapper.
33935 * math/w_ilogbf.c: New file: ilogbf wrapper.
33936 * math/w_ilogbl.c: New file: ilogbl wrapper.
33937 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33938 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33939 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33940 exception being thrown with 0.0 as argument.
33941 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33942 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33943 exception being thrown with 0.0 as argument.
33944 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33945 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33946 exception being thrown with 0.0 as argument.
33947 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33948 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33949 exception being thrown with 0.0 as argument.
33950 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33951 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33952 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33953 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33954 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33955 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33956 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33957 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33958 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33959
0396e69d
PB
339602012-04-17 Petr Baudis <pasky@ucw.cz>
33961
33962 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33963 with altivec.
33964
750b5926
MP
339652012-04-16 Marek Polacek <polacek@redhat.com>
33966
33967 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33968
751728a1
MP
339692012-04-16 Marek Polacek <polacek@redhat.com>
33970
33971 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33972 operands of fdivp instruction.
33973
34a27407
L
339742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33975
33976 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33977 * elf/tst-auditmod3b.c: Likewise.
33978 * elf/tst-auditmod4b.c: Likewise.
33979 * elf/tst-auditmod5b.c: Likewise.
33980 * elf/tst-auditmod6b.c: Likewise.
33981 * elf/tst-auditmod6c.c: Likewise.
33982 * elf/tst-auditmod7b.c: Likewise.
33983 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33984 * sysdeps/x86_64/preconfigure.in: Likewise.
33985 * sysdeps/x86_64/preconfigure: Regenerated.
33986
7e73e17d
L
339872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33988
33989 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33990 __ILP32__.
33991
c7a6ab72
AB
339922012-04-13 Antoine Balestrat <merkil33@gmail.com>
33993
33994 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33995 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33996
a9e8e0e0
CL
339972012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33998
33999 [BZ #13973]
34000 * locale/iso-639.def: Fix gl language name. Spotted by
34001 Yaron Shahrabani.
34002
ec98af7d
RM
340032012-04-12 Roland McGrath <roland@hack.frob.com>
34004
34005 [BZ #2074]
34006 * libio/libio.h (__io_write_fn): Update comment.
34007
247c3ede
PB
340082012-04-12 Petr Baudis <pasky@ucw.cz>
34009
34010 [BZ #2074]
34011 * stdio.texi (Hook Functions): The user provided writer function
34012 is not allowed to return -1.
34013
55939d6d
DM
340142012-04-11 David S. Miller <davem@davemloft.net>
34015
34016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34017
90020f5a
MF
340182012-04-11 Mike Frysinger <vapier@gentoo.org>
34019
34020 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34021 Add a leading slash to rtkaio.
34022
288f9098
JM
340232012-04-11 Jim Meyering <meyering@redhat.com>
34024
90020f5a
MF
34025 [BZ #11959]
34026 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34027 It is not necessarily an error to ignore fwrite's return
34028 value. One can reliably use ferror to test for errors after
34029 the fact.
288f9098 34030
4be2b570
L
340312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34032
34033 * bits/types.h (__snseconds_t): New type.
34034 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34035
34036 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34038 (__SNSECONDS_T_TYPE): Likewise.
34039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34040 (__SNSECONDS_T_TYPE): Likewise.
34041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34042 (__SNSECONDS_T_TYPE): Likewise.
34043
288f9098 340442012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34045
34046 [BZ #2636]
34047 * manual/time.texi (Processor Time): Return type of times is
34048 elapsed real time since an arbitrary point in the past.
34049 (CPU Time): Move CLK_TCK from here...
34050 (Processor Time): ...to here. Correct description.
34051 * manual/conf.texi (Constants for Sysconf): Correct description of
34052 _SC_CLK_TCK.
34053
d7dd4413
DM
340542012-04-10 David S. Miller <davem@davemloft.net>
34055
34056 [BZ #13967]
34057 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34058 where the is a gap between DT_REL(A) and DT_JMPREL.
34059
b46068fc
L
340602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34061
34062 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34063 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34064 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34065
73d65cc3
SP
340662012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34067
34068 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34069 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34070 (dl_main): Handle --inhibit-cache.
34071 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34072 _dl_inhibit_cache.
34073 * elf/dl-load.c (_dl_map_object): Use it.
34074 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34075
bcc8d661
JM
340762012-04-09 Joseph Myers <joseph@codesourcery.com>
34077
8f9a2fae
JM
34078 [BZ #13872]
34079 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34080 (__ieee754_powl): Saturate large exponents rather than testing for
34081 overflow of y*log2(x).
34082 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34083 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34084 exceptions.
34085
bcc8d661
JM
34086 [BZ #11521]
34087 * math/s_ctan.c: Include <float.h>.
34088 (__ctan): Avoid internal overflow or cancellation in calculating
34089 denominator.
34090 * math/s_ctanf.c: Likewise.
34091 * math/s_ctanl.c: Likewise.
34092 * math/s_ctanh.c: Likewise.
34093 * math/s_ctanhf.c: Likewise.
34094 * math/s_ctanhl.c: Likewise.
34095 * math/libm-test.inc (ctan_test): Add more tests.
34096 (ctanh_test): Likewise.
34097 * sysdeps/i386/fpu/libm-test-ulps: Update.
34098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34099
823fbbb4
AJ
341002012-04-09 Andreas Jaeger <aj@suse.de>
34101
03879793
AJ
34102 [BZ #6894]
34103 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34104 is an optional BSD extension.
34105
823fbbb4
AJ
34106 [BZ #10254]
34107 * manual/stdio.texi (Opening Streams): Document additional fopen
34108 parameters.
34109
8de131cb
RM
341102012-04-09 Roland McGrath <roland@hack.frob.com>
34111
34112 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34113 %eax without telling the compiler.
34114
c0ed9d7d
CD
341152012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34116
34117 [BZ # 13963]
34118 * manual/install.texi: Use sourceware.org.
34119
c483f6b4
JM
341202012-04-09 Joseph Myers <joseph@codesourcery.com>
34121
d7dd9453
JM
34122 [BZ #13873]
34123 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34124 (__ieee754_pow): Generate overflow and underflow using huge*huge
34125 and tiny*tiny rather than just returning constant infinity or zero
34126 for large exponents.
34127 * math/libm-test.inc (pow_test): Require overflow exceptions for
34128 applicable cases of large exponents.
34129
c483f6b4
JM
34130 [BZ #706]
34131 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34132 (__ieee754_pow): Use iterative multiplication algorithm only for
34133 integer exponents with absolute value below 1024. Check for odd
34134 integer exponents when using algorithm for real exponents.
34135 * math/libm-test.inc (pow_test): Add more tests.
34136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34137
d2de7579
JM
341382012-04-08 Joseph Myers <joseph@codesourcery.com>
34139
34140 [BZ #13705]
34141 * math/libm-test.inc (exp_test): Do not allow overflow exception
34142 on underflow test.
34143
f77f1232
AJ
341442012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34145
34146 [BZ #13705]
34147 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34148 instead of __kernel_standard_f.
34149
3884932b
MF
341502012-04-08 Mike Frysinger <vapier@gentoo.org>
34151
34152 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34153 * sysdeps/x86_64/memset_chk.S: Likewise.
34154
54472e9c
AJ
341552012-04-08 Andreas Jaeger <aj@suse.de>
34156
6ab0fbfc
AJ
34157 [BZ #10153]
34158 * manual/startup.texi (Environment Access): Describe return value
34159 for putenv and setenv.
34160
61efba8c
AJ
34161 [BZ #6895]
34162 * manual/filesys.texi (Directory Entries): Add description for
34163 DT_LNK.
34164
95c3f29a
AJ
34165 [BZ #6890]
34166 * manual/filesys.texi (Directory Entries): Clarify that it's file
34167 system not operating system in the description of DT_UNKNOWN.
34168
54472e9c
AJ
34169 [BZ #6578]
34170 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34171
624254b1
SC
341722012-04-08 Stephen Compall <s11@member.fsf.org>
34173
34174 [BZ #6649]
34175 * manual/llio.texi (Opening and Closing Files): Add cross
34176 reference to explain mode argument.
34177
1e4920e0
MF
341782012-04-07 Mike Frysinger <vapier@gentoo.org>
34179
34180 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34181 * sysdeps/x86_64/memset_chk.S: Likewise.
34182
5ed848f3
DM
341832012-04-07 David S. Miller <davem@davemloft.net>
34184
34185 * elf/elf.h (R_SPARC_WDISP10): Define.
34186 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34187 R_SPARC_SIZE32.
34188 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34189 R_SPARC_SIZE64 and R_SPARC_H34.
34190
96154cd8
CD
341912012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34192
34193 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34194 conditions and remove no longer applicable assertion.
34195
9904dc47
L
341962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34197
34198 * bits/byteswap.h: Include <features.h>.
34199 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34200 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34201
f8887d0a
L
342022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34203
34204 * bits/byteswap.h (__bswap_16): Removed.
34205 Include <bits/byteswap-16.h> to get __bswap_16.
34206 * sysdeps/i386/bits/byteswap.h: Likewise.
34207 * sysdeps/s390/bits/byteswap.h: Likewise.
34208 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34209 * bits/byteswap-16.h: New file.
34210 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34211 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34212 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34213 * string/Makefile (headers): Add bits/byteswap-16.h.
34214
62470f60
PP
342152012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34216
34217 [BZ #13895]
34218 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34219 extra indirection.
34220 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34221 * nss/tst-nss-static.c: New.
34222
4dad7bab
RM
342232012-04-06 Robert Millan <rmh@gnu.org>
34224
34225 [BZ #6486]
34226 * manual/llio.texi (File Position Primitive): lseek
34227 refers to WHENCE when it really means OFFSET.
34228
e9142a17
AJ
342292012-04-06 Andreas Jaeger <aj@suse.de>
34230
2c040eff
AJ
34231 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34232 strncmp declarations.
34233
e9142a17
AJ
34234 * abilist/libc.abilist: Add __poll and __ppoll.
34235
ff9f1c5f
DM
342362012-04-05 David S. Miller <davem@davemloft.net>
34237
dcd2ae90
DM
34238 * scripts/check-local-headers.sh: Accept a host triplet in the
34239 path matched by the exclude regexp.
34240
993eb054
DM
34241 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34242 definition.
34243 * sysdeps/powerpc/powerpc32/dl-machine.h
34244 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34245 * sysdeps/s390/s390-32/dl-machine.h
34246 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34247 * sysdeps/sparc/sparc32/dl-machine.h
34248 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34249 * sysdeps/sparc/sparc64/dl-machine.h
34250 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34251
ff9f1c5f
DM
34252 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34253 lazy binding.
48e2e132 34254 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34255 undefined symbol errors.
34256
48e2e132 34257 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34258 DT_NEEDED entries.
34259
e80d6f94
MM
342602012-04-05 Michael Matz <matz@suse.de>
34261
34262 [BZ #13592]
34263 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34264
349fa79f
AJ
342652012-04-05 Andreas Jaeger <aj@suse.de>
34266
34267 [BZ #13908]
34268 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34269 comment.
34270
f402708f
KK
342712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34272
34273 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34274 which ROUND is no valid rounding mode.
34275
2ecccfc9
KK
342762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34277
34278 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34279 read again.
34280 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34281
8a53f50f
KK
342822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34283
34284 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34285 an exception using FPU order intentionally.
34286
342872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34288
34289 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34290 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34291 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34292 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34293
d653abb7
SJ
342942012-04-05 Simon Josefsson <simon@josefsson.org>
34295
34296 [BZ #12340]
34297 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34298 EINVAL when BUFLEN is too smal.
34299
c3b1bf7d
TS
343002012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34301
34302 [BZ #13553]
34303 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34304 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34305
b1aa60f3
AJ
343062012-04-03 Andreas Jaeger <aj@suse.de>
34307
c3b1bf7d 34308 [BZ #13938]
67f60a26
AJ
34309 * manual/setjmp.texi (System V contexts): Fix sentence.
34310
b1aa60f3
AJ
34311 [BZ #13926]
34312 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34313 New macro for this case.
34314 [!__GNUC__] (__bswap_64): New inline function for this case.
34315 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34316 * bits/byteswap.h: Likewise.
34317 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34318 ull, guard with __GLIBC_HAVE_LONG_LONG.
34319
34320 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34321 __GLIBC_HAVE_LONG_LONG.
34322
34323 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34324 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34325
39c59c35
TMQMF
343262012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34327
34328 [BZ #13691]
34329 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34330 inptr and inend, rather than using last_ch.
34331
135ffda8
DM
343322012-04-02 David S. Miller <davem@davemloft.net>
34333
34334 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34335 * stdio-common/printf-parse.h (read_int): Change return type to
34336 'int', return -1 on INT_MAX overflow.
34337 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34338 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34339 overflows INT_MAX. Check for overflow of in-format-string precision
34340 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34341 SIZE_MAX not INT_MAX for integer overflow test.
34342 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34343 skip the construct in the format string but do not record anything.
34344 * stdio-common/bug22.c: Adjust to test both width/prevision
34345 INT_MAX overflow as well as total length INT_MAX overflow. Check
34346 explicitly for proper errno values.
34347
228c019e
TS
343482012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34349
302cadd3
TS
34350 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34351 CHAR_MAX.
34352 * string/test-strcmp.c [! WIDE]: Likewise.
34353 * time/tst-mktime2.c: Likewise for INT_MAX.
34354 * string/test-string.h: #include <sys/param.h> for MIN.
34355
228c019e
TS
34356 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34357 * sysdeps/i386/init-first.c (init): Likewise.
34358 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34359 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34360 * sysdeps/sh/init-first.c (init): Likewise.
34361
cfa633f5
UD
343622012-04-01 Ulrich Drepper <drepper@gmail.com>
34363
34364 * po/ru.po: Update from translation team.
d1635ef8 34365 * po/vi.po: Likewise.
cfa633f5 34366
6cd0a5ea
SP
343672012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34368
34369 * resolv/nss_dns/dns-host.c: Merge copyright years.
34370
4b43400f
LD
343712012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34372
34373 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34374 Optimize memcpy with prefetch if
34375 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34376 src, dst pointers have unequal 16 byte alignments.
34377
48c41d04
SP
343782012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34379
34380 [BZ #13928]
34381 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34382 from a CNAME entry and return the minimum ttl for the query.
34383 (gaih_getanswer_slice): Likewise.
34384
b8dc394d
JL
343852012-03-30 Jeff Law <law@redhat.com>
34386
34387 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34388 due to long keys.
34389 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34390 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34391
2f5a5ed0
JL
34392 * resolv/nss_dns/dns-host.c: Update copyright year.
34393
1d39e359
UD
343942012-03-30 Ulrich Drepper <drepper@gmail.com>
34395
c030f70c 34396 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 34397 requests to save a system call. Fix check that all bytes are sent.
c030f70c 34398
1d39e359
UD
34399 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34400 comments for sendmmsg.
34401
344022012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
34403
34404 [BZ #13691]
34405 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34406 with only 1 character between 0x0041 and 0x01b0.
34407 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34408 * wcsmbs/tst-mbsnrtowcs.c: New file.
34409
20fde227
DM
344102012-03-29 David S. Miller <davem@davemloft.net>
34411
34412 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34413 small copies by hand.
34414
984a4237
JL
344152012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34416
34417 [BZ #13761]
57f41c40
AS
34418 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34419 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34420 group memberships.
984a4237 34421
18c9d62b
DM
344222012-03-28 David S. Miller <davem@davemloft.net>
34423
88d85d4f
DM
34424 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34425 that branches into memcpy.
34426 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34427 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34428 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34429 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34430 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34431 bits.
34432 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34433 implementation too.
34434 * sysdeps/sparc/mempcpy.S: New file.
34435
e5aa83e1
DM
34436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34437 the IFUNC routine in the libc case.
34438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34439
88570753
DM
34440 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34441 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34442 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34443 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34444 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34445 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34446 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34447 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34448
249d7567
DM
34449 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34450 loop to 256 bytes instead of 64 bytes and fix test signedness.
34451
18c9d62b
DM
34452 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34453 * sysdeps/sparc/sparc32/Makefile: rather than here...
34454 * sysdeps/sparc/sparc64/Makefile: and here.
34455
05f3d1f6
UD
344562012-03-28 Ulrich Drepper <drepper@gmail.com>
34457
34458 * malloc/mallocbug.c: Avoid warnings about unused variables.
34459
86ae07a8
JL
344602012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34461
34462 [BZ #13760]
34463 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34464 in the right place. Discard and retry query if response is
34465 larger than input buffer size.
34466
41bf21a1
JM
344672012-03-28 Joseph Myers <joseph@codesourcery.com>
34468
d6270972
JM
34469 [BZ #369]
34470 [BZ #2678]
34471 [BZ #3866]
34472 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34473 x for large integer exponent.
34474 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34475 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34476 sign of result as needed afterwards.
34477 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34478 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34479 result for underflowing pow the same as for overflow.
34480 (__kernel_standard_l): Handle powl overflow and underflow here
34481 rather than calling __kernel_standard.
34482 * math/libm-test.inc (pow_test): Add more tests.
34483
414fca03 34484 [BZ #3868]
41bf21a1
JM
34485 [BZ #13879]
34486 [BZ #13910]
34487 [BZ #13911]
34488 [BZ #13912]
34489 [BZ #13913]
34490 [BZ #13915]
34491 [BZ #13916]
34492 [BZ #13917]
34493 [BZ #13918]
34494 [BZ #13919]
34495 [BZ #13920]
34496 [BZ #13921]
34497 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34498 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34499 (__kernel_standard_l): New function.
34500 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34501 __kernel_standard.
34502 * math/w_acosl.c (__acosl): Likewise.
34503 * math/w_asinl.c (__asinl): Likewise.
34504 * math/w_atan2l.c (__atan2l): Likewise.
34505 * math/w_atanhl.c (__atanhl): Likewise.
34506 * math/w_coshl.c (__coshl): Likewise.
34507 * math/w_exp10l.c (__exp10l): Likewise.
34508 * math/w_exp2l.c (__exp2l): Likewise.
34509 * math/w_fmodl.c (__fmodl): Likewise.
34510 * math/w_hypotl.c (__hypotl): Likewise.
34511 * math/w_j0l.c (__j0l, __y0l): Likewise.
34512 * math/w_j1l.c (__j1l, __y1l): Likewise.
34513 * math/w_jnl.c (__jnl, __ynl): Likewise.
34514 * math/w_lgammal.c (__lgammal): Likewise.
34515 * math/w_log10l.c (__log10l): Likewise.
34516 * math/w_log2l.c (__log2l): Likewise.
34517 * math/w_logl.c (__logl): Likewise.
34518 * math/w_powl.c (__powl): Likewise.
34519 * math/w_remainderl.c (__remainderl): Likewise.
34520 * math/w_scalbl.c (sysv_scalbl): Likewise.
34521 * math/w_sinhl.c (__sinhl): Likewise.
34522 * math/w_sqrtl.c (__sqrtl): Likewise.
34523 * math/w_tgammal.c (__tgammal): Likewise.
34524 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34525 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34526 * math/libm-test.inc (acos_test): Add more tests.
34527 (acosh_test): Likewise.
34528 (asin_test): Likewise.
34529 (atanh_test): Likewise.
34530 (exp_test): Likewise.
34531 (exp10_test): Likewise.
34532 (exp2_test): Likewise.
34533 (expm1_test): Likewise.
34534 (lgamma_test): Likewise.
34535 (log_test): Likewise.
34536 (log10_test): Likewise.
34537 (log1p_test): Likewise.
34538 (log2_test): Likewise.
34539 (pow_test): Do not allow some spurious overflow exceptions.
34540 (sqrt_test): Add more tests.
34541 (tgamma_test): Likewise.
34542 (y0_test): Likewise.
34543 (y1_test): Likewise.
34544 (yn_test): Likewise.
34545
dd62fda6
AB
345462012-03-27 Anton Blanchard <anton@samba.org>
34547
34548 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34549 MAP_HUGETLB.
34550 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34551 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34552 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34553
1e3cdfda
AJ
345542012-03-27 David S. Miller <davem@davemloft.net>
34555
b855ab85
DM
34556 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34557
1e3cdfda
AJ
34558 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34559 have-as-vis3 check.
34560
345612012-03-27 Andreas Jaeger <aj@suse.de>
34562
34563 * sysdeps/x86_64/elf/configure.in: Moved to ...
34564 * sysdeps/x86_64/configure.in: ... here.
34565 * sysdeps/x86_64/elf/start.S: Moved to ...
34566 * sysdeps/x86_64/start.S: ... here.
34567 * sysdeps/x86_64/elf/configure: Delete.
34568
34569 * sysdeps/x86_64/configure.in: Merge contents from
34570 sysdeps/i386/configure.in (without i686 check).
34571
34572 * sysdeps/i386/elf/Versions: Merge into ...
34573 * sysdeps/i386/Versions: ... this.
34574 * sysdeps/i386/elf/Versions: Delete file.
34575 * sysdeps/i386/elf/start.S: Moved to ...
34576 * sysdeps/i386/start.S: ...here.
34577 * sysdeps/i386/elf/configure.in: Merge into...
34578 * sysdeps/i386/configure.in: ...here.
34579 * sysdeps/i386/elf/configure.in: Delete file.
34580 * sysdeps/i386/elf/configure: Delete file.
34581
34582 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34583 * debug/backtracesyms.c: ... here.
34584 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34585 * debug/backtracesymsfd.c: ... here.
34586 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34587 * sysdeps/generic/ifunc-sel.h: ... here.
34588
34589 * sysdeps/unix/i386/start.c: Delete file.
34590 * sysdeps/unix/sparc/start.c: Delete file.
34591 * sysdeps/unix/start.c: Delete file.
34592
34593 * sysdeps/sh/elf/configure.in: Moved to ...
34594 * sysdeps/sh/configure.in: ... here.
34595 * sysdeps/sh/elf/start.S: Moved to ...
34596 * sysdeps/sh/start.S: ... here.
34597 * sysdeps/sh/elf/configure: Delete file.
34598
34599 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34600 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34601 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34602 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34603 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34604 * sysdeps/powerpc/powerpc64/start.S: here.
34605 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34606 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34607 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34608 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34609 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34610
34611 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34612 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34613 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34614 * sysdeps/powerpc/powerpc32/start.S: ... here.
34615 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34616 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34617 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34618
34619 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34620 * sysdeps/powerpc/ifunc-sel.h: ... here.
34621 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34622 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34623
34624 * sysdeps/sparc/elf/configure.in: Moved to ...
34625 * sysdeps/sparc/configure.in: ... here.
34626 * sysdeps/sparc/elf/configure: Delete file.
34627 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34628 * sysdeps/sparc/sparc32/start.S: ... here.
34629 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34630 * sysdeps/sparc/sparc64/start.S: ... here.
34631 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34632 * sysdeps/sparc/sparc32/Makefile: ... this.
34633 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34634 * sysdeps/sparc/sparc64/Makefile: ... this.
34635
34636 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34637 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34638 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34639 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34640 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34641 * sysdeps/s390/s390-32/setjmp.S: ... here.
34642 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34643 * sysdeps/s390/s390-32/configure.in: ... here.
34644 * sysdeps/s390/s390-32/elf/configure: Delete file.
34645 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34646 * sysdeps/s390/s390-32/start.S: ... here.
34647
34648 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34649 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34650 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34651 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34652 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34653 * sysdeps/s390/s390-64/setjmp.S: ... here.
34654 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34655 * sysdeps/s390/s390-64/configure.in: ... here
34656 * sysdeps/s390/s390-64/elf/configure: Delete file.
34657 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34658 * sysdeps/s390/s390-64/start.S: ... here.
34659 * sysdeps/s390/s390-64/elf/configure: Delete.
34660
34661 * configure.in: Remove support for elf directories in sysdeps.
34662
34663 * configure: Regenerated.
34664 * sysdeps/i386/configure: Regenerated.
34665 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34666 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34667 * sysdeps/s390/s390-32/configure: Regenerated.
34668 * sysdeps/s390/s390-64/configure: Regenerated.
34669 * sysdeps/sh/configure: Regenerated.
34670 * sysdeps/sparc/configure: Regenerated.
34671 * sysdeps/x86_64/configure: Regenerated.
34672
a3f61311
AS
346732012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34674
c876e002
AS
34675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34676
a3f61311
AS
34677 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34678 denormal result into account.
34679
ac4c54f0
RM
346802012-03-25 Roland McGrath <roland@hack.frob.com>
34681
34682 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34683 Reported by Allan McRae <allan@archlinux.org>.
34684
6a9b9c02
JL
346852012-03-23 Jeff Law <law@redhat.com>
34686
34687 * nss/getnssent.c (__nss_getent): Fix typo.
34688
4c42a0c1
DM
346892012-03-23 David S. Miller <davem@davemloft.net>
34690
34691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34692
1532c7ac
L
346932012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34694
34695 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34696 to pad to uint64_t for each field.
34697 (dl_tls_index): Replace unsigned long with uint64_t.
34698
3ff42526
PP
346992012-03-23 Daniel Jacobowitz <dmj@google.com>
34700 Paul Pluzhnikov <ppluzhnikov@google.com>
34701
34702 [BZ #6528]
34703 * grp/Makefile (otherlibs): Don't set it.
34704 * inet/Makefile (otherlibs): Likewise.
34705 * login/Makefile (otherlibs): Likewise.
34706 * nscd/Makefile (otherlibs): Likewise.
34707 * posix/Makefile (otherlibs): Likewise.
34708 * pwd/Makefile (otherlibs): Likewise.
34709 * rt/Makefile (otherlibs): Likewise.
34710 * sunrpc/Makefile (otherlibs): Likewise.
34711 * nss/Makefile (otherlibs): Likewise.
34712 Add libnss_files to routines and static-only-routines.
34713 ($(objpfx)getent): Remove rule.
34714 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34715 static-only-routines.
34716
7c69cd14
JM
347172012-03-22 Joseph Myers <joseph@codesourcery.com>
34718
34719 [BZ #13892]
34720 * math/s_cexp.c: Include <float.h>.
34721 (__cexp): Handle exp result overflowing not necessarily
34722 overflowing both real and imaginary parts of result.
34723 * math/s_cexpf.c: Likewise.
34724 * math/s_cexpl.c: Likewise.
34725 * math/libm-test.inc (cexp_test): Add more tests.
34726 * sysdeps/i386/fpu/libm-test-ulps: Update.
34727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34728
81b035fe
L
347292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34730
34731 * include/link.h (ELFW): New macro.
34732 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34733 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34734
1da7940c
L
347352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34736
34737 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34738 with uint64_t.
34739
b749dbb9
L
347402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34741
34742 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34743 declaration.
34744 (struct La_x32_retval): Likewise.
34745
2ff87f3f
L
347462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34747
34748 * sysdeps/x86_64/preconfigure.in: New file.
34749 * sysdeps/x86_64/preconfigure: New generated file.
34750
c0df8e69
JM
347512012-03-22 Joseph Myers <joseph@codesourcery.com>
34752
48e44791
JM
34753 [BZ #13824]
34754 * math/e_exp2l.c: Include <float.h>.
34755 (__ieee754_exp2l): Handle overflow and underflow cases
34756 separately. Only pass fractional part of argument to
34757 __ieee754_expl.
34758 * math/libm-test.inc (exp2_test): Add more tests.
34759
c0df8e69
JM
34760 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34761 negating x to take absolute value.
34762 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34763 Likewise.
34764 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34765 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34766 Likewise.
34767 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34768 computing low part if x was negated.
34769 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34770
c8e43ba7
L
347712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34772
34773 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34774 la_x32_gnu_pltexit.
34775 (pltexit): Cast int_retval to ptrdiff_t.
34776 * elf/tst-auditmod3b.c: Likewise.
34777 * elf/tst-auditmod4b.c: Likewise.
34778 * elf/tst-auditmod5b.c: Likewise.
34779 * elf/tst-auditmod6b.c: Likewise.
34780 * elf/tst-auditmod6c.c: Likewise.
34781 * elf/tst-auditmod7b.c: Likewise.
34782
34783 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34784 and x32_gnu_pltexit.
34785
34786 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34787 __ELF_NATIVE_CLASS.
34788 (La_x32_regs): New macro.
34789 (La_x32_retval): Likewise.
34790 (la_x32_gnu_pltenter): New function prototype.
34791 (la_x32_gnu_pltexit): Likewise.
34792
7998fa78
AS
347932012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34794
dcb33988
AS
34795 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34796 exponent.
34797
233fc563
AS
34798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34799
7998fa78
AS
34800 * configure.in (libc_cv_cc_nofma): Check for option to disable
34801 generation of FMA instructions.
34802 * configure: Regenerate.
34803 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34804 * sysdeps/ieee754/dbl-64/Makefile: New file.
34805 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34806 Remove brandred-fma4.
34807 (CFLAGS-brandred-fma4.c): Remove.
34808 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34809 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34810 define.
34811 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34812 define.
34813
8e95c99a
L
348142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34815
34816 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34817 LLONG_MAX != LONG_MAX.
34818 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34819 (_fitoa_word): Likewise.
34820 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34821 LLONG_MAX != LONG_MAX.
34822 * stdio-common/_itowa.h: Include <_itoa.h>.
34823 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34824 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34825 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34826 only if not defined.
34827 (_ITOA_WORD_TYPE): Likewise.
34828 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34829 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34830
6f4db457
DM
348312012-03-21 David S. Miller <davem@davemloft.net>
34832
34833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34834
7785fe5a
L
348352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34836
34837 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34838 of x86_64 when setting libc_cv_slibdir, libdir and
34839 libc_cv_localedir.
34840 * sysdeps/unix/sysv/linux/configure: Regenerated.
34841
4535cd55
JM
348422012-03-21 Joseph Myers <joseph@codesourcery.com>
34843
34844 * manual/lang.texi (Old Varargs): Remove section.
34845 (How Variadic): Update menu.
34846 (va_start): Do not mention varargs.h.
34847
17228132
TS
348482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34849 Joseph Myers <joseph@codesourcery.com>
34850
34851 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34852 link test.
34853 * configure: Regenerated.
34854
8149f976
TS
348552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34856
05f3d1f6
UD
34857 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34858 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34859 conformtest.pl
8149f976 34860
1a4ac776
JM
348612012-03-21 Joseph Myers <joseph@codesourcery.com>
34862
be22ce65
JM
34863 * NOTES: Remove.
34864 * Makefile (files-for-dist): Remove NOTES.
34865 (NOTES): Remove rule.
34866 * README: Don't refer to NOTES.
34867 * manual/creature.texi: Don't include macros.texi.
34868 * manual/intro.texi (creature.texi): Remove comment referring to
34869 NOTES.
34870
40b601fb
JM
34871 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34872 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34873 * configure: Regenerated.
34874 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34875 LIBC_TRY_CC_OPTION.
34876 (libc_cv_as_i686): Likewise.
34877 (libc_cv_cc_avx): Likewise.
34878 (libc_cv_cc_sse2avx): Likewise.
34879 (libc_cv_cc_fma4): Likewise.
34880 (libc_cv_cc_novzeroupper): Likewise.
34881 * sysdeps/i386/configure: Regenerated.
34882
1a4ac776
JM
34883 [BZ #13883]
34884 * sysdeps/i386/fpu/s_cexp.S: Remove.
34885 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34886 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34887 * math/libm-test.inc (cexp_test): Add more tests.
34888 * sysdeps/i386/fpu/libm-test-ulps: Update.
34889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34890
a458e7fe
AM
348912012-03-21 Allan McRae <allan@archlinux.org>
34892
34893 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34894
0cb7efc5
JM
348952012-03-21 Joseph Myers <joseph@codesourcery.com>
34896
34897 [BZ #13871]
34898 * math/w_exp2.c: Do not include <float.h>.
34899 (o_threshold, u_threshold): Remove.
34900 (__exp2): Calculate result before checking finiteness and calling
34901 __kernel_standard.
34902 * math/w_exp2f.c: Likewise.
34903 * math/w_exp2l.c: Likewise.
34904 * math/libm-test.inc (exp2_test): Require overflow exception for
34905 1e6 input.
2460d3aa
JM
34906
34907 [BZ #3866]
34908 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34909 range of signed 64-bit integers before using fistpll. Remove
34910 checks for whether integers fit in mantissa bits.
34911 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34912 the range of signed 32-bit integers before using fistpl. Remove
34913 checks for whether integers fit in mantissa bits.
34914 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34915 (__ieee754_powl): Test for y outside the range of signed 64-bit
34916 integers before using fistpll. Reduce 64-bit values to 63-bit
34917 ones as needed.
34918 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34919 divide-by-zero is raised for zero to large negative powers.
34920 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34921 (__ieee754_powl): Test for y outside the range of signed 64-bit
34922 integers before using fistpll. Reduce 64-bit values to 63-bit
34923 ones as needed.
34924 * math/libm-test.inc (pow_test): Add more tests.
34925
eb96ffb0
L
349262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34927
34928 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34929 <stdio-common/_itoa.h>.
34930 * debug/segfault.c: Likewise.
34931 * elf/dl-cache.c: Likewise.
34932 * elf/dl-minimal.c: Likewise.
34933 * elf/dl-misc.c: Likewise.
34934 * elf/dl-sysdep.c: Likewise.
34935 * elf/dl-version.c: Likewise.
34936 * elf/rtld.c: Likewise.
34937 * hurd/hurdsock.c: Likewise.
34938 * hurd/lookup-retry.c: Likewise.
34939 * malloc/malloc.c: Likewise.
34940 * malloc/mtrace.c: Likewise.
34941 * nscd/nscd_getgr_r.c: Likewise.
34942 * nscd/nscd_getpw_r.c: Likewise.
34943 * nscd/nscd_getserv_r.c: Likewise.
34944 * posix/getopt_init.c: Likewise.
34945 * posix/wordexp.c: Likewise.
34946 * stdio-common/_itoa.c: Likewise.
34947 * stdio-common/printf_fphex.c: Likewise.
34948 * stdio-common/vfprintf.c: Likewise.
34949 * string/_strerror.c: Likewise.
34950 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34951 * sysdeps/i386/i686/hp-timing.h: Likewise.
34952 * sysdeps/mach/_strerror.c: Likewise.
34953 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34954 * sysdeps/mach/hurd/sethostid.c: Likewise.
34955 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34956 * sysdeps/mach/xpg-strerror.c: Likewise.
34957 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34958 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34959 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34960 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34961 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34962 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34963 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34964 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34965 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34966 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34967 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34968 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34969 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34970 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34971 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34972 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34973 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34974 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34975 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34976 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34977 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34978
34979 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34980
34981 * stdio-common/_itoa.h: Moved to ...
34982 * sysdeps/generic/_itoa.h: Here.
34983
34984 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34985
34986 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34987 instead of "_itoa.h" and "_itowa.h".
34988 * stdio-common/vfprintf.: Likewise.
34989
d1af992d
L
349902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34991
34992 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34993 <bits/wordsize.h>.
34994 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34995 (__signbit): Likwise.
34996 (llrintf): Likwise.
34997 (llrint): Likwise.
34998
114883e0
L
349992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35000
35001 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35002 __WORDSIZE != 64.
35003
c135cc1b
JM
350042012-03-20 Joseph Myers <joseph@codesourcery.com>
35005
35006 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35007 OVERFLOW_EXCEPTION_OK.
35008 * math/libm-test.inc ("Philosophy"): Update comment about
35009 exception testing.
35010 (OVERFLOW_EXCEPTION): Define.
35011 (OVERFLOW_EXCEPTION_OK): Likewise.
35012 (INVALID_EXCEPTION_OK): Renumber.
35013 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35014 (IGNORE_ZERO_INF_SIGN): Likewise.
35015 (test_exceptions): Handle FE_OVERFLOW.
35016 (exp10_test): Expect overflow exceptions.
35017 (exp2_test): Likewise.
35018 (expm1_test): Likewise.
35019 (nextafter_test): Likewise.
35020 (pow_test): Likewise.
35021 (scalbn_test): Likewise.
35022 (scalbln_test): Likewise.
35023
95443d88
L
350242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35025
35026 * sysdeps/x86_64/bits/atomic.h
35027 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35028 64bit integer.
35029 (atomic_exchange_acq): Likewise.
35030 (__arch_exchange_and_add_body): Likewise.
35031 (__arch_add_body): Likewise.
35032 (atomic_add_negative): Likewise.
35033 (atomic_add_zero): Likewise.
35034
490df6c4
L
350352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35036
c2722551 35037 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35038 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35039
5e52b189
L
350402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35041
35042 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35043 Check __x86_64__ instead of __WORDSIZE.
35044
a9879d4c
L
350452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35046
35047 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35048
5df98260
DM
350492012-03-19 David S. Miller <davem@davemloft.net>
35050
e1497744
DM
35051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35052
5df98260
DM
35053 * sysdeps/sparc/fpu/fenv_private.h: New file.
35054 * sysdeps/sparc/fpu/math_private.h: Use it.
35055 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35056 Remove.
57f41c40 35057 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35058 (libc_feholdexcept_setroundl): Remove.
35059 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35060 Remove.
35061 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35062 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35063
b4c35121
L
350642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35065
35066 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35067 int64_t instead of long int.
35068 (INSERT_WORDS64): Likwise.
35069
56965fd7
L
350702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35071
35072 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35073 _Unwind_GetCFA return to _Unwind_Ptr first.
35074
83d1aec8
JM
350752012-03-19 Joseph Myers <joseph@codesourcery.com>
35076
1897ad44
JM
35077 [BZ #13629]
35078 * math/s_clog.c: Include <float.h>.
35079 (__clog): Scale large or subnormal inputs.
35080 * math/s_clogf.c: Likewise.
35081 * math/s_clogl.c: Likewise.
35082 * math/s_clog10.c: Include <float.h>.
35083 (M_LOG10_2): Define.
35084 (__clog10): Scale large or subnormal inputs.
35085 * math/s_clog10f.c: Likewise.
35086 * math/s_clog10l.c: Likewise.
35087 * math/libm-test.inc (clog_test): Add more tests.
35088 (clog10_test): Likewise.
35089 * sysdeps/i386/fpu/libm-test-ulps: Update.
35090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35091
7726d6a9
JM
35092 [BZ #11451]
35093 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35094 x and y.
35095 * math/libm-test.inc (atan2_test): Add another test.
35096
83d1aec8
JM
35097 * Makerules (common-objdir-compile): Remove.
35098 * sysdeps/unix/Makefile (config-generated): Do not add
35099 $(unix-generated) to variable.
35100 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35101 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35102 Remove rule.
35103 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35104 Likewise.
35105 [generic bits/local_lim.h] (before-compile): Do not append to
35106 variable.
35107 [generic bits/local_lim.h] (common-generated): Likewise.
35108 [generic sys/param.h] (before-compile): Do not append to variable.
35109 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35110 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35111 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35112 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35113 include.
35114 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35115 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35116 [generic sys/param.h] ($(addprefix
35117 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35118 [generic sys/param.h] (common-generated): Do not append to
35119 variable.
35120 [generic sys/param.h] (sysdep_headers): Likewise.
35121 [generic bits/errno.h] (before-compile): Do not append to
35122 variable.
35123 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35124 rule.
35125 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35126 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35127 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35128 [generic bits/errno.h] (common-generated): Do not append to
35129 variable.
35130 [generic bits/ioctls.h] (before-compile): Do not append to
35131 variable.
35132 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35133 rule.
35134 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35135 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35136 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35137 rule.
35138 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35139 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35140 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35141 [generic bits/ioctls.h] (common-generated): Do not append to
35142 variable.
35143 [generic sys/syscall.h] (syscall.h): Remove variable.
35144 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35145 rule.
35146 [generic sys/syscall.h] (before-compile): Do not append to
35147 variable.
35148 [generic sys/syscall.h] (common-generated): Likewise.
35149 * sysdeps/unix/errnos-tmpl.c: Remove file.
35150 * sysdeps/unix/errnos.awk: Likewise.
35151 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35152 * sysdeps/unix/ioctls.awk: Likewise.
35153 * sysdeps/unix/mk-local_lim.c: Likewise.
35154 * sysdeps/unix/snarf-ioctls: Likewise.
35155
4851a949
RH
351562012-03-19 Richard Henderson <rth@twiddle.net>
35157
bd37f2ee
RH
35158 * sysdeps/i386/fpu/fenv_private.h: New file.
35159 * sysdeps/i386/fpu/math_private.h: Use it.
35160 (math_opt_barrier, math_force_eval): Remove.
35161 (libc_feholdexcept_setround_53bit): Remove.
35162 (libc_feupdateenv_53bit): Remove.
35163 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35164 (math_opt_barrier, math_force_eval): Remove.
35165 (libc_feholdexcept): Remove.
35166 (libc_feholdexcept_setround): Remove.
35167 (libc_fetestexcept, libc_fesetenv): Remove.
35168 (libc_feupdateenv_test): Remove.
35169 (libc_feupdateenv, libc_feholdsetround): Remove.
35170 (libc_feresetround): Remove.
35171
d0adc922
RH
35172 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35173 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35174
0fe0f1f8
RH
35175 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35176 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35177 (libc_feupdateenv_testl): New.
35178 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35179 (libc_feupdateenv_testf): New.
35180 (libc_feupdateenv): Use libc_feupdateenv_test.
35181 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35182 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35183
eb92c487
RH
35184 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35185 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35186 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35187 (libc_feresetround_noex): New.
35188 (libc_feresetround_noexf): New.
35189 (libc_feresetround_noexl): New.
35190 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35191 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35192 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35193 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35194 SET_RESTORE_ROUND.
35195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35196 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35197 (__cos): Likewise.
35198 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35199 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35200 SET_RESTORE_ROUND_NOEX.
35201 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35202 SET_RESTORE_ROUND_NOEXF.
35203 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35204 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35205 (libc_feholdsetroundf): New.
35206 (libc_feresetround, libc_feresetroundf): New.
35207
7d2e8012
RH
35208 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35209 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35210 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35211
b4dabbb4
RH
35212 * sysdeps/generic/math_private.h: Include <fenv.h>.
35213 (default_libc_feholdexcept): New.
35214 (default_libc_feholdexcept_setround): New.
35215 (default_libc_fesetenv, default_libc_feupdateenv): New.
35216 (libc_feholdexcept): Only define if undefined.
35217 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35218 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35219 (libc_feholdexcept_setroundl): Likewise.
35220 (libc_feholdexcept_setround_53bit): Likewise.
35221 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35222 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35223 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35224 (libc_feupdateenv_53bit): Likewise.
35225 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35226 (libc_feholdexcept): Convert from macro to inline function.
35227 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35228 (libc_fesetenv, libc_feupdateenv): Likewise.
35229
4851a949
RH
35230 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35231 not previously defined.
35232 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35233 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35234 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35235 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35236 * sysdeps/ieee754/flt-32/math_private.h: New file.
35237 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35238 math_private.h below SET_FLOAT_WORD.
35239 (__isnan, __isinf_ns, __finite): Remove.
35240 (__isnanf, __isinf_nsf, __finitef): Remove.
35241
e79d442e
AS
352422012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35243
35244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35245
90b80344
DM
352462012-03-17 David S. Miller <davem@davemloft.net>
35247
35248 [BZ #6471]
35249 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35250 for 2.16.
35251
edc21804
DM
352522012-03-16 David S. Miller <davem@davemloft.net>
35253
77e927af
DM
35254 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35255 warnings.
35256
374976dd
DM
35257 [BZ #6471]
35258 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35259 properly.
35260 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35261 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35262 sysdep_routines when subdir is sysvipc.
35263 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35264 __getshmlba helper.
35265
edc21804
DM
35266 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35267
473c3ef3
L
352682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35269
35270 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35271 [__LP64__].
35272
eb0f39b6
L
352732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35274
35275 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35276 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35277 (__lround): Renamed to ...
35278 (__llround): This. Replace long int with long long int.
35279 Define lround functions as aliases of llround functions.
35280 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35281
6b6cd74b
L
352822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35283
35284 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35285 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35286 adresses to uintptr_t. Replace "long int" and "unsigned long
35287 int" with "greg_t" on va_arg.
35288
f1a77b01
L
352892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35290
35291 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35292 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35293
35294 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35295 Move e_machine check before EI_CLASS check. Handle x32
35296 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35297 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35298 SKIP_EM_IA_64 and include
35299 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35300
35301 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35302 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35303 (add_system_dir): New macro.
35304
35305 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35306 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35307
11b90b9f
JM
353082012-03-16 Joseph Myers <joseph@codesourcery.com>
35309
c36e1d23
JM
35310 [BZ #2551]
35311 [BZ #2552]
35312 [BZ #2553]
35313 [BZ #2554]
35314 [BZ #2562]
35315 [BZ #2563]
35316 [BZ #2565]
35317 [BZ #2566]
35318 [BZ #2576]
35319 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35320 (y0): Likewise.
35321 * math/w_j0f.c (j0f): Likewise.
35322 (y0f): Likewise.
35323 * math/w_j0l.c (__j0l): Likewise.
35324 (__y0l): Likewise.
35325 * math/w_j1.c (j1): Likewise.
35326 (y1): Likewise.
35327 * math/w_j1f.c (j1f): Likewise.
35328 (y1f): Likewise.
35329 * math/w_j1l.c (__j1l): Likewise.
35330 (__y1l): Likewise.
35331 * math/w_jn.c (jn): Likewise.
35332 (yn): Likewise.
35333 * math/w_jnf.c (jnf): Likewise.
35334 (ynf): Likewise.
35335 * math/w_jnl.c (__jnl): Likewise.
35336 (__ynl): Likewise.
35337 * math/libm-test.inc (j0_test): Add more tests.
35338 (j1_test): Likewise.
35339 (jn_test): Likewise. Add trailing semicolon to existing test.
35340 (y0_test): Likewise.
35341 (y1_test): Likewise.
35342 * sysdeps/i386/fpu/libm-test-ulps: Update.
35343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35344
11b90b9f
JM
35345 [BZ #13851]
35346 [BZ #13854]
35347 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35348 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35349 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35350 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35351 (__tanl): Set errno for infinite argument.
35352 * sysdeps/i386/fpu/mptan.c: Remove.
35353 * sysdeps/i386/fpu/s_tan.S: Likewise.
35354 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35355 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35356 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35357 * math/libm-test.inc (tan_test): Add more tests and enable more
35358 tests for double and long double.
35359 * sysdeps/i386/fpu/libm-test-ulps: Update.
35360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35361
6a1bd2a1
JK
353622012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35363
35364 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35365 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35366
10a803e0
RM
353672012-03-16 Roland McGrath <roland@hack.frob.com>
35368
35369 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35370 * configure.in: Use it for both main tree and add-ons.
35371 * configure: Regenerated.
35372
f196c7f7
L
353732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35374
35375 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35376
8848d99d
JM
353772012-03-16 Joseph Myers <joseph@codesourcery.com>
35378
96cbe7f4
JM
35379 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35380 in comment.
35381
8848d99d
JM
35382 [BZ #13851]
35383 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35384 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35385 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35386 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35387 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35388 infinite argument.
35389 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35390 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35391 != 0 for prec == 2.
35392 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35393 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35394 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35395 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35396 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35397 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35398 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35399 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35400 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35401 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35402 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35403 * math/libm-test.inc (cos_test): Add more tests and enable more
35404 tests for long double.
35405 (sin_test): Likewise.
35406 (sincos_test): Likewise.
35407 * sysdeps/i386/fpu/libm-test-ulps: Update.
35408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35409
dd7f4703
DM
354102012-03-16 David S. Miller <davem@davemloft.net>
35411
35412 * sysdeps/sparc/fpu/math_private.h: New file.
35413
006f1daa
DM
354142012-03-15 David S. Miller <davem@davemloft.net>
35415
c0c83bc8
DM
35416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35417 file.
e6a62e18 35418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
35419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35420 file.
e6a62e18
DM
35421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35427 sysdep routines.
35428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35429
88cb87d9
DM
35430 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35431 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35432
006f1daa 35433 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
35434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35435 sparc-ifunc.h
006f1daa 35436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
35437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35438 Likewise.
35439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35440 Likewise.
006f1daa
DM
35441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
35444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35445 Likewise.
006f1daa
DM
35446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
35450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35451 Likewise.
35452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35453 Likewise.
006f1daa
DM
35454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35460 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35461 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35462 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35472 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35473 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35476 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35478
11e0098e
AS
354792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35480
35481 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35482 scaling.
35483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35484
e85b09d0
AJ
354852012-03-15 Andreas Jaeger <aj@suse.de>
35486
35487 [BZ #13852]
35488 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35489 ieee754/flt-32 implementation for sin, cos and sincos.
35490 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35491 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35492 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35493 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35494 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35495 ieee754/flt-32 implementation for tan.
35496
35497 * math/libm-test.inc (cos_test): Enable some large input tests for
35498 float as well
35499 (sin_test): Likewise.
35500 (sincos_test): Likewise.
35501 (tan_test): Add tests for large input.
35502
35503 * sysdeps/i386/fpu/libm-test-ulps: Update.
35504
81c64153
AJ
355052012-03-15 Andreas Jaeger <aj@suse.de>
35506
35507 [BZ #13658]
35508 * math/libm-test.inc (cos_test): Add more test cases.
35509 (sin_test): Likewise.
35510 (sincos_test): Likewise.
35511
7bbfa5c6
AJ
355122012-03-15 Andreas Jaeger <aj@suse.de>
35513
35514 [BZ #13837]
35515 * math/libm-test.inc (cos_test): Add a test case for large input
35516 value.
35517 (sin_test): Likewise.
35518 (sincos_test): Likewise.
35519
57f41c40
AS
355202012-03-15 Andreas Jaeger <aj@suse.de>
35521 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
35522
35523 [BZ #13658]
0671f479 35524 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
35525 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35526 * sysdeps/i386/fpu/branred.c: Likewise.
35527 * sysdeps/i386/fpu/dosincos.c: Likewise.
35528 * sysdeps/i386/fpu/mpa.c: Likewise.
35529 * sysdeps/i386/fpu/s_cos.S: Likewise.
35530 * sysdeps/i386/fpu/s_sin.S: Likewise.
35531 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35532 * sysdeps/i386/fpu/sincos32.c: Likewise.
35533
35534 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35535 Define.
35536 (libc_feupdateenv_53bit): Define.
35537 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35538 Define.
35539 (libc_feupdateenv_53bit): Define.
35540
35541 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35542 53 bit (without extend i386 double precision).
35543
35544 * math/libm-test.inc (sincos_test): Add tests for large input.
35545 (sin): Likewise.
35546 (cos): Likewise.
35547
35548 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35549
9cad04ea
AS
355502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35551
35552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35553
f7062b9a
DM
355542012-03-15 David S. Miller <davem@davemloft.net>
35555
35556 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35557 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35558 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35559 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35572 file.
f7062b9a 35573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35575 file.
f7062b9a 35576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35578 file.
f7062b9a 35579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35581 file.
f7062b9a
DM
35582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35583 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35584 fmin/fmax sysdep routines.
35585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35586
7bd951ff
DM
355872012-03-14 David S. Miller <davem@davemloft.net>
35588
559398ab
DM
35589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35593 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35594 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35595 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35596 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35609 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35610 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35611 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35612 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35613 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35615 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35616 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35617 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35618 routines.
35619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35620 file.
559398ab 35621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35623 file.
559398ab 35624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35626 file.
559398ab 35627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35629 file.
559398ab 35630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35632 file.
559398ab 35633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35635 file.
35636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35637 file.
35638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35639 file.
35640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35641 file.
35642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35643 New file.
35644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35645 file.
35646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35647 file.
559398ab 35648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35650 file.
559398ab 35651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35653 file.
559398ab 35654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35656 file.
559398ab 35657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35659 VIS3 routines.
559398ab
DM
35660
35661 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35662 New file.
35663
5a1c1e32
DM
35664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35665
eae47a36
DM
35666 * sysdeps/sparc/configure.in: New file.
35667 * sysdeps/sparc/configure: Generate.
35668 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35669 * configure: Regenerate.
35670 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35671 * config.make.in (have-as-vis3): New.
35672 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35673 available use -Av9d instead of -Av9a.
35674 * sysdeps/sparc/sparc64/Makefile: Likewise.
35675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35677 New file.
35678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35679 file.
35680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35681 New file.
35682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35683 file.
eae47a36
DM
35684 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35685 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35686 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35687 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35688 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35689
c0c83bc8
DM
35690 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35691 fzeros/fnegs to load 0x80000000 into a float register instead of
35692 using the stack.
7bd951ff
DM
35693 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35694
bd951ccb
JM
356952012-03-14 Joseph Myers <joseph@codesourcery.com>
35696
35697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35698 bits/syscall.h.
35699 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35700 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35701 ($(inst_includedir)/bits/syscall.h): Remove rule.
35702 ($(objpfx)bits/syscall.d): Include instead of
35703 $(objpfx)syscall-list.d.
35704 (generated): Change syscall-list.h and syscall-list.d to
35705 bits/syscall.h and bits/syscall.d.
35706
bb4e6db2
RM
357072012-03-14 Roland McGrath <roland@hack.frob.com>
35708
35709 [BZ #13846]
35710 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35711
aa4a2ae1
JM
357122012-03-14 Joseph Myers <joseph@codesourcery.com>
35713
e456826d
JM
35714 [BZ #13841]
35715 * math/s_csqrt.c: Include <float.h>.
35716 (__csqrt): Scale large or subnormal inputs.
35717 * math/s_csqrtf.c: Likewise.
35718 * math/s_csqrtl.c: Likewise.
35719 * math/libm-test.inc (csqrt_test): Add more tests.
35720 * sysdeps/i386/fpu/libm-test-ulps: Update.
35721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35722
aa4a2ae1
JM
35723 [BZ #13840]
35724 * math/libm-test.inc (hypot_test): Add more tests.
35725
7c10fd35
DM
357262012-03-13 David S. Miller <davem@davemloft.net>
35727
35728 [BZ #13840]
35729 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35730 double-precision for the calculation instead of scaling.
35731
f453b98b
JM
357322012-03-13 Joseph Myers <joseph@codesourcery.com>
35733
35734 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35735 manipulate bits before adding and subtracting TWO52[sx].
35736 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35737 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35738 Likewise.
35739 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35740
09a3453f
DM
357412012-03-13 David S. Miller <davem@davemloft.net>
35742
8e59da90
DM
35743 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35744 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35746 rtld-global-offsets.h
35747 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35748
2a8ab7f2
DM
35749 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35750 large parameters.
35751
10f62770
DM
35752 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35753
5f0bdb18
DM
35754 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35755 'err' in the ifdef scope in which it is actually used.
35756
09a3453f
DM
35757 * nss/nss_db/db-init.c: Include string.h
35758
b4b2eb5e
DM
357592012-03-12 David S. Miller <davem@davemloft.net>
35760
98bb2f1c
DM
35761 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35762 masking out of the most significant byte of random value used.
35763 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35764 Fix coding style in previous change.
35765
b4b2eb5e
DM
35766 * sysdeps/unix/sysv/linux/kernel-features.h
35767 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35768 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35769 expression.
35770 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35771 later.
35772
6e226b09
DM
357732012-03-11 David S. Miller <davem@davemloft.net>
35774
a1bcbd40
DM
35775 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35776 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35777 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35778 for 'resultvar' otherwise things get truncated on 64-bit.
35779
cb9d6174
DM
35780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35781 Fix masking out of the most significant byte of random value used.
35782
6e226b09
DM
35783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35784
058c132d
AS
357852012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35786
35787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35788
2d2cd515
DM
357892012-03-09 David S. Miller <davem@davemloft.net>
35790
35791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35792 variables with appropriate CPP guards.
57f41c40
AS
35793 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35794 from the frame pointer, not the stack pointer. Correct layout
35795 comments. Fix test on resulting framesize and the management of
35796 the outregs buffer for pltexit. Preserve floating point return
35797 values across _dl_call_pltexit call.
2d2cd515
DM
35798 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35799 framesize and the management of the outregs buffer for pltexit.
35800 Preserve floating point return values across _dl_call_pltexit
35801 call.
57f41c40
AS
35802 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35803 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35804 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35805 (print_exit): Fix format string for return register value.
35806
9a07f9d0
JM
358072012-03-10 Joseph Myers <joseph@codesourcery.com>
35808
35809 * sunrpc/Makefile (others): Add rpcgen.
35810 ($(objpfx)rpcgen): Remove special build rule and dependency on
35811 libc.
35812 * sunrpc/rpcgen.c: New file.
35813
547b5e30
PE
358142012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35815
c524201a
PE
35816 [BZ #13673]
35817 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35818 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35819 * sysdeps/i386/crti.S: Likewise.
35820 * sysdeps/i386/crtn.S: Likewise.
35821 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35822 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35823 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35824 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35825 * sysdeps/sh/crti.S: Likewise.
35826 * sysdeps/sh/crtn.S: Likewise.
35827 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35828
7b6235f2
PE
35829 [BZ #13673]
35830 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35831 with URL.
35832 * locale/programs/locfile-kw.gperf: Likewise.
35833 * locale/programs/charmap-kw.h: Regenerated.
35834 * locale/programs/locfile-kw.h: Likewise.
35835
547b5e30
PE
35836 [BZ #13673]
35837 * intl/plural.y: Replace FSF snail mail address with URL.
35838 * intl/plural.c: Regenerated.
35839
5f0a5dae
RH
358402012-03-09 Richard Henderson <rth@twiddle.net>
35841
35842 * include/math_private.h: Remove file.
35843 * math/math_private.h: Move file ...
35844 * sysdeps/generic/math_private.h: ... here.
35845
b8c03620
RH
35846 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35847 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35848 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35849
4e234f5d 35850 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35851 and <math_private.h>.
35852 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35853 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35854 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35855 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35856 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35857 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35858 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35859 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35860 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35861 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35863 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35864 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35865 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35866 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35867 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35868 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35869 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35870 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35871 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35872 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35873 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35874 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35876 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35877 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35878 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35879 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35880 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35881 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35882 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35884 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35885 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35886 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35887 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35888 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35889 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35890 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35891 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35892 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35893 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35894 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35895 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35896 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35897 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35898 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35899 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35900 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35901 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35902 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35903 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35904 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35905 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35906 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35907 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35908 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35909 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35910 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35911 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35912 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35913 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35914 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35915 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35916 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35917 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35918 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35919 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35920 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35921 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35922 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35923 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35924 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35925 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35926 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35927 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35928 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35930 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35931 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35932 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35933 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35934 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35935 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35936 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35937 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35939 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35940 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35941 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35942 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35943 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35944 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35945 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35946 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35947 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35948 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35949 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35950 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35951 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35952 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35953 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35954 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35955 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35956 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35957 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35958 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35959 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35960 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35961 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35962 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35963 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35964 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35965 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35966 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35967 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35968 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35969 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35970 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35971 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35972 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35973 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35974 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35975 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35976 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35977 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35978 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35979 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35980 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35981 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35982 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35983 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35984 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35985 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35986 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35987 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35988 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35989 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35990 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35991 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35992 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35993 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35994 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35995 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35996 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35997 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35998 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35999 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36000 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36001 * sysdeps/ieee754/k_standard.c: Likewise.
36002 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36003 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36004 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36005 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36006 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36007 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36008 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36009 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36010 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36011 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36012 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36013 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36014 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36015 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36016 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36017 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36018 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36019 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36020 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36021 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36022 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36023 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36024 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36025 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36026 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36027 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36028 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36029 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36030 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36031 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36032 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36033 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36034 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36035 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36036 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36037 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36038 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36039 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36040 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36041 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36042 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36043 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36044 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36045 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36046 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36047 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36048 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36053 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36054 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36055 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36056 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36057 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36058 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36059 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36060 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36061 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36062 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36063 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36064 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36065 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36066 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36068 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36069 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36070 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36071 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36072 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36073 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36074 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36075 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36076 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36078 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36079 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36080 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36081 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36082 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36083 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36084 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36085 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36086 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36087 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36088 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36089 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36090 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36091 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36092 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36093 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36094 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36095 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36096 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36097 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36098 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36099 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36100 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36101 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36103 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36104 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36105 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36106 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36107 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36108 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36109 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36110 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36111 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36112 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36113 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36114 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36115 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36116 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36117 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36118 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36119 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36120 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36121 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36122 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36123 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36124 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36125 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36126 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36127 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36128 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36129 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36130 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36131 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36132 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36133 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36134 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36135 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36136 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36137 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36138 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36139 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36140 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36141 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36142 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36143 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36144 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36145 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36146 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36147 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36148 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36149 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36150 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36151 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36152 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36153 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36154 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36155 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36156 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36157 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36158 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36159 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36160 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36161 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36162 * sysdeps/ieee754/s_lib_version.c: Likewise.
36163 * sysdeps/ieee754/s_matherr.c: Likewise.
36164 * sysdeps/ieee754/s_signgam.c: Likewise.
36165 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36166 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36167 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36168 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36169 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36170 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36171 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36172 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36173 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36174 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36175 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36176 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36177 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36178 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36179 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36180 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36181 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36182 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36183 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36184 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36185 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36186
1991fa03
JM
361872012-03-09 Joseph Myers <joseph@codesourcery.com>
36188
36189 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36190 * sunrpc/rpc_main.c: Likewise.
36191 * sunrpc/rpc_svcout.c: Likewise.
36192
60d6f5a6
DM
361932012-03-09 David S. Miller <davem@davemloft.net>
36194
36195 * include/math_private.h: New file.
36196
4962050e
JM
361972012-03-09 Joseph Myers <joseph@codesourcery.com>
36198
02a6f887
JM
36199 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36200 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36201 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36202 from <bits/socket_type.h>.
36203 (enum __socket_type): Don't define here.
36204 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36206 bits/socket_type.h.
36207
c6e013c1
JM
36208 [BZ #13566]
36209 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36210 checking __USE_GNU.
36211
4962050e
JM
36212 * Makerules ($(inst_includedir)/%.h): New rule.
36213 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36214 (install-others): Remove variable setting.
36215 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36216
38842f45
RH
362172012-03-08 Richard Henderson <rth@twiddle.net>
36218
67bb6da6
RH
36219 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36220 from macro to inline function; merge with the
36221 !__LIBC_INTERNAL_MATH_INLINES version.
36222 (__ieee754_sqrtf): Likewise.
36223
15194b4b
RH
36224 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36225 to inline function.
36226 (__rintf, __floor, __floorf): Likewise.
36227
64e21ede
RH
36228 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36229 macro to inline function.
36230 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36231
38842f45
RH
36232 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36233 not <math/math_private.h>.
36234
c64bf5fe
DM
362352012-03-08 David S. Miller <davem@davemloft.net>
36236
36237 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36238 copyright year.
36239 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36240
82d86f28
TS
362412012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36242
36243 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36244 normalization.
36245 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36246 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36247
aea5d727
UD
362482012-03-08 Ulrich Drepper <drepper@gmail.com>
36249
36250 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36251 be defined individually, they must be defined as a block. Define
36252 S for printing a string instead of hidint the different by using a
36253 macro for adding the 'l'.
36254 * stdio-common/tst-fphex-wide.c: Adjust.
36255
70bca0a3
MP
362562012-03-07 Marek Polacek <polacek@redhat.com>
36257
36258 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36259
65b81130
MP
362602012-03-08 Marek Polacek <polacek@redhat.com>
36261
36262 [BZ #13806]
36263 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36264 * stdio-common/tst-fphex.c: Define a few macros to make the
36265 test reusable. Use them.
36266 * stdio-common/tst-fphex-wide.c: New file.
36267
07037eeb
JM
362682012-03-08 Joseph Myers <joseph@codesourcery.com>
36269
a7a93d50
JM
36270 [BZ #6911]
36271 * manual/macros.texi (gnusystems): New macro.
36272 (nongnusystems): Likewise.
36273 (gnulinuxhurdsystems): Likewise.
36274 (gnuhurdsystems): Likewise..
36275 (gnulinuxsystems): Likewise.
36276 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36277 variants of the GNU system, not "GNU system".
36278 * manual/conf.texi: Likewise.
36279 * manual/errno.texi: Likewise. Update example of errno macro
36280 expansion.
36281 * manual/filesys.texi: Likewise.
36282 (getumask): Document as specific to GNU/Hurd.
36283 * manual/install.texi: Likewise. Reword some references to
36284 GNU/Linux.
36285 * manual/intro.texi: Likewise.
36286 * manual/io.texi: Likewise.
36287 (File Name Portability): Detail which constraints are inapplicable
36288 to all GNU systems and which are only inapplicable to GNU/Hurd.
36289 * manual/job.texi: Likewise.
36290 * manual/llio.texi: Likewise.
36291 (O_NOCTTY): Document as present on GNU/Linux.
36292 * manual/maint.texi: Likewise.
36293 * manual/memory.texi: Likewise.
36294 * manual/pattern.texi: Likewise.
36295 * manual/pipe.texi: Likewise.
36296 * manual/process.texi: Likewise.
36297 * manual/resource.texi: Likewise.
36298 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36299 child on GNU/Hurd.
36300 * manual/setjmp.texi: Likewise.
36301 * manual/signal.texi: Likewise.
36302 * manual/startup.texi: Likewise.
36303 * manual/stdio.texi: Likewise.
36304 * manual/terminal.texi: Likewise.
36305 (ONLCR): Document as POSIX.
36306 (OXTABS): Document availability on GNU/Linux as XTABS.
36307 (ONOEOT): Document availability separately from other bits.
36308 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36309 * manual/time.texi: Likewise.
36310 * manual/users.texi: Likewise.
36311 * INSTALL: Regenerated.
36312 * sysdeps/gnu/errlist.c: Regenerated.
36313
07037eeb
JM
36314 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36315 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36316 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36317 puts.
36318 * configure: Regenerated.
36319
d1d3431a
JM
363202012-03-07 Joseph Myers <joseph@codesourcery.com>
36321
af6a1e37
JM
36322 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36323 default includes instead of AC_HEADER_CHECK.
36324 * sysdeps/i386/configure: Regenerated.
36325
d1d3431a
JM
36326 [BZ #10716]
36327 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36328 * math/s_cacoshf.c (__cacoshf): Likewise.
36329 * math/s_cacoshl.c (__cacoshl): Likewise.
36330 * math/s_casinh.c (__casinh): Set signs of result from argument.
36331 * math/s_casinhf.c (__casinhf): Likewise.
36332 * math/s_casinhl.c (__casinhl): Likewise.
36333 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36334 (casinh_test): Add more tests.
36335 * sysdeps/i386/fpu/libm-test-ulps: Update.
36336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36337
482ff4da
UD
363382012-03-07 Ulrich Drepper <drepper@gmail.com>
36339
872fda05
UD
36340 * po/zh_TW.po: Update from translation team.
36341
a4300c7a
UD
36342 * login/Makefile (distribute): Remove variable.
36343 * catgets/Makefile: Likewise.
36344 * mach/Makefile: Likewise.
36345 * malloc/Makefile: Likewise.
36346 * misc/Makefile: Likewise.
36347 * iconv/Makefile: Likewise.
36348 * nscd/Makefile: Likewise.
36349 * hurd/Makefile: Likewise.
36350 * manual/Makefile: Likewise.
36351 * locale/Makefile: Likewise.
36352 * intl/Makefile: Likewise.
36353 * conform/Makefile: Likewise.
36354 * nss/Makefile: Likewise.
36355 * time/Makefile: Likewise.
36356 * soft-fp/Makefile: Likewise.
36357 * dirent/Makefile: Likewise.
36358 * gmon/Makefile: Likewise.
36359 * po/Makefile: Likewise.
36360 * rt/Makefile: Likewise.
36361 * socket/Makefile: Likewise.
36362 * math/Makefile: Likewise.
36363 * signal/Makefile: Likewise.
36364 * debug/Makefile: Likewise.
36365 * elf/Makefile: Likewise.
36366 * timezone/Makefile: Likewise.
36367 * stdlib/Makefile: Likewise.
36368 * iconvdata/Makefile: Likewise.
36369 * sunrpc/Makefile: Likewise.
36370 * io/Makefile: Likewise.
36371 * argp/Makefile: Likewise.
36372 * inet/Makefile: Likewise.
36373 * hesiod/Makefile: Likewise.
36374 * grp/Makefile: Likewise.
36375 * csu/Makefile: Likewise.
36376 * wctype/Makefile: Likewise.
36377 * crypt/Makefile: Likewise.
36378 * libio/Makefile: Likewise.
36379 * string/Makefile: Likewise.
36380 * nis/Makefile: Likewise.
36381 * resolv/Makefile: Likewise.
36382 * stdio-common/Makefile: Likewise.
36383 * wcsmbs/Makefile: Likewise.
36384 * dlfcn/Makefile: Likewise.
36385 * posix/Makefile: Likewise.
36386
3b7c4e74 36387 [BZ #6959]
482ff4da
UD
36388 * timezone/Makefile: Don't install timezone files, just the programs
36389 and scripts.
36390
f72ed77d
UD
363912012-03-06 Ulrich Drepper <drepper@gmail.com>
36392
a000466f
UD
36393 * nss/databases.def: Add missing gshadow entry.
36394
f72ed77d
UD
36395 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36396
a53b7a4e
MP
363972012-03-06 Marek Polacek <polacek@redhat.com>
36398
36399 [BZ #13726]
36400 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36401 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36402 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36403 * stdio-common/tst-long-dbl-fphex.c: New file.
36404
e9258400
DM
364052012-03-06 David S. Miller <davem@davemloft.net>
36406
36407 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36408 (set_obp_int): New function.
36409 (get_obp_int): New function.
36410 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
36411 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36412 Avoid unused variable warnings on 'val' and use builtin_expect.
36413 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36414 __builtin_expect.
e9258400
DM
36415 (INLINE_CLONE_SYSCALL): Likewise.
36416
3bd2c723
DM
364172012-03-05 David S. Miller <davem@davemloft.net>
36418
36419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36420
bbb78d03
AS
364212012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36422
884c5db4
AS
36423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36424
bbb78d03
AS
36425 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36426 only for |x| >= 40.
36427 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36428
1c9f702a 364292012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
36430
36431 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36432 Replace gettimeofday with __vdso_gettimeofday.
36433
7be16f82
RM
36434 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36435 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36436 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
36437
36438 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36439 time with __vdso_time.
36440
ed58a00f
JM
364412012-03-05 Joseph Myers <joseph@codesourcery.com>
36442
36443 * manual/lang.texi (size_t): Note types to which size_t may be
36444 equivalent with the GNU C Library, but do not describe when
36445 differences between them are significant.
36446
30ee4ced
AJ
364472012-03-05 Andreas Jaeger <aj@suse.de>
36448
36449 * sysdeps/i386/fpu/libm-test-ulps: Update.
36450
b7cd39e8
JM
364512012-03-05 Joseph Myers <joseph@codesourcery.com>
36452
36453 [BZ #3976]
36454 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36455 (__ieee754_pow): Save and restore rounding mode and use
36456 round-to-nearest for main computations.
36457 * math/libm-test.inc (pow_test_tonearest): New function.
36458 (pow_test_towardzero): Likewise.
36459 (pow_test_downward): Likewise.
36460 (pow_test_upward): Likewise.
36461 (main): Call the new functions.
36462 * sysdeps/i386/fpu/libm-test-ulps: Update.
36463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36464
36465 [BZ #3976]
36466 * math/libm-test.inc (cosh_test_tonearest): New function.
36467 (cosh_test_towardzero): Likewise.
36468 (cosh_test_downward): Likewise.
36469 (cosh_test_upward): Likewise.
36470 (sinh_test_tonearest): Likewise.
36471 (sinh_test_towardzero): Likewise.
36472 (sinh_test_downward): Likewise.
36473 (sinh_test_upward): Likewise.
36474 (main): Call the new functions.
36475 * sysdeps/i386/fpu/libm-test-ulps: Update.
36476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36477
6c6a98c9
TV
364782012-03-05 Tom de Vries <tom@codesourcery.com>
36479
36480 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36481 default stack guard is set in last bytes.
36482 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36483
21bb2d2e 364842012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 36485
21bb2d2e 36486 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 36487
21bb2d2e
AJ
36488 [BZ #13656]
36489 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36490 possibly allocate from heap instead of stack.
36491 * stdio-common/bug-vfprintf-nargs.c: New file.
36492 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 36493
c6922934
AS
364942012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36495
36496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36497
bc957d53
MP
364982012-03-03 Marek Polacek <polacek@redhat.com>
36499
36500 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36501 * math/math_private.h: Likewise.
36502 * stdlib/tst-strtod.c: Likewise.
36503 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36504 * sysdeps/x86_64/bits/atomic.h: Likewise.
36505
6358490d
DM
365062012-03-02 David S. Miller <davem@davemloft.net>
36507
36508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36512 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36513 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36514 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36515 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36516
01ae168d
RM
365172012-03-02 Roland McGrath <roland@hack.frob.com>
36518
d9a17c07
RM
36519 [BZ #13792]
36520 * manual/examples/README: New file, says the example source files
36521 can be used under GPL>=2.
36522 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36523 line containing just "*/".
36524 * manual/examples/add.c: Add copyright header (GPL>=2).
36525 * manual/examples/argp-ex1.c: Likewise.
36526 * manual/examples/argp-ex2.c: Likewise.
36527 * manual/examples/argp-ex3.c: Likewise.
36528 * manual/examples/argp-ex4.c: Likewise.
36529 * manual/examples/atexit.c: Likewise.
36530 * manual/examples/db.c: Likewise.
36531 * manual/examples/dir.c: Likewise.
36532 * manual/examples/dir2.c: Likewise.
36533 * manual/examples/execinfo.c: Likewise.
36534 * manual/examples/filecli.c: Likewise.
36535 * manual/examples/filesrv.c: Likewise.
36536 * manual/examples/fmtmsgexpl.c: Likewise.
36537 * manual/examples/genpass.c: Likewise.
36538 * manual/examples/inetcli.c: Likewise.
36539 * manual/examples/inetsrv.c: Likewise.
36540 * manual/examples/isockad.c: Likewise.
36541 * manual/examples/longopt.c: Likewise.
36542 * manual/examples/memopen.c: Likewise.
36543 * manual/examples/memstrm.c: Likewise.
36544 * manual/examples/mkfsock.c: Likewise.
36545 * manual/examples/mkisock.c: Likewise.
36546 * manual/examples/mygetpass.c: Likewise.
36547 * manual/examples/pipe.c: Likewise.
36548 * manual/examples/popen.c: Likewise.
36549 * manual/examples/rprintf.c: Likewise.
36550 * manual/examples/search.c: Likewise.
36551 * manual/examples/select.c: Likewise.
36552 * manual/examples/setjmp.c: Likewise.
36553 * manual/examples/sigh1.c: Likewise.
36554 * manual/examples/sigusr.c: Likewise.
36555 * manual/examples/stpcpy.c: Likewise.
36556 * manual/examples/strdupa.c: Likewise.
36557 * manual/examples/strftim.c: Likewise.
36558 * manual/examples/strncat.c: Likewise.
36559 * manual/examples/subopt.c: Likewise.
36560 * manual/examples/swapcontext.c: Likewise.
36561 * manual/examples/termios.c: Likewise.
36562 * manual/examples/testopt.c: Likewise.
36563 * manual/examples/testpass.c: Likewise.
36564 * manual/examples/timeval_subtract.c: Likewise.
36565
01ae168d
RM
36566 [BZ #13792]
36567 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36568 function to ...
36569 * manual/timeval_subtract.c.texi: ... here, new file.
36570
49efa33d
DM
365712012-03-02 David S. Miller <davem@davemloft.net>
36572
36573 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36574
28afd92d
JM
365752012-03-02 Joseph Myers <joseph@codesourcery.com>
36576
804360ed
JM
36577 [BZ #3976]
36578 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36579 (__sin): Save and restore rounding mode and use round-to-nearest
36580 for all computations.
36581 (__cos): Save and restore rounding mode and use round-to-nearest
36582 for all computations.
36583 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36584 <fenv.h>.
36585 (tan): Save and restore rounding mode and use round-to-nearest for
36586 all computations.
36587 * math/libm-test.inc (cos_test_tonearest): New function.
36588 (cos_test_towardzero): Likewise.
36589 (cos_test_downward): Likewise.
36590 (cos_test_upward): Likewise.
36591 (sin_test_tonearest): Likewise.
36592 (sin_test_towardzero): Likewise.
36593 (sin_test_downward): Likewise.
36594 (sin_test_upward): Likewise.
36595 (tan_test_tonearest): Likewise.
36596 (tan_test_towardzero): Likewise.
36597 (tan_test_downward): Likewise.
36598 (tan_test_upward): Likewise.
36599 (main): Call the new functions.
36600 * sysdeps/i386/fpu/libm-test-ulps: Update.
36601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36602
a6d06d7b
JM
36603 [BZ #10135]
36604 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36605 small n, then large n, before computing and testing k+n.
36606 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36608 Likewise.
36609 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36610 Likewise.
36611 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36612 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36613 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36614 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36615 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36616 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36617 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36618 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36619 * math/libm-test.inc (scalbn_test): Add more tests.
36620 (scalbln_test): Likewise.
36621
07e12bb3
JM
36622 * manual/filesys.texi (mode_t): Describe constraints on size and
36623 signedness, not exact equivalence to a particular type.
36624 (ino_t): Likewise.
36625 (ino64_t): Likewise.
36626 (dev_t): Likewise.
36627 (nlink_t): Likewise.
36628 (blkcnt_t): Likewise.
36629 (blkcnt64_t): Likewise.
36630 * manual/llio.texi (off_t): Likewise.
36631
28afd92d
JM
36632 [BZ #3976]
36633 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36634 (__ieee754_exp): Save and restore rounding mode and use
36635 round-to-nearest for all computations.
36636 * math/libm-test.inc (exp_test_tonearest): New function.
36637 (exp_test_towardzero): Likewise.
36638 (exp_test_downward): Likewise.
36639 (exp_test_upward): Likewise.
36640 (main): Call the new functions.
36641 * sysdeps/i386/fpu/libm-test-ulps: Update.
36642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36643
b1eeb65d
CD
366442012-03-01 Chris Demetriou <cgd@google.com>
36645
36646 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36647 have predictable order.
36648
53362a4b
DM
366492012-03-01 David S. Miller <davem@davemloft.net>
36650
3c969083
DM
36651 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36652
759707de
DM
36653 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36654 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36655 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36656 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36657
dfdb8ff2
DM
36658 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36659 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36660 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36662 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36663 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36664 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36665 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36666 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36667
ead89f96
DM
36668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36669
7f66bd07
DM
36670 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36671 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36672 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36673
53362a4b
DM
36674 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36675 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36676 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36677 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36678 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36679 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36680 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36681 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36682 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36683 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36684 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36685 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36687 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36688 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36690 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36691 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36692 * sysdeps/sparc/elf/configure: Regenerated.
36693
7b1902cb
JM
366942012-03-01 Joseph Myers <joseph@codesourcery.com>
36695
bec039bc
JM
36696 * configure.in (AS, LD): Require binutils 2.20 or later.
36697 * configure: Regenerated.
36698 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36699 as required minimum version.
36700 * INSTALL: Regenerated.
36701
7b1902cb
JM
36702 [BZ #2541]
36703 [BZ #4108]
36704 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36705 before squaring exponent.
36706 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36707 bottom long double and 27 bits of top long double before squaring
36708 exponent.
36709 * math/libm-test.inc (erfc_test): Add more tests.
36710 * sysdeps/i386/fpu/libm-test-ulps: Update.
36711 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36713
f775c276
KT
367142012-03-01 Kai Tietz <ktietz@redhat.com>
36715
36716 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36717 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36718 containing bit-fields.
36719 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36720 * soft-fp/single.h (_FP_UNION_S): Likewise.
36721 * soft-fp/double.h (_FP_UNION_D): Likewise.
36722
5b8a4d4a
JM
367232012-02-29 Joseph Myers <joseph@codesourcery.com>
36724
0bab47b6
JM
36725 [BZ #13786]
36726 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36727 not include ../strcmp.S.
36728 [USE_AS_STRNCASECMP_L]: Likewise.
36729 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36730 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36731 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36732 (__strncasecmp_l_ia32): Define as alias to
36733 __strncasecmp_l_nonascii.
36734
0fcad3e2
JM
36735 [BZ #5794]
36736 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36737 * sysdeps/i386/fpu/libm-test-ulps: Update.
36738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36739
5b8a4d4a
JM
36740 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36742
8fdceb2e
JL
367432012-02-29 Jeff Law <law@redhat.com>
36744
36745 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36746 out of bounds read.
36747
1f393a11
MP
367482012-02-29 Marek Polacek <polacek@redhat.com>
36749
36750 [BZ #13706]
36751 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36752 * elf/Makefile: Add rules to run tst-unused-dep.out.
36753
8847f037
DM
367542012-02-28 David S. Miller <davem@davemloft.net>
36755
36756 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36757 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36758 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36759 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36760 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36761 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36762
169d7f11
JM
367632012-02-29 Joseph Myers <joseph@codesourcery.com>
36764
36765 * math/libm-test.inc (llround_test): Move one test from
36766 lround_test. Use TEST_f_L in moved test.
36767 (lround_test): Move misplaced test to llround_test. Add testcase
36768 from bug 2561.
36769
39adf059
UD
367702012-02-28 Ulrich Drepper <drepper@gmail.com>
36771
36772 * sysdeps/x86_64/fpu/e_expf.S: New file.
36773 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36774
71b5d1c5
SB
367752012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36776
36777 [BZ #13637]
36778 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36779 of remain_len that may cause incomplete multi-byte character and
36780 false match.
36781 * posix/bug-regex33.c: New file.
36782 * posix/Makefile (tests): Add bug-regex33.
36783
1f77f049
JM
367842012-02-28 Joseph Myers <joseph@codesourcery.com>
36785
36786 * manual/macros.texi: New file.
36787 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36788 * manual/libc.texinfo: Include macros.texi.
36789 * manual/creatute.texi: Likewise.
36790 * manual/install.texi: Likewise.
36791 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36792 @glibcadj{} in references to the GNU C Library.
36793 * manual/charset.texi: Likewise.
36794 * manual/conf.texi: Likewise.
36795 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36796 when not using those macros.
36797 * manual/creature.texi: Likewise.
36798 * manual/crypt.texi: Likewise.
36799 * manual/errno.texi: Likewise.
36800 * manual/filesys.texi: Likewise.
36801 * manual/header.texi: Likewise.
36802 * manual/install.texi: Likewise.
36803 * manual/intro.texi: Likewise.
36804 * manual/io.texi: Likewise.
36805 * manual/job.texi: Likewise.
36806 * manual/lang.texi: Likewise.
36807 * manual/libc.texiinfo: Likewise.
36808 * manual/llio.texi: Likewise.
36809 * manual/locale.texi: Likewise.
36810 * manual/maint.texi: Likewise.
36811 * manual/math.texi: Likewise.
36812 * manual/memory.texi: Likewise.
36813 * manual/message.texi: Likewise.
36814 * manual/nss.texi: Likewise.
36815 * manual/pattern.texi: Likewise.
36816 * manual/process.texi: Likewise.
36817 * manual/resource.texi: Likewise.
36818 * manual/search.texi: Likewise.
36819 * manual/setjmp.texi: Likewise.
36820 * manual/signal.texi: Likewise.
36821 * manual/socket.texi: Likewise.
36822 * manual/startup.texi: Likewise.
36823 * manual/stdio.texi: Likewise.
36824 * manual/string.texi: Likewise.
36825 * manual/sysinfo.texi: Likewise.
36826 * manual/syslog.texi: Likewise.
36827 * manual/terminal.texi: Likewise.
36828 * manual/time.texi: Likewise.
36829 * manual/users.texi: Likewise.
36830 * INSTALL: Regenerated.
36831 * NOTES: Regenerated.
d40c5d54 36832 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36833
450bf206
AS
368342012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36835
36836 * include/dirent.h: Include <dirstream.h> before
36837 <dirent/dirent.h>.
36838
741a235b
DM
368392012-02-28 David S. Miller <davem@davemloft.net>
36840
36841 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36842 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36843 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36844 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36845
d6b5aa58
DM
368462012-02-27 David S. Miller <davem@davemloft.net>
36847
1aff59a3
DM
36848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36850 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36851 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36852
d6b5aa58
DM
36853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36854 frame pointer instead of stack pointer relative arg slot.
36855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36856 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36857 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36858
433f48bf
CD
368592012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36860
36861 [BZ #3992]
36862 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36863
d674b76d
DM
368642012-02-27 David S. Miller <davem@davemloft.net>
36865
36866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36870 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36871 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36872 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36873 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36874
0e7727f7
JM
368752012-02-27 Joseph Myers <joseph@codesourcery.com>
36876
36877 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36878 later. Allow versions 5-9.
43be4ca2 36879 * configure: Regenerated.
0e7727f7
JM
36880 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36881 required minimum version and 4.6 as recommended version. Do not
36882 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36883 * INSTALL: Regenerated.
0e7727f7 36884
a78bc654
DM
368852012-02-27 David S. Miller <davem@davemloft.net>
36886
428d5830
DM
36887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36891 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36892 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36893 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36894 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36895
a78bc654
DM
36896 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36897 manipulate bits before adding and subtracting TWO112[sx].
36898 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36899
4579f81c
RM
369002012-02-27 Roland McGrath <roland@hack.frob.com>
36901
36c8acb4
RM
36902 [BZ #13775]
36903 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36904 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36905 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36906 being in POSIX, because they are in 1003.1-2008.
36907
84ad622b
RM
36908 * rt/tst-aio.c: Include <fcntl.h>.
36909 * rt/tst-aio7.c: Likewise.
36910 * rt/tst-aio64.c: Likewise.
36911
4579f81c
RM
36912 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36913
abd923db
JM
369142012-02-27 Joseph Myers <joseph@codesourcery.com>
36915
36916 * manual/install.texi (--with-headers): Describe headers as
36917 interface headers, not private headers.
36918 (Specific advice for GNU/Linux systems): Describe use of headers
36919 from "make headers_install", not private headers from older
36920 kernels.
43be4ca2 36921 * INSTALL: Regenerated.
abd923db
JM
36922 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36923 Change to 2.6.19.
36924 * sysdeps/unix/sysv/linux/configure: Regenerated.
36925
6664049b
JM
36926 * manual/llio.texi (fclean): Remove documentation.
36927
bb8b6697
JM
36928 * manual/Makefile (libc-texi-generated): New variable. Include
36929 version.texi.
36930 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36931 $(libc-texi-generated), not duplicated list of files.
36932 (version.texi, stamp-version): New rules.
36933 (realclean): Remove $(libc-texi-generated), not individual files
36934 from that list. Do not remove dir-add.texinfo.
36935 * manual/libc.texinfo: Comment out uses of edition numbers and
36936 references to printed manual. Remove last-updated dates.
36937 (EDITION): Comment out.
36938 (ISBN): Likewise.
36939 (VERSION, UPDATED): Remove.
36940 (version.texi): Include.
36941
12e5c3b9
AS
369422012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36943
36944 * sysdeps/posix/spawni.c: Include <signal.h>.
36945 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36946 * sysdeps/pthread/aio_fsync.c: Likewise.
36947
4efeffc1 369482012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36949
ba63ba08
UD
36950 * conform/Makefile (tests): Run only when not cross-compiling and
36951 when fast-check is not defined.
36952
d94a4670
UD
36953 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36954 * conform/data/limits.h-data: Fixes for POSIX2008.
36955 * conform/run-conformtest.sh: Run all tests.
36956 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36957 headers.
36958 * include/bits/dlfcn.h: Likewise.
36959 * include/langinfo.h: Likewise.
36960 * include/monetary.h: Likewise.
36961 * include/sys/poll.h: Likewise.
36962
36963 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36964 for __USE_GNU.
36965 * posix/spawn.h: Define __need_sigset_t.
36966 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36967 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36968 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36969 to get sigevent_t only.
36970 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36971 only for __USE_GNU.
36972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36973 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36974 process_vm_writev only for __USE_GNU.
36975 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36976
36977 * conform/Makefile: For now ignore errors from run-conformtest.
36978 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36979 POSIX to avoid namespace pollution. Don't prepend headers.
36980 * conform/data/aio.h-data: Fixes for POSIX testing.
36981 * conform/data/fcntl.h-data: Likewise.
36982 * conform/data/glob.h-data: Likewise.
36983 * conform/data/grp.h-data: Likewise.
36984 * conform/data/pthread.h-data: Likewise.
36985 * conform/data/pwd.h-data: Likewise.
36986 * conform/data/signal.h-data: Likewise.
36987 * conform/data/spawn.h-data: Likewise.
36988 * conform/data/stdio.h-data: Likewise.
36989 * conform/data/stdlib.h-data: Likewise.
36990 * conform/data/stropts.h-data: Likewise.
36991 * conform/data/sys/mman.h-data: Likewise.
36992 * conform/data/sys/stat.h-data: Likewise.
36993 * conform/data/sys/types.h-data: Likewise.
36994 * conform/data/sys/wait.h-data: Likewise.
36995 * conform/data/time.h-data: Likewise.
36996 * conform/data/unistd.h-data: Likewise.
36997 * conform/data/utime.h-data: Likewise.
36998
36999 * io/sys/stat.h: fchmod was always in POSIX.
37000 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37001 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37002 * rt/aio.h: Define __need_timespec before including <time.h>.
37003 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37004 struct. Add forward declaration of pthread_attr_t and use it in
37005 sigevent.
37006 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37007 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37008 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37009 always remove CLK_TCK definition.
37010
c20105c3
AS
370112012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37012
37013 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37014
7a270350
UD
370152012-02-25 Ulrich Drepper <drepper@gmail.com>
37016
31341567
UD
37017 * conform/run-conformtest.sh: New file.
37018 * conform/Makefile: Run run-conformtest for tests.
37019 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37020 support.
37021
37022 * conform/data/uchar.h-data: New file.
37023 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37024 * conform/data/arpa/inet.h-data: Likewise.
37025 * conform/data/assert.h-data: Likewise.
37026 * conform/data/complex.h-data: Likewise.
37027 * conform/data/cpio.h-data: Likewise.
37028 * conform/data/ctype.h-data: Likewise.
37029 * conform/data/dirent.h-data: Likewise.
37030 * conform/data/dlfcn.h-data: Likewise.
37031 * conform/data/errno.h-data: Likewise.
37032 * conform/data/fcntl.h-data: Likewise.
37033 * conform/data/float.h-data: Likewise.
37034 * conform/data/fmtmsg.h-data: Likewise.
37035 * conform/data/fnmatch.h-data: Likewise.
37036 * conform/data/ftw.h-data: Likewise.
37037 * conform/data/glob.h-data: Likewise.
37038 * conform/data/grp.h-data: Likewise.
37039 * conform/data/iconv.h-data: Likewise.
37040 * conform/data/inttypes.h-data: Likewise.
37041 * conform/data/langinfo.h-data: Likewise.
37042 * conform/data/libgen.h-data: Likewise.
37043 * conform/data/limits.h-data: Likewise.
37044 * conform/data/locale.h-data: Likewise.
37045 * conform/data/math.h-data: Likewise.
37046 * conform/data/monetary.h-data: Likewise.
37047 * conform/data/mqueue.h-data: Likewise.
37048 * conform/data/ndbm.h-data: Likewise.
37049 * conform/data/net/if.h-data: Likewise.
37050 * conform/data/netdb.h-data: Likewise.
37051 * conform/data/netinet/in.h-data: Likewise.
37052 * conform/data/nl_types.h-data: Likewise.
37053 * conform/data/poll.h-data: Likewise.
37054 * conform/data/pthread.h-data: Likewise.
37055 * conform/data/pwd.h-data: Likewise.
37056 * conform/data/regex.h-data: Likewise.
37057 * conform/data/sched.h-data: Likewise.
37058 * conform/data/search.h-data: Likewise.
37059 * conform/data/semaphore.h-data: Likewise.
37060 * conform/data/setjmp.h-data: Likewise.
37061 * conform/data/signal.h-data: Likewise.
37062 * conform/data/spawn.h-data: Likewise.
37063 * conform/data/stdarg.h-data: Likewise.
37064 * conform/data/stdio.h-data: Likewise.
37065 * conform/data/stdlib.h-data: Likewise.
37066 * conform/data/string.h-data: Likewise.
37067 * conform/data/strings.h-data: Likewise.
37068 * conform/data/stropts.h-data: Likewise.
37069 * conform/data/sys/ipc.h-data: Likewise.
37070 * conform/data/sys/mman.h-data: Likewise.
37071 * conform/data/sys/msg.h-data: Likewise.
37072 * conform/data/sys/resource.h-data: Likewise.
37073 * conform/data/sys/select.h-data: Likewise.
37074 * conform/data/sys/sem.h-data: Likewise.
37075 * conform/data/sys/shm.h-data: Likewise.
37076 * conform/data/sys/socket.h-data: Likewise.
37077 * conform/data/sys/stat.h-data: Likewise.
37078 * conform/data/sys/statvfs.h-data: Likewise.
37079 * conform/data/sys/time.h-data: Likewise.
37080 * conform/data/sys/timeb.h-data: Likewise.
37081 * conform/data/sys/times.h-data: Likewise.
37082 * conform/data/sys/types.h-data: Likewise.
37083 * conform/data/sys/uio.h-data: Likewise.
37084 * conform/data/sys/un.h-data: Likewise.
37085 * conform/data/sys/utsname.h-data: Likewise.
37086 * conform/data/sys/wait.h-data: Likewise.
37087 * conform/data/syslog.h-data: Likewise.
37088 * conform/data/tar.h-data: Likewise.
37089 * conform/data/termios.h-data: Likewise.
37090 * conform/data/utime.h-data: Likewise.
37091 * conform/data/utmpx.h-data: Likewise.
37092 * conform/data/varargs.h-data: Likewise.
37093 * conform/data/wchar.h-data: Likewise.
37094 * conform/data/wctype.h-data: Likewise.
37095 * conform/data/wordexp.h-data: Likewise.
37096
37097 * include/stropts.h: New file.
37098 * include/uchar.h: New file.
37099 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37100 * include/assert.h: Likewise.
37101 * include/ctype.h: Likewise.
37102 * include/dirent.h: Likewise.
37103 * include/dlfcn.h: Likewise.
37104 * include/fcntl.h: Likewise.
37105 * include/fnmatch.h: Likewise.
37106 * include/glob.h: Likewise.
37107 * include/grp.h: Likewise.
37108 * include/libio.h: Likewise.
37109 * include/locale.h: Likewise.
37110 * include/math.h: Likewise.
37111 * include/net/if.h: Likewise.
37112 * include/netdb.h: Likewise.
37113 * include/netinet/in.h: Likewise.
37114 * include/pthread.h: Likewise.
37115 * include/pwd.h: Likewise.
37116 * include/regex.h: Likewise.
37117 * include/sched.h: Likewise.
37118 * include/search.h: Likewise.
37119 * include/setjmp.h: Likewise.
37120 * include/signal.h: Likewise.
37121 * include/stdio.h: Likewise.
37122 * include/stdlib.h: Likewise.
37123 * include/string.h: Likewise.
37124 * include/sys/cdefs.h: Likewise.
37125 * include/sys/mman.h: Likewise.
37126 * include/sys/msg.h: Likewise.
37127 * include/sys/resource.h: Likewise.
37128 * include/sys/select.h: Likewise.
37129 * include/sys/socket.h: Likewise.
37130 * include/sys/stat.h: Likewise.
37131 * include/sys/statvfs.h: Likewise.
37132 * include/sys/time.h: Likewise.
37133 * include/sys/times.h: Likewise.
37134 * include/sys/uio.h: Likewise.
37135 * include/sys/utsname.h: Likewise.
37136 * include/sys/wait.h: Likewise.
37137 * include/termios.h: Likewise.
37138 * include/time.h: Likewise.
37139 * include/ulimit.h: Likewise.
37140 * include/unistd.h: Likewise.
37141 * include/utime.h: Likewise.
37142 * include/wchar.h: Likewise.
37143 * include/wctype.h: Likewise.
37144 * include/wordexp.h: Likewise.
37145
37146 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37147
7a270350
UD
37148 * time/time.h: TIME_UTC must be a macro.
37149 Make timespec_get available for ISO C11 only as well.
37150
7724defc
UD
371512012-02-24 Ulrich Drepper <drepper@gmail.com>
37152
37153 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37154 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37155
6b1d1d46
JM
371562012-02-24 Joseph Myers <joseph@codesourcery.com>
37157
37158 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37159
0f8bbd69
JM
371602012-02-24 Joseph Myers <joseph@codesourcery.com>
37161
37162 * manual/texinfo.tex: Update to version 2012-01-19.16.
37163
66ab80bc
JM
371642012-02-24 Joseph Myers <joseph@codesourcery.com>
37165
37166 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37167
74981cc5
RM
371682012-02-24 Roland McGrath <roland@hack.frob.com>
37169
ee968201
RM
37170 [BZ #13738]
37171 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37172 * manual/fdl-1.3.texi: New file.
37173 * manual/fdl-1.1.texi: File removed.
37174
74981cc5
RM
37175 [BZ #13738]
37176 * manual/libc.texinfo (FDL_VERSION): New @set.
37177 Use it for mention of FDL in cover text.
37178 (Documentation License): Use it in @include file name.
37179
7bb764bc
JM
371802012-02-22 Joseph Myers <joseph@codesourcery.com>
37181 Roland McGrath <roland@hack.frob.com>
37182
37183 [BZ #5461]
57f41c40
AS
37184 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37185 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37186 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37187 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37188 name.
37189 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37190
6cbeae47
JM
371912012-02-22 Joseph Myers <joseph@codesourcery.com>
37192
37193 [BZ #2547]
37194 [BZ #11365]
37195 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37196 manipulate bits before adding and subtracting TWO23[sx].
37197 * math/libm-test.inc (nearbyint_test): Add more tests.
37198
fe45ce09
JM
371992012-02-22 Joseph Myers <joseph@codesourcery.com>
37200
37201 [BZ #2548]
37202 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37203 bits before adding and subtracting TWO23[sx].
37204 * math/libm-test.inc (rint_test): Add more tests.
37205 (rint_test_tonearest): Likewise.
37206 (rint_test_towardzero): Likewise.
37207 (rint_test_downward): Likewise.
37208 (rint_test_upward: Likewise.
37209
ff3b3d82
JM
372102012-02-22 Joseph Myers <joseph@codesourcery.com>
37211
37212 [BZ #10110]
37213 * include/stdc-predef.h: New file. Extracted from features.h.
37214 * include/features.h: Include stdc-predef.h.
37215 * Makefile (headers): Add stdc-predef.h.
37216 * CONFORMANCE (Compiler limitations): Update.
37217
ef0aab35
JM
372182012-02-22 Joseph Myers <joseph@codesourcery.com>
37219
37220 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37221
58639409
DM
372222012-02-21 David S. Miller <davem@davemloft.net>
37223
37224 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37225 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37226
c0e70b25
DM
372272012-02-20 David S. Miller <davem@davemloft.net>
37228
37229 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37230 using a normal save/restore sequence, rather than allocating a
37231 dummy stack frame just to store a frame pointer and restore.
37232 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37233
fb06851d
JM
372342012-02-21 Joseph Myers <joseph@codesourcery.com>
37235
37236 * manual/install.texi: Fix stray word in line-wrapped comment.
37237
7a8b71c3
DM
372382012-02-20 David S. Miller <davem@davemloft.net>
37239
d510c123
DM
37240 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37241 both binutils and gcc support GOTDATA.
37242
0722d7c2
DM
37243 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37244 "rd %pc" in the PIC register setup sequences.
37245
3d2b3019
DM
37246 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37247 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37248 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37249 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37250 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37252 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37253 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37254 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37255 (SYSCALL_ERROR_HANDLER): Likewise.
37256 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37257 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37259 (SYSCALL_ERROR_HANDLER): Likewise.
37260
c80098a9
DM
37261 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37262 (HAVE_GCC_GOTDATA): New.
37263 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37264 relocation support in both binutils and gcc.
37265 * sysdeps/sparc/elf/configure: Regenerate.
37266
3a2545a0
DM
37267 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37268 * sysdeps/sparc/sparc32/elf/configure: Delete.
37269 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37270 * sysdeps/sparc/sparc64/elf/configure: Delete.
37271 * sysdeps/sparc/elf/configure.in: New file.
37272 * sysdeps/sparc/elf/configure: Generate.
37273
7a8b71c3
DM
37274 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37275 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37276 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37277 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37278 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37279
f1e86fca
JM
372802012-02-21 Joseph Myers <joseph@codesourcery.com>
37281
37282 * manual/install.texi: Do not mention specific glibc version
37283 numbers.
37284 * manual/libc.texinfo (VERSION, UPDATED): Update.
37285 (@copying): Use @copyright{} and range of years.
37286
0e7dfaef
JM
372872012-02-21 Joseph Myers <joseph@codesourcery.com>
37288
37289 [BZ #13695]
37290 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37291 [crti.S not in sysdirs] (generated): Do not append.
37292 [crti.S not in sysdirs] (omit-deps): Likewise.
37293 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37294 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37295 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37296 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37297 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37298 Likewise.
37299 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37300 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37301 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37302 * csu/defs.awk: Remove file.
37303 * sysdeps/generic/initfini.c: Likewise.
37304 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37305 variable.
37306 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37307 Likewise.
37308
599af3ca
JM
373092012-02-20 Joseph Myers <joseph@codesourcery.com>
37310
37311 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37312 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37313 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37314 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37315 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37316 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37317 <bits/epoll.h>.
37318 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37319 (__EPOLL_PACKED): Define to empty if not defined by
37320 <bits/epoll.h>.
37321 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37323 bits/epoll.h.
37324
0e499750
JM
373252012-02-20 Joseph Myers <joseph@codesourcery.com>
37326
37327 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37328 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37329 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37330 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37331 <bits/timerfd.h>.
37332 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37334 bits/timerfd.h.
37335
5ad91f6e
JM
373362012-02-20 Joseph Myers <joseph@codesourcery.com>
37337
37338 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37339 in C locale.
37340 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37341 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37344
06b99b02
AJ
373452012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37346
37347 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37348 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37349
7638c0fd
AS
373502012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37351
37352 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37353 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37354 defined.
37355 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37356 Likewise.
37357 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37358 entry for 2.16.
37359
92221550
AJ
373602012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37361
37362 * math/w_acos.c: Use non-signaling floating-point comparisons.
37363 * math/w_acosf.c: Likewise.
37364 * math/w_acosh.c: Likewise.
37365 * math/w_acoshf.c: Likewise.
37366 * math/w_acoshl.c: Likewise.
37367 * math/w_acosl.c: Likewise.
37368 * math/w_asin.c: Likewise.
37369 * math/w_asinf.c: Likewise.
37370 * math/w_asinl.c: Likewise.
37371 * math/w_atanh.c: Likewise.
37372 * math/w_atanhf.c: Likewise.
37373 * math/w_atanhl.c: Likewise.
37374 * math/w_exp2.c: Likewise.
37375 * math/w_exp2f.c: Likewise.
37376 * math/w_exp2l.c: Likewise.
37377 * math/w_j0.c: Likewise.
37378 * math/w_j0f.c: Likewise.
37379 * math/w_j0l.c: Likewise.
37380 * math/w_j1.c: Likewise.
37381 * math/w_j1f.c: Likewise.
37382 * math/w_j1l.c: Likewise.
37383 * math/w_jn.c: Likewise.
37384 * math/w_jnf.c: Likewise.
37385 * math/w_log.c: Likewise.
37386 * math/w_log10.c: Likewise.
37387 * math/w_log10f.c: Likewise.
37388 * math/w_log10l.c: Likewise.
37389 * math/w_log2.c: Likewise.
37390 * math/w_log2f.c: Likewise.
37391 * math/w_log2l.c: Likewise.
37392 * math/w_logf.c: Likewise.
37393 * math/w_logl.c: Likewise.
37394 * math/w_sqrt.c: Likewise.
37395 * math/w_sqrtf.c: Likewise.
37396 * math/w_sqrtl.c: Likewise.
37397 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37398 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37399 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37400 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37401 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37402
ebaf36eb
JM
374032012-02-19 Joseph Myers <joseph@codesourcery.com>
37404
37405 [BZ #9739]
37406 * manual/string.texi (strnlen): Use correct parameter name in
37407 equivalent expression.
37408
71c254a6
JM
374092012-02-19 Joseph Myers <joseph@codesourcery.com>
37410
37411 [BZ #11174]
37412 * manual/users.texi (seteuid): Consistently use neweuid for
37413 argument name.
37414
16d2c631
JM
374152012-02-19 Joseph Myers <joseph@codesourcery.com>
37416
37417 [BZ #13704]
37418 * manual/nss.texi (Services in the NSS configuration): Correct
37419 list of services in example configuration file.
37420
cd837b09
NB
374212012-02-19 Nick Bowler <nbowler@draconx.ca>
37422
37423 [BZ #11322]
37424 * manual/arith.texi: Remove statements about negative zero
37425 behaving identically to zero.
37426
02c4bbad
JM
374272012-02-18 Joseph Myers <joseph@codesourcery.com>
37428
37429 [BZ #5993]
37430 * manual/install.texi: Do not document upgrading from libc5.
37431
366842e7
JM
374322012-02-18 Joseph Myers <joseph@codesourcery.com>
37433
37434 [BZ #4596]
37435 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37436
dd54084d
DM
374372012-02-18 David S. Miller <davem@davemloft.net>
37438
37439 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37440 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37441 %o7 across the call.
37442 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37443 instead.
37444 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37445 SETUP_PIC_REG_LEAF.
37446 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37447 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37448 * sysdeps/sparc/crtn.S: Likewise.
37449
2bcc53a3
UD
374502012-02-17 Ulrich Drepper <drepper@gmail.com>
37451
37452 * aout/Makefile: Remove.
37453
09c093b5
RK
374542012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37455
37456 [BZ #13058]
37457 * manual/examples/argp-ex1.c (main): Format definition in GNU
37458 style.
37459 * manual/examples/argp-ex2.c (main): Likewise.
37460 * manual/examples/argp-ex3.c (main): Likewise.
37461 * manual/examples/argp-ex4.c (main): Likewise.
37462 * manual/examples/longopt.c (main): Use new-style prototype
37463 definition.
37464 * manual/examples/strncat.c (main): Specify return type and use
37465 (void) for arguments.
37466 * manual/examples/subopt.c (main): Use char **argv argument.
37467
2ee633a2
JM
374682012-02-17 Joseph Myers <joseph@codesourcery.com>
37469
37470 [BZ #5077]
37471 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37472 rounding modes.
37473
0520adde
FB
374742012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37475
37476 [BZ #6907]
37477 * manual/string.texi (strchr): Change when strchrnul is
37478 recommended.
37479
3f4081cd
DGM
374802012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37481
37482 [BZ #174]
37483 * manual/locale.texi (setlocale): Document LOCPATH.
37484
d1b10e78
JM
374852012-02-17 Joseph Myers <joseph@codesourcery.com>
37486
37487 [BZ #10210]
37488 * manual/process.texi (execle): Move @dots{} before last argument.
37489
79c6869c
PB
374902012-02-17 Paul Bolle <pebolle@tiscali.nl>
37491
37492 [BZ #12047]
37493 * manual/charset.texi (Generic Charset Conversion): Fix typo
37494 (LC_TYPE -> LC_CTYPE).
37495
cc6e48bc
NB
374962012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37497
37498 [BZ #5805]
37499 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37500 (scalbnf): Likewise.
37501 (scalbnl): Likewise.
37502 (scalbln): Likewise.
37503 (scalblnf): Likewise.
37504 (scalblnl): Likewise.
37505 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37506 (vwarnx): Likewise.
37507 (verr): Likewise.
37508 (verrx): Likewise.
37509 * manual/filesys.texi (telldir): Use braces around return type.
37510 * manual/llio.texi (mmap): Add space after comma.
37511 (mmap64): Likewise.
37512 * manual/math.texi (jn): Use @var{} on parameter names.
37513 (jnf): Likewise.
37514 (jnl): Likewise.
37515 (yn): Likewise.
37516 (ynf): Likewise.
37517 (ynl): Likewise.
37518 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37519 line.
37520 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37521 "...".
37522 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37523 (sched_get_priority_max): Likewise.
37524 * manual/signal.texi (sigvec): Add space after comma.
37525 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37526 names.
37527 (if_indextoname): Likewise.
37528 (if_freenameindex): Likewise.
37529 (sendto): Use ',' instead of '.' in prototype.
37530 * manual/startup.texi (syscall): Use @dots{} instead of literal
37531 "...".
37532 * manual/stdio.texi (__fpending): Separate initial words of
37533 paragraph from @deftypefun line.
37534 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37535 "...".
37536 (vsyslog): Use @var{} on parameter names.
37537 * manual/terminal.texi (stty): Use @var{} on parameter names.
37538 * manual/users.texi (getutmp): Use @var{} on parameter names.
37539 (getutmpx): Likewise.
37540
5b23062f
JM
375412012-02-17 Joseph Myers <joseph@codesourcery.com>
37542
37543 [BZ #6884]
37544 * manual/stdio.texi (fopen): Fix typos in description of
37545 ",ccs=STRING".
37546
8dee4833
AJ
375472012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37548
37549 [BZ #4026]
37550 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37551 get clock_id definition.
37552
9078ce93
TS
375532012-02-17 Thomas Schwinge <thomas@schwinge.name>
37554
37555 [BZ #4822]
37556 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37557 (madvise): Cast every argument to void on its own.
37558
3835c55f
JM
375592012-02-17 Joseph Myers <joseph@codesourcery.com>
37560
37561 [BZ #9902]
37562 * manual/startup.texi (Exit Status): Fix typo.
37563
35c47e37
JM
375642012-02-17 Joseph Myers <joseph@codesourcery.com>
37565
37566 [BZ #10140]
37567 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37568 * manual/examples/argp-ex2.c: Likewise.
37569 * manual/examples/argp-ex3.c: Likewise.
37570
e3b69ca7
RH
375712012-02-16 Richard Henderson <rth@redhat.com>
37572
37573 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37574 * sysdeps/s390/s390-32/initfini.c: Remove.
37575 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37576 * sysdeps/s390/s390-64/initfini.c: Remove.
37577
df83af67
KK
375782012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37579
37580 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37581 compiler output for sysdeps/generic/initfini.c.
37582 * sysdeps/sh/elf/initfini.c: Remove file.
37583
f63f3380
DM
375842012-02-16 David S. Miller <davem@davemloft.net>
37585
fb59b3a4
DM
37586 [BZ #11494]
37587 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37588
f63f3380
DM
37589 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37590 * sysdeps/sparc/crti.S: New file.
37591 * sysdeps/sparc/crtn.S: New file.
37592 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37593 * sysdeps/sparc/sparc64/Makefile: Likewise.
37594
df6a4a4a
MF
375952012-02-15 Mike Frysinger <vapier@gentoo.org>
37596
6dd8f3dc 37597 [BZ #3335]
df6a4a4a
MF
37598 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37599
1cac7236
RM
376002012-02-15 Roland McGrath <roland@hack.frob.com>
37601
d2c736f8
RM
37602 [BZ #4822]
37603 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37604
1cac7236
RM
37605 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37606 (write, read, close): Likewise.
37607 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37608
8e475601
JM
376092012-02-15 Joseph Myers <joseph@codesourcery.com>
37610
37611 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37612 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37613 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37614 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37615 <bits/signalfd.h>.
37616 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37618 bits/signalfd.h.
37619
ed656b40
MP
376202012-02-14 Marek Polacek <polacek@redhat.com>
37621
37622 * sysdeps/x86_64/crti.S: New file.
37623 * sysdeps/x86_64/crtn.S: New file.
37624 * sysdeps/x86_64/elf/initfini.c: Remove file.
37625
2a979d3a
JM
376262012-02-13 Joseph Myers <joseph@codesourcery.com>
37627
37628 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37629 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37630 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37631 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37632 <bits/inotify.h>.
37633 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37635 bits/inotify.h.
37636
2a418ac3
JM
376372012-02-13 Joseph Myers <joseph@codesourcery.com>
37638
37639 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37640 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37641 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37642 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37643 <bits/eventfd.h>.
37644 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37646 bits/eventfd.h.
37647
fb779be7
TS
376482012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37649
e19e83c5
RM
37650 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37651 __feraiseexcept instead of feraiseexcept.
7c35ffed 37652
fb779be7
TS
37653 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37654 nanosleep invocations.
37655 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37656 strings, and add error checking for a nanosleep invocations.
37657
59ba27a6
PE
376582012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37659
37660 Replace FSF snail mail address with URLs, as per GNU coding standards.
37661 Most of the snail mail addresses were wrong anyway, and omitting
37662 them makes the source code easier to maintain. Almost all of the
37663 changes are to license notices and to locale LC_IDENTIFICATION
37664 addresses, except for this one:
37665 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37666 not its snail mail address.
37667
57b957eb
RH
376682012-02-09 Richard Henderson <rth@twiddle.net>
37669
af850b1c
RH
37670 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37671 of kernel-features.h.
37672
57b957eb
RH
37673 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37674
6b73181a
MP
376752012-02-08 Marek Polacek <polacek@redhat.com>
37676
37677 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37678 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37679 * sysdeps/gnu/_G_config.h: Likewise.
37680 * sysdeps/generic/_G_config.h: Likewise.
37681
26ecc33a
AS
376822012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37683
6c6dbc63
AS
37684 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37685 tests.
37686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37687
e216c012
AS
37688 * sysdeps/powerpc/powerpc32/crti.S: New file.
37689 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37690 * sysdeps/powerpc/powerpc64/crti.S: New file.
37691 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37692
26ecc33a
AS
37693 * Makeconfig (have-initfini): Don't set.
37694 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37695 * configure.in (nopic_initfini): Don't substitute.
37696 * config.h.in (HAVE_INITFINI): Don't #undef.
37697 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37698 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37699
3add8e13
JM
377002012-02-08 Joseph Myers <joseph@codesourcery.com>
37701
37702 Support crti.S and crtn.S provided directly by architectures.
37703 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37704 [crti.S in sysdirs] (omit-deps): Likewise.
37705 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37706 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37707 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37708 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37709 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37710 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37711 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37712 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37713 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37714 compiler output for sysdeps/generic/initfini.c.
37715 * sysdeps/i386/elf/Makefile: Remove file.
37716 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37717
a22f12b4
MP
377182012-02-07 Marek Polacek <polacek@redhat.com>
37719
37720 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37721 * sysdeps/gnu/_G_config.h: Likewise.
37722 * sysdeps/mach/hurd/_G_config.h: Likewise.
37723
148cf100
MP
377242012-02-07 Marek Polacek <polacek@redhat.com>
37725
37726 * math/Makefile (tests): Add tst-CMPLX2.
37727 * math/tst-CMPLX2.c: New file.
37728
cfdc0dd7
AS
377292012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37730
84ba42c4
AS
37731 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37732
cfdc0dd7
AS
37733 * math/libm-test.inc (jn_test): Add missing L suffix.
37734
622c86f4
MP
377352012-02-06 Marek Polacek <polacek@redhat.com>
37736
37737 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37738 * sysdeps/i386/fpu/e_powf.S: Likewise.
37739 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37740 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37741 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37742 * sysdeps/i386/fpu/e_pow.S: Likewise.
37743 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37744 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37745 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37746 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37747 * sysdeps/i386/fpu/e_log2.S: Likewise.
37748 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37749 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37750 * sysdeps/i386/fpu/e_powl.S: Likewise.
37751 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37752 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37753 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37754 * sysdeps/i386/fpu/e_logl.S: Likewise.
37755 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37756 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37757 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37758 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37759 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37760 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37761 * sysdeps/i386/fpu/e_log.S: Likewise.
37762 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37763 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37764 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37765 * sysdeps/i386/fpu/e_logf.S: Likewise.
37766 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37767 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37768 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37769 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37770 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37771 * sysdeps/i386/fpu/e_log10.S: Likewise.
37772 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37773 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37774 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37775 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37776 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37777 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37778 * sysdeps/i386/asm-syntax.h: Likewise.
37779 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37780 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37781 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37782 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37783 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37784 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37785 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37786 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37787 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37788 * sysdeps/powerpc/sysdep.h: Likewise.
37789 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37790 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37791
d4a54ac6
JM
377922012-02-06 Joseph Myers <joseph@codesourcery.com>
37793
37794 [BZ #411]
37795 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37796
314054ea
JM
377972012-02-06 Joseph Myers <joseph@codesourcery.com>
37798
37799 * sysdeps/i386/sysdep.h: Include <features.h>.
37800 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37801 version.
37802
d8e0ca50
JM
378032012-02-05 Joseph Myers <joseph@codesourcery.com>
37804
37805 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37806 Define.
37807 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37808 LOAD_PIC_REG_STR.
37809
b1da7dd9
JM
378102012-02-03 Joseph Myers <joseph@codesourcery.com>
37811
37812 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37813 (SETUP_PIC_REG): Use GET_PC_THUNK.
37814 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37815 macro.
37816
9a1d9254
JM
378172012-02-03 Joseph Myers <joseph@codesourcery.com>
37818
37819 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37820 for non-PIC compilation.
37821 (SETUP_PIC_REG): Add .p2align directive.
37822 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37823 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37824 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37825 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37826 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37827 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37828 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37829 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37830 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37831 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37832 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37833 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37834 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37835 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37836 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37837 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37838 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37839 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37840 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37841 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37842 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37843 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37844 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37845 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37846 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37847 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37848 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37849 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37850 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37851 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37852 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37853 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37854 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37855 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37856 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37857 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37858 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37859 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37860 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37861 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37862 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37863
65dc3b75
JM
378642012-02-03 Joseph Myers <joseph@codesourcery.com>
37865
37866 * math/tst-CMPLX.c: Include <stdio.h>.
37867
d55bf177
JM
378682012-01-31 Joseph Myers <joseph@codesourcery.com>
37869
37870 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37871 float.
37872 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37873 * sysdeps/sparc/bits/mathdef.h: Likewise.
37874
69db4f8f
MP
378752012-01-31 Marek Polacek <polacek@redhat.com>
37876
37877 * libio/libio.h: Don't define _PARAMS.
37878 * locale/programs/config.h: Don't define PARAMS.
37879 * stdlib/strtol_l.c: Likewise.
37880 (__strtol_l): Remove PARAMS from the prototype.
37881
41b81892
UD
378822012-01-31 Ulrich Drepper <drepper@gmail.com>
37883
3b49edc0
UD
37884 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37885 names. Just use the correct names. Remove unnecessary wrapper
37886 functions.
37887 * malloc/arena.c: Likewise.
37888 * malloc/hooks.c: Likewise.
37889
41b81892
UD
37890 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37891 ARENA_TEST says not to. Simplify test for creation of a new arena.
37892 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37893
27a25b6e
UD
378942012-01-30 Ulrich Drepper <drepper@gmail.com>
37895
37896 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37897 into tail calls.
37898 (update_get_addr): New function.
37899 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37900 GET_ADDR_MODULE parameter.
37901
c8a89e7d
JM
379022012-01-30 Joseph Myers <joseph@codesourcery.com>
37903
37904 * crypt/cert.c: Remove __STDC__ conditionals.
37905 * crypt/crypt-entry.c: Likewise.
37906 * crypt/crypt_util.c: Likewise.
37907 * libio/filedoalloc.c: Likewise.
37908 * libio/fileops.c: Likewise.
37909 * libio/genops.c: Likewise.
37910 * libio/iofclose.c: Likewise.
37911 * libio/iofdopen.c: Likewise.
37912 * libio/iofopen.c: Likewise.
37913 * libio/iofopen64.c: Likewise.
37914 * libio/iogetdelim.c: Likewise.
37915 * libio/iopopen.c: Likewise.
37916 * libio/obprintf.c: Likewise.
37917 * libio/oldfileops.c: Likewise.
37918 * libio/oldiofclose.c: Likewise.
37919 * libio/oldiofdopen.c: Likewise.
37920 * libio/oldiofopen.c: Likewise.
37921 * libio/oldiopopen.c: Likewise.
37922 * libio/wfiledoalloc.c: Likewise.
37923 * libio/wgenops.c: Likewise.
37924 * locale/programs/xmalloc.c: Likewise.
37925 * misc/syslog.c: Likewise.
37926 * stdio-common/xbug.c: Likewise.
37927 * string/memchr.c: Likewise.
37928 * string/memcmp.c: Likewise.
37929 * string/memrchr.c: Likewise.
37930 * string/rawmemchr.c: Likewise.
37931 * sysdeps/posix/getcwd.c: Likewise.
37932 * time/strftime_l.c: Likewise.
37933
3b100462
JM
379342012-01-30 Joseph Myers <joseph@codesourcery.com>
37935
37936 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37937 * config.make.in (config-cflags-sse2avx): Define.
37938 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37939 Fix typo.
37940
607998af
CM
379412012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37942
37943 * scripts/config.guess: Update from upstream config git repository.
37944 * scripts/config.sub: Likewise.
37945
3601428f
CM
379462012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37947
3ac8b282
CM
37948 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37949 (EM_NUM): Update.
37950 (R_TILEPRO_*, R_TILEGX_*): New macros.
37951
e034841e
CM
37952 * scripts/firstversions.awk: Fix bug in version range handling.
37953
540d7568
CM
37954 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37955
3601428f
CM
37956 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37957
463de862
CM
37958 * include/sys/epoll.h: New file.
37959 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37960 libc_hidden_def.
37961
73139a76
UD
379622012-01-28 Ulrich Drepper <drepper@gmail.com>
37963
96bc5b45
UD
37964 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37965 Avoid unnecessary __WORDSIZE == 64 test.
37966 (fmaxf): Use VEX format if possible.
37967 (fmax): Likewise.
37968 (fminf): Likewise.
37969 (fmin): Likewise.
37970
56f6f6a2
UD
37971 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37972 * math/math_private.h: Remove libc_fegetround* and
37973 libc_fesetround*.
37974 * sysdeps/i386/configure.in: Check for -msse2avx.
37975 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37976 also if SSE2AVX is defined.
37977 Remove libc_fegetround* and libc_fesetround*.
37978 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37979 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37980 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37981 of HAS_YMM_USABLE.
37982 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37983 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37984 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37985 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37986 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37987
73139a76
UD
37988 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37989
d73f93a4
AZ
379902012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37991
37992 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37993 size is not set.
37994 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37995
6ee65ed6
UD
379962012-01-27 Ulrich Drepper <drepper@gmail.com>
37997
37998 [BZ #13618]
37999 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38000 relocation.
38001 * Makeconfig (libm): Define.
38002 * elf/Makefile: Add rules to build and run tst-relsort1.
38003 * elf/tst-relsort1.c: New file.
38004 * elf/tst-relsort1mod1.c: New file.
38005 * elf/tst-relsort1mod2.c: New file.
38006
8db21882
JM
380072012-01-27 Joseph Myers <joseph@codesourcery.com>
38008
38009 * math/s_ldexp.c: Remove __STDC__ conditionals.
38010 * math/s_ldexpf.c: Likewise.
38011 * math/s_ldexpl.c: Likewise.
38012 * math/s_nextafter.c: Likewise.
38013 * math/s_nexttowardf.c: Likewise.
38014 * math/s_significand.c: Likewise.
38015 * math/s_significandf.c: Likewise.
38016 * math/s_significandl.c: Likewise.
38017 * math/w_jnl.c: Likewise.
38018 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38019 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38020 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38021 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38022 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38024 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38025 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38026 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38027 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38028 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38029 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38030 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38031 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38032 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38033 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38034 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38035 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38037 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38038 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38039 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38040 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38041 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38042 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38043 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38044 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38045 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38046 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38047 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38048 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38049 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38050 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38051 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38052 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38053 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38054 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38055 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38056 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38057 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38058 * sysdeps/ieee754/k_standard.c: Likewise.
38059 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38060 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38061 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38062 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38063 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38064 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38065 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38066 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38067 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38068 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38069 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38070 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38071 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38072 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38073 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38075 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38077 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38078 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38079 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38080 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38081 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38082 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38083 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38084 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38085 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38087 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38088 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38089 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38090 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38091 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38092 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38093 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38094 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38095 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38096 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38097 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38098 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38099 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38100 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38101 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38102 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38103 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38105 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38106 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38107 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38108 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38110 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38111 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38112 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38113 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38114 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38115 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38116 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38117 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38118 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38119 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38120 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38121 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38122 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38123 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38125 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38126 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38127 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38129 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38130 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38131 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38132 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38133 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38134 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38137 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38138 * sysdeps/ieee754/s_matherr.c: Likewise.
38139 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38140 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38141 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38143
965a54a4
JM
381442012-01-26 Joseph Myers <joseph@codesourcery.com>
38145
38146 * crypt/md5.h: Remove __STDC__ conditionals.
38147 * libio/libioP.h: Likewise.
38148 * locale/programs/config.h: Likewise.
38149 * sysdeps/generic/sysdep.h: Likewise.
38150 * sysdeps/i386/asm-syntax.h: Likewise.
38151 * sysdeps/s390/asm-syntax.h: Likewise.
38152 * sysdeps/unix/sysdep.h: Likewise.
38153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38155
7071ad79
JM
381562012-01-26 Joseph Myers <joseph@codesourcery.com>
38157
38158 * libio/libio.h: Remove __STDC__ conditionals.
38159 * malloc/obstack.h: Likewise.
38160 * math/complex.h: Likewise.
38161 * math/math.h: Likewise.
38162 * sysdeps/generic/_G_config.h: Likewise.
38163 * sysdeps/gnu/_G_config.h: Likewise.
38164 * sysdeps/mach/hurd/_G_config.h: Likewise.
38165 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38166 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38167 * sysdeps/sparc/bits/mathdef.h: Likewise.
38168
afc5ed09
UD
381692012-01-26 Ulrich Drepper <drepper@gmail.com>
38170
38171 [BZ #13583]
38172 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38173 Clean up HAS_* macros.
afc5ed09 38174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38175 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38176 possible.
38177 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38178 HAS_AVX.
38179 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38180 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38181 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38182 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38183 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38184
bdb6de1d
JM
381852012-01-25 Joseph Myers <joseph@codesourcery.com>
38186
38187 * elf/tst-unique3.cc (gets): Remove declaration.
38188 * elf/tst-unique3lib.cc (gets): Likewise.
38189 * elf/tst-unique3lib2.cc (gets): Likewise.
38190 * elf/tst-unique4.cc (gets): Likewise.
38191
b15549e6
UD
381922012-01-24 Ulrich Drepper <drepper@gmail.com>
38193
38194 * include/stdio.h: Add C++ protection. Add gets declarations and
38195 definitions.
38196 * debug/tst-chk1.c: Don't declare gets here.
38197 * stdio-common/tst-gets.c: Likewise.
38198
a037381f
JM
381992012-01-24 Joseph Myers <joseph@codesourcery.com>
38200
38201 * posix/glob: Remove directory.
38202
f1d4aa75
JM
382032012-01-24 Joseph Myers <joseph@codesourcery.com>
38204
38205 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38206
81c0c964
PT
382072012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38208
38209 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38210 of the non-standard EPFNOSUPPORT.
38211
0ea698ae
ST
382122011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38213
38214 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38215 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38216 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38217
d220b117
UD
382182012-01-21 Ulrich Drepper <drepper@gmail.com>
38219
38220 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38221
3e1aa84e
UD
382222012-01-20 Ulrich Drepper <drepper@gmail.com>
38223
38224 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38225 transient errors.
38226 * nscd/grpcache.c (cache_addgr): Likewise.
38227 * nscd/hstcache.c (cache_addhst): Likewise.
38228 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38229 * nscd/pwdcache.c (cache_addpw): Likewise.
38230 * nscd/servicescache.c (cache_addserv): Likewise.
38231
400aa020
UD
382322012-01-16 Ulrich Drepper <drepper@gmail.com>
38233
d77e7869
UD
38234 * malloc/malloc.c: Various cleanups.
38235 * malloc/hooks.c: Likewise.
38236
400aa020
UD
38237 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38238 * stdlib/bug-fmtmsg1.c: New file.
38239
38240 * stdlib/fmtmsg.c (init): Add missing unlock.
38241 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38242
e0a309cf
MP
382432012-01-12 Marek Polacek <polacek@redhat.com>
38244
38245 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38246 and _GNU_SOURCE.
38247
929d11c7
WS
382482012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38249
38250 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38251 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38252 macro to ensure uniqueness of label name.
38253 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38254 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38255
41d0e869
UD
382562012-01-11 Ulrich Drepper <drepper@gmail.com>
38257
0cc5ed3b
UD
38258 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38259
41d0e869
UD
38260 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38261 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38262 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38263 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38264
a47a831a
UD
382652012-01-10 Ulrich Drepper <drepper@gmail.com>
38266
daa891c0
UD
38267 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38268
38269 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38270 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38271 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38272
e58ef0f2
UD
38273 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38274
a47a831a 38275 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38276 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38277 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38278 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38279
38280 * math/bits/math-finite.h: Add ldexp support.
38281
a0bfc9c7
MP
382822012-01-10 Marek Polacek <polacek@redhat.com>
38283
38284 * locale/programs/localedef.h (show_archive_content): Add noreturn
38285 attribute.
38286
d6e97a1d
UD
382872012-01-09 Ulrich Drepper <drepper@gmail.com>
38288
38289 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38290
d5835c26
UD
382912012-01-08 Ulrich Drepper <drepper@gmail.com>
38292
e5f484c6
UD
38293 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38294
d5835c26
UD
38295 * io/Makefile (headers): Add bits/poll2.h.
38296
d1f741e9
WS
382972011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38298
38299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38300 typo #include statement.
38301
ec09c1c4
UD
383022012-01-08 Ulrich Drepper <drepper@gmail.com>
38303
38304 * include/sys/cdefs.h: Define __attribute_alloc_size.
38305 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38306 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38307 * elf/pldd.c: Likewise.
38308 * iconv/iconv_charmap.c: Likewise.
38309 * iconv/iconvconfig.c: Likewise.
38310 * iconv/strtab.c: Likewise.
38311 * locale/programs/locale.c: Likewise.
38312 * locale/programs/localedef.h: Likewise.
38313 * locale/programs/simple-hash.c: Likewise.
38314 * nscd/nscd.h: Likewise.
38315 * nss/makedb.c: Likewise.
38316 * sysdeps/generic/ldconfig.h: Likewise.
38317 * locale/programs/localedef.c: Remove xmalloc prototype.
38318 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38319
20b38e03
PP
383202012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38321
38322 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38323 appropriate.
38324
a0da5fe1
UD
383252012-01-08 Ulrich Drepper <drepper@gmail.com>
38326
1d5a644a 38327 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38328 * math/tst-CMPLX.c: New file.
1d5a644a 38329
8784a6db
UD
38330 * math/complex.h (CMPLXL): Fix typo.
38331
d9a216c0
UD
38332 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38333 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38334 GLIBC_2.16.
38335 * debug/tst-chk1.c: Add poll and ppoll tests.
38336 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38337 * include/sys/poll.h: Add hidden proto for ppoll.
38338 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38339 * sysdeps/mach/hurd/ppoll.c: Likewise.
38340 * io/ppoll.c: Likewise.
38341 * debug/poll_chk.c: New file.
38342 * debug/ppoll_chk.c: New file.
38343 * include/bits/poll2.h: New file.
38344 * io/bits/poll2.h: New file.
38345
ac097f5c
UD
38346 [BZ #1350]
38347 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38348
2119dcfa
UD
38349 * configure.in: static is always set to yes. Remove.
38350 * config.make.in: Don't set build-static.
38351 * Makeconfig: Remove use of build-static.
38352 * dlfcn/Makefile: Likewise.
38353 * elf/Makefile: Likewise.
38354 * math/Makefile: Likewise.
38355 * misc/Makefile: Likewise.
38356 * nptl/Makefile: Likewise.
38357 * sysdeps/mach/hurd/Makefile: Likewise.
38358
121766a9
UD
38359 * configure.in: PWD_P is not used anymore.
38360 * config.make.in: Remove PWD_P entry.
38361
51a1d39c 38362 * configure.in: Remove last remnants of RANLIB.
8720d066 38363 No need to check for signed size_t anymore.
215f4bdc
UD
38364 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38365 and IA-64.
3857022a 38366 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
38367 * aclocal.m4: Likewise.
38368
d3ed7225
UD
38369 * wcsmbs/mbrtoc16.c: Implement using towc function.
38370 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38371 * wcsmbs/wcsmbsload.c: Likewise.
38372 * iconv/gconv_simple.c: Likewise.
38373 * iconv/gconv_int.h: Likewise.
38374 * iconv/gconv_builtin.h: Likewise.
38375 * iconv/iconv_prog.c: Remove CHAR16 handling.
38376
38377 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38378
38379 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38380
a0da5fe1
UD
38381 * configure.in: Remove --with-elf and --enable-bounded options.
38382 Dont set base_machine for ia64. More non-ELF conditions removed.
38383 Remove testing and setting of leading underscore information.
38384 * config.make.in (build-bounded): Set to no.
38385 * config.h.in: Remove NO_UNDERSCORES entry.
38386 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38387 them.
38388 * csu/start.c: Remove !NO_UNDERSCORE code.
38389 * locale/localeinfo.h: Likewise.
38390 * sysdeps/generic/machine-gmon.h: Likewise.
38391 * sysdeps/generic/sysdep.h: Likewise.
38392 * sysdeps/i386/sysdep.h: Likewise.
38393 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38394 * sysdeps/mach/sysdep.h: Likewise.
38395 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38396 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38397 * sysdeps/sh/sysdep.h: Likewise.
38398 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38399 * sysdeps/unix/i386/sysdep.S: Likewise.
38400 * sysdeps/unix/sparc/start.c: Likewise.
38401 * sysdeps/unix/sparc/sysdep.S: Likewise.
38402 * sysdeps/unix/sparc/sysdep.h: Likewise.
38403 * sysdeps/unix/start.c: Likewise.
38404 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38405 * sysdeps/x86_64/sysdep.h: Likewise.
38406
df78418a
UD
384072012-01-07 Ulrich Drepper <drepper@gmail.com>
38408
a784e502
UD
38409 [BZ #13553]
38410 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38411 for non-gcc.
38412 * argp/argp-fmtstream.h: Use const instead __const.
38413 * argp/argp.h: Likewise.
38414 * assert/assert.h: Likewise.
38415 * bits/fenv.h: Likewise.
38416 * bits/sched.h: Likewise.
38417 * bits/sigset.h: Likewise.
38418 * bits/sigthread.h: Likewise.
38419 * catgets/nl_types.h: Likewise.
38420 * conform/data/pthread.h-data: Likewise.
38421 * crypt/crypt-private.h: Likewise.
38422 * crypt/crypt.h: Likewise.
38423 * crypt/crypt_util.c: Likewise.
38424 * ctype/ctype.h: Likewise.
38425 * debug/execinfo.h: Likewise.
38426 * debug/mbsnrtowcs_chk.c: Likewise.
38427 * debug/mbsrtowcs_chk.c: Likewise.
38428 * debug/wcsnrtombs_chk.c: Likewise.
38429 * debug/wcsrtombs_chk.c: Likewise.
38430 * debug/wcstombs_chk.c: Likewise.
38431 * dirent/dirent.h: Likewise.
38432 * dlfcn/dlfcn.h: Likewise.
38433 * elf/neededtest4.c: Likewise.
38434 * grp/grp.h: Likewise.
38435 * gshadow/gshadow.h: Likewise.
38436 * iconv/gconv.h: Likewise.
38437 * iconv/gconv_int.h: Likewise.
38438 * iconv/gconv_simple.c: Likewise.
38439 * iconv/iconv.h: Likewise.
38440 * iconv/loop.c: Likewise.
38441 * iconv/skeleton.c: Likewise.
38442 * include/aio.h: Likewise.
38443 * include/aliases.h: Likewise.
38444 * include/argz.h: Likewise.
38445 * include/arpa/inet.h: Likewise.
38446 * include/assert.h: Likewise.
38447 * include/dirent.h: Likewise.
38448 * include/dlfcn.h: Likewise.
38449 * include/execinfo.h: Likewise.
38450 * include/fcntl.h: Likewise.
38451 * include/fenv.h: Likewise.
38452 * include/glob.h: Likewise.
38453 * include/grp.h: Likewise.
38454 * include/libintl.h: Likewise.
38455 * include/mntent.h: Likewise.
38456 * include/netdb.h: Likewise.
38457 * include/pwd.h: Likewise.
38458 * include/rpc/netdb.h: Likewise.
38459 * include/sched.h: Likewise.
38460 * include/search.h: Likewise.
38461 * include/shadow.h: Likewise.
38462 * include/signal.h: Likewise.
38463 * include/stdio.h: Likewise.
38464 * include/stdlib.h: Likewise.
38465 * include/string.h: Likewise.
38466 * include/sys/socket.h: Likewise.
38467 * include/sys/stat.h: Likewise.
38468 * include/sys/statfs.h: Likewise.
38469 * include/sys/statvfs.h: Likewise.
38470 * include/sys/syslog.h: Likewise.
38471 * include/sys/time.h: Likewise.
38472 * include/sys/uio.h: Likewise.
38473 * include/time.h: Likewise.
38474 * include/unistd.h: Likewise.
38475 * include/utmp.h: Likewise.
38476 * include/wchar.h: Likewise.
38477 * include/wctype.h: Likewise.
38478 * inet/aliases.h: Likewise.
38479 * inet/arpa/inet.h: Likewise.
38480 * inet/netinet/ether.h: Likewise.
38481 * inet/netinet/in.h: Likewise.
38482 * intl/libintl.h: Likewise.
38483 * io/bits/fcntl2.h: Likewise.
38484 * io/fcntl.h: Likewise.
38485 * io/ftw.h: Likewise.
38486 * io/sys/poll.h: Likewise.
38487 * io/sys/stat.h: Likewise.
38488 * io/sys/statfs.h: Likewise.
38489 * io/sys/statvfs.h: Likewise.
38490 * io/utime.h: Likewise.
38491 * libio/bits/stdio.h: Likewise.
38492 * libio/bits/stdio2.h: Likewise.
38493 * libio/libio.h: Likewise.
38494 * libio/libioP.h: Likewise.
38495 * libio/stdio.h: Likewise.
38496 * locale/lc-ctype.c: Likewise.
38497 * locale/locale.h: Likewise.
38498 * login/utmp.h: Likewise.
38499 * malloc/arena.c: Likewise.
38500 * malloc/malloc.c: Likewise.
38501 * malloc/malloc.h: Likewise.
38502 * malloc/mcheck.c: Likewise.
38503 * malloc/mtrace.c: Likewise.
38504 * math/bits/mathcalls.h: Likewise.
38505 * math/fenv.h: Likewise.
38506 * math/math_private.h: Likewise.
38507 * misc/bits/error.h: Likewise.
38508 * misc/bits/syslog.h: Likewise.
38509 * misc/err.h: Likewise.
38510 * misc/error.h: Likewise.
38511 * misc/fstab.h: Likewise.
38512 * misc/mntent.h: Likewise.
38513 * misc/regexp.h: Likewise.
38514 * misc/search.h: Likewise.
38515 * misc/sgtty.h: Likewise.
38516 * misc/sys/mman.h: Likewise.
38517 * misc/sys/syslog.h: Likewise.
38518 * misc/sys/uio.h: Likewise.
38519 * misc/sys/xattr.h: Likewise.
38520 * misc/ttyent.h: Likewise.
38521 * nis/rpcsvc/ypclnt.h: Likewise.
38522 * nss/nss.h: Likewise.
38523 * posix/bits/unistd.h: Likewise.
38524 * posix/fnmatch.h: Likewise.
38525 * posix/glob.h: Likewise.
38526 * posix/sched.h: Likewise.
38527 * posix/spawn.h: Likewise.
38528 * posix/sys/wait.h: Likewise.
38529 * posix/unistd.h: Likewise.
38530 * posix/wordexp.h: Likewise.
38531 * pwd/pwd.h: Likewise.
38532 * resolv/netdb.h: Likewise.
38533 * resource/sys/resource.h: Likewise.
38534 * rt/aio.h: Likewise.
38535 * rt/bits/mqueue2.h: Likewise.
38536 * rt/mqueue.h: Likewise.
38537 * shadow/shadow.h: Likewise.
38538 * signal/signal.h: Likewise.
38539 * socket/send.c: Likewise.
38540 * socket/sendto.c: Likewise.
38541 * socket/sys/socket.h: Likewise.
38542 * stdio-common/printf.h: Likewise.
38543 * stdlib/bits/stdlib.h: Likewise.
38544 * stdlib/fmtmsg.h: Likewise.
38545 * stdlib/monetary.h: Likewise.
38546 * stdlib/stdlib.h: Likewise.
38547 * stdlib/ucontext.h: Likewise.
38548 * streams/stropts.h: Likewise.
38549 * string/argz.h: Likewise.
38550 * string/bits/string2.h: Likewise.
38551 * string/string.h: Likewise.
38552 * string/strings.h: Likewise.
38553 * sunrpc/rpc/auth.h: Likewise.
38554 * sunrpc/rpc/auth_des.h: Likewise.
38555 * sunrpc/rpc/clnt.h: Likewise.
38556 * sunrpc/rpc/netdb.h: Likewise.
38557 * sunrpc/rpc/pmap_clnt.h: Likewise.
38558 * sunrpc/rpc/xdr.h: Likewise.
38559 * sysdeps/generic/inttypes.h: Likewise.
38560 * sysdeps/generic/net/if.h: Likewise.
38561 * sysdeps/generic/sys/swap.h: Likewise.
38562 * sysdeps/gnu/net/if.h: Likewise.
38563 * sysdeps/gnu/utmpx.h: Likewise.
38564 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38565 * sysdeps/i386/i486/bits/string.h: Likewise.
38566 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38567 * sysdeps/s390/bits/string.h: Likewise.
38568 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38569 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38570 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38571 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38572 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38573 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38574 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38575 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38576 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38577 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38578 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38579 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38580 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38581 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38582 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38583 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38584 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38586 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38587 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38588 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38589 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38590 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38591 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38592 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38593 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38594 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38595 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38596 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38597 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38598 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38599 * sysvipc/sys/ipc.h: Likewise.
38600 * sysvipc/sys/msg.h: Likewise.
38601 * sysvipc/sys/sem.h: Likewise.
38602 * sysvipc/sys/shm.h: Likewise.
38603 * termios/termios.h: Likewise.
38604 * time/sys/time.h: Likewise.
38605 * time/time.h: Likewise.
38606 * wcsmbs/bits/wchar2.h: Likewise.
38607 * wcsmbs/uchar.h: Likewise.
38608 * wcsmbs/wchar.h: Likewise.
38609 * wctype/wctype.h: Likewise.
38610
0269750c
UD
38611 [BZ #13551]
38612 * Makeconfig: Remove all but ELF support including AIX support.
38613 * Makerules: Likewise.
38614 * config.h.in: Likewise.
38615 * config.make.in: Likewise.
38616 * configure: Likewise.
38617 * configure.in: Likewise.
38618 * csu/Makefile: Likewise.
38619 * csu/version.c: Likewise.
38620 * debug/Makefile: Likewise.
38621 * dlfcn/Makefile: Likewise.
38622 * elf/Makefile: Likewise.
38623 * extra-lib.mk: Likewise.
38624 * iconv/Makefile: Likewise.
38625 * include/libc-symbols.h: Likewise.
38626 * include/shlib-compat.h: Likewise.
38627 * resolv/Makefile: Likewise.
38628 * resolv/res_libc.c: Likewise.
38629 * rt/Makefile: Likewise.
38630 * sysdeps/i386/asm-syntax.h: Likewise.
38631 * sysdeps/i386/sysdep.h: Likewise.
38632 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38633 * sysdeps/mach/sysdep.h: Likewise.
38634 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38635 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38636 * sysdeps/s390/asm-syntax.h: Likewise.
38637 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38639 * sysdeps/sh/sysdep.h: Likewise.
38640 * sysdeps/unix/sparc/sysdep.h: Likewise.
38641 * sysdeps/wordsize-32/divdi3.c: Likewise.
38642 * sysdeps/x86_64/sysdep.h: Likewise.
38643
00bbd29b
UD
38644 * argp/Versions: Remove _argp_unlock_xxx.
38645
38646 [BZ #13559]
38647 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38648 * abilist/libBrokenLocale.abilist: Likewise.
38649 * abilist/libanl.abilist: Likewise.
38650 * abilist/libc.abilist: Likewise.
38651 * abilist/libcrypt.abilist: Likewise.
38652 * abilist/libdl.abilist: Likewise.
38653 * abilist/libm.abilist: Likewise.
38654 * abilist/libnsl.abilist: Likewise.
38655 * abilist/libpthread.abilist: Likewise.
38656 * abilist/libresolv.abilist: Likewise.
38657 * abilist/librt.abilist: Likewise.
38658 * abilist/libthread_db.abilist: Likewise.
38659 * abilist/libutil.abilist: Likewise.
38660 * abilist/libnss_db.abilist: New file.
38661
38662 * scripts/abilist.awk: Add support for indirect functions.
38663
a2693a0e
UD
38664 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38665
3f05895f
UD
38666 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38667
ecb6fb48
UD
38668 * shlib-versions: Remove entries for ports architectures.
38669
664f8cb9
UD
38670 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38671 files in ports.
38672 * elf/stackguard-macros.h: Remove support for IA-64.
38673 * elf/tst-auditmod1.c: Likewise.
38674 * sysdeps/generic/ldsodefs.h: Likewise.
38675
7ae81d88
UD
38676 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38677 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38678 configure files.
38679
bdeba135
UD
38680 [BZ #13552]
38681 * configure.in: Remove --enable-omitfp support.
38682 * FAQ.in: Adjust.
38683 * config.make.in: Likewise.
38684 * Makeconfig: Likewise.
38685 * manual/install.texi: Likewise.
38686
d75a0a62
UD
38687 In case anyone cares, the IA-64 architecture could move to ports.
38688 * sysdeps/ia64/*: Removed.
38689 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38690 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38691
dcc9756b
UD
38692 [BZ #13555]
38693 * configure.in: Remove entries for unsupported architectures.
38694
d3761ebc 38695 [BZ #13533]
9954432e
UD
38696 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38697 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38698 routines.
38699 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38700 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38701 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38702 fall back to using wcrtomb.
38703 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38704 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38705 renaming.
38706 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38707 * wcsmbs/tst-c16c32-1.c: New file.
38708
38709 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38710 local variable.
38711
c3a87236
UD
38712 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38713
28926a1b
UD
38714 * elf/tst-unique3.cc: Add explicit declaration of gets.
38715 * elf/tst-unique3lib.cc: Likewise.
38716 * elf/tst-unique3lib2.cc: Likewise.
38717 * elf/tst-unique4.cc: Likewise.
38718
df78418a
UD
38719 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38720
8ecd6b2a
JM
387212012-01-06 Joseph Myers <joseph@codesourcery.com>
38722
38723 [BZ #13566]
38724 * assert/assert.h (static_assert): Don't define for C++.
38725 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38726 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38727
9f115170
UD
387282012-01-03 Ulrich Drepper <drepper@gmail.com>
38729
5e0d0300
UD
38730 * iconv/loop.c (single loop): Fix assertion in storing of
38731 remaining bytes.
38732
9f115170
UD
38733 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38734
81fb02b0
UD
387352012-01-01 Ulrich Drepper <drepper@gmail.com>
38736
38737 * posix/getconf.c: Update copyright year.
38738 * nss/getent.c: Likewise.
a316c1f6 38739 * nss/makedb.c: Likewise.
81fb02b0
UD
38740 * iconv/iconvconfig.c: Likewise.
38741 * iconv/iconv_prog.c: Likewise.
38742 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38743 * elf/pldd.c: Likewise.
38744 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38745 * catgets/gencat.c: Likewise.
38746 * csu/version.c: Likewise.
38747 * elf/ldd.bash.in: Likewise.
38748 * elf/sprof.c (print_version): Likewise.
38749 * locale/programs/locale.c: Likewise.
38750 * locale/programs/localedef.c: Likewise.
a316c1f6 38751 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38752 * nscd/nscd.c (print_version): Likewise.
38753 * debug/xtrace.sh: Likewise.
38754 * malloc/memusage.sh: Likewise.
38755 * malloc/mtrace.pl: Likewise.
38756 * debug/catchsegv.sh: Likewise.
38757
2ba92745
JJ
387582011-12-30 Jakub Jelinek <jakub@redhat.com>
38759
38760 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38761 pure attribute.
38762
dadebdae
UD
387632011-12-24 Ulrich Drepper <drepper@gmail.com>
38764
d3761ebc 38765 [BZ #13533]
db6af3eb
UD
38766 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38767 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38768 transformations.
38769 * iconv/gconv_int.h: Likewise.
38770 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38771 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38772 from libc for GLIBC_2.16.
38773 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38774 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38775 * wcsmbs/uchar.h: Really define mbstate_t.
38776 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38777 * wcsmbs/c16rtomb.c: New file.
38778 * wcsmbs/mbrtoc16.c: New file.
38779 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38780 for C/POSIX locale.
38781 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38782 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38783
dadebdae
UD
38784 * wcsmbs/wchar.h: Add missing __restrict.
38785
67371b56
UD
387862011-12-23 Ulrich Drepper <drepper@gmail.com>
38787
74033a25
UD
38788 [BZ #13532]
38789 * time/Makefile (routines): Add timespec_get.
38790 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38791 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38792 timespec for ISO C11.
38793 * time/timespec_get.c: New file.
38794 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38795 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38796
380d7e87
UD
38797 [BZ #13531]
38798 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38799 * stdlib/stdlib.h: Declare aligned_alloc.
38800 * Versions.def: Add GLIBC_2.16 for libc.
38801 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38802
4e9e7a35
UD
38803 [BZ 13527]
38804 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38805 ISO C11.
38806
380d7e87 38807 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38808 code.
38809
03a71829
UD
38810 [BZ #13528]
38811 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38812
839e283e
UD
38813 [BZ #13529]
38814 * assert/assert.h (static_assert): Define.
38815
ce5294e2 38816 * version.h: Update for 2.16 development version.
90fa7312 38817
8d44e150 38818 [BZ #13526]
d7809905
UD
38819 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38820 _ISOC11_SOURCE.
38821
c0da14cd
UD
38822 * version.h (RELEASE): Bump for 2.15 release.
38823 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38824
530a3249
MP
38825 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38826 Patch by Marek Polacek <mpolacek@redhat.com>.
38827
67371b56
UD
38828 * bits/byteswap.h: Protect long long constants with __extension__.
38829 * sysdeps/i386/bits/byteswap.h: Likewise.
38830 * sysdeps/ia64/bits/byteswap.h: Likewise.
38831 * sysdeps/s390/bits/byteswap.h: Likewise.
38832 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38833
15db4de1
LD
388342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38835
38836 [BZ #13540]
bbe315ea
LD
38837 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38838 destination buffer.
15db4de1
LD
38839 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38840
2b2596b1
MP
388412011-12-23 Marek Polacek <polacek@redhat.com>
38842
38843 * elf/dl-addr.c (determine_info): Add inline keyword.
38844 * elf/tst-auditmod4b.c (check_avx): Likewise.
38845 * elf/tst-auditmod6b.c (check_avx): Likewise.
38846 * elf/tst-auditmod6c.c (check_avx): Likewise.
38847 * elf/tst-auditmod7b.c (check_avx): Likewise.
38848
70c6c246
UD
388492011-12-23 Ulrich Drepper <drepper@gmail.com>
38850
38851 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38852 !__SSE_MATH__.
38853
c044cf14
LD
388542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38855
15db4de1 38856 [BZ #13540]
c044cf14
LD
38857 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38858 processing for last bytes.
38859
6b13d9d9
BH
388602011-08-06 Bruno Haible <bruno@clisp.org>
38861
d455f537
BH
38862 [BZ #13061]
38863 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38864 U+0385, not to U+1FEE.
38865
6b13d9d9
BH
38866 [BZ #13062]
38867 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38868 entry for U+00A5 U+0301.
38869
db910efd
UD
388702011-12-22 Ulrich Drepper <drepper@gmail.com>
38871
27deeafc
UD
38872 [BZ #13166]
38873 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38874 buffer for the output is too small.
38875
aed9d171
UD
38876 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38877 optimization.
38878
db910efd
UD
38879 [BZ #13185]
38880 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38881 SSE flags if possible.
38882
2bd779ae
LD
388832011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38884
e7f9dac3 38885 [BZ #13540]
2bd779ae
LD
38886 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38887 processing for last bytes.
38888
154bfc16
JM
388892011-12-22 Joseph Myers <joseph@codesourcery.com>
38890
38891 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38892 (syscall-list-default-options, syscall-list-default-condition)
38893 (syscall-list-includes): Define.
38894 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38895 list of ABIs and options and #if conditions for each ABI. Do not
38896 handle common syscalls between ABIs specially.
38897 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38898 Remove.
38899 (syscall-list-variants, syscall-list-32bit-options)
38900 (syscall-list-32bit-condition, syscall-list-64bit-options)
38901 (syscall-list-64bit-condition): Define.
38902 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38903 (syscall-list-variants, syscall-list-32bit-options)
38904 (syscall-list-32bit-condition, syscall-list-64bit-options)
38905 (syscall-list-64bit-condition): Define.
38906 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38907 Remove.
38908 (syscall-list-variants, syscall-list-32bit-options)
38909 (syscall-list-32bit-condition, syscall-list-64bit-options)
38910 (syscall-list-64bit-condition): Define.
38911 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38912 Remove.
38913 (syscall-list-variants, syscall-list-32bit-options)
38914 (syscall-list-32bit-condition, syscall-list-64bit-options)
38915 (syscall-list-64bit-condition): Define.
38916
21eaf3a5
UD
389172011-12-22 Ulrich Drepper <drepper@gmail.com>
38918
16c6f992
UD
38919 * locale/iso-639.def: Add brx entry.
38920
41043168
UD
38921 [BZ #13328]
38922 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38923 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38924
21eaf3a5
UD
38925 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38926 __feraiseexcept_renamed.
38927
e3a851a2
UD
389282011-12-21 Ulrich Drepper <drepper@gmail.com>
38929
4920765e
UD
38930 [BZ #13538]
38931 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38932 EPOLLET with unsigned values.
38933 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38934 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38935
e3a851a2
UD
38936 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38937 to large cancellation.
38938 * math/s_cacoshf.c: Likewise.
38939 * math/s_cacoshl.c: Likewise.
38940
b27e24b8
RK
389412011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38942
38943 [BZ #13305]
aebefeee 38944 [BZ #12786]
b27e24b8
RK
38945 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38946 * math/s_cacoshf.c: Likewise.
38947 * math/s_cacoshl.c: Likewise.
38948
ee190f67
UD
389492011-12-21 Ulrich Drepper <drepper@gmail.com>
38950
38951 [BZ #13439]
38952 * iconv/gconv.h: Define __GCONV_SWAP.
38953 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38954 * iconvdata/utf-16.c: Likewise.
38955 * iconvdata/utf-32.c: Likewise.
38956
707f25df
AS
389572011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38958
38959 [BZ #13524]
38960 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38961 numerator after shifting it by one limb.
38962
d2daaa1e
RÁE
389632011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38964
38965 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38966 under [__USE_EXTERN_INLINES].
38967
a4647e72
UD
389682011-12-17 Ulrich Drepper <drepper@gmail.com>
38969
38970 [BZ #13446]
38971 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38972
f0b264f1
AZ
389732011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38974
38975 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38976 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38977 optimized code.
38978 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38979 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38980 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38981 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38982 for strncasecmp/strncasecmp_l compilation.
38983 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38984 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38985
8ef4f244
MP
389862011-12-08 Marek Polacek <mpolacek@redhat.com>
38987
38988 [BZ #13484]
38989 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38990 of __asm__.
38991
97ac2654
UD
389922011-12-17 Ulrich Drepper <drepper@gmail.com>
38993
38994 [BZ #13506]
38995 * time/tzfile.c (__tzfile_read): Check values from file header.
38996
91d2a845
WS
389972011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38998
38999 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39000 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39001 * powerpc/powerpc32/dl-start.S: Likewise.
39002 * powerpc/powerpc32/elf/start.S: Likewise.
39003 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39004 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39005 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39006 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39007 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39008 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39009 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39010 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39011 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39012 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39013 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39014 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39015 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39016 * powerpc/powerpc32/memset.S: Likewise.
39017 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39018 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39019 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39020 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39021 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39022 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39023 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39024 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39025 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39026 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39027 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39028 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39029 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39030
a1267ba1
AZ
390312011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39032
39033 * math/libm-test.inc: Added more nearbyint tests.
39034 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39035 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39036 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39037 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39038
ad8ac1bd
RL
390392011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39040
39041 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39042 FD_CLOEXEC.
39043
1d3e4b61
UD
390442011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39045
39046 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39047 Add wcscpy-ssse3 wcscpy-c.
39048 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39049 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39050 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39051 * sysdeps/x86_64/wcschr.S: New file.
39052 * sysdeps/x86_64/wcsrchr.S: New file.
39053 * string/test-strcmp.c: Remove checking of wcscmp function for
39054 wrong alignments.
39055 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39056 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39057 wcsrchr-sse2 wcsrchr-c.
39058 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39059 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39060 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39061 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39062 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39063 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39064 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39065 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39066 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39067 * wcsmbc/wcschr.c (WCSCHR): New macro.
39068
5b330a2d
UD
390692011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39070
39071 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39072 * wcsmbs/test-wcsrchr.c: New file.
39073 * string/test-strrchr.c: Add wcsrchr support.
39074 (WIDE): New macro.
39075 * wcsmbs/test-wcscpy.c: New file.
39076 * string/test-strcpy.c: Add wcscpy support.
39077 (WIDE): New macro.
26428b7c 39078
f039c043
UD
390792011-12-10 Ulrich Drepper <drepper@gmail.com>
39080
39081 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39082 the inner loop.
39083
850fb039
AS
390842011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39085
39086 [BZ #13472]
39087 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39088
4efbd5cb
UD
390892011-12-04 Ulrich Drepper <drepper@gmail.com>
39090
52ff5dd0 39091 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39092 Minor optimizations.
52ff5dd0 39093
4efbd5cb
UD
39094 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39095 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39096 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39097
8a426e12
UD
390982011-12-03 Ulrich Drepper <drepper@gmail.com>
39099
aff2453d
UD
39100 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39101 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39102 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39103 for gcc to avoid warnings.
39104 * inet/Makefile (tests): Add tst-checks.
39105 * inet/tst-checks.c: New file.
39106
39107 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39108 warning.
39109
39110 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39111 __wmemcmp_sse2.
39112
39113 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39114 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39115
8a426e12
UD
39116 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39117
9bea3473
UD
391182011-12-02 Ulrich Drepper <drepper@gmail.com>
39119
3a965496
UD
39120 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39121 problem.
39122
9bea3473
UD
39123 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39124
f101631b
UD
391252011-11-29 Joseph Myers <joseph@codesourcery.com>
39126
39127 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39128 conditional on GCC version.
39129 (__arch_compare_and_exchange_val_8_acq)
39130 (__arch_compare_and_exchange_val_16_acq)
39131 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39132 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39133 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39134
a98275aa
UD
391352011-12-02 Joseph Myers <joseph@codesourcery.com>
39136
39137 * sysdeps/sh/backtrace.c: New file.
39138
d4cc29a2
AS
391392011-12-02 Andreas Schwab <schwab@redhat.com>
39140
39141 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39142 parenthesis.
39143
6257af2d
AS
391442011-12-01 Andreas Schwab <schwab@redhat.com>
39145
39146 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39147 falling back to utime.
39148
b5f44c1a
AS
391492011-11-30 Andreas Schwab <schwab@redhat.com>
39150
39151 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39152 expectations for float.
39153
f3a6cc0a
AS
391542011-11-29 Andreas Schwab <schwab@redhat.com>
39155
39156 * locale/weight.h (findidx): Add parameter len.
39157 * locale/weightwc.h (findidx): Likewise.
39158 * posix/fnmatch_loop.c (FCT): Adjust caller.
39159 * posix/regcomp.c (build_equiv_class): Likewise.
39160 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39161 * posix/regexec.c (check_node_accept_bytes): Likewise.
39162 * string/strcoll_l.c (STRCOLL): Likewise.
39163 * string/strxfrm_l.c (STRXFRM): Likewise.
39164
9d65ea3a
UD
391652011-11-17 Ulrich Drepper <drepper@gmail.com>
39166
39167 * Makefile.in: Remove CVSOPT handling.
39168 * configure.in: Remove use of AC_REVISION.
39169 * iconvdata/Makefile (distribute): No need to filter out CVS.
39170 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39171 handling.
39172
5583a086
AS
391732011-11-16 Andreas Schwab <schwab@redhat.com>
39174
39175 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39176 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39177 [USE_AS_STRNCASECMP_L]: Likewise.
39178 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39179 NO_TLS_DIRECT_SEG_REFS.
39180 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39181 Fix argument offsets for non-PIC.
39182 [USE_AS_STRNCASECMP_L]: Likewise.
39183 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39184 NO_TLS_DIRECT_SEG_REFS.
39185
d62a8200
UD
391862011-11-15 Ulrich Drepper <drepper@gmail.com>
39187
9d65ea3a 39188 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39189 O_CLOEXEC.
39190 * locale/loadlocale.c (_nl_load_locale): Likewise.
39191
09f93bd3
AS
391922011-11-15 Andreas Schwab <schwab@redhat.com>
39193
446514f9
AS
39194 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39195 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39196 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39197 (SYSCALL_GETTIME): Set errno on error.
39198
09f93bd3
AS
39199 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39200 count references to noai6ai_cached.
39201
312be3f9
UD
392022011-11-15 Ulrich Drepper <drepper@gmail.com>
39203
39204 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39205
39206 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39207 FD_CLOEXEC for /proc/self/maps.
39208
39209 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39210 FD_CLOEXEC for /proc/meminfo.
39211
39212 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39213 gai.conf.
39214
39215 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39216 FD_CLOEXEC for given file.
39217
39218 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39219
39220 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39221 FD_CLOEXEC for /etc/hosts.
39222 (_gethtent): Likewise.
39223
39224 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39225
39226 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39227 cancellation and set FD_CLOEXEC for /etc/netgroup.
39228
39229 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39230 reading /etc/publickey.
39231
39232 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39233 allow cancellation when reading /etc/group.
39234
39235 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39236 cancellation.
39237 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39238
39239 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39240 when using data file.
39241
39242 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39243
39244 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39245 (write_nis_obj): Use "c" and "e" in fopen.
39246
39247 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39248
39249 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39250
39251 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39252
39253 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39254
39255 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39256 locale.alias.
39257
39258 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39259
39260 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39261
39262 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39263
39264 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39265 file parsing and set FD_CLOEXEC.
39266
82af0fa8
UD
392672011-11-14 Ulrich Drepper <drepper@gmail.com>
39268
39269 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39270
a5fb313c
AS
392712011-11-14 Andreas Schwab <schwab@redhat.com>
39272
39273 * malloc/arena.c (arena_get2): Don't call reused_arena when
39274 _int_new_arena failed.
39275
6abf3465
UD
392762011-11-14 Ulrich Drepper <drepper@gmail.com>
39277
39278 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39279 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39280 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39281 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39282 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39283 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39284 to compile strcasecmp and strncasecmp.
39285 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39286 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39287
39288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39289
76e3966e
UD
392902011-11-13 Ulrich Drepper <drepper@gmail.com>
39291
39292 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39293 locale-defines.sym to gen-as-const-headers.
39294 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39295 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39296 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39297 to compile strcasecmp and strncasecmp.
39298 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39299 strcasecmp_l and strncasecmp_l.
39300 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39301 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39302 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39303 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39304 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39305 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39306 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39307 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39308 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39309 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39310 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39311
ab26144e
UD
393122011-11-12 Ulrich Drepper <drepper@gmail.com>
39313
7edb22ef
UD
39314 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39315 result of SYSDEP_GETTIME_CPU to retval.
39316 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39317 parameter list to macro. Remove trailing semicolon. Adjust users.
39318
9694fc44
UD
39319 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39320 variable.
39321
8ad89ef8
UD
39322 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39323 mantissa words.
39324 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39325
0c822ef9
UD
39326 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39327 from unused variable.
39328
874e0564
UD
39329 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39330 DWARF definitions.
39331 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39332 for assembling.
39333
3a2edc79
UD
39334 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39335 over namespaces.
39336
f3c2577f
UD
39337 * sunrpc/rpc_prot.c (rejected): Fix case value.
39338
294ce126
UD
39339 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39340 unsigned long long int to avoid warnings in shift.
39341
5e2b63c6
UD
39342 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39343 of use of trans.
39344 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39345 variable tmp.
39346
e7f4b08e
UD
39347 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39348 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39349 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39350
ab26144e
UD
39351 * nis/nis_table.c (nis_list): Use variable of correct type for
39352 result of __follow_path call.
39353
8a6d5255
AZ
393542011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39355
39356 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39357 of math functions ceil, trunc, floor, round, and sqrt, when
39358 avaliable on the platform.
39359 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39360 name clash.
39361 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39362 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39363 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39364
aaddc98c
MP
393652011-10-30 Marek Polacek <mpolacek@redhat.com>
39366
39367 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39368 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39369
95b7042b
RM
393702011-11-11 Roland McGrath <roland@hack.frob.com>
39371
39372 * include/unistd.h: Fix __readlink return type.
39373 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39374
57769839
UD
393752011-11-11 Ulrich Drepper <drepper@gmail.com>
39376
39377 * stdlib/ucontext.h: Undo last change for makecontext.
39378
edc5984d
AS
393792011-11-11 Andreas Schwab <schwab@redhat.com>
39380
98591e58
AS
39381 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39382
edc5984d
AS
39383 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39384 * setjmp/setjmp.h: Mark functions as non-leaf.
39385 * setjmp/bits/setjmp2.h: Likewise.
39386 * stdlib/ucontext.h: Likewise.
39387
77cdc054
AS
393882011-11-10 Andreas Schwab <schwab@redhat.com>
39389
39390 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39391 (reused_arena): Don't check arena limit.
39392 (arena_get2): Atomically check arena limit.
39393
fe72eebd
UD
393942011-11-08 Ulrich Drepper <drepper@gmail.com>
39395
5f078c32
UD
39396 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39397 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39398
fe72eebd
UD
39399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39400 instructions.
39401
ae1bc2fa
AS
394022011-11-07 Andreas Schwab <schwab@redhat.com>
39403
7583a88d
AS
39404 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39405 handler when locking.
39406
ae1bc2fa
AS
39407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39408 Fix size of allocated buffer.
39409
10fb0bfa
AS
394102011-11-04 Andreas Schwab <schwab@redhat.com>
39411
998832a4
AS
39412 [BZ #10103]
39413 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39414 declarations for long double functions.
39415 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39416
10fb0bfa
AS
39417 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39418
3d7ba52b
AS
394192011-11-03 Andreas Schwab <schwab@redhat.com>
39420
a9ae54a1
AS
39421 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39422 installed.
39423
3d7ba52b
AS
39424 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39425 is disabled.
39426
bc8db248
ST
394272011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39428
39429 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39430
45b96dd6
AS
394312011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39432
647776f6
AS
39433 * include/alloca.h (stackinfo_alloca_round): Define.
39434 (extend_alloca): Use it.
39435 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39436 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39437 here.
39438
d91a8b93
AS
39439 * scripts/check-local-headers.sh: Ignore libaudit.h.
39440
45b96dd6
AS
39441 * nscd/Makefile (extra-objs): Make recursively expanded.
39442
432d41ce
UD
394432011-11-01 Ulrich Drepper <drepper@gmail.com>
39444
34372fc6
UD
39445 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39446 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39447
fadb59f8
UD
39448 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39449 * posix/tst-rfc3484-2.c: Likewise.
39450 * posix/tst-rfc3484-3.c: Likewise.
39451
78239589
UD
39452 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39453 process_vm_writev.
39454 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39455 process_vm_writev.
39456 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39457 process_vm_writev from libc using GLIBC_2.15 version.
39458
432d41ce
UD
39459 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39460
02f9c6cf
PP
394612011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39462
39463 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39464 stack usage.
39465
3a2c0242
UD
394662011-10-31 Ulrich Drepper <drepper@gmail.com>
39467
f4ec4833
UD
39468 [BZ #13367]
39469 * nss/getent.c (initgroups_keys): Show error message in case no group
39470 names are given.
39471
3a2c0242
UD
39472 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39473 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39474 __bump_nl_timestamp.
39475 * nscd/connections (nscd_init): When host database is served open
39476 netlink socket and request notification about configuration changes.
39477 (main_loop_poll): Track netlink file descriptor and bump timestamp
39478 in case data becomes available.
39479 (main_loop_epoll): Likewise.
39480 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39481 (database_pers_head): Add extra_data fileds.
39482 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39483 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39484 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39485 Adjust caller.
39486 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39487 in6ai data, call __free_in6ai.
39488 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39489 Add -DHAVE_NETLINK.
39490 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39491 interface information. Reuse previous data if netlink timestamp
39492 is not changed.
39493 (__bump_nl_timestamp): New function.
39494 (__free_in6ai): New function.
39495
636064eb
UD
394962011-10-30 Ulrich Drepper <drepper@gmail.com>
39497
39498 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39499 close_not_cancel_no_status here.
39500 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39501
9beb2334
UD
395022011-10-29 Ulrich Drepper <drepper@gmail.com>
39503
6ef76f3b
UD
39504 [BZ #13276]
39505 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39506 return value.
39507
0ffc4f3e 39508 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
39509 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39510 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39511
cb95113e
UD
395122011-07-03 Andreas Jaeger <aj@suse.de>
39513
39514 [BZ #10709]
39515 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39516 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39517 * math/libm-test.inc (sin_test): Add test case.
39518
a1b560ff
UD
395192011-10-29 Ulrich Drepper <drepper@gmail.com>
39520
c9aaface
UD
39521 [BZ #13337]
39522 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39523 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39524
d272e7f1
UD
39525 * elf/chroot_canon.c (chroot_canon): Cleanups.
39526
1bc33071
UD
39527 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39528
1760874d
TJ
39529 [BZ #13335]
39530 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39531 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39532
51d91b18
UD
39533 * string/test-strchr.c: Make usable for strchrnul testing.
39534 * string/test-strchrnul.c: New file.
39535 * string/Makefile (strop-tests): Add strchrnul.
39536
a1b560ff 39537 * po/it.po: Update from translation team.
b611fb81 39538 * po/es.po: Likewise.
a1b560ff 39539
a5b81e1f
UD
395402011-10-28 Ulrich Drepper <drepper@gmail.com>
39541
fd52bc6d
UD
39542 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39543 the three constants needed as parameters. Drop the others.
39544 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39545 __m128i_strloadu_tolower.
52e4b9eb
UD
39546 Create and initialize variable zero and use it in all the places
39547 where _mm_setzero_si128 was used.
fd52bc6d 39548
a5b81e1f
UD
39549 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39550 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39551 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39552 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39553 anymore.
39554 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39555 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39556 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39557 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39558 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39559 __mpranred, __mptan.
39560 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39561 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39562 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39563 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39564 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39565 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39566 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39567 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39568 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39569
b4343346
AS
395702011-10-28 Andreas Schwab <schwab@redhat.com>
39571
0c92d8a8
AS
39572 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39573 redefine if SHARED.
39574 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39575
b4343346
AS
39576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39577 wide char related routines to wcsmbs subdir.
39578
3871f58f
AS
395792011-10-27 Andreas Schwab <schwab@redhat.com>
39580
39581 [BZ #13344]
39582 * misc/sys/cdefs.h (__THROWNL): Define.
39583 * posix/unistd.h: Use __THREADNL instead of __THREAD
39584 for memory synchronization functions.
39585
94d44d9f
RM
395862011-10-26 Roland McGrath <roland@hack.frob.com>
39587
21b64b15 39588 [BZ #13349]
94d44d9f
RM
39589 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39590 doesn't exist.
39591 * manual/stdio.texi (Obstack Streams): Node removed.
39592
f6ce9294
AS
395932011-10-26 Andreas Schwab <schwab@redhat.com>
39594
80479147
AS
39595 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39596 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39597 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39598
f6ce9294
AS
39599 * math/math_private.h (math_force_eval): Allow non-addressable
39600 arguments.
39601 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39602
618280a1
UD
396032011-10-25 Ulrich Drepper <drepper@gmail.com>
39604
e0016b11
UD
39605 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39606 file is not needed.
39607
39608 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39609 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39610 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39611 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39612 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39613 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39614 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39615 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39616 Add AVX variants.
39617 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39618 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39619 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39620 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39621 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39622 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39623 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39624 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39625 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39626 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39627 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39628 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39629 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39630 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39631 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39632 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39633 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39634 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39635 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39636
39637 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39638 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39639
618280a1
UD
39640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39641 place. Use VEX encoding when compiling for AVX.
39642
37822576
AS
396432011-10-25 Andreas Schwab <schwab@redhat.com>
39644
1f1e1947
AS
39645 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39646 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39647
37822576
AS
39648 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39649
31ea014d
UD
396502011-10-25 Ulrich Drepper <drepper@gmail.com>
39651
d7826aa1 39652 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39653 useless if() expression.
d7826aa1
UD
39654 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39655 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39656 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39658 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39659 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39660 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39661 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39662 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39663 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39664 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39665 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39666 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39667 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39668 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39669 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39670 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39671 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39672 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39673
31ea014d
UD
39674 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39675
16437fec
AS
396762011-10-25 Andreas Schwab <schwab@redhat.com>
39677
39678 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39679 condition.
39680 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39681
31d3cc00
UD
396822011-10-25 Ulrich Drepper <drepper@gmail.com>
39683
39684 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39685 .text section. Avoid duplicate constants.
39686 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39688 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39689 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39690 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39691 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39693 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39694 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39695 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39696 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39697 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39698 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39699 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39700 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39701 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39702 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39703 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39704 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39706 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39707 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39708 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39709 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39710 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39711 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39712 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39713 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39714 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39715 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39716 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39717 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39718 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39719 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39720 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39721 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39722 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39723 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39724 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39725 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39726 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39727 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39728 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39729 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39730 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39731
58985aa9
UD
397322011-10-24 Ulrich Drepper <drepper@gmail.com>
39733
202c9deb
UD
39734 * sysdeps/x86_64/dla.h: Move to ...
39735 * sysdeps/x86_64/fpu/dla.h: ...here.
39736 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39737 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39738
af968f62
UD
39739 * config.make.in: Add have-mfma4 entry.
39740 * configure.in: Substitute libc_cv_cc_fma4.
39741 * math/Makefile (dbl-only-routines): Add sincostab.
39742 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39743 Use __sincostab not sincos.
39744 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39745 name is a macro.
39746 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39750 using __copysign.
39751 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39752 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39753 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39754 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39755 and __inv.
39756 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39757 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39758 __copysign.
39759 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39760 define aliases when function name is a macro.
39761 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39762 sysdeps/ieee754/dbl-64/sincos.tbl.
39763 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39764 fma4-enabled routines.
39765 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39766 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39767 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39768 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39769 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39770 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39771 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39772 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39773 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39774 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39775 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39776 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39777 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39778 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39779 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39780 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39781 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39782 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39783 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39784 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39785 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39786 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39787 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39788 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39789 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39790 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39791 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39792 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39793 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39794 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39795
58985aa9
UD
39796 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39797 rename.
39798 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39799 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39800 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39801 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39803 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39804 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39806
a201fbcf
AS
398072011-10-24 Andreas Schwab <schwab@redhat.com>
39808
39809 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39810
fc2ee42a
LD
398112011-10-23 Ulrich Drepper <drepper@gmail.com>
39812
bb3129bd
UD
39813 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39814
0275fff8
UD
39815 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39816 prediction.
39817 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39818
2fa2ae85
UD
39819 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39820 Remove unused variable magic_bits.
39821 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39822
fc2ee42a
LD
39823 * string/strnlen.c: Define and use STRNLEN macro.
39824 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39825 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39827 * wcsmbs/wcslen.c: Define and use WCSLEN.
39828 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39829 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39830 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39831 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39832 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39833 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39834 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39835
ce7dd29f
LD
398362011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39837
39838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39839 strnlen-sse2-no-bsf.
39840 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39841 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39842 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39843 Add strnlen support.
39844 (USE_AS_STRNLEN): New macro.
39845 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39846 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39847 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39848 * sysdeps/x86_64/wcslen.S: New file.
39849
979c70a3
MZ
398502011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39851
39852 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39853 XMM-moves are used for copying on small sizes.
39854
2d09f82f
LD
398552011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39856
39857 * wcsmbs/Makefile (strop-tests): Add wcschr.
39858 * wcsmbs/test-wcschr.c: New file.
39859 * string/test-strchr.c: Update.
39860 Add wcschr support.
39861 (WIDE): New macro.
39862
619fccca
LD
398632011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39864
2d09f82f 39865 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39866 * wcsmbs/test-wcslen.c: New file.
39867 * string/test-strlen.c: Update.
39868 Add wcslen support.
39869 (WIDE): New macro.
39870
09f699ea
UD
398712011-10-23 Ulrich Drepper <drepper@gmail.com>
39872
39873 * po/it.po: Update from translation team.
39874
95584d3b
LD
398752011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39876
39877 * sysdeps/x86_64/wcscmp.S: Update.
39878 Fix wrong comparison semantics.
39879 wcscmp shall use signed comparison not unsigned.
39880 Don't use substraction to avoid overflow bug.
39881 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39882 * wcsmbc/wcscmp.c: Likewise.
39883 * string/test-strcmp.c: Likewise.
39884 Add new tests to check cases with negative values.
39885
c8b3296b
UD
398862011-10-23 Ulrich Drepper <drepper@gmail.com>
39887
39888 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39889 * sysdeps/x86_64/dla.h: ...here. New file.
39890 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39895 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39896 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39897 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39898 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39899
246ad57a
AS
399002011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39901
39902 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39903 __ynl_finite aliases.
39904
a1a87169
UD
399052011-10-22 Ulrich Drepper <drepper@gmail.com>
39906
0d355eb7
UD
39907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39908
a1a87169
UD
39909 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39910 define DLA_FMA.
39911 [DLA_FMA] (EMULV): Use DLA_FMA.
39912 [DLA_FMA] (MUL12): Use EMULV.
39913 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39914 that are not needed.
39915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39920 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39921 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39922
ee2aafe0
AS
399232011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39924
39925 * math/s_nan.c: Undef __nan.
39926 * math/s_nanf.c: Undef __nanf.
39927 * math/s_nanl.c: Undef __nanl.
39928 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39929 "math_private.h".
39930
bc62c2fb
UD
399312011-10-22 Ulrich Drepper <drepper@gmail.com>
39932
77425c63
UD
39933 * math/s_catan.c: Add branch predictions.
39934 * math/s_catanf.c: Likewise.
39935 * math/s_catanh.c: Likewise.
39936 * math/s_catanhf.c: Likewise.
39937 * math/s_catanhl.c: Likewise.
39938 * math/s_catanl.c: Likewise.
39939 * math/s_cexp.c: Likewise.
39940 * math/s_cexpf.c: Likewise.
39941 * math/s_cexpl.c: Likewise.
39942 * math/s_clog.c: Likewise.
39943 * math/s_clog10.c: Likewise.
39944 * math/s_clog10f.c: Likewise.
39945 * math/s_clog10l.c: Likewise.
39946 * math/s_clogf.c: Likewise.
39947 * math/s_clogl.c: Likewise.
39948 * math/s_csqrt.c: Likewise.
39949 * math/s_csqrtf.c: Likewise.
39950 * math/s_csqrtl.c: Likewise.
39951 * math/s_ctanf.c: Likewise.
39952 * math/s_ctanh.c: Likewise.
39953 * math/s_ctanhf.c: Likewise.
39954 * math/s_ctanhl.c: Likewise.
39955 * math/s_ctanl.c: Likewise.
39956
bc62c2fb
UD
39957 * math/math_private.h: Define __nan, __nanf, __nanl.
39958 * math/s_cacosh.c: Include <math_private.h>.
39959 * math/s_cacoshl.c: Likewise.
39960 * math/s_casinh.c: Likewise.
39961 * math/s_casinhf.c: Likewise.
39962 * math/s_casinhl.c: Likewise.
39963 * math/s_ccos.c: Rely entire on ccosh.
39964 * math/s_ccosf.c: Rely entire on ccoshf.
39965 * math/s_ccosl.c: Rely entirely on ccoshl.
39966 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39967 Remove tests for FE_INVALID.
39968 * math/s_ccoshf.c: Likewise.
39969 * math/s_ccoshl.c: Likewise.
39970 * math/s_csin.c: Likewise.
39971 * math/s_csinf.c: Likewise.
39972 * math/s_csinh.c Likewise.
39973 * math/s_csinhf.c: Likewise.
39974 * math/s_csinhl.c: Likewise.
39975 * math/s_csinl.c: Likewise.
39976 * math/s_ctan.c: Likewise.
39977 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39978 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39979 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39980
8ec250a4
UD
399812011-10-21 Ulrich Drepper <drepper@gmail.com>
39982
c196fed8
UD
39983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39984 compilation problems.
39985
8ec250a4
UD
39986 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39987 __builtin_expect.
39988
8d4f46c6
UD
399892011-10-20 Ulrich Drepper <drepper@gmail.com>
39990
ed72b654
UD
39991 * sysdeps/i386/configure.in: Test for -mfma4 option.
39992 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39993 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39994 COMMON_CPUID_INDEX_80000001.
39995 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39996 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39997 use it if FMA3 is not supported.
39998 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39999
8d4f46c6
UD
40000 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40001 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40002
d45c60c2
AS
400032011-10-20 Andreas Schwab <schwab@redhat.com>
40004
40005 [BZ #12892]
40006 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40007 it would create a cycle with a link time dependency.
40008
d9a4d2ab
UD
400092011-10-19 Ulrich Drepper <drepper@gmail.com>
40010
855d1560
UD
40011 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40012 instruction.
40013 * string/Makefile (strop-tests): Add rawmemchr.
40014 * string/test-rawmemchr.c: New file.
40015
d9a4d2ab
UD
40016 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40017 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40018 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40019 when compiling str{,n}casecmp and when AVX is available. Hook up
40020 new optimized code in initializers.
40021
8f3b1ffe
AS
400222011-10-19 Andreas Schwab <schwab@redhat.com>
40023
40024 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40025 __feraiseexcept instead of feraiseexcept.
40026
d38f1dba
UD
400272011-10-18 Ulrich Drepper <drepper@gmail.com>
40028
d9a8d0ab
UD
40029 * math/math_private.h: Define defaults for libc_fetestexcept and
40030 libc_feupdateenv.
40031 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40032 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40033 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40034 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40035 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40036 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40037 libc_fetestexcept and libc_feupdateenv.
40038
4855e3dd
UD
40039 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40040 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40041 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40042 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40043 libc_feholdexcept_setround.
40044
581d30e3
UD
40045 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40046 Add s_nearbyint-c and s_nearbyintf-c.
40047 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40048 nearbyintf inlines.
40049 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40050 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40051 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40052 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40053
d38f1dba
UD
40054 * math/math_private.h: Define defaults for libc_fegetround,
40055 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40056 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40057 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40058 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40059 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40060 standard functions.
40061 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40062 Remove comments and hacks for old compiler versions.
40063 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40064 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40065 libc_feholdexceptl.
40066
caa6c9d8
AS
400672011-10-18 Andreas Schwab <schwab@redhat.com>
40068
40069 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40070 (__feraiseexcept_renamed): Add __NTH.
40071 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40072 namespace violations.
40073
97c066e6
UD
400742011-10-17 Ulrich Drepper <drepper@gmail.com>
40075
99ce7b04
UD
40076 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40077
1004d182
UD
40078 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40079
228a984d
UD
40080 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40081 recently added interfaces.
40082 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40083
c8553a6a
UD
40084 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40085 about macro parameter expansion.
40086
ed22dcf6
UD
40087 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40088 __NO_MATH_INLINES is defined. Cleanups.
40089
40090 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40091 and __floorf is target has SSE4.1.
40092 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40093 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40094 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40095 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40096
b171c137
UD
40097 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40098 name.
40099 (floorf): Likewise.
40100
97c066e6
UD
40101 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40102
629f62ef
AS
401032011-10-17 Andreas Schwab <schwab@redhat.com>
40104
49a43d80
AS
40105 * misc/sys/cdefs.h: Fix last change.
40106
629f62ef
AS
40107 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40108 database lookup.
40109
e453f6cd
UD
401102011-10-16 Ulrich Drepper <drepper@gmail.com>
40111
aa78043a
UD
40112 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40113
ad0f5cad
UD
40114 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40115 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40116 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40117 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40118 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40119 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40120 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40121 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40122 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40123 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40124 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40125 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40126 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40127 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40128 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40129 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40130 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40131 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40132 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40133 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40134 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40135 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40136
40137 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40138 ceil, ceilf, floor, floorf.
40139
40140 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40141 Perform IRELATIVE relocations last.
40142
e453f6cd
UD
40143 * elf/do-rel.h: Add another parameter nrelative, replacing the
40144 local variable with the same name. Change name of the function
40145 to end in Rel or Rela (uppercase).
40146 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40147 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40148 elf_dynamic_do_##reloc function.
40149
fd5bdc09
UD
401502011-10-15 Ulrich Drepper <drepper@gmail.com>
40151
79b195b5
UD
40152 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40153 is sufficient, at least on modern CPUs.
40154
d4a28569
UD
40155 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40156
b61099b5
UD
40157 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40158 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40159
bcf01e6d
UD
40160 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40161 __expl_finite.
40162 * math/bits/math-finite.h: Add entries for exp.
40163 * math/e_expl.c: Add __*_finite alias.
40164 * sysdeps/i386/fpu/e_exp.S: Likewise.
40165 * sysdeps/i386/fpu/e_expf.S: Likewise.
40166 * sysdeps/i386/fpu/e_expl.c: Likewise.
40167 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40168 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40169 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40170 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40172 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40173 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40174
ba1a0d59
UD
40175 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40176 is sufficient, at least on modern CPUs.
40177
fd5bdc09
UD
40178 * ctype/ctype-info.c (__ctype_init): Define.
40179 * include/ctype.h (__ctype_init): Declare.
40180 (__ctype_b_loc): The variable is always initialized.
40181 (__ctype_toupper_loc): Likewise.
40182 (__ctype_tolower_loc): Likewise.
40183 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40184 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40185
7872cfb0
AS
401862011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40187
b468825a
AS
40188 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40189
7872cfb0
AS
40190 * configure.in: Also look in $cxxmachine/include for C++ system
40191 headers.
40192
be13f7bf
LD
401932011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40194
40195 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40196 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40197 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40198 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40199 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40200 (USE_AS_WMEMCMP): New macro.
40201 Fixing indents.
40202 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40203 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40204 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40205 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40207 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40208 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40209 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40210 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40211 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40212 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40213 (USE_AS_WMEMCMP): New macro.
40214 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40215 * sysdeps/string/test-memcmp.c: Update.
40216 Fix simple_wmemcmp.
40217 Add new tests.
40218 * wcsmbs/wmemcmp.c: Update.
40219 (WMEMCMP): New macro.
40220 Fix overflow bug.
40221
556a2007
AJ
402222011-10-12 Andreas Jaeger <aj@suse.de>
40223
40224 [BZ #13268]
40225 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40226
538faaa7
UD
402272011-10-15 Ulrich Drepper <drepper@gmail.com>
40228
ab6737ff
UD
40229 * libio/iofwide.c (do_length): Avoid warning.
40230
538faaa7
UD
40231 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40232
396a21b1
UD
402332011-10-14 Ulrich Drepper <drepper@gmail.com>
40234
cdf2901f
UD
40235 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40236
38ad40ce
UD
40237 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40238 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40239 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40240 * sysdeps/i386/i686/fpu/e_log.S: New file.
40241 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40242 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40243
396a21b1
UD
40244 * ctype/ctype.h: Add support for inlined isXXX functions when
40245 compiling C++ code.
40246
6b1f68c9
AS
402472011-10-14 Andreas Schwab <schwab@redhat.com>
40248
349290c0
AS
40249 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40250
6b1f68c9
AS
40251 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40252
f2282d42
RM
402532011-10-13 Roland McGrath <roland@hack.frob.com>
40254
40255 [BZ #13291]
40256 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40257
5298ffa8
AS
402582011-10-13 Andreas Schwab <schwab@redhat.com>
40259
714fad23
AS
40260 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40261 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40262 feraiseexcept.
40263
81dcc7fb
AS
40264 * sysdeps/x86_64/memrchr.S: Check for zero size.
40265
5298ffa8
AS
40266 * string/stratcliff.c: Add memrchr tests.
40267
951fbcec
LD
402682011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40269
40270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40271 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40272 rawmemchr-sse2 rawmemchr-sse2-bsf.
40273 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40274 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40275 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40276 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40277 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40278 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40279 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40280 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40281 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40282 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40283 * string/memrchr.c (MEMRCHR): New macro.
40284
0ac5ae23
UD
402852011-10-12 Ulrich Drepper <drepper@gmail.com>
40286
40287 Add integration with gcc's -ffinite-math-only and optimize wrapper
40288 functions in libm.
40289 * Versions.def: Define GLIBC_2.15 version for libm.
40290 * math/Makefile (headers): Add bits/math-finite.h.
40291 * math/bits/math-finite.h: New file.
40292 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40293 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40294 * math/e_acoshl.c: Add __*_finite alias.
40295 * math/e_acosl.c: Likewise.
40296 * math/e_asinl.c: Likewise.
40297 * math/e_atan2l.c: Likewise.
40298 * math/e_atanhl.c: Likewise.
40299 * math/e_coshl.c: Likewise.
40300 * math/e_exp10.c: Likewise.
40301 * math/e_exp10f.c: Likewise.
40302 * math/e_exp10l.c: Likewise.
40303 * math/e_exp2l.c: Likewise.
40304 * math/e_fmodl.c: Likewise.
40305 * math/e_gammal_r.c: Likewise.
40306 * math/e_hypotl.c: Likewise.
40307 * math/e_j0l.c: Likewise.
40308 * math/e_j1l.c: Likewise.
40309 * math/e_jnl.c: Likewise.
40310 * math/e_lgammal_r.c: Likewise.
40311 * math/e_log10l.c: Likewise.
40312 * math/e_log2l.c: Likewise.
40313 * math/e_logl.c: Likewise.
40314 * math/e_powl.c: Likewise.
40315 * math/e_sinhl.c: Likewise.
40316 * math/e_sqrtl.c: Likewise.
40317 * math/e_scalb.c: Completely rewritten and optimized.
40318 * math/e_scalbf.c: Likewise.
40319 * math/e_scalbl.c: Likewise.
40320 * math/w_acos.c: Likewise.
40321 * math/w_acosf.c: Likewise.
40322 * math/w_acosl.c: Likewise.
40323 * math/w_acosh.c: Likewise.
40324 * math/w_acoshf.c: Likewise.
40325 * math/w_acoshl.c: Likewise.
40326 * math/w_asin.c: Likewise.
40327 * math/w_asinf.c: Likewise.
40328 * math/w_asinl.c: Likewise.
40329 * math/w_atan2.c: Likewise.
40330 * math/w_atan2f.c: Likewise.
40331 * math/w_atan2l.c: Likewise.
40332 * math/w_atanh.c: Likewise.
40333 * math/w_atanhf.c: Likewise.
40334 * math/w_atanhl.c: Likewise.
40335 * math/w_exp10.c: Likewise.
40336 * math/w_exp10f.c: Likewise.
40337 * math/w_exp10l.c: Likewise.
40338 * math/w_fmod.c: Likewise.
40339 * math/w_fmodf.c: Likewise.
40340 * math/w_fmodl.c: Likewise.
40341 * math/w_j0.c: Likewise.
40342 * math/w_j0f.c: Likewise.
40343 * math/w_j0l.c: Likewise.
40344 * math/w_j1.c: Likewise.
40345 * math/w_j1f.c: Likewise.
40346 * math/w_j1l.c: Likewise.
40347 * math/w_jn.c: Likewise.
40348 * math/w_jnf.c: Likewise.
40349 * math/w_log.c: Likewise.
40350 * math/w_logf.c: Likewise.
40351 * math/w_logl.c: Likewise.
40352 * math/w_log10.c: Likewise.
40353 * math/w_log10f.c: Likewise.
40354 * math/w_log10l.c: Likewise.
40355 * math/w_log2.c: Likewise.
40356 * math/w_log2f.c: Likewise.
40357 * math/w_log2l.c: Likewise.
40358 * math/w_pow.c: Likewise.
40359 * math/w_powf.c: Likewise.
40360 * math/w_powl.c: Likewise.
40361 * math/w_remainder.c: Likewise.
40362 * math/w_remainderf.c: Likewise.
40363 * math/w_remainderl.c: Likewise.
40364 * math/w_scalb.c: Likewise.
40365 * math/w_scalbf.c: Likewise.
40366 * math/w_scalbl.c: Likewise.
40367 * math/w_sqrt.c: Likewise.
40368 * math/w_sqrtf.c: Likewise.
40369 * math/w_sqrtl.c: Likewise.
40370 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40371 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40372 used.
40373 * math/math_private.h: Declare __kernel_standard_f.
40374 * math/w_cosh.c: Remove cruft and optimize a bit.
40375 * math/w_coshf.c: Likewise.
40376 * math/w_coshl.c: Likewise.
40377 * math/w_exp2.c: Likewise.
40378 * math/w_exp2f.c: Likewise.
40379 * math/w_exp2l.c: Likewise.
40380 * math/w_hypot.c: Likewise.
40381 * math/w_hypotf.c: Likewise.
40382 * math/w_hypotl.c: Likewise.
40383 * math/w_lgamma.c: Likewise.
40384 * math/w_lgamma_r.c: Likewise.
40385 * math/w_lgammaf.c: Likewise.
40386 * math/w_lgammaf_r.c: Likewise.
40387 * math/w_lgammal.c: Likewise.
40388 * math/w_lgammal_r.c: Likewise.
40389 * math/w_sinh.c: Likewise.
40390 * math/w_sinhf.c: Likewise.
40391 * math/w_sinhl.c: Likewise.
40392 * math/w_tgamma.c: Likewise.
40393 * math/w_tgammaf.c: Likewise.
40394 * math/w_tgammal.c: Likewise.
40395 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40396 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40397 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40398 Minor optimizations. Pretty printing. Remove cruft.
40399 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40400 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40401 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40402 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40403 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40404 * sysdeps/i386/fpu/e_asin.S: Likewise.
40405 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40406 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40407 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40408 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40409 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40410 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40411 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40412 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40413 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40414 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40415 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40416 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40417 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40418 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40419 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40420 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40421 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40422 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40423 * sysdeps/i386/fpu/e_log.S: Likewise.
40424 * sysdeps/i386/fpu/e_log10.S: Likewise.
40425 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40427 * sysdeps/i386/fpu/e_log2.S: Likewise.
40428 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40429 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40430 * sysdeps/i386/fpu/e_logf.S: Likewise.
40431 * sysdeps/i386/fpu/e_logl.S: Likewise.
40432 * sysdeps/i386/fpu/e_pow.S: Likewise.
40433 * sysdeps/i386/fpu/e_powf.S: Likewise.
40434 * sysdeps/i386/fpu/e_powl.S: Likewise.
40435 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40436 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40437 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40438 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40439 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40440 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40441 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40442 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40443 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40444 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40445 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40446 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40447 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40448 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40449 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40450 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40451 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40452 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40453 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40454 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40455 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40457 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40458 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40460 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40461 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40462 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40464 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40465 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40466 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40467 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40468 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40469 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40470 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40471 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40472 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40473 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40474 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40475 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40476 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40477 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40478 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40479 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40480 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40481 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40482 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40483 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40484 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40485 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40486 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40487 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40488 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40489 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40490 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40491 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40492 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40493 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40494 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40495 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40496 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40498 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40499 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40500 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40501 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40502 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40503 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40504 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40505 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40507 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40508 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40509 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40510 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40511 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40512 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40513 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40514 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40515 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40516 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40517 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40518 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40519 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40520 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40521 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40522 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40523 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40524 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40525 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40526 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40527 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40528 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40529 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40530 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40531 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40532 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40533 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40534 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40535 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40536 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40537 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40538 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40539 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40540 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40541 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40542 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40543 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40544 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40545 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40546 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40547 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40548 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40549 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40550 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40551 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40552 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40553 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40554 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40555 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40556 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40557 (__isnanf): Likewise.
40558 (__isinf_ns): Likewise.
40559 (__isinf_nsf): Likewise.
40560 (__finite): Likewise.
40561 (__finitef): Likewise.
40562 (__ieee754_sqrt): Define as macro.
40563 (__ieee754_sqrtf): Define as macro.
40564 (__ieee754_sqrtl): Define as macro.
40565 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40566 inlined copy.
40567 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40568 __FINITE_MATH_ONLY__ consistent.
40569 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40570
12cc2fcd
AS
405712011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40572
a843a204
AS
40573 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40574 of rawmemchr.
40575
12cc2fcd
AS
40576 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40577
c853acd5
UD
405782011-10-09 Ulrich Drepper <drepper@gmail.com>
40579
40580 * po/ja.po: Update from translation team.
40581
c658d255
RM
405822011-10-08 Roland McGrath <roland@hack.frob.com>
40583
110946e4
RM
40584 * locale/programs/locarchive.c (prepare_address_space): New function.
40585 (create_archive, enlarge_archive, open_archive): Use it.
40586
50604220
RM
40587 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40588 inside [SHARED], where it is used.
40589
c658d255
RM
40590 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40591
40592 * nss/getent.c (netgroup_keys): Remove unused variable.
40593 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40594
6a621eb7
UD
405952011-10-08 Ulrich Drepper <drepper@gmail.com>
40596
7edb55ce
UD
40597 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40598 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40599 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40600 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40601 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40602 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40603 * math/Makefile (libm-calls): Add s_isinf_ns.
40604 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40605 * math/multc3.c: Likewise.
40606 * math/s_casin.c: Likewise.
40607 * math/s_casinf.c: Likewise.
40608 * math/s_casinl.c: Likewise.
40609 * math/s_ccos.c: Likewise.
40610 * math/s_ccosf.c: Likewise.
40611 * math/s_ccosl.c: Likewise.
40612 * math/s_ctan.c: Likewise.
40613 * math/s_ctanf.c: Likewise.
40614 * math/s_ctanh.c: Likewise.
40615 * math/s_ctanhf.c: Likewise.
40616 * math/s_ctanhl.c: Likewise.
40617 * math/s_ctanl.c: Likewise.
40618 * math/w_fmod.c: Likewise.
40619 * math/w_fmodf.c: Likewise.
40620 * math/w_fmodl.c: Likewise.
40621 * math/w_remainder.c: Likewise.
40622 * math/w_remainderf.c: Likewise.
40623 * math/w_remainderl.c: Likewise.
40624 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40625 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40626 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40627 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40628 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40629 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40630 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40631 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40632
187da0ae
UD
40633 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40634 of the number.
40635 * stdio-common/printf_fphex.c: Likewise.
40636 * stdio-common/printf_size.c: Likewise.
40637
9277c064
UD
40638 * math/e_exp10.c: Include math_private.h using <...> not "...".
40639 * math/e_exp10f.c: Likewise.
40640 * math/e_exp10l.c: Likewise.
40641 * math/e_exp2l.c: Likewise.
40642 * math/e_j0l.c: Likewise.
40643 * math/e_j1l.c: Likewise.
40644 * math/e_jnl.c: Likewise.
40645 * math/e_lgammal_r.c: Likewise.
40646 * math/e_rem_pio2l.c: Likewise.
40647 * math/e_scalb.c: Likewise.
40648 * math/e_scalbf.c: Likewise.
40649 * math/e_scalbl.c: Likewise.
40650 * math/k_cosl.c: Likewise.
40651 * math/k_sinl.c: Likewise.
40652 * math/k_tanl.c: Likewise.
40653 * math/s_cacoshf.c: Likewise.
40654 * math/s_catan.c: Likewise.
40655 * math/s_catanf.c: Likewise.
40656 * math/s_catanh.c: Likewise.
40657 * math/s_catanhf.c: Likewise.
40658 * math/s_catanhl.c: Likewise.
40659 * math/s_catanl.c: Likewise.
40660 * math/s_ccosh.c: Likewise.
40661 * math/s_ccoshf.c: Likewise.
40662 * math/s_ccoshl.c: Likewise.
40663 * math/s_cexp.c: Likewise.
40664 * math/s_cexpf.c: Likewise.
40665 * math/s_cexpl.c: Likewise.
40666 * math/s_clog.c: Likewise.
40667 * math/s_clog10.c: Likewise.
40668 * math/s_clog10f.c: Likewise.
40669 * math/s_clog10l.c: Likewise.
40670 * math/s_clogf.c: Likewise.
40671 * math/s_clogl.c: Likewise.
40672 * math/s_csin.c: Likewise.
40673 * math/s_csinf.c: Likewise.
40674 * math/s_csinh.c: Likewise.
40675 * math/s_csinhf.c: Likewise.
40676 * math/s_csinhl.c: Likewise.
40677 * math/s_csinl.c: Likewise.
40678 * math/s_csqrt.c: Likewise.
40679 * math/s_csqrtf.c: Likewise.
40680 * math/s_csqrtl.c: Likewise.
40681 * math/s_ctan.c: Likewise.
40682 * math/s_ctanf.c: Likewise.
40683 * math/s_ctanh.c: Likewise.
40684 * math/s_ctanhf.c: Likewise.
40685 * math/s_ctanhl.c: Likewise.
40686 * math/s_ctanl.c: Likewise.
40687 * math/s_ldexp.c: Likewise.
40688 * math/s_ldexpf.c: Likewise.
40689 * math/s_ldexpl.c: Likewise.
40690 * math/s_significand.c: Likewise.
40691 * math/s_significandf.c: Likewise.
40692 * math/s_significandl.c: Likewise.
40693 * math/w_acos.c: Likewise.
40694 * math/w_acosf.c: Likewise.
40695 * math/w_acosh.c: Likewise.
40696 * math/w_acoshf.c: Likewise.
40697 * math/w_acoshl.c: Likewise.
40698 * math/w_acosl.c: Likewise.
40699 * math/w_asin.c: Likewise.
40700 * math/w_asinf.c: Likewise.
40701 * math/w_asinl.c: Likewise.
40702 * math/w_atan2.c: Likewise.
40703 * math/w_atan2f.c: Likewise.
40704 * math/w_atan2l.c: Likewise.
40705 * math/w_atanh.c: Likewise.
40706 * math/w_atanhf.c: Likewise.
40707 * math/w_atanhl.c: Likewise.
40708 * math/w_cosh.c: Likewise.
40709 * math/w_coshf.c: Likewise.
40710 * math/w_coshl.c: Likewise.
40711 * math/w_dremf.c: Likewise.
40712 * math/w_exp10.c: Likewise.
40713 * math/w_exp10f.c: Likewise.
40714 * math/w_exp10l.c: Likewise.
40715 * math/w_exp2.c: Likewise.
40716 * math/w_exp2f.c: Likewise.
40717 * math/w_fmod.c: Likewise.
40718 * math/w_fmodf.c: Likewise.
40719 * math/w_fmodl.c: Likewise.
40720 * math/w_hypot.c: Likewise.
40721 * math/w_hypotf.c: Likewise.
40722 * math/w_hypotl.c: Likewise.
40723 * math/w_j0.c: Likewise.
40724 * math/w_j0f.c: Likewise.
40725 * math/w_j0l.c: Likewise.
40726 * math/w_j1.c: Likewise.
40727 * math/w_j1f.c: Likewise.
40728 * math/w_j1l.c: Likewise.
40729 * math/w_jn.c: Likewise.
40730 * math/w_jnf.c: Likewise.
40731 * math/w_jnl.c: Likewise.
40732 * math/w_lgamma.c: Likewise.
40733 * math/w_lgamma_r.c: Likewise.
40734 * math/w_lgammaf.c: Likewise.
40735 * math/w_lgammaf_r.c: Likewise.
40736 * math/w_lgammal.c: Likewise.
40737 * math/w_lgammal_r.c: Likewise.
40738 * math/w_log.c: Likewise.
40739 * math/w_log10.c: Likewise.
40740 * math/w_log10f.c: Likewise.
40741 * math/w_log10l.c: Likewise.
40742 * math/w_log2.c: Likewise.
40743 * math/w_log2f.c: Likewise.
40744 * math/w_log2l.c: Likewise.
40745 * math/w_logf.c: Likewise.
40746 * math/w_logl.c: Likewise.
40747 * math/w_pow.c: Likewise.
40748 * math/w_powf.c: Likewise.
40749 * math/w_powl.c: Likewise.
40750 * math/w_remainder.c: Likewise.
40751 * math/w_remainderf.c: Likewise.
40752 * math/w_remainderl.c: Likewise.
40753 * math/w_scalb.c: Likewise.
40754 * math/w_scalbf.c: Likewise.
40755 * math/w_scalbl.c: Likewise.
40756 * math/w_sinh.c: Likewise.
40757 * math/w_sinhf.c: Likewise.
40758 * math/w_sinhl.c: Likewise.
40759 * math/w_sqrt.c: Likewise.
40760 * math/w_sqrtf.c: Likewise.
40761 * math/w_sqrtl.c: Likewise.
40762 * math/w_tgamma.c: Likewise.
40763 * math/w_tgammaf.c: Likewise.
40764 * math/w_tgammal.c: Likewise.
40765
6a621eb7
UD
40766 * po/ja.po: Update from translation team.
40767
bf582445
AJ
407682011-09-29 Andreas Jaeger <aj@suse.de>
40769
f9efbf3a
AJ
40770 [BZ #13179]
40771 * sunrpc/netname.c (netname2host): Fix logic.
40772
bf582445
AJ
40773 [BZ #6779]
40774 [BZ #6783]
40775 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40776 correctly.
40777 * math/w_remainder.c (__remainder): Likewise.
40778 * math/w_remainderf.c (__remainderf): Likewise.
40779 * math/libm-test.inc (remainder_test): Add test cases.
40780
48693bea
AK
407812011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40782
40783 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40784 sdiv_qrnnd.
40785
42622229
LD
407862011-10-07 Ulrich Drepper <drepper@gmail.com>
40787
40788 * string/test-memcmp.c: Avoid unncessary #defines.
40789 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40790
093ecf92
LD
407912011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40792
40793 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40794 Use new sse2 version for core i3 - i7 as it's faster
40795 than sse42 version.
40796 (bit_Prefer_PMINUB_for_stringop): New.
40797 * sysdeps/x86_64/rawmemchr.S: Update.
40798 Replace with faster SSE2 version.
40799 * sysdeps/x86_64/memrchr.S: New file.
40800 * sysdeps/x86_64/memchr.S: Update.
40801 Replace with faster SSE2 version.
40802
fde56e5c
MP
408032011-09-12 Marek Polacek <mpolacek@redhat.com>
40804
40805 * elf/dl-load.c (lose): Add cast to avoid warning.
40806
21fd49a9
UD
408072011-10-07 Ulrich Drepper <drepper@gmail.com>
40808
5a06e643
UD
40809 * po/ca.po: Update from translation team.
40810
684ae515
UD
40811 * inet/getnetgrent_r.c: Hook up nscd.
40812 * nscd/Makefile (routines): Add nscd_netgroup.
40813 (nscd-modules): Add netgroupcache.
40814 (CFLAGS-netgroupcache.c): Define.
40815 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40816 (cache_search): Add const to second parameter.
40817 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40818 INNETGR.
40819 (dbs): Add netgrdb entry.
40820 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40821 (verify_persistent_db): Handle netgrdb.
40822 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40823 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40824 GETFDNETGR.
40825 (netgroup_response_header): Define.
40826 (innetgroup_response_header): Define.
40827 (datahead): Add netgroup_response_header and innetgroup_response_header
40828 elements.
40829 * nscd/nscd.conf: Add entries for netgroup cache.
40830 * nscd/nscd.h (dbtype): Add netgrdb.
40831 (_PATH_NSCD_NETGROUP_DB): Define.
40832 (netgroup_iov_disabled): Declare.
40833 (xmalloc, xcalloc, xrealloc): Move declarations here.
40834 (cache_search): Adjust prototype.
40835 Add netgroup-related prototypes.
40836 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40837 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40838 (__nscd_innetgr): Declare.
40839 * nscd/selinux.c (perms): Use access_vector_t as element type and
40840 add netgroup-related initializers.
40841 * nscd/netgroupcache.c: New file.
40842 * nscd/nscd_netgroup.c: New file.
40843 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40844 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40845 For four parameters use innetgr.
40846 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40847 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40848 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40849 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40850
21fd49a9
UD
40851 * nscd/connections.c (register_traced_file): Don't register file
40852 for disabled databases.
40853
054c0457
UD
408542011-10-06 Ulrich Drepper <drepper@gmail.com>
40855
32b63198
UD
40856 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40857
054c0457
UD
40858 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40859 from tree and freeing node.
40860
64031225
JO
408612011-09-25 Jiri Olsa <jolsa@redhat.com>
40862
40863 * nss/nsswitch.c (__nss_database_lookup): Handle
40864 nss_parse_service_list out of memory case.
40865
0490345c
JO
408662011-09-15 Jiri Olsa <jolsa@redhat.com>
40867
40868 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40869 out of memory case.
40870
3a62d00d
AS
408712011-10-04 Andreas Schwab <schwab@redhat.com>
40872
40873 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40874 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40875 pass it down.
40876 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40877 elf_machine_rela, elf_machine_lazy_rel.
40878 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40879 (ELF_DYNAMIC_DO_REL): Likewise.
40880 (ELF_DYNAMIC_DO_RELA): Likewise.
40881 (ELF_DYNAMIC_RELOCATE): Likewise.
40882 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40883 to ELF_DYNAMIC_DO_REL.
40884 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40885 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40886 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40887 elf_machine_rela.
40888 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40889 skip_ifunc, don't call ifunc function if non-zero.
40890 (elf_machine_rela): Likewise.
40891 (elf_machine_lazy_rel): Likewise.
40892 (elf_machine_lazy_rela): Likewise.
40893 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40894 (elf_machine_lazy_rel): Likewise.
40895 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40896 Likewise.
40897 (elf_machine_lazy_rel): Likewise.
40898 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40899 Likewise.
40900 (elf_machine_lazy_rel): Likewise.
40901 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40902 (elf_machine_lazy_rel): Likewise.
40903 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40904 (elf_machine_lazy_rel): Likewise.
40905 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40906 (elf_machine_lazy_rel): Likewise.
40907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40908 (elf_machine_lazy_rel): Likewise.
40909 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40910 (elf_machine_lazy_rel): Likewise.
40911 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40912 (elf_machine_lazy_rel): Likewise.
40913
68577918
UD
409142011-09-28 Ulrich Drepper <drepper@gmail.com>
40915
40916 * nss/nss_files/files-init.c (_nss_files_init): Use static
40917 initialization for all the *_traced_file variables.
40918
68822d74
AS
409192011-09-28 Andreas Schwab <schwab@redhat.com>
40920
40921 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40922
2056100b
RM
409232011-09-27 Roland McGrath <roland@hack.frob.com>
40924
40925 [BZ #13226]
40926 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40927
32c76b63
AS
409282011-09-27 Andreas Schwab <schwab@redhat.com>
40929
40930 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40931 Reread the line before reparsing it.
40932
bf972c9d
AS
409332011-09-26 Andreas Schwab <schwab@redhat.com>
40934
40935 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40936
e057a1b5
JM
409372011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40938 Maxim Kuvyrkov <maxim@codesourcery.com>
40939 Joseph Myers <joseph@codesourcery.com>
40940
40941 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40942 if needed for __stack_chk_guard.
40943
bc7e1c36
RM
409442011-09-19 Roland McGrath <roland@hack.frob.com>
40945
ecb1482f
RM
40946 * sysdeps/posix/spawni.c (script_execute): Always define it.
40947 It will be optimized away if unused.
40948 (maybe_script_execute): New function.
40949 (__spawni): Call it.
40950
bc7e1c36
RM
40951 * Makerules: Don't include tls.make.
40952 (config-tls): Always set to thread.
40953 * tls.make.c: File removed.
40954
1c3b002b
MF
409552011-09-19 Mike Frysinger <vapier@gentoo.org>
40956
40957 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40958 * config.make.in (CPPFLAGS-config): New substituted variable.
40959
2840865d
UD
409602011-09-15 Ulrich Drepper <drepper@gmail.com>
40961
88738eb6
UD
40962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40963
cbf645a6 40964 [BZ #13192]
2840865d
UD
40965 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40966 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40967
b402e91a
RM
409682011-09-15 Roland McGrath <roland@hack.frob.com>
40969
40970 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40971 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40972 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40973 (CALL_FAIL): Likewise.
40974 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40975 (CALL_FAIL): Macro removed.
40976 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40977
4c1a1f71
UD
409782011-09-15 Ulrich Drepper <drepper@gmail.com>
40979
40980 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40981 for __FINITE_MATH_ONLY__ == 1.
40982
edc121be
AS
409832011-09-15 Andreas Schwab <schwab@redhat.com>
40984
40985 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40986 __ieee754_sqrt instead of sqrt.
40987 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40988 __ieee754_sqrtf instead of sqrtf.
40989 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40990 __floorf instead of floorf.
40991 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40992 __floorf, __truncf instead of floorf, truncf.
40993
cd205654
UD
409942011-09-14 Ulrich Drepper <drepper@gmail.com>
40995
ee4d0315
UD
40996 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40997
cd205654
UD
40998 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40999 __extern_always_inline.
41000 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41001 32-bit.
41002
48b67d71
AS
410032011-09-14 Andreas Schwab <schwab@redhat.com>
41004
41005 * elf/rtld.c (dl_main): Also relocate in dependency order when
41006 doing symbol dependency testing.
41007
1ae12c75
AS
410082011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41009
41010 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41011 Always define `refsym'.
41012
995a80df
AS
410132011-09-13 Andreas Schwab <schwab@redhat.com>
41014
e529793b
AS
41015 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41016 (__FD_ELT): Renamed from __FDELT.
41017 * misc/bits/select2.h (__FD_ELT): Likewise.
41018 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41019 __FD_MASK instead of __FDELT, __FDMASK.
41020 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41021 Likewise.
41022 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41023 Likewise.
41024
52d4fef8
AS
41025 * elf/Makefile (gen-ldd): Fix pattern.
41026
995a80df
AS
41027 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41028 (init_tls): Likewise.
41029
8682f8b0
UD
410302011-09-12 Ulrich Drepper <drepper@gmail.com>
41031
41032 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41033
de82006d
AS
410342011-09-12 Andreas Schwab <schwab@redhat.com>
41035
a7c8e6a1
AS
41036 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41037 `struct cmsghdr *' instead of `void *'.
41038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41039 Likewise.
41040
0f31fe77
AS
410412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41042
41043 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41044 if non-absolute.
41045 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41046 ldd_rewrite_script.
0f31fe77 41047
32b4c839
UD
410482011-09-11 Ulrich Drepper <drepper@gmail.com>
41049
83cd1420
UD
41050 * configure.in: Remove --with-tls option.
41051 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41052 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41053 out in case it is missing.
41054 * sysdeps/ia64/elf/configure.in: Likewise.
41055 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41056 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41057 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41058 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41059 * sysdeps/sh/elf/configure.in: Likewise.
41060 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41061 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41062 * sysdeps/x86_64/elf/configure.in: Likewise.
41063 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41064 * sysdeps/mach/hurd/tls.h: Likewise.
41065
633f745d
UD
41066 [BZ #13067]
41067 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41068
f318beb8
UD
41069 [BZ #13090]
41070 * configure.in: Fix use of AC_INIT.
41071
32b4c839
UD
41072 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41073
3ce1f295
UD
410742011-09-10 Ulrich Drepper <drepper@gmail.com>
41075
bb016596
UD
41076 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41077 __set_errno.
8e58439c
UD
41078 * malloc/hooks.c: Likewise.
41079
aebae053 41080 [BZ #11929]
02d46fc4
UD
41081 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41082 variables statically.
41083 (narenas): Initialize.
41084 (list_lock): Initialize.
bb016596
UD
41085 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41086 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41087 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41088 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41089 Add initializers to main_arena and mp_.
41090 (malloc_state): Remove pagesize member. Change all users to use
41091 GLRO(dl_pagesize).
41092
41093 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41094 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41095 is always initialized.
41096
22a89187
UD
41097 * malloc/malloc.c: Removed unused configurations and dead code.
41098 * malloc/arena.c: Likewise.
41099 * malloc/hooks.c: Likewise.
02d46fc4 41100 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41101
d063d164
UD
41102 * include/tls.h: Removed. USE___THREAD must always be defined.
41103 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41104 * elf/dl-libc.c: Likewise.
41105 * elf/dl-tsd.c: Likewise.
41106 * include/errno.h: Likewise.
41107 * include/netdb.h: Likewise.
41108 * include/resolv.h: Likewise.
41109 * inet/herrno-loc.c: Likewise.
41110 * inet/herrno.c: Likewise.
41111 * malloc/arena.c: Likewise.
41112 * malloc/hooks.c: Likewise.
41113 * malloc/malloc.c: Likewise.
41114 * resolv/res-state.c: Likewise.
41115 * resolv/res_libc.c: Likewise.
41116 * sysdeps/i386/dl-machine.h: Likewise.
41117 * sysdeps/ia64/dl-machine.h: Likewise.
41118 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41119 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41120 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41121 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41122 * sysdeps/sh/dl-machine.h: Likewise.
41123 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41124 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41125 * sysdeps/unix/i386/sysdep.S: Likewise.
41126 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41127 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41128 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41129 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41130 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41132 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41136 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41137 * sysdeps/x86_64/dl-machine.h: Likewise.
41138 * tls.make.c: Likewise.
41139
3ce1f295
UD
41140 * configure.in: Remove --with-__thread option. Make tests for
41141 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41142 tls_model attribute fail if no support is available. Remove
41143 USE_IN_LIBIO.
41144 * Makeconfig: Adjust for dropped configure option. All features are
41145 now mandatory.
41146 * Makerules: Likewise.
41147 * Versions.def: Likewise.
41148 * argp/argp-fmtstream.c: Likewise.
41149 * argp/argp-fmtstream.h: Likewise.
41150 * argp/argp-help.c: Likewise.
41151 * assert/assert.c: Likewise.
41152 * config.h.in: Likewise.
41153 * config.make.in: Likewise.
41154 * configure: Likewise.
41155 * configure.in: Likewise.
41156 * csu/Versions: Likewise.
41157 * csu/init.c: Likewise.
41158 * elf/tst-audit2.c: Likewise.
41159 * elf/tst-tls10.c: Likewise.
41160 * elf/tst-tls10.h: Likewise.
41161 * elf/tst-tls11.c: Likewise.
41162 * elf/tst-tls12.c: Likewise.
41163 * elf/tst-tls14.c: Likewise.
41164 * elf/tst-tlsmod11.c: Likewise.
41165 * elf/tst-tlsmod12.c: Likewise.
41166 * elf/tst-tlsmod13.c: Likewise.
41167 * elf/tst-tlsmod13a.c: Likewise.
41168 * elf/tst-tlsmod14a.c: Likewise.
41169 * elf/tst-tlsmod15b.c: Likewise.
41170 * elf/tst-tlsmod16a.c: Likewise.
41171 * elf/tst-tlsmod16b.c: Likewise.
41172 * elf/tst-tlsmod7.c: Likewise.
41173 * elf/tst-tlsmod8.c: Likewise.
41174 * elf/tst-tlsmod9.c: Likewise.
41175 * gmon/gmon.c: Likewise.
41176 * grp/fgetgrent_r.c: Likewise.
41177 * grp/putgrent.c: Likewise.
41178 * hurd/fopenport.c: Likewise.
41179 * include/libc-symbols.h: Likewise.
41180 * include/tls.h: Likewise.
41181 * intl/gettextP.h: Likewise.
41182 * intl/loadinfo.h: Likewise.
41183 * locale/global-locale.c: Likewise.
41184 * locale/localeinfo.h: Likewise.
41185 * mach/devstream.c: Likewise.
41186 * malloc/arena.c: Likewise.
41187 * malloc/set-freeres.c: Likewise.
41188 * misc/err.c: Likewise.
41189 * misc/getttyent.c: Likewise.
41190 * misc/mntent_r.c: Likewise.
41191 * posix/getopt.c: Likewise.
41192 * posix/wordexp.c: Likewise.
41193 * pwd/fgetpwent_r.c: Likewise.
41194 * resolv/Versions: Likewise.
41195 * resolv/res_hconf.c: Likewise.
41196 * shadow/fgetspent_r.c: Likewise.
41197 * shadow/putspent.c: Likewise.
41198 * stdio-common/printf_fphex.c: Likewise.
41199 * stdio-common/tmpfile.c: Likewise.
41200 * stdlib/abort.c: Likewise.
41201 * stdlib/fmtmsg.c: Likewise.
41202 * sunrpc/auth_unix.c: Likewise.
41203 * sunrpc/clnt_perr.c: Likewise.
41204 * sunrpc/clnt_tcp.c: Likewise.
41205 * sunrpc/clnt_udp.c: Likewise.
41206 * sunrpc/clnt_unix.c: Likewise.
41207 * sunrpc/openchild.c: Likewise.
41208 * sunrpc/svc_simple.c: Likewise.
41209 * sunrpc/svc_tcp.c: Likewise.
41210 * sunrpc/svc_udp.c: Likewise.
41211 * sunrpc/svc_unix.c: Likewise.
41212 * sunrpc/xdr.c: Likewise.
41213 * sunrpc/xdr_array.c: Likewise.
41214 * sunrpc/xdr_rec.c: Likewise.
41215 * sunrpc/xdr_ref.c: Likewise.
41216 * sunrpc/xdr_stdio.c: Likewise.
41217
1248c1c4
PB
412182011-09-09 Ulrich Drepper <drepper@gmail.com>
41219
41220 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41221
412222011-07-03 Andreas Jaeger <aj@suse.de>
41223
41224 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41225 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41226 regenerate with gen-libm-tests.pl.
41227
412282010-05-12 Petr Baudis <pasky@suse.cz>
41229
41230 [BZ #11589]
41231 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41232 around j0() zero points by switching to j1().
41233 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41234 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41235 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41237
f22e1074
UD
412382011-09-09 Ulrich Drepper <drepper@gmail.com>
41239
f19009c1
UD
41240 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41241 instead of 0.
41242 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41243 instead of 0.
f19009c1
UD
41244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41245 Patch in part by Pavel Roskin <proski@gnu.org>.
41246
3f8cc204
UD
41247 [BZ #13138]
41248 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41249 realloc.
41250 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41251 Free memory block if necessary.
41252
f22e1074
UD
41253 [BZ #12847]
41254 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41255 be NULL. Don't lock in this case.
41256
0a2349f9
RM
412572011-09-09 Roland McGrath <roland@hack.frob.com>
41258
41259 * elf/elf.h (ELFOSABI_GNU): New macro.
41260 (ELFOSABI_LINUX): Define to that.
41261
f3cdd467
DZ
412622011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41263
41264 * string/strncat.c (strncat): Undef the symbol in case it has been
41265 defined in bits/string.h.
41266
74718d13
UD
412672011-09-09 Ulrich Drepper <drepper@gmail.com>
41268
633e9e0f
UD
41269 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41270
0a2349f9 41271 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41272 link map.
41273
f9924780
AJ
412742011-08-17 Andreas Jaeger <aj@suse.de>
41275
41276 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41277
7f5517aa
PP
412782011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41279 Ian Lance Taylor <iant@google.com>
41280
41281 * math/libm-test.inc (lround_test): New testcase.
41282 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41283
762011fe
UD
412842011-09-08 Ulrich Drepper <drepper@gmail.com>
41285
92963737
UD
41286 * Makefile: Remove support for automatic cvs check-ins.
41287 * Makerules: Likewise.
41288 * config.make.in: Likewise.
41289 * configure.in: Likewise.
41290 * intl/Makefile: Likewise.
41291 * locale/Makefile: Likewise.
41292 * po/Makefile: Likewise.
41293 * posix/Makefile: Likewise.
41294 * sysdeps/gnu/Makefile: Likewise.
41295 * sysdeps/mach/hurd/Makefile: Likewise.
41296 * sysdeps/sparc/sparc32/Makefile: Likewise.
41297
b0727fd8
JS
41298 [BZ #13118]
41299 * posix/Makefile (bug-regex32-ENV): Define.
41300 Patch by John Stanley <jpsinthemix@verizon.net>.
41301
a0f33f99
UD
41302 * misc/Makefile (headers): Add bits/select2.h.
41303 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41304 * misc/bits/select2.h: New file.
41305 * include/bits/select2.h: New file.
41306 * debug/Makefile (routines): Add fdelt_chk.
41307 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41308 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41309 FD_ISSET.
41310 * debug/fdelt_chk.c: New file.
41311
762011fe
UD
41312 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41313 * wcsmbs/test-wmemcmp.c: Likewise.
41314 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41315 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41316
413172011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41318
41319 * string/Makefile (strop-tests): Add memcmp.
41320 * string/test-wmemcmp.c: New file.
41321 * string/test-memcmp.c: Add wmemcmp support.
41322
7f513ec8
RM
413232011-09-08 Roland McGrath <roland@hack.frob.com>
41324
0442afb4
RM
41325 [BZ #13153]
41326 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41327 2011-07-19 change.
41328
7f513ec8
RM
41329 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41330 garbage value in a __mach_port_mod_refs call in the cases of the
41331 task-self and thread-self ports.
41332
a12b2239
ST
413332011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41334
41335 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41336
610f9ab4
AS
413372011-09-08 Andreas Schwab <schwab@redhat.com>
41338
7f513ec8 41339 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41340
48882a1a
LD
413412011-09-07 Ulrich Drepper <drepper@gmail.com>
41342
b49865be
UD
41343 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41344
fdc86bc9
UD
41345 * elf/dl-libc.c (dlerror_run): Pass back error code from
41346 dl_catch_error.
41347
c966526a
UD
41348 [BZ #13123]
41349 * elf/dl-load.c (lose): Free l_origin if it is valid.
41350
48882a1a
LD
41351 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41352 names.
41353 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41354 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41355 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41356 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41357 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41358 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41359
77a2a8b4
AZ
413602011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41361
41362 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41363 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41364 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41365 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41366 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41367 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41368 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41369 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41370 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41371 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41372
24f579d8
AM
413732011-08-15 Alan Modra <amodra@gmail.com>
41374
41375 [BZ #13092]
41376 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41377 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41378 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41379 ppc_mcount to static-only-routines.
41380 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41381 __mcount_internal.
41382 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41383 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41384
3d4837df
UD
413852011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41386
41387 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41388 for finite and infinity parameters.
41389
22700377
WS
413902011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41391
41392 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41393 and add nop instructions for throughput optimization.
41394 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41395
5025581e
WS
413962011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41397
41398 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41399 aligned copy for power7 with vector-scalar instructions.
41400 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41401
08a300c9
L
414022011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41403
41404 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41405 AVX check.
41406
59178ef9
AS
414072011-09-07 Andreas Schwab <schwab@redhat.com>
41408
41409 [BZ #13144]
41410 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41411 last change.
41412
e38ba7ab
UD
414132011-09-07 Ulrich Drepper <drepper@gmail.com>
41414
41415 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41416 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41417 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41418 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41419 clock_gettime.
41420
d53a73ac
UD
414212011-09-06 Ulrich Drepper <drepper@gmail.com>
41422
fc8bffcc
UD
41423 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41424 Forgot to demangle the pointer.
41425
ceaa0c5d
UD
41426 * sysdeps/i386/sysdep.h: Define atom_text_section.
41427 * sysdeps/x86_64/sysdep.h: Likewise.
41428 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41429 section with atom_text_section.
41430 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41431 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41432 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41433 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41434 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41435
a77d3c17
UD
41436 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41437 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41438 already be defined. Change to take two parameters and don't assign
41439 result to variable. Adjust all users.
41440 Define INTERNAL_GETTIME if not already defined.
41441 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41442 call.
41443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41444 HAVE_CLOCK_GETTIME_VSYSCALL.
41445 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41446
d53a73ac
UD
41447 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41448 gettimeofday vsyscall, just use time.
41449
a8f84144
AS
414502011-09-06 Andreas Schwab <schwab@redhat.com>
41451
41452 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41453 <errno.h>.
41454
ef606249
UD
414552011-09-06 Ulrich Drepper <drepper@gmail.com>
41456
41457 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41458 syscall on x86-64.
41459 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41460 syscall.
41461 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41462 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41463 syscall if possible.
41464
6585cb60
UD
414652011-09-05 Ulrich Drepper <drepper@gmail.com>
41466
41467 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41468 e_ident. Don't pass to find_mapsXX.
41469 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41470
a5f524e4
LD
414712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41472
41473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41474 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41475 * sysdeps/x86_64/multiarch/strchr.S: Update.
41476 Check bit_slow_BSF bit.
41477 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41478 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41479 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41480
554881ef
UD
414812011-09-05 Ulrich Drepper <drepper@gmail.com>
41482
d96de963
UD
41483 [BZ #13134]
41484 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41485 before glibc 2.15.
41486 (tryshell): Define.
41487 (__spawni): Change last parameter to be flag. Test
41488 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41489 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41490 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41491 * posix/spawni.c: Likewise.
41492 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41493 * posix/spawnp.c: Likewise. Change normal version to use
41494 SPAWN_XFLAGS_USE_PATH.
41495 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41496 SPAWN_XFLAGS_TRY_SHELL.
41497
d48e5868
UD
41498 [BZ #13150]
41499 * posix/glob.h: Remove gcc 1.x support.
41500
554881ef
UD
41501 [BZ #13068]
41502 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41503
693fb948
LD
415042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41505
41506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41507 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41508 strrchr-sse2-bsf
41509 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41510 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41511 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41512 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41513 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41514 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41515
1b48c537
UD
415162011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41517
49d42c37
UD
41518 * sysdeps/x86_64/wcscmp.S: New file.
41519
1b48c537
UD
41520 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41521 wcscmp-c wcscmp-sse2
41522 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41523 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41524 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41525 * wcsmbs/wcscmp.c: Allow renaming.
41526
15c95c5d
DM
415272011-09-05 David S. Miller <davem@davemloft.net>
41528
41529 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41530 stack slot, rather than the struct return pointer slot.
41531 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41532 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41534 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41535
2f0ad8f3
UD
415362011-09-05 Ulrich Drepper <drepper@gmail.com>
41537
d88ae418
UD
41538 * po/ja.po: Update from translation team.
41539
2f0ad8f3
UD
41540 [BZ #13144]
41541 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41542 kernel in 64-bit binaries.
41543
5f4318d1
DM
415442011-09-01 David S. Miller <davem@davemloft.net>
41545
41546 * elf/elf.h (HWCAP_SPARC_*): Move to..
41547 * sysdeps/sparc/sysdep.h: this new file and add new values.
41548 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41549 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41550 _DL_HWCAP_COUNT to 24.
41551 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41552 entries.
41553 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41554 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41555 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41557 instead of magic constants.
41558 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41559
3ba57516
DM
415602011-08-31 David S. Miller <davem@davemloft.net>
41561
41562 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41564 Reimplement to do errno handling inline.
41565 (SYSCALL_ERROR_HANDLER): New macro.
41566 (__SYSCALL_STRING): Do not do errno handling in asm.
41567 (__CLONE_SYSCALL_STRING): Delete.
41568 (__INTERNAL_SYSCALL_STRING): Delete.
41569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41570 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41571 (PSEUDO): Reimplement to do errno handling inline.
41572 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41573 (SYSCALL_ERROR_HANDLER): New macro.
41574 (__SYSCALL_STRING): Do not do errno handling in asm.
41575 (__CLONE_SYSCALL_STRING): Delete.
41576 (__INTERNAL_SYSCALL_STRING): Delete.
41577 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41578 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41579 i386.
41580 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41581 (inline_syscall*): Add 'err' argument.
41582 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41583 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41584 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41585 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41586
41587 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41588 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41589
2bc17433
AS
415902011-08-30 Andreas Schwab <schwab@redhat.com>
41591
41592 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41593
fbeb5f4d
JO
415942011-08-29 Jiri Olsa <jolsa@redhat.com>
41595
41596 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41597 directive.
41598
ad69cc26
DM
415992011-08-24 David S. Miller <davem@davemloft.net>
41600
41601 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41602
39dd69df
AS
416032011-08-24 Andreas Schwab <schwab@redhat.com>
41604
41605 * elf/Makefile: Add rules to build and run unload8 test.
41606 * elf/unload8.c: New file.
41607 * elf/unload8mod1.c: New file.
41608 * elf/unload8mod1x.c: New file.
41609 * elf/unload8mod2.c: New file.
41610 * elf/unload8mod3.c: New file.
41611
41612 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41613 it wasn't used.
41614
2c0b250a
DM
416152011-08-23 David S. Miller <davem@davemloft.net>
41616
41617 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41618 subtract stack bias.
41619 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41620 %sp not %fp in calculations.
41621 (_JMPBUF_UNWINDS_ADJ): Likewise.
41622
22044b48
DM
41623 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41624 (aio_suspend): Call it to force an exception region around the
41625 AIO_MISC_WAIT() invocation.
41626
2cae4995
AS
416272011-08-23 Andreas Schwab <schwab@redhat.com>
41628
41629 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41630 backslash.
41631
873a772e
AJ
416322011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41633
41634 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41635 protection macro.
41636 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41637 and <dl-machine.h>.
41638 (Elf64_FuncDesc): Remove.
41639
25ad0df1
DM
416402011-08-22 David S. Miller <davem@davemloft.net>
41641
41642 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41643 sigaltstack check, add missing cfi directives.
41644 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41645 missing cfi directives, and sigaltstack handling.
41646
e888bcbe
AS
416472011-08-16 Andreas Schwab <schwab@redhat.com>
41648
41649 [BZ #11724]
41650 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41651 object is seen twice.
41652 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41653
41654 * elf/Makefile (distribute): Add tst-initorder2.c.
41655 (tests): Add tst-initorder2.
41656 (modules-names): Add tst-initorder2a tst-initorder2b
41657 tst-initorder2c tst-initorder2d. Add rules to build them.
41658 ($(objpfx)tst-initorder2.out): New rule.
41659 * elf/tst-initorder2.c: New file.
41660 * elf/tst-initorder2.exp: New file.
41661
87162f46
AS
416622011-08-22 Andreas Schwab <schwab@redhat.com>
41663
70538b7f
AS
41664 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41665
f55ffe58
AS
41666 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41667 dependencies back to end of function.
41668
87162f46
AS
41669 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41670 $(elfobjdir)/ld.so.
41671
91b392a4
UD
416722011-08-21 Ulrich Drepper <drepper@gmail.com>
41673
41674 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41675 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41677 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41678 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41679 of __vdso_gettimeofday.
41680 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41681 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41682 attribute_hidden.
41683 (_libc_vdso_platform_setup): Remove initialization of
41684 __vdso_gettimeofday and __vdso_time.
41685
5c43483f
UD
416862011-08-20 Ulrich Drepper <drepper@gmail.com>
41687
775a77e7
UD
41688 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41689 and fgetc_unlocked.
41690 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41691 getc_unlocked.
89f447ed 41692
49c74ba9
UD
41693 * elf/dl-open.c (add_to_global): Report additions to the global scope
41694 for LD_DEBUG=scopes.
41695 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41696 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41697
5c43483f
UD
41698 [BZ #13114]
41699 * stdio-common/Makefile (tests): Add bug24.
41700 * stdio-common/bug24.c: New file.
41701
a101b025
AJ
417022011-08-19 Andreas Jaeger <aj@suse.de>
41703
41704 [BZ #13114]
41705 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41706 non-existant file when using close-on-exec mode.
41707
c88f1766
UD
417082011-08-20 Ulrich Drepper <drepper@gmail.com>
41709
0276a718
UD
41710 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41711 the very first instruction.
41712
c88f1766
UD
41713 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41714 the CFI state in the end.
41715 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41716 inclusion of dl-trampoline.h.
41717 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41718
51ccffa0
AS
417192011-08-19 Andreas Schwab <schwab@redhat.com>
41720
94d7165f
AS
41721 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41722 expectations for long double.
41723
51ccffa0
AS
41724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41725 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41726
fd708658 417272011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41728
41729 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41730 artificual limit depends upon the system page size.
41731
44f0a71e
UD
417322011-08-17 Ulrich Drepper <drepper@gmail.com>
41733
41734 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41735 * resolv/Makefile: Define CFLAGS-libresolv.
41736
8de79a24
AS
417372011-08-17 Andreas Schwab <schwab@redhat.com>
41738
41739 * nss/makedb.c (compute_tables): Make variables used in nested
41740 function static.
41741
27724598
UD
417422011-08-17 Ulrich Drepper <drepper@gmail.com>
41743
c5305d88
UD
41744 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41745 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41746 if buffer was too small.
41747
27724598
UD
41748 * elf/pldd.c (main): Attach to all threads in the process.
41749 Rewrite /proc handling to use *at functions.
41750
076fe015
UD
417512011-08-16 Ulrich Drepper <drepper@gmail.com>
41752
174baab3
UD
41753 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41754 specifies first scope to show.
41755 (dl_open_worker): Update callers. Move printing scope of new
41756 object to before the relocation.
44f0a71e 41757 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41758 * sysdeps/generic/ldsodefs.h: Update declaration.
41759
076fe015
UD
41760 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41761 string for the scope number.
41762
a60df2c3
UD
417632011-08-14 Ulrich Drepper <drepper@gmail.com>
41764
41765 * nscd/servicescache.c (cache_addserv): Make sure written is always
41766 initialized.
41767
5e4287d1
RM
417682011-08-14 Roland McGrath <roland@hack.frob.com>
41769
85ae0589
RM
41770 * sysdeps/i386/i486/bits/atomic.h
41771 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41772 statement expression, so as to suppress "set but not used" warning.
41773 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41774
69f63097
RM
41775 * string/strncat.c (STRNCAT): Use prototype definition.
41776
675456ef
RM
41777 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41778 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41779 -Iprograms here.
41780 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41781 (localedef-modules): Add localedef.
41782 (locale-modules): Add locale.
41783
5e4287d1
RM
41784 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41785 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41786 to avoid a warning.
41787
9c96ff23
DM
417882011-08-14 David S. Miller <davem@davemloft.net>
41789
41790 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41791 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41792
f9ddf089
UD
417932011-08-13 Ulrich Drepper <drepper@gmail.com>
41794
44f0a71e 41795 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41796 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41797 * elf/rtld.c (dl_main): Set l_name of vDSO.
41798 Call _dl_show_scope when DL_DEBUG_SCOPES.
41799 (process_dl_debug): Recognize scopes flag and also set it for all.
41800 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41801 Declare _dl_show_scope.
41802
1dc27704
UD
41803 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41804 (do_dlopen): Pass caller_dlopen to dl_open.
41805 (__libc_dlopen_mode): Initialize caller_dlopen.
41806
f9ddf089
UD
41807 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41808 of libc. Make tolower call locale-independent. Optimize a bit by
41809 using isdigit instead of isalnum.
41810 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41811
9ac533d3
UD
418122011-08-12 Ulrich Drepper <drepper@gmail.com>
41813
41814 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41815 was a dependency or dynamically loaded.
41816
89edf2e9
UD
418172011-08-11 Ulrich Drepper <drepper@gmail.com>
41818
8e999d29
UD
41819 * intl/l10nflist.c: Allow architecture-specific pop function.
41820 * sysdeps/x86_64/l10nflist.c: New file.
41821
89edf2e9
UD
41822 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41823 classification.
41824
14d96785
AS
418252011-08-10 Andreas Schwab <schwab@redhat.com>
41826
41827 * include/dirent.h: Add libc_hidden_proto for scandirat and
41828 scandirat64. Don't declare __scandirat64.
41829 * dirent/scandirat.c: Add libc_hidden_def.
41830 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41831 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41832
6761ac04
DM
418332011-08-10 David S. Miller <davem@davemloft.net>
41834
41835 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41836 enum.
41837 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41838 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41839 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41840
c55fbd1e
UD
418412011-08-09 Ulrich Drepper <drepper@gmail.com>
41842
41843 * Versions.def [libc]: Add GLIBC_2.15.
41844 * dirent/Makefile (routines): Add scandirat and scandirat64.
41845 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41846 GLIBC_2.15.
41847 * dirent/dirent.h: Declare scandirat and scandirat64.
41848 * dirent/scandirat.c: New file.
41849 * dirent/scandirat64.c: New file.
41850 * sysdeps/wordsize-64/scandirat.c: New file.
41851 * sysdeps/wordsize-64/scandirat64.c: New file.
41852 * dirent/opendir.c: Define opendirat.
41853 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41854 using scandirat.
41855 * dirent/scandir64.c: Adjust for scandir.c change.
41856 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41857 __scandirat64, and __scandir_cancel_handler.
41858 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41859 additional parameter and use openat instead of open (outside of ld.so).
41860 Add new __opendir as wrapper around __opendirat.
41861 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41862 here without requiring old scandirat implementation.
41863
879165f2
UD
418642011-08-08 Ulrich Drepper <drepper@gmail.com>
41865
41866 * dirent/scandir.c (cancel_handler): Renamed to
41867 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41868 defined. Adjust users.
41869 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41870 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41871
cb7e923b
UD
418722011-08-04 Ulrich Drepper <drepper@gmail.com>
41873
16292edd
UD
41874 * string/test-string.h (IMPL): Use __STRING to expand name and then
41875 stringify it.
41876
cb7e923b
UD
41877 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41878 of cleanups.
41879
cff82933
LD
418802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41881
41882 * string/Makefile: Update.
41883 (strop-tests): Append strncat.
41884 * string/test-wcscmp.c: New file.
41885 New comprehensive test for wcscmp.
41886 * string/test-strcmp.c: Update.
41887 (WIDE): New define.
41888
9be9bfcc
AS
418892011-07-22 Andreas Schwab <schwab@redhat.com>
41890
41891 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41892 line.
41893
2e96f1c7
AS
418942011-07-26 Andreas Schwab <schwab@redhat.com>
41895
41896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41897 encoding to ACE if AI_IDN.
41898
85188888
JJ
418992011-08-01 Jakub Jelinek <jakub@redhat.com>
41900
41901 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41902 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41903
5fa16e9b
LD
419042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41905
41906 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41907 Fix overflow bug in strncat.
41908 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41909
41910 * string/test-strncat.c: Update.
41911 Add new tests for checking overflow bugs.
41912
419132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41914
41915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41916 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41917 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41918 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41919 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41920 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41921 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41922 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41923 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41924
41925 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41926 (USE_AS_STRCAT): Define.
41927 Add strcat and strncat support.
41928 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41929
8c1a459f
AS
419302011-07-25 Andreas Schwab <schwab@redhat.com>
41931
41932 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41933 __n bigger than INT_MAX+1.
41934 (__strncmp_g): Likewise.
41935
bba33c28
UD
419362011-07-23 Ulrich Drepper <drepper@gmail.com>
41937
798be72d
UD
41938 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41939 * libio/stido.h: Likewise.
41940
8accd4dc
UD
41941 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41942 (AF_NFC): Define.
41943 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41944 (AF_NFC): Define.
41945
cbff0d96
UD
41946 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41947 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41948 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41949 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41950 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41951
9191c04a
UD
41952 [BZ #13021]
41953 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41954 installed.
41955
bba33c28
UD
41956 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41957 typo.
41958 (_dl_x86_64_save_sse): Likewise.
41959
90f139dd
UD
419602011-07-22 Ulrich Drepper <drepper@gmail.com>
41961
1aae088a
UD
41962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41963 OSXSAVE.
41964 (_dl_x86_64_save_sse): Likewise.
41965
8e2045f5
UD
41966 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41967
90f139dd
UD
41968 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41969
1d002f25
AS
419702011-07-21 Andreas Schwab <schwab@redhat.com>
41971
41972 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41973 change.
41974 (_dl_x86_64_save_sse): Use correct AVX check.
41975
21137f89
UD
419762011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41977
41978 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41979 bug in strncpy/strncat.
41980 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41981
a65c0b7a
UD
419822011-07-21 Ulrich Drepper <drepper@gmail.com>
41983
41984 * string/tester.c (test_strcat): Add tests for different alignments
41985 of source and destination.
41986 (test_strncat): Likewise.
41987
6986b98a
UD
419882011-07-20 Ulrich Drepper <drepper@gmail.com>
41989
90bb2039
UD
41990 [BZ #12852]
41991 * posix/glob.c (glob): Check passed in values before using them in
41992 expressions to avoid some overflows.
41993 (glob_in_dir): Likewise.
41994
5644ef54
UD
41995 [BZ #13007]
41996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41997 check for AVX enablement so that we don't crash with old kernels and
41998 new hardware.
41999 * elf/tst-audit4.c: Add same checks here.
42000 * elf/tst-audit6.c: Likewise.
42001
42002 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42003
bfc9dc9b
AS
420042011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42005
42006 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42007
702e64bb
UD
420082011-07-20 Ulrich Drepper <drepper@gmail.com>
42009
42010 * po/cs.po: Update from translation team.
42011 * po/bg.po: Likewise.
42012
295e904f
MP
420132011-07-12 Marek Polacek <mpolacek@redhat.com>
42014
42015 * misc/sys/cdefs.h: Add support for const attribute.
42016 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42017 to gnu_dev_{major,minor,makedev} functions.
42018
3ff94596
MP
420192011-07-20 Marek Polacek <mpolacek@redhat.com>
42020
42021 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42022
28b59fca
AS
420232011-07-20 Andreas Schwab <schwab@redhat.com>
42024
42025 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42026 strlen results.
42027
19df733e
AK
420282011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42029
42030 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42031 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42032 register in order to avoid conflicts with the soft frame pointer
42033 being held in r11 when necessary.
42034 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42035 (INTERNAL_VSYSCALL_NCS): Likewise.
42036
c8835729
MP
420372011-07-14 Marek Polacek <mpolacek@redhat.com>
42038
42039 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42040 * elf/dl-fini.c (_dl_fini): Adjust caller.
42041 * elf/dl-close.c (_dl_close_worker): Likewise.
42042 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42043
b902330c
MP
420442011-07-15 Marek Polacek <mpolacek@redhat.com>
42045
8991e135
MP
42046 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42047 "aux_cache->nlibs < 0".
42048
b902330c
MP
42049 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42050 in the reload-count case.
42051
99710781
LD
420522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42053
42054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42055 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42056 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42057 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42058 * sysdeps/x86_64/multiarch/strcat.S: New file.
42059 * sysdeps/x86_64/multiarch/strncat.S: New file.
42060 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42061 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42062 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42063 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42064 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42065 (USE_AS_STRCAT): Define.
42066 Add strcat and strncat support.
42067 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42068 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42069 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42070 * string/strncat.c: Update.
42071 (USE_AS_STRNCAT): Define.
42072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42073 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42074 and i7.
42075 * sysdeps/x86_64/multiarch/init-arch.h
42076 (bit_Prefer_PMINUB_for_stringop): New.
42077 (index_Prefer_PMINUB_for_stringop): Likewise.
42078 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42079 bit_Prefer_PMINUB_for_stringop.
42080
7dc6bd90
UD
420812011-07-19 Ulrich Drepper <drepper@gmail.com>
42082
42083 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42084 buffer64.
42085 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42086 of casting of buffer.
42087 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42088 buffer32 and buffer64.
42089 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42090 writes instead of casting of buffer.
42091 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42092 buffer32.
42093 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42094 casting of buffer.
42095
e0e72284
AS
420962011-07-19 Andreas Schwab <schwab@redhat.com>
42097
42098 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42099
feb1eb0b
UD
421002011-07-19 Ulrich Drepper <drepper@gmail.com>
42101
42102 * nscd/nscd.c (termination_handler): Don't do anything for a database
42103 if it has not yet been initialized.
42104
298711ff
UD
421052011-07-18 Ulrich Drepper <drepper@gmail.com>
42106
42107 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42108
421092011-07-15 Marek Polacek <mpolacek@redhat.com>
42110
42111 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42112
f9d68389
UD
421132011-07-18 Ulrich Drepper <drepper@gmail.com>
42114
42115 * po/nl.po: Update from translation team.
42116 * po/sv.po: Likewise.
42117
db290cf5
RM
421182011-07-16 Roland McGrath <roland@hack.frob.com>
42119
42120 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42121 now disallowed by GCC.
5c550700 42122
fd5e21c7
RM
42123 * configure.in (use-default-link): Default to yes if a test -shared
42124 link meets our qualifications.
42125 * configure: Regenerated.
42126
5c550700
RM
42127 * config.make.in (output-format): New variable.
42128 * configure.in: Check for ld --print-output-format support.
42129 * configure: Regenerated.
42130 * Makerules ($(common-objpfx)format.lds)
42131 [$(output-format) != unknown]: Just use $(output-format),
42132 instead of the linker-script munging.
42133
9fa2c032
RM
421342011-07-14 Roland McGrath <roland@hack.frob.com>
42135
a6928d51
RM
42136 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42137 of $(common-objpfx)shlib.lds.
42138 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42139
661607b3
RM
42140 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42141 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42142
9fa2c032
RM
42143 * configure.in (-z relro check): Adjust test code to add a large
42144 writable data section after it.
42145 * configure: Regenerated.
42146
defe9061
RM
421472011-07-11 Roland McGrath <roland@hack.frob.com>
42148
42149 * configure.in (-z relro check): Fix test code to make the variable
42150 truly const.
42151 * configure: Regenerated.
42152
319b9ad4
UD
421532011-07-11 Ulrich Drepper <drepper@gmail.com>
42154
42155 * nscd/nscd.h (struct traced_file): Define.
42156 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42157 elements. Add traced_files.
42158 (inotify_fd): Declare.
42159 (register_traced_file): Declare.
42160 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42161 (inotify_fd): Export.
42162 (resolv_conf_descr): Remove.
42163 (nscd_init): Move inotify descriptor creation to main.
42164 Don't register files for notification here.
42165 (register_traced_file): New function.
42166 (invalidate_cache): Don't use reset_res to determine whether to call
42167 res_init, go through the list of registered files.
42168 (main_loop_poll): The inotify descriptors are now stored in the
42169 structures for the traced files.
42170 (main_loop_epoll): Likewise
42171 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42172 to __nss_disable_nscd.
42173 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42174 for a database anymore. Check the records for all the registered
42175 files instead.
42176 * nss/Makefile (libnss_files-routines): Add files-init.
42177 (libnss_db-routines): Add db-init.
42178 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42179 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42180 * nss/nss_db/db-init.c: New file.
42181 * nss/nss_files/files-init.c: New file.
42182 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42183 __nss_lookup_function.
42184 (__nss_lookup_function): Call nss_load_library.
42185 (nss_load_all_libraries): New function.
42186 (__nss_disable_nscd): Take parameter with callback function for files
42187 to register. Set is_nscd. Load all the DSOs for the NSS modules
42188 used for the cached services.
42189 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42190 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42191 options for features to all the files in nscd.
42192
42193 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42194
23bee3e8
RM
421952011-07-10 Roland McGrath <roland@hack.frob.com>
42196
42197 * csu/elf-init.c (__libc_csu_init): Comment typo.
42198
46a5b7f0
UD
421992011-07-09 Ulrich Drepper <drepper@gmail.com>
42200
42201 * po/pl.po: Update from translation team.
42202 * po/ja.po: Likewise.
42203 * po/ru.po: Likewise.
42204 * po/ko.po: Likewise.
42205 * po/fr.po: Likewise.
42206
d30cf5bb
RM
422072011-07-09 Roland McGrath <roland@hack.frob.com>
42208
113ddea4
RM
42209 * configure.in (.ctors/.dtors header and trailer check):
42210 Use an empirical test on a built program.
42211 * configure: Regenerated.
42212
574920b4
RM
42213 * configure.in (-z relro check): Use an empirical test on a built DSO.
42214 Detect, but do not require, on ia64.
42215 * configure: Regenerated.
42216
d30cf5bb
RM
42217 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42218 Update tests that use readelf to use $READELF instead.
42219 * configure: Regenerated.
42220
8538fdb3
UD
422212011-07-08 Ulrich Drepper <drepper@gmail.com>
42222
42223 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42224 if the result is not used.
42225
04d08991
AJ
422262011-07-05 Andreas Jaeger <aj@suse.de>
42227
42228 [BZ#9696]
42229 * stdlib/tst-strtod.c: Add testcase.
42230
de283087
AD
422312011-07-07 Ulrich Drepper <drepper@gmail.com>
42232
4e5f31c8 42233 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42234 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42235 The latter has a higher limit. Take additional parameter to pass to
42236 the new function.
42237 (__pathconf): Pass file to __statfs_link_max.
42238 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42239 __statfs_link_max.
42240 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42241 __statfs_link_max.
42242
de283087
AD
42243 [BZ #12868]
42244 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42245 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42246 Handle Lustre.
42247 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42248 (__statfs_filesize_max): Likewise.
42249 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42250
c75fa153
AJ
422512011-07-05 Andreas Jaeger <aj@suse.de>
42252
42253 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42254
1a544854
UD
422552011-07-06 Marek Polacek <mpolacek@redhat.com>
42256
42257 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42258 `status' variable.
42259 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42260 Likewise.
42261
6f0eec67
UD
422622011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42263
42264 * Makefile (strop-tests): Add strncat.
42265 * string/test-strncat.c: New file.
42266
aae30307
UD
422672011-06-30 Marek Polacek <mpolacek@redhat.com>
42268
42269 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42270
c0cfb5eb
UD
422712011-06-21 Andreas Jaeger <aj@suse.de>
42272
42273 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42274 Copy rule from iconvdata/Makefile.
42275
01636b21
UD
422762011-07-06 Ulrich Drepper <drepper@gmail.com>
42277
42278 [BZ #12922]
42279 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42280 but no long options are defined, just return 'W'.
42281
9895c8bc
UD
422822011-06-22 Marek Polacek <mpolacek@redhat.com>
42283
42284 [BZ #9696]
42285 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42286
5d4cf042
UD
422872011-07-06 Ulrich Drepper <drepper@gmail.com>
42288
42289 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42290 netgroups to read.
960e5535 42291 (innetgr): Likewise.
5d4cf042 42292
751eb97e
RM
422932011-07-05 Roland McGrath <roland@hack.frob.com>
42294
42295 * config.make.in (install_root): Default to $(DESTDIR).
42296
f15f1e45
UD
422972011-07-05 Ulrich Drepper <drepper@gmail.com>
42298
42299 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42300
4e34ac6a
RM
423012011-07-02 Roland McGrath <roland@hack.frob.com>
42302
5e9b6af4
RM
42303 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42304
84f9ea0f
RM
42305 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42306 containing directory rather than embedding absolute directory names.
42307
ea5ee9f7
RM
42308 * scripts/check-local-headers.sh: Rewritten using awk.
42309 Match by word, not by line. Print error messages for matches.
42310 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42311
1b74661a
RM
42312 * Makerules [shlib-lds-flags empty]:
42313 ($(common-objpfx)libc_pic.opts): New target.
42314 ($(common-objpfx)libc_pic.os.clean): New target.
42315 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42316
42317 * config.make.in (OBJCOPY): New variable.
42318 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42319 * configure: Regenerated.
42320
f781ef40
RM
42321 * config.make.in (use-default-link): New variable.
42322 * configure.in (use_default_link): Grok --with-default-link to set it.
42323 * configure: Regenerated.
42324 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42325 (shlib-lds, shlib-lds-flags): Define to empty.
42326
2d4fa81e
RM
42327 * Makerules (shlib-lds): New variable.
42328 (shlib-lds-flags): New variable.
42329 (build-shlib, build-moduile, build-module-asneeded): Use it.
42330 ($(common-objpfx)libc.so): Use $(shlib-lds).
42331 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42332 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42333
31fffa6b
RM
42334 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42335 DT_FLAGS/DT_FLAGS_1 with zero flags.
42336
4e34ac6a
RM
42337 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42338 linker script munging.
42339
fcfc776b
UD
423402011-07-02 Ulrich Drepper <drepper@gmail.com>
42341
42342 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42343 as 128-bit value.
42344 * crypt/sha512.c (sha512_process_block): Perform total addition using
42345 128-bit if possible.
42346 (__sha512_finish_ctx): Likewise.
42347 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42348 as 64-bit value.
42349 * crypt/sha256.c (SWAP64): Define.
42350 (sha256_process_block): Perform total addition using 64-bit if
42351 possible.
42352 (__sha256_finish_ctx): Likewise.
42353
99231d9a
UD
423542011-07-01 Ulrich Drepper <drepper@gmail.com>
42355
42356 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42357 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42358 * nscd/hstcache.c (cache_addhst): Likewise.
42359 * nscd/grpcache.c (cache_addgr): Likewise.
42360 * nscd/aicache.c (addhstaiX): Likewise
42361 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42362
445b4a53
TK
423632011-07-01 Thorsten Kukuk <kukuk@suse.de>
42364
42365 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42367 * nscd/hstcache.c (cache_addhst): Likewise.
42368 * nscd/grpcache.c (cache_addgr): Likewise.
42369 * nscd/aicache.c (addhstaiX): Likewise
42370
6d4d8e8e
AS
423712011-07-01 Andreas Schwab <schwab@redhat.com>
42372
42373 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42374 domain only when needed.
42375
89f654c5
AS
423762011-06-30 Andreas Schwab <schwab@redhat.com>
42377
42378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42379 is always restored.
42380
cf3b23ff
UD
423812011-06-29 Ulrich Drepper <drepper@gmail.com>
42382
42383 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42384 are re-adding the entry.
42385 * nscd/servicescache.c (cache_addserv): Likewise.
42386
751626f9
AJ
423872011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42388
42389 * sysdeps/generic/dl-irel.h: fix protection against multiple
42390 inclusions.
42391 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42392
9113ea1f
UD
423932011-06-28 Ulrich Drepper <drepper@gmail.com>
42394
5c0b8d90
UD
42395 [BZ #12935]
42396 * malloc/memusage.sh: Fix quoting in message.
42397 * debug/xtrace.sh: Likewise.
42398
9113ea1f
UD
42399 * configure.in: Remove support for --experimental-malloc option, make
42400 it the default.
42401 * config.make.in: Likewise.
42402 * malloc/Makefile: Likewise.
42403
a4172181
AS
424042011-06-27 Andreas Schwab <schwab@redhat.com>
42405
42406 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42407 two-byte characters.
42408
78a7eee7
RM
424092011-06-27 Roland McGrath <roland@hack.frob.com>
42410
62bede13
RM
42411 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42412 AC_CACHE_CHECK invocation.
42413 * configure: Regenerated.
42414
78a7eee7
RM
42415 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42416
5ce33a62
UD
424172011-06-27 Ulrich Drepper <drepper@gmail.com>
42418
034807a9
UD
42419 [BZ #12350]
42420 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42421 bit from old_res_options.
42422
4902da17
UD
42423 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42424
5ce33a62
UD
42425 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42426 value type for setfct.
42427
c2344f56
L
424282011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42429
42430 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42431 __gettimeofday instead of gettimeofday.
42432
68468076
UD
424332011-06-26 Ulrich Drepper <drepper@gmail.com>
42434
42435 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42436
acb0d739
L
424372011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42438
42439 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42440
42441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42442 info.
42443
8912479f
L
424442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42445
42446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42447 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42448 strcpy-sse2-unaligned strncpy-sse2-unaligned
42449 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42450 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42451 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42452 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42453 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42454 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42456 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42457 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42458 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42459 (STRCPY): Support SSE2 and SSSE3 versions.
42460
d5495a11
UD
424612011-06-24 Ulrich Drepper <drepper@gmail.com>
42462
42463 [BZ #12874]
42464 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42465 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42466 kernels which artificially limit size of requests.
42467
0b1cbaae
L
424682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42469
42470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42471 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42472 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42473 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42474 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42475 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42476 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42477 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42478 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42479 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42480 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42481 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42482 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42483 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42484 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42486 Enable unaligned load optimization for Intel Core i3, i5 and i7
42487 processors.
42488 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42489 Define.
42490 (index_Fast_Unaligned_Load): Define.
42491 (HAS_FAST_UNALIGNED_LOAD): Define.
42492
07f494a0
MP
424932011-06-23 Marek Polacek <mpolacek@redhat.com>
42494
42495 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42496
fa3fc0fe
UD
424972011-06-22 Ulrich Drepper <drepper@gmail.com>
42498
42499 [BZ #12907]
42500 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42501 until it is clear that the information is realy needed.
42502 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42503
e12df166
AS
425042011-06-22 Andreas Schwab <schwab@redhat.com>
42505
42506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42507
852eb34d
UD
425082011-06-22 Ulrich Drepper <drepper@gmail.com>
42509
84e2a551
UD
42510 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42511 /sys/devices/system/cpu/online if it is usable.
42512
852eb34d
UD
42513 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42514 reading the information from the /proc filesystem to once a second.
42515
6e502e19
UD
425162011-06-21 Andreas Jaeger <aj@suse.de>
42517
42518 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42519 NULL after inclusion of kernel headers.
42520
75d39ff2
UD
425212011-06-21 Ulrich Drepper <drepper@gmail.com>
42522
51f9aa6a
UD
42523 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42524 calls to internal_setent.
42525
c0244a9d
UD
42526 [BZ #12885]
42527 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42528 addresses using gethostbyname4_r ignore IPv4 addresses.
42529
c5e3c2ae
UD
42530 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42531 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42532
75d39ff2
UD
42533 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42534
42675c6f
DM
425352011-06-20 David S. Miller <davem@davemloft.net>
42536
42537 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42538 inclusions.
42539 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42540
42541 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42542 (elf_irel): Use it.
42543 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42544 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42545 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42546 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42547 * sysdeps/x86_64/dl-irel.h: Likewise.
42548
42549 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42550 * elf/dl-sym.c: Likewise.
42551
57912a71
UD
425522011-06-15 Ulrich Drepper <drepper@gmail.com>
42553
42554 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42555 need to dereference resplen2.
42556
ee22793d
AS
425572011-06-14 Andreas Schwab <schwab@redhat.com>
42558
42559 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42560
a9e836b0
UD
425612011-06-15 Ulrich Drepper <drepper@gmail.com>
42562
77fb9117
UD
42563 * Makeconfig: Define vardbdir and inst_vardbdir.
42564 * nss/Makefile: Add rules to install db-Makefile.
42565
40c1b22c
UD
42566 * nss/nss_db/db-XXX.c: Cleanup.
42567
9f2da732
UD
42568 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42569 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42570 GLIBC_PRIVATE.
42571 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42572 * nss/makedb.c: Implement -g option to specify that value strings
42573 are generated and should not be added to table iterated over for
42574 get*ent calls.
42575 * nss/nss_db/db-initgroups.c: New file.
42576
82e9a1f7
UD
42577 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42578 interface.
42579
c41af17e
UD
42580 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42581 (internal_getgrouplist): Adjust to name change.
42582 Update use_initgroups_entry if this is not the first call.
42583 * nss/databases.def: Add initgroups entry.
42584
a9e836b0
UD
42585 * nss/makedb.c (compute_tables): Check result of multiple hash table
42586 sizes to minimize maximum chain length.
42587
2666d441
UD
425882011-06-14 Ulrich Drepper <drepper@gmail.com>
42589
42590 * Versions.def: Add entry for libnss_db.
42591 * shlib-versions: Likewise.
42592 * nss/Makefile: Add rules to build libnss_db.
42593 * nss/Versions: Add libnss_db information. Organize libnss_files
42594 entries better.
42595 * nss/db-Makefile: Add gshadow support. Change rules for the new
42596 makedb progra. Some minor improvements to generate smaller files.
42597 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42598 here from...
42599 * nss/makedb.c: ...here.
42600 Improve database format to be smaller and require less memory at
42601 runtime.
42602 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42603 db anymore.
42604 * nss/nss_db/db-netgrp.c: Likewise.
42605 * nss/nss_db/db-open.c: Likewise.
42606 * nss/nss_files/flies-XXX.x: Adjust comments.
42607 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42608 * nss/nss_files/files-grp.c: Likewise.
42609 * nss/nss_files/files-hosts.c: Likewise.
42610 * nss/nss_files/files-network.c: Likewise.
42611 * nss/nss_files/files-proto.c: Likewise.
42612 * nss/nss_files/files-pwd.c: Likewise.
42613 * nss/nss_files/files-rpc.c: Likewise.
42614 * nss/nss_files/files-service.c: Likewise.
42615 * nss/nss_files/files-sgrp.c: Likewise.
42616 * nss/nss_files/files-spwd.c: Likewise.
42617 * nss/nss_db/db-alias.c: Removed.
42618 * nss/nss_db/dummy-db.h: Removed.
42619
9ee76b5a
UD
426202011-06-02 Ulrich Drepper <drepper@gmail.com>
42621
42622 * nss/makedb.c: Rewritten to not use database library.
42623 * nss/Makefile: Update to build new makedb program.
42624
c71ca1f8
AJ
426252011-06-14 Andreas Jaeger <aj@suse.de>
42626
42627 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42628 memset declaration.
42629
3154bfb8
UD
426302011-06-10 Andreas Schwab <schwab@redhat.com>
42631
42632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42633 tmpbuf.
42634
b350afab
RM
426352011-06-10 Roland McGrath <roland@hack.frob.com>
42636
decd4e50
RM
42637 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42638 * elf/Makefile ($(objpfx)ld.so): Likewise.
42639
5615eaf2
RM
42640 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42641 Don't list ld.so twice in dependencies.
42642
42643 * posix/bug-regex31.c: Include <stdlib.h>.
42644
42645 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42646
42647 * nis/nss_compat/compat-spwd.c
42648 (getspent_next_nss_netgr): Remove unused variable.
42649 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42650
42651 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42652 nonmembers" output to use the right array.
42653
42654 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42655
42656 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42657
42658 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42659 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42660 * catgets/gencat.c (read_input_file): Likewise.
42661 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42662
42663 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42664 variable definition inside #if's controlling its use.
42665
42666 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42667
42668 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42669
42670 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42671
42672 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42673 unreachable code.
42674
42675 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42676
b68e08db
RM
42677 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42678 * configure: Regenerated.
42679
b350afab
RM
42680 * Makerules: Revert last change.
42681 * elf/Makefile: Likewise.
42682
28368601
RM
426832011-06-09 Roland McGrath <roland@hack.frob.com>
42684
42685 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42686 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42687 (reloc-link): Likewise.
42688
11988f8f
UD
426892011-06-09 Ulrich Drepper <drepper@gmail.com>
42690
42691 * elf/Makefile: Add rules to build pldd.
42692 * elf/pldd.c: New file.
42693 * elf/pldd-xx.c: New file.
42694
e80fab37
UD
426952011-06-07 Ulrich Drepper <drepper@gmail.com>
42696
42697 * version.h: Update for 2.15 development version.
42698
9b849836
DM
426992011-06-07 David S. Miller <davem@davemloft.net>
42700
42701 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42702 ifuncs.
42703 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42704 elf_machine_lazy_rel): Likewise.
42705 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42706 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42707 elf_machine_lazy_rel): Likewise.
42708 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42709 dl_hwcap via passed in argument.
42710 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42711 Likewise.
42712
5a31b283
AK
427132011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42714
42715 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42716
069e52f8
RM
427172011-06-06 Roland McGrath <roland@hack.frob.com>
42718
42719 [BZ #12849]
42720 * manual/fdl-1.1.texi: New file, verbatim from:
42721 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42722 * manual/lgpl-2.1.texi: New file, verbatim from:
42723 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42724 * manual/Makefile (licenses): New variable, list those new file names.
42725 (texis): Use it.
42726 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42727
42728 * manual/fdl.texi: File removed.
42729 * manual/lesser.texi: File removed.
42730 * manual/libc.texinfo (Copying, Documentation License):
42731 Use new @include file names, put @appendix directive before @include.
42732
f16846a5
JJ
427332011-06-04 Jakub Jelinek <jakub@redhat.com>
42734
42735 [BZ #12841]
42736 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42737 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42738 (mq_open): Add __NTH.
42739
3d29045b
L
427402011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42741
42742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42743 Assume Intel Core i3/i5/i7 processor if AVX is available.
42744
8c297311
UD
427452011-05-31 Ulrich Drepper <drepper@gmail.com>
42746
42747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42748 typo.
42749
c8fc0c91
UD
427502011-05-31 Andreas Schwab <schwab@redhat.com>
42751
42752 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42753 memory. Use alloca_account. Fix memory leak when retrying.
42754
5b27a807
UD
427552011-05-31 Ulrich Drepper <drepper@gmail.com>
42756
356f8bc6
UD
42757 * version.h (RELEASE): Bump for 2.14 release.
42758 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42759
5b27a807
UD
42760 * config.make.in (RANLIB): Remove entry.
42761
01f16ab0
UD
427622011-05-30 Ulrich Drepper <drepper@gmail.com>
42763
41fce8bd
UD
42764 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42765 (libc.pot): Work around missing support for .ksh extension in xgettext.
42766
4769ae77
UD
42767 [BZ #12684]
42768 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42769 if both request failed.
42770 (send_dg): In case of server errors clear resplen or *resplen2.
42771
6b1e7d19
UD
42772 [BZ #12454]
42773 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42774 when there are multiple maps.
42775 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42776 (_dl_fini): Remove test here.
42777
01f16ab0
UD
42778 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42779
b1ebd700
UD
427802011-05-29 Ulrich Drepper <drepper@gmail.com>
42781
7ae22829
UD
42782 [BZ #12350]
42783 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42784 bit from old_res_options.
42785 (gaih_inet): Likewise.
42786
553149f6 42787 [BZ #11099]
18a84741 42788 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42789 as signed.
42790
652ffab1
UD
42791 * resolv/res_init.c (res_setoptions): Make the code more compact.
42792
16985fd0
UD
42793 [BZ #11558]
42794 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42795 set RES_USEVC.
42796
0464f746
UD
42797 [BZ #11634]
42798 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42799
7d17596c
UD
42800 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42801
cf6bbbd7
UD
42802 [BZ #11781]
42803 * malloc/malloc.h: Declare malloc hook variables as volatile.
42804
13f1ab36
UD
42805 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42806 in last patch.
42807
b1ebd700
UD
42808 [BZ #11799]
42809 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42810 raise in the comment.
80e2212d
UD
42811 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42812 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42813 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42814
ce67228d
UD
428152011-05-28 Ulrich Drepper <drepper@gmail.com>
42816
8887a920
UD
42817 [BZ #12811]
42818 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42819 grow the buffers more if it already has to be sufficient.
42820 (build_wcs_upper_buffer): Likewise.
42821 * posix/regexec.c (check_matching): Likewise.
42822 (clean_state_log_if_needed): Likewise.
42823 (extend_buffers): Don't enlarge buffers beyond size of the input
42824 buffer.
42825 Patches mostly by Emil Wojak <emil@wojak.eu>.
42826 * posix/bug-regex32.c: New file.
42827 * posix/Makefile (tests): Add bug-regex32.
42828
4f031072
UD
42829 * locale/findlocale.c (_nl_find_locale): Return right away if
42830 _nl_explode_name failed.
42831 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42832
d0478f0c
UD
42833 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42834
de81b246
UD
42835 * debug/xtrace.sh: Unify messages.
42836 * malloc/memusage.sh: Likewise.
42837
c738465a
UD
42838 [BZ #12813]
42839 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42840 time symbol from vDSO. Substitute with vsyscall if not available.
42841 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42842 __vdso_time.
42843
f1f929d7
UD
42844 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42845 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42846 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42847 Add sendmmsg and internal_sendmmsg.
42848 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42849 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42850 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42851
ce67228d
UD
42852 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42853 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42855
e57420c6
UD
428562011-05-27 Ulrich Drepper <drepper@gmail.com>
42857
a8509ca5
UD
42858 [BZ #12813]
42859 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42860 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42861 available.
42862 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42863 __vdso_getcpu.
42864
e57420c6
UD
42865 [BZ #12814]
42866 * iconvdata/Makefile (tests): Add bug-iconv9.
42867 * iconvdata/bug-iconv9.c: New file.
42868
4d07db15
AS
428692011-05-27 Andreas Schwab <schwab@redhat.com>
42870
42871 [BZ #12814]
42872 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42873
ea486f69
JJ
428742011-05-25 Jakub Jelinek <jakub@redhat.com>
42875
42876 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42877 (struct user_regs_struct): Change intcs field back to cs.
42878
6f038433
UD
428792011-05-25 Ulrich Drepper <drepper@gmail.com>
42880
42881 * po/ja.po: Update from translation team.
42882
67f86a25
UD
428832011-05-23 Ulrich Drepper <drepper@gmail.com>
42884
42885 [BZ #12795]
42886 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42887 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42888
def7fbd6
AS
428892011-05-20 Andreas Schwab <schwab@redhat.com>
42890
42891 * stdlib/longlong.h: Update from GCC.
42892
f50ef8f1
AS
428932011-05-23 Andreas Schwab <schwab@redhat.com>
42894
42895 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42896 parameter name.
42897 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42898 Add parameter name.
42899 (__sysconf): Pass it down.
42900
de7ce8f1
UD
429012011-05-22 Ulrich Drepper <drepper@gmail.com>
42902
f2962a71
UD
42903 [BZ #12671]
42904 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42905 some situations.
42906 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42907 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42908 add in in __libc_use_alloca calls. Adjust callers.
42909 (glob): Use malloc in some situations.
42910
de7ce8f1
UD
42911 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42912 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42913 pltexit.
42914
aec84f53
UD
429152011-05-21 Ulrich Drepper <drepper@gmail.com>
42916
05bb4a68
UD
42917 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42918 and CLOCK_BOOTTIME_ALARM.
42919
7ea72f99
UD
42920 [BZ #12782]
42921 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42922 is returned.
42923
7e4afad5
UD
42924 * string/_strerror.c (__strerror_r): Print negative errors as signed
42925 numbers.
42926
8e211fec
UD
42927 [BZ #12777]
42928 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42929 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42930 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42931
f7d82dc9
UD
42932 * configure.in: Fix typo in redirection and correct removal of test
42933 files in two cases.
42934
cc9e536d
UD
42935 [BZ #12788]
42936 * locale/setlocale.c (new_composite_name): Fix test to check for
42937 identical name of all categories.
42938
aec84f53
UD
42939 [BZ #12792]
42940 * libio/filedoalloc.c (local_isatty): New function.
42941 (_IO_file_doallocate): Use local_isatty.
42942 * stdio-common/perror.c (perror): In case a new stream is used
42943 forward the stream error.
42944 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42945 error flag.
42946
78e64fdc
RT
429472011-05-20 Ulrich Drepper <drepper@gmail.com>
42948
34a9094f
UD
42949 [BZ #11869]
42950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42951 alloca.
42952 * include/alloca.h (extend_alloca_account): Define.
42953
78e64fdc
RT
42954 [BZ #11857]
42955 * posix/regex.h: Fix comments with documentation of user-accessible
42956 fields after compilation and describe correct free'ing of pattern
42957 after re_compile_pattern.
42958 Patch by Reuben Thomas <rrt@sc3d.org>.
42959
457bddfc
RA
429602011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42961
42962 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42963 and -mno-altivec to prevent the compiler from using Altivec and/or
42964 VSX instructions when the corresponding registers are not available.
42965
a4527b51
AS
429662011-05-19 Andreas Schwab <schwab@redhat.com>
42967
42968 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42969
ed690b2f
UD
429702011-05-19 Ulrich Drepper <drepper@gmail.com>
42971
42972 * libio/freopen.c (freopen): Use __dup2, not dup2.
42973 * libio/freopen64.c (freopen64): Likewise.
42974
8db73634
L
429752011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42976
42977 [BZ #12775]
42978 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42979 * math/Makefile (tests): Add test-powl.
42980 (CFLAGS-test-powl.c): Define.
42981 * math/test-powl.c: New file.
42982
0a197a9d
L
429832011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42984
42985 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42986
ee30c380
UD
429872011-05-17 Ulrich Drepper <drepper@gmail.com>
42988
42989 [BZ #11837]
42990 * iconvdata/gb18030.c: Update to GB18020-2005.
42991
6ce75379
UD
429922011-05-16 Ulrich Drepper <drepper@gmail.com>
42993
a4b89fd8
AR
42994 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42995 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42996 Patch by Aharon Robbins <arnold@skeeve.com>.
42997
ea389b12
UD
42998 [BZ #11892]
42999 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43000 on the stack.
43001
68a3f91f
UD
43002 [BZ #11895]
43003 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43004 through underflows.
43005
15cc7dd1
UD
43006 [BZ #12766]
43007 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43008 point to strings before performing equality test for error_one_per_line
43009 mode.
43010
f3799213
UD
43011 [BZ #11697]
43012 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43013
d79a9c94
UD
43014 [BZ #11820]
43015 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43016 (struct user_fpregs_struct): Avoid __uint*_t types.
43017
56e5eb46
UD
43018 [BZ #6420]
43019 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43020 symbol info. Use it instead of calling _dl_addr locally.
43021 (lock_and_info): New function.
43022 (tr_freehook): Call lock_and_info and pass symbol info as additional
43023 parameter to tr_where.
43024 (tr_mallochook): Likewise.
43025 (tr_reallochook): Likewise.
43026 (tr_memalignhook): Likewise.
43027
6ce75379
UD
43028 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43029 used and couldn't be at all thread-safe.
43030
f8a3b5bf
UD
430312011-05-15 Ulrich Drepper <drepper@gmail.com>
43032
94b7cc37
UD
43033 * libio/freopen.c (freopen): Don't close old file descriptor
43034 before the new one is opened. Instead dup the new file descriptor
43035 to the old one after the new stream is created.
43036 * libio/freopen64.c (freopen64): Likewise.
43037 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43038 * libio/fileops.c (_IO_new_file_close_it): Handle new
43039 _IO_FLAGS2_NOCLOSE flag.
43040 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43041 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43042 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43043 _IO_FLAGS2_NOCLOSE flag.
43044 * include/unistd.h: Add hidden_proto for dup3.
43045 Define __have_dup3.
43046 * io/dup3.c: Define hidden symbol.
43047 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43048
bd25564e
UD
43049 [BZ #7101]
43050 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43051 when an incomplete long option is used.
43052 * posix/tst-getopt_long1.c: New file.
43053 * posix/Makefile (tests): Add tst-getopt_long1.
43054
c84cfef4
UD
43055 [BZ #10138]
43056 * scripts/config.guess: Update from autoconf-2.68.
43057 * scripts/config.sub: Likewise.
43058
3b85df27
UD
43059 [BZ #10157]
43060 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43061 tests into ...
43062 (has_cpuclock): ...this. New function.
43063 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43064 macro here based on has_cpuclock code.
43065
15a856b1
UD
43066 [BZ #10149]
43067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43068 First byte (not low byte) is now always NUL.
43069 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43070
05f399e6
UD
43071 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43072 Use non-cancelable interfaces.
43073
10a52685 43074 [BZ #9809]
94ecc67d
UD
43075 * locale/iso-639.def: Add entry for Sorani.
43076
f8a3b5bf
UD
43077 [BZ #11901]
43078 * include/stdlib.h: Move include protection to the right place.
43079 Define abort_msg_s. Declare __abort_msg with it.
43080 * stdlib/abort.c (__abort_msg): Adjust type.
43081 * assert/assert.c (__assert_fail_base): New function. Majority
43082 of code from __assert_fail. Allocate memory for __abort_msg with
43083 mmap.
43084 (__assert_fail): Now call __assert_fail_base.
43085 * assert/assert-perr.c: Remove bulk of implementation. Use
43086 __assert_fail_base.
43087 * include/assert.hL Declare __assert_fail_base.
43088 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43089 mmap.
43090 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43091
1af4e298
UD
430922011-05-14 Ulrich Drepper <drepper@gmail.com>
43093
f8a3b5bf 43094 [BZ #11952]
d26dfc60
MG
43095 [BZ #12453]
43096 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43097 until all modules are registered in the DTV.
43098 * elf/Makefile: Add rules to build and run tst-tls19.
43099 * elf/tst-tls19.c: New file.
43100 * elf/tst-tls19mod1.c: New file.
43101 * elf/tst-tls19mod2.c: New file.
43102 * elf/tst-tls19mod3.c: New file.
43103 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43104
2fc54d6f
UD
43105 [BZ #12083]
43106 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43107 correctly.
43108
98d76b46
UD
43109 [BZ #12601]
43110 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43111 two-byte sequence errors.
43112 * iconvdata/Makefile (tests): Add bug-iconv8.
43113 * iconvdata/bug-iconv8.c: New file.
43114
da3c19ef
UD
43115 [BZ #12626]
43116 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43117 buf2 definition.
43118
ca408c15
UD
43119 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43120
d6f67f7d
UD
43121 [BZ #12432]
43122 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43123 (dummy_getcfa): New function.
43124 (init): Get _Unwind_GetCFA address, use dummy if not found.
43125 (backtrace_helper): In recursion check, also check whether CFA changes.
43126 (__backtrace): Completely initialize arg.
43127
1af4e298 43128 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43129 storing incomplete byte sequence in state object. Avoid testing for
43130 guaranteed too small input if we know there is enough data available.
1af4e298 43131
da62f81b
AS
431322011-05-11 Andreas Schwab <schwab@redhat.com>
43133
43134 * Makeconfig (+link-pie): Indent.
43135 * Rules (binaries-pie): Define if $(have-fpie) and
43136 $(build-shared).
43137 (binaries-shared): Also filter out $(binaries-pie).
43138 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43139 * nscd/Makefile (others-pie): Add nscd.
43140 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43141 ($(objpfx)nscd): Remove command override.
43142 * login/Makefile (others-pie): Add pt_chown.
43143 ($(objpfx)pt_chown): Remove command override.
43144 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43145 remove command overrides.
43146
fcabc0f8
UD
431472011-05-13 Ulrich Drepper <drepper@gmail.com>
43148
20030ae6
UD
43149 * libio/tst_putwc.c: Fix error messages.
43150
fcabc0f8
UD
43151 [BZ #12724]
43152 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43153 currently writing and seek to current position when not.
43154 * libio/Makefile (tests): Add bug-fclose1.
43155 * libio/bug-fclose1.c: New file.
43156
320a5dc0
PB
431572011-05-12 Ulrich Drepper <drepper@gmail.com>
43158
43159 [BZ #12511]
43160 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43161 don't set DF_1_NODELETE here.
43162 (do_lookup_x): When entering new entry test for copy relocation
43163 and if necessary set DF_1_NODELETE flag.
43164 * elf/tst-unique4.cc: New file.
43165 * elf/tst-unique4.h: New file.
43166 * elf/tst-unique4lib.cc: New file.
43167 * elf/Makefile: Add rules to build and run tst-unique4.
43168 Patch by Piotr Bury <pbury@goahead.com>.
43169
22836f52
UD
431702011-05-11 Ulrich Drepper <drepper@gmail.com>
43171
f574184a
UD
43172 [BZ #12052]
43173 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43174
e1fb097f
UD
43175 [BZ #12625]
43176 * misc/mntent_r.c (addmntent): Flush the stream after the output
43177
22836f52
UD
43178 [BZ #12393]
43179 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43180 (is_trusted_path_normalize): Skip initial colon. Append slash
43181 to empty buffer. Duplicate is_trusted_path code but allow
43182 constructed patch to be prefix.
43183 (is_dst): Allow $ORIGIN followed by /.
43184 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43185 Correct testing of result of is_trusted_path_normalize
43186 (decompose_rpath): Fix warning.
43187
7b3b0b2a
UD
431882011-05-10 Ulrich Drepper <drepper@gmail.com>
43189
43190 [BZ #11257]
43191 * grp/initgroups.c (internal_getgrouplist): When we found the service
43192 list through the initgroups entry in nsswitch.conf do not always
43193 continue on a successful lookup. Don't always use the
eac80ce2 43194 __nss_group_database value if it is set.
7b3b0b2a
UD
43195 * nss/nsswitch.conf (initgroups): Change action for successful db
43196 lookup to continue for compatibility.
43197
2a81eaa5
UD
431982011-05-09 Ulrich Drepper <drepper@gmail.com>
43199
be97a69e
UD
43200 [BZ #11532]
43201 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43202 and CP774 modules.
43203 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43204 and CP774 modules.
43205 * iconvdata/tst-tables.sh: Likewise.
43206 * iconvdata/cp770.c: New file.
43207 * iconvdata/cp771.c: New file.
43208 * iconvdata/cp772.c: New file.
43209 * iconvdata/cp773.c: New file.
43210 * iconvdata/cp774.c: New file.
43211 * iconvdata/testdata/CP770: New file.
43212 * iconvdata/testdata/CP770..UTF8: New file.
43213 * iconvdata/testdata/CP771: New file.
43214 * iconvdata/testdata/CP771..UTF8: New file.
43215 * iconvdata/testdata/CP772: New file.
43216 * iconvdata/testdata/CP772..UTF8: New file.
43217 * iconvdata/testdata/CP773: New file.
43218 * iconvdata/testdata/CP773..UTF8: New file.
43219 * iconvdata/testdata/CP774: New file.
43220 * iconvdata/testdata/CP774..UTF8: New file.
43221
43222 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43223 END CHARMAP line.
43224 * iconvdata/gen-8bit-gap.sh: Likewise.
43225 * iconvdata/gen-8bit.sh: Likewise.
43226
c1e9e399
UD
43227 * locale/iso-639.def: Add ary entry.
43228
24c55fb3 43229 [BZ #11258]
96b4b1b0
UD
43230 * locale/C-translit.h.in: Add U20A1 transliteration.
43231
bdc2f971
KB
43232 [BZ #12178]
43233 * locale/iso-639.def: Add wae entry.
43234 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43235
2952b117
UD
43236 [BZ #12545]
43237 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43238 for n.
43239
2a81eaa5
UD
43240 [BZ #12711]
43241 * locale/C-translit.h.in: Add entry for U20B9.
43242 Patch by pravin.d.s@gmail.com.
43243
28377d1b
UD
432442011-05-08 Ulrich Drepper <drepper@gmail.com>
43245
7fb90fb8
UD
43246 [BZ #12713]
43247 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43248 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43249 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43250 in rtld. Use *stat64.
7fb90fb8 43251 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43252 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43253 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43254 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43255 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43256 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43257 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43258 __fstatat64 macros.
7fb90fb8
UD
43259 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43260 * dirent/rewinddir.c: Add libc_hidden_def.
43261 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43262 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43263
28377d1b
UD
43264 * include/dirent.h (__alloc_dir): Add flags parameter.
43265 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43266 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43267 __alloc_dir.
43268 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43269 from fdopendir if O_CLOEXEC is already set.
43270
66bdbaa4
AM
432712011-03-15 Alan Modra <amodra@gmail.com>
43272
43273 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43274 l_tls_firstbyte_offset non-zero. Save padding offset in
43275 l_tls_firstbyte_offset for later use.
43276 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43277 freeing static tls block.
43278
95721191
JN
432792011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43280
43281 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43282 where #ifdef was intended. The intent is to prevent ARG_MAX from
43283 being defined by the kernel headers.
43284
f87dfb1f
UD
432852011-05-07 Ulrich Drepper <drepper@gmail.com>
43286
43287 [BZ #12734]
43288 * resolv/resolv.h: Define RES_NOTLDQUERY.
43289 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43290 no-tld-query and set RES_NOTLDQUERY.
43291 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43292 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43293 modern BIND to search name as TLD unless forbidden.
43294
47c3cd7a
UD
432952011-05-07 Petr Baudis <pasky@suse.cz>
43296 Ulrich Drepper <drepper@gmail.com>
43297
43298 [BZ #12393]
43299 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43300 (is_trusted_path): ...to here.
c1e9ea35 43301 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43302 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43303 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43304
8a35c912
PP
433052011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43306
43307 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43308 __BEGIN/__END_DECLS.
43309
acd41f47
UD
433102011-05-06 Ulrich Drepper <drepper@gmail.com>
43311
43312 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43313 NSS_STATUS_NOTFOUND if no record was found.
43314
597df647
AS
433152011-05-05 Andreas Schwab <schwab@redhat.com>
43316
43317 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43318 (headers-not-in-tirpc): Remove rpc/netdb.h
43319 * resolv/netdb.h: Revert last change.
43320
b9af1301
PP
433212011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43322
43323 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43324 circular dependency between libgcc.a and libc.a.
43325
4e34d5f5
AS
433262011-05-05 Andreas Schwab <schwab@redhat.com>
43327
43328 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43329 * nis/Makefile: Don't install rpcsvc/*.
43330 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43331 instead of <rpc/types.h>.
43332 (MAXHOSTNAMELEN): Define.
43333
00ee369c
AS
433342011-05-03 Andreas Schwab <schwab@redhat.com>
43335
43336 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43337
0b592a30
MB
433382011-04-28 Maciej Babinski <mbabinski@google.com>
43339
43340 [BZ #12714]
43341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43342 gethostbyname4_r when IPv6 results are possible.
43343
6e04cbbe
UD
433442011-05-02 Ulrich Drepper <drepper@gmail.com>
43345
43346 [BZ #12723]
43347 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43348 _PC_PIPE_BUF handling.
43349
e4ecafe0
BH
433502011-04-30 Bruno Haible <bruno@clisp.org>
43351
43352 [BZ #12717]
43353 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43354 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43355 to 'int'.
43356 * inet/getnameinfo.c (getnameinfo): Likewise.
43357
125ee683
UD
433582011-04-29 Ulrich Drepper <drepper@gmail.com>
43359
43360 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43361 to groups setting in database lookup.
43362 * nss/nsswitch.conf: Add initgroups entry.
43363
b722481a
EB
433642011-04-22 Ulrich Drepper <drepper@gmail.com>
43365
43366 [BZ #12685]
43367 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43368 mode string.
43369 Patch by Eric Blake <eblake@redhat.com>.
43370
4df46dbd
L
433712011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43372
43373 * sunrpc/Makefile (need-export-routines): Add svc_run.
43374 (routines): Remove svc_run.
43375 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43376 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43377 * sunrpc/svc_run.c (svc_run): Likewise.
43378 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43379
e84142d2
UD
433802011-04-21 Ulrich Drepper <drepper@gmail.com>
43381
43382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43383 problem in reallocation in last patch.
43384
877175d8
UD
433852011-04-20 Ulrich Drepper <drepper@gmail.com>
43386
43387 * sunrpc/Makefile: Move inclusion of Rules.
43388
ab8eed78
UD
433892011-04-19 Ulrich Drepper <drepper@gmail.com>
43390
43391 * nss/nss_files/files-initgroups.c: New file.
43392 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43393 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43394 _nss_files_initgroups_dyn.
43395
e3d8f584
RS
433962011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43397
43398 * elf/elf.h (R_ARM_IRELATIVE): Define.
43399
af190f45
UD
434002011-04-19 Ulrich Drepper <drepper@gmail.com>
43401
43402 * po/ru.po: Update from translation team.
43403
53cf59ef
UD
434042011-04-17 Ulrich Drepper <drepper@gmail.com>
43405
43406 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43407 dependencies.
43408
4c559bcd
MF
434092011-02-06 Mike Frysinger <vapier@gentoo.org>
43410
43411 [BZ #12653]
43412 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43413 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43414 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43415 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43416 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43417
4420675c
AS
434182011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43419
43420 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43421 differing bytes.
43422 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43423 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43424 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43425
75ea32ab
UD
434262011-04-17 Ulrich Drepper <drepper@gmail.com>
43427
43428 [BZ #12420]
43429 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43430 storing it.
43431 * stdlib/bug-getcontext.c: New file.
43432 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43433
27390476
AK
434342011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43435
43436 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43437 instructions into .machine "z9-109".
43438 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43439 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43440
10442705
AK
434412011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43442
43443 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43444 between environment variables and auxiliary vector.
43445
7b57bfe5
UD
434462011-04-16 Ulrich Drepper <drepper@gmail.com>
43447
43448 * Makefile: Add rules to build linkobj/libc.so.
43449 * include/libc-symbols.h: Define libc_hidden_nolink.
43450 * include/rpc/auth.h: Mark functions which are to be hidden.
43451 * include/rpc/auth_des.h: Likewise.
43452 * include/rpc/auth_unix.h: Likewise.
43453 * include/rpc/clnt.h: Likewise.
43454 * include/rpc/des_crypt.h: Likewise.
43455 * include/rpc/key_prot.h: Likewise.
43456 * include/rpc/pmap_clnt.h: Likewise.
43457 * include/rpc/pmap_prot.h: Likewise.
43458 * include/rpc/pmap_rmt.h: Likewise.
43459 * include/rpc/rpc_msg.h: Likewise.
43460 * include/rpc/svc.h: Likewise.
43461 * include/rpc/svc_auth.h: Likewise.
43462 * include/rpc/xdr.h: Likewise.
43463 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43464 * nss/Makefile: Likewise.
43465 * sunrpc/Makefile: Don't install headers. Build library with normal
43466 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43467 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43468 for the compat linking library. Remove use of INTDEF/INTUSE.
43469 * sunrpc/auth_none.c: Likewise.
43470 * sunrpc/auth_unix.c: Likewise.
43471 * sunrpc/authdes_prot.c: Likewise.
43472 * sunrpc/authuxprot.c: Likewise.
43473 * sunrpc/clnt_gen.c: Likewise.
43474 * sunrpc/clnt_perr.c: Likewise.
43475 * sunrpc/clnt_raw.c: Likewise.
43476 * sunrpc/clnt_simp.c: Likewise.
43477 * sunrpc/clnt_tcp.c: Likewise.
43478 * sunrpc/clnt_udp.c: Likewise.
43479 * sunrpc/clnt_unix.c: Likewise.
43480 * sunrpc/des_crypt.c: Likewise.
43481 * sunrpc/des_soft.c: Likewise.
43482 * sunrpc/get_myaddr.c: Likewise.
43483 * sunrpc/key_call.c: Likewise.
43484 * sunrpc/key_prot.c: Likewise.
43485 * sunrpc/netname.c: Likewise.
43486 * sunrpc/pm_getmaps.c: Likewise.
43487 * sunrpc/pm_getport.c: Likewise.
43488 * sunrpc/pmap_clnt.c: Likewise.
43489 * sunrpc/pmap_prot.c: Likewise.
43490 * sunrpc/pmap_prot2.c: Likewise.
43491 * sunrpc/pmap_rmt.c: Likewise.
43492 * sunrpc/publickey.c: Likewise.
43493 * sunrpc/rpc_cmsg.c: Likewise.
43494 * sunrpc/rpc_common.c: Likewise.
43495 * sunrpc/rpc_dtable.c: Likewise.
43496 * sunrpc/rpc_prot.c: Likewise.
43497 * sunrpc/rpc_thread.c: Likewise.
43498 * sunrpc/rtime.c: Likewise.
43499 * sunrpc/svc.c: Likewise.
43500 * sunrpc/svc_auth.c: Likewise.
43501 * sunrpc/svc_authux.c: Likewise.
43502 * sunrpc/svc_raw.c: Likewise.
43503 * sunrpc/svc_run.c: Likewise.
43504 * sunrpc/svc_simple.c: Likewise.
43505 * sunrpc/svc_tcp.c: Likewise.
43506 * sunrpc/svc_udp.c: Likewise.
43507 * sunrpc/svc_unix.c: Likewise.
43508 * sunrpc/svcauth_des.c: Likewise.
43509 * sunrpc/xcrypt.c: Likewise.
43510 * sunrpc/xdr.c: Likewise.
43511 * sunrpc/xdr_array.c: Likewise.
43512 * sunrpc/xdr_float.c: Likewise.
43513 * sunrpc/xdr_intXX_t.c: Likewise.
43514 * sunrpc/xdr_mem.c: Likewise.
43515 * sunrpc/xdr_rec.c: Likewise.
43516 * sunrpc/xdr_ref.c: Likewise.
43517 * sunrpc/xdr_sizeof.c: Likewise.
43518 * sunrpc/xdr_stdio.c: Likewise.
43519
e6c61494
UD
435202011-04-10 Ulrich Drepper <drepper@gmail.com>
43521
43522 [BZ #12650]
43523 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43524 * sysdeps/ia64/dl-tls.h: Likewise.
43525 * sysdeps/powerpc/dl-tls.h: Likewise.
43526 * sysdeps/s390/dl-tls.h: Likewise.
43527 * sysdeps/sh/dl-tls.h: Likewise.
43528 * sysdeps/sparc/dl-tls.h: Likewise.
43529 * sysdeps/x86_64/dl-tls.h: Likewise.
43530 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43531
34fe483e
AS
435322011-03-14 Andreas Schwab <schwab@redhat.com>
43533
43534 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43535 rpath element also skip the following colon.
43536 (expand_dynamic_string_token): Add is_path parameter and pass
43537 down to DL_DST_REQUIRED and _dl_dst_substitute.
43538 (decompose_rpath): Call expand_dynamic_string_token with
43539 non-zero is_path. Ignore empty rpaths.
43540 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43541 with zero is_path.
43542
f12a32e6
AS
435432011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43544
43545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43546 Make cancelable.
43547
38a7d692
UD
435482011-04-09 Ulrich Drepper <drepper@gmail.com>
43549
43550 [BZ #12655]
43551 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43552 Patch by Filipe David Manana <fdmanana@apache.org>.
43553
e451d22b
AS
435542011-04-07 Andreas Schwab <schwab@redhat.com>
43555
43556 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43557 Maintain aligned stack.
43558 (CHECK_RSP): Remove unused macro.
43559
dedc7c7b
UD
435602011-04-03 Ulrich Drepper <drepper@gmail.com>
43561
43562 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43563 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43564
94521213
UD
435652011-04-02 Ulrich Drepper <drepper@gmail.com>
43566
43567 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43568
8cb700c0 43569 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43570
0354e355
L
435712011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43572
43573 [BZ #12518]
43574 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43575 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43576 * sysdeps/x86_64/memmove.c: New file.
43577 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43578 (memcpy): Renamed to ...
43579 (__new_memcpy): This.
43580 (memcpy): Provide GLIBC_2_14 memcpy.
43581 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43582 (memcpy): Provide GLIBC_2_2_5 memcpy.
43583
8593482f
UD
435842011-04-01 Ulrich Drepper <drepper@gmail.com>
43585
43586 [BZ #12631]
43587 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43588
81a5726b
AS
435892011-03-30 Andreas Schwab <schwab@redhat.com>
43590
43591 * misc/syncfs.c: New file.
43592 * misc/Makefile (routines): Add syncfs.
43593 * posix/unistd.h: Declare syncfs.
43594 * sysdeps/unix/syscalls.list: Add syncfs.
43595
00e5419f
AS
435962011-04-01 Andreas Schwab <schwab@redhat.com>
43597
43598 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43599 open_by_handle_at.
43600 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43601 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43603 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43604 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43605 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43607
748876bf
UD
436082011-04-01 Ulrich Drepper <drepper@gmail.com>
43609
658e451d
UD
43610 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43611 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43612 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43614 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43616 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43617
748876bf
UD
43618 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43619 sync_file_range.c with -fexceptions.
43620 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43621 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43622 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43623 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43624 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43625 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43627 sync_file_range as cancellation point
43628 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43629 now a wrapper around __call_sync_file_range with cancellation handling.
43630 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43631 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43632 function name to __call_sync_file_range.
43633 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43634 Add call_sync_file_range.
748876bf 43635
6e63d5e1
AS
436362011-04-01 Andreas Schwab <schwab@redhat.com>
43637
43638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43639 bits/timex.h.
6e63d5e1 43640
46998f74
UD
436412011-04-01 Ulrich Drepper <drepper@gmail.com>
43642
4c1423ed
UD
43643 * iconv/iconv.h: Fix typo in comment.
43644 * io/fcntl.h: Likewise.
43645 * libio/stdio.h: Likewise.
43646 * posix/spawn.h: Likewise.
43647 * posix/unistd.h: Likewise.
43648 * stdlib/stdlib.h: Likewise.
43649 * time/time.h: Likewise.
43650 * wcsmbs/wchar.h: Likewise.
43651
158648c0
UD
43652 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43653 open_by_handle): Add.
43654 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43655 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43656 Augment a few comments.
43657 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43661 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43662 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43663 open_by_handle.
43664
46998f74
UD
43665 * io/fcntl.h (AT_EMPTY_PATH): Define.
43666
83fe108b
UD
436672011-03-30 Ulrich Drepper <drepper@gmail.com>
43668
43669 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43670 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43671 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43672 to...
43673 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43674 * Versions.def: Add GLIBC_2.14.
43675 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43676 Export.
83fe108b 43677
bb242059
UD
436782011-03-22 Ulrich Drepper <drepper@gmail.com>
43679
43680 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43681 round counter.
43682 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43683
c97a1282
L
436842011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43685
43686 [BZ #12597]
43687 * string/test-strncmp.c (do_page_test): New function.
43688 (check2): Likewise.
43689 (test_main): Call check2.
43690 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43691
2a115601
UD
436922011-03-20 Ulrich Drepper <drepper@gmail.com>
43693
43694 [BZ #12587]
43695 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43696 Handle cache information in CPU leaf 4.
43697 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43698
8126d904
UD
436992011-03-18 Ulrich Drepper <drepper@gmail.com>
43700
042c49c6 43701 [BZ #12583]
8126d904
UD
43702 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43703 character representation.
43704 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43705
ccfe366e
RA
437062011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43707
43708 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43709 END(__isnan) to END(__isnanf) to match function entry point/label
43710 EALIGN(__isnanf,...).
43711
c6e13027
JJ
437122011-03-10 Jakub Jelinek <jakub@redhat.com>
43713
43714 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43715
33f85a3f
UD
437162011-03-10 Ulrich Drepper <drepper@gmail.com>
43717
028478fa
UD
43718 [BZ #12510]
43719 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43720 copy from the symbol referenced in the relocation to initialize the
43721 used variable.
43722 Patch by Piotr Bury <pbury@goahead.com>.
43723 * elf/Makefile: Add rules to build and tst-unique3.
43724 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43725 * elf/tst-unique3.cc: New file.
43726 * elf/tst-unique3.h: New file.
43727 * elf/tst-unique3lib.cc: New file.
43728 * elf/tst-unique3lib2.cc: New file.
43729
33f85a3f
UD
43730 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43731
03592fc7
MF
437322011-03-10 Mike Frysinger <vapier@gentoo.org>
43733
43734 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43735 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43736 to _start.
03592fc7 43737
6a5ee102
UD
437382011-03-06 Ulrich Drepper <drepper@gmail.com>
43739
43740 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43741 to-be-loaded object along a path to loader is ld.so.
43742
7e4ba49c
HJ
437432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43744 Ulrich Drepper <drepper@gmail.com>
43745
43746 * sysdeps/x86_64/memset.S: After aligning destination, code
43747 branches to different locations depending on the value of
43748 misalignment, when multiarch is enabled. Fix this.
43749
437502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43751
43752 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43753 Set _x86_64_preferred_memory_instruction for AMD processsors.
43754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43755 Set bit_Prefer_SSE_for_memop for AMD processors.
43756
13a804de
UD
437572011-03-04 Ulrich Drepper <drepper@gmail.com>
43758
43759 * libio/fmemopen.c (fmemopen): Optimize a bit.
43760
9d25c392
AS
437612011-03-03 Andreas Schwab <schwab@redhat.com>
43762
43763 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43764
a5543c6a
RM
437652011-03-03 Roland McGrath <roland@redhat.com>
43766
43767 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43768
012d35f7
DM
437692011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43770
7e4ba49c 43771 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43772 __bzero_ultra1 instead of __memset_ultra1.
43773
4bff6e01
AS
437742011-02-23 Andreas Schwab <schwab@redhat.com>
43775 Ulrich Drepper <drepper@gmail.com>
43776
43777 [BZ #12509]
43778 * include/link.h (struct link_map): Add l_orig_initfini.
43779 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43780 returning unsuccessfully.
43781 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43782 close of a file loaded at startup, restore the original l_initfini
43783 list.
43784 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43785 list, store the pointer.
43786 * elf/Makefile ($(objpfx)noload-mem): New rule.
43787 (noload-ENV): Define.
43788 (tests): Add $(objpfx)noload-mem.
43789 * elf/noload.c: Include <memcheck.h>.
43790 (main): Call mtrace. Close all opened handles.
43791
f2092faf
AS
437922011-02-17 Andreas Schwab <schwab@redhat.com>
43793
43794 [BZ #12454]
43795 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43796 dependencies are missing.
43797
6c8a2e88
ST
437982011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43799
f2092faf 43800 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43801 Hurd needs munmap.
43802 * sysdeps/mach/hurd/ifreq.h: New file.
43803
84a42118
PB
438042011-01-27 Petr Baudis <pasky@suse.cz>
43805 Ulrich Drepper <drepper@gmail.com>
43806
071f805e 43807 [BZ 12445]#
84a42118
PB
43808 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43809 to extend_alloca().
43810 * stdio-common/bug23.c: New file.
43811 * stdio-common/Makefile (tests): Add bug23.
43812
e23fe25b
AS
438132010-09-28 Andreas Schwab <schwab@redhat.com>
43814 Ulrich Drepper <drepper@gmail.com>
43815
43816 [BZ #12489]
43817 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43818 before performing relro protection. At old place add assertion
43819 to make sure nothing changed.
43820
d3f02e10
NS
438212011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43822 Glauber de Oliveira Costa <glommer@gmail.com>
43823
43824 * elf/elf.h: Add new ARM TLS relocs.
43825
d55fd7a5
RA
438262011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43827
43828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43829 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43830 cast from r3.
43831 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43832 'tests' variable.
43833 * sysdeps/wordsize-64/tst-writev.c: New file.
43834
2206397e
RA
438352011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43836
43837 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43838 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43839 insns in _dl_start to prevent a TOC reference before relocs are
43840 resolved.
43841
e9433893
UD
438422011-02-15 Ulrich Drepper <drepper@gmail.com>
43843
43844 [BZ #12469]
43845 * Makeconfig: Remove RANLIB definition.
43846 * Makerules: Don't use RANLIB.
43847 * aclocal.m4: Remove ranlib test.
43848 * configure.in: No need to check for ranlib.
43849 * elf/rtld-Rules: Don't use RANLIB.
43850
f75286c6
ST
438512011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43852
8e31c82d
ST
43853 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43854 protection macro.
43855 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43856 inclusion protection macro.
43857
f75286c6
ST
43858 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43859 SIGRTMIN and SIGRTMAX and print information in that case only when
43860 SIGRTMIN is defined.
43861
c1d0e639
JJ
438622011-02-11 Jakub Jelinek <jakub@redhat.com>
43863
43864 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43865 arginfo fn returning -1.
43866
43867 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43868 and thousands string is zero terminated.
43869
edf9294e
AS
438702011-02-03 Andreas Schwab <schwab@redhat.com>
43871
43872 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43873 sysdeps/unix/sysv/linux/bits/socket.h.
43874
2b7e92df
ST
438752011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43876
edf9294e
AS
43877 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43878 (__CPU_COUNT): Remove old macros.
43879 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43880 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43881 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43882 (__sched_cpualloc, __sched_cpufree): Add declarations.
43883
a4c7ea7b
UD
438842011-02-05 Ulrich Drepper <drepper@gmail.com>
43885
43886 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43887 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43888 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43889 (readdhstai): Return value of addhstaiX call.
43890 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43891 (addgrbyX): Return value returned by cache_addgr.
43892 (readdgrbyname): Return value returned by addgrbyX.
43893 (readdgrbygid): Likewise.
43894 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43895 (addpwbyX): Return value returned by cache_addpw.
43896 (readdpwbyname): Return value returned by addhstbyX.
43897 (readdpwbyuid): Likewise.
43898 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43899 (addservbyX): Return value returned by cache_addserv.
43900 (readdservbyname): Return value returned by addservbyX:
43901 (readdservbyport): Likewise.
43902 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43903 (addhstbyX): Return value returned by cache_addhst.
43904 (readdhstbyname): Return value returned by addhstbyX.
43905 (readdhstbyaddr): Likewise.
43906 (readdhstbynamev6): Likewise.
43907 (readdhstbyaddrv6): Likewise.
43908 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43909 (readdinitgroups): Return value returned by addinitgroupsX.
43910 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43911 (prune_cache): Keep track of timeout value of re-added entries.
43912 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43913 * nscd/nscd.h: Adjust prototypes of readd* functions.
43914
a0bf67cc
RM
439152011-02-04 Roland McGrath <roland@redhat.com>
43916
43917 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43918 (nis_stats): Likewise.
43919 * nis/nis_modify.c (nis_modify): Likewise.
43920 * nis/nis_remove.c (nis_remove): Likewise.
43921 * nis/nis_add.c (nis_add): Likewise.
43922
43923 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43924
43925 * posix/fnmatch_loop.c: Add some consts.
43926
43927 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43928
435b95eb
L
439292011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43930
43931 [BZ #12460]
43932 * config.make.in (config-cflags-novzeroupper): Define.
43933 * configure.in: Substitute libc_cv_cc_novzeroupper.
43934 * elf/Makefile (AVX-CFLAGS): Define.
43935 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43936 (CFLAGS-tst-auditmod4a.c): Likewise.
43937 (CFLAGS-tst-auditmod4b.c): Likewise.
43938 (CFLAGS-tst-auditmod6b.c): Likewise.
43939 (CFLAGS-tst-auditmod6c.c): Likewise.
43940 (CFLAGS-tst-auditmod7b.c): Likewise.
43941 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43942
8517b15e
UD
439432011-02-02 Ulrich Drepper <drepper@gmail.com>
43944
43945 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43946 function to the callback.
43947 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43948
10a656fe
AS
439492011-02-02 Andreas Schwab <schwab@redhat.com>
43950
43951 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43952 of errno.
43953
968dad0a
UD
439542011-01-19 Ulrich Drepper <drepper@gmail.com>
43955
9f94d2ea 43956 [BZ #11724]
968dad0a
UD
43957 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43958 of constructors.
43959 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43960 of destructors.
43961 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43962
43963 [BZ #11724]
43964 * elf/Makefile: Add rules to build and run new test.
43965 * elf/tst-initorder.c: New file.
43966 * elf/tst-initorder.exp: New file.
43967 * elf/tst-initordera1.c: New file.
43968 * elf/tst-initordera2.c: New file.
43969 * elf/tst-initordera3.c: New file.
43970 * elf/tst-initordera4.c: New file.
43971 * elf/tst-initorderb1.c: New file.
43972 * elf/tst-initorderb2.c: New file.
43973 * elf/tst-order-a1.c: New file.
43974 * elf/tst-order-a2.c: New file.
43975 * elf/tst-order-a3.c: New file.
43976 * elf/tst-order-a4.c: New file.
43977 * elf/tst-order-b1.c: New file.
43978 * elf/tst-order-b2.c: New file.
43979 * elf/tst-order-main.c: New file.
43980 New test case by George Gensure <werkt0@gmail.com>.
43981
86e92359
UD
439822010-10-01 Andreas Schwab <schwab@redhat.com>
43983
43984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43985 decoding ACE if AI_CANONIDN.
43986
5d5732b0
UD
439872011-01-18 Ulrich Drepper <drepper@gmail.com>
43988
43989 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43990
a77e8cbc
UD
439912011-01-17 Ulrich Drepper <drepper@gmail.com>
43992
6392473f
UD
43993 * version.h (RELEASE): Bump for 2.13 release.
43994 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43995
620a0529
UD
43996 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43997
18ba70a5
UD
43998 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43999 MADV_NOHUGEPAGE.
32465c3e
UD
44000 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44002 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44003 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44004 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44005 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44006
c0dafcf1
UD
44007 * posix/getconf.c: Update copyright year.
44008 * catgets/gencat.c: Likewise.
44009 * csu/version.c: Likewise.
44010 * debug/catchsegv.sh: Likewise.
44011 * debug/xtrace.sh: Likewise.
44012 * elf/ldconfig.c: Likewise.
44013 * elf/ldd.bash.in: Likewise.
44014 * elf/sprof.c (print_version): Likewise.
44015 * iconv/iconv_prog.c: Likewise.
44016 * iconv/iconvconfig.c: Likewise.
44017 * locale/programs/locale.c: Likewise.
44018 * locale/programs/localedef.c: Likewise.
44019 * malloc/memusage.sh: Likewise.
44020 * malloc/mtrace.pl: Likewise.
44021 * nscd/nscd.c (print_version): Likewise.
44022 * nss/getent.c: Likewise.
44023
a77e8cbc
UD
44024 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44025 PF_CAIF, and PF_ALG.
44026 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44027
77e8bddf
AS
440282011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44029
1f20b93a
AS
44030 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44031 (modules-names): Use them.
44032 (ifunc-test-modules, ifunc-pie-tests): Define.
44033 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44034 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44035 (test-extras): Likewise.
44036 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44037 $(compile-command.c).
44038 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44039 (all-built-dso): Define.
44040 (check-textrel.out, check-execstack.out): Depend on it.
44041
77e8bddf
AS
44042 * configure.in: Don't override --enable-multi-arch.
44043
bc425b33
UD
440442011-01-15 Ulrich Drepper <drepper@gmail.com>
44045
44046 [BZ #6812]
44047 * nscd/hstcache.c (tryagain): Define.
44048 (cache_addhst): Return tryagain not notfound for temporary errors.
44049 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44050 failed.
44051
794c3ad3
UD
440522011-01-14 Ulrich Drepper <drepper@gmail.com>
44053
70181fdd
UD
44054 [BZ #10563]
44055 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44056 to make the syscall.
44057 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44058
794c3ad3
UD
44059 [BZ #12378]
44060 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44061 and fall back to matching as normal character if the string ends before
44062 the matching ']' is found. This is what POSIX requires.
44063 * posix/testfnm.c: Adjust test result.
44064 * posix/globtest.sh: Adjust test result. Add new test.
44065 * posix/tst-fnmatch.input: Likewise.
44066 * posix/tst-fnmatch2.c: Add new test.
44067
68dc9497
AS
440682010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44069
44070 * elf/Makefile (check-execstack): Revert last change. Depend on
44071 check-execstack.h.
44072 (check-execstack.h): New target.
44073 (generated): Add check-execstack.h.
44074 * elf/check-execstack.c: Include "check-execstack.h".
44075 (main): Revert last change.
44076 (handle_file): Return zero if GNU_STACK is absent and
44077 DEFAULT_STACK_PERMS doesn't include PF_X.
44078
451f001b
UD
440792011-01-13 Ulrich Drepper <drepper@gmail.com>
44080
cfa28e56
UD
44081 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44082 in child fails because the descriptor is already closed.
8cf8ce17
UD
44083 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44084 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44085 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44086
1086d70d
UD
44087 [BZ #12397]
44088 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44089 syscall.
44090
451f001b
UD
44091 [BZ #10484]
44092 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44093 temporary buffer used to handle multi lookups locally.
a85b5cb4 44094 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44095
08769175
UD
440962011-01-12 Ulrich Drepper <drepper@gmail.com>
44097
44098 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44099 loader is ld.so.
44100
5e49c52e
UD
441012011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44102
44103 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44104 alignment for SSE2.
44105
60522a5f
UD
441062011-01-12 Ulrich Drepper <drepper@gmail.com>
44107
44108 [BZ #12394]
44109 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44110 characters. When rounding increased number of integer digits recompute
44111 number of groups.
44112 * stdio-common/tst-grouping.c: New file.
44113 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44114
f257bbd7
UD
441152011-01-09 Ulrich Drepper <drepper@gmail.com>
44116
44117 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44118 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44119
44120 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44121 void.
44122 * bits/select.h: Likewise.
44123
fa9c15cb
UD
441242011-01-08 Ulrich Drepper <drepper@gmail.com>
44125
44126 * po/ja.po: Update from translation team.
44127
16c2895f
DM
441282011-01-04 David S. Miller <davem@sunset.davemloft.net>
44129
44130 [BZ #11155]
44131 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44132 implementation just like for lxstat, fxstatat, et al.
44133
2543fef2
JM
441342010-12-27 Jim Meyering <meyering@redhat.com>
44135
44136 [BZ #12348]
44137 * posix/regexec.c (build_trtable): Return failure indication upon
44138 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44139
98727dbe
UD
441402010-12-25 Ulrich Drepper <drepper@gmail.com>
44141
5bd6dc5c
UD
44142 [BZ #12201]
44143 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44144 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44145 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44146 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44147
97983464
UD
44148 [BZ #12207]
44149 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44150
98727dbe
UD
44151 [BZ #12204]
44152 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44153 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44154
4a531bb0
L
441552010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44156
44157 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44158 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44159 script has SORT_BY_INIT_PRIORITY.
44160 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44161 NO_CTORS_DTORS_SECTIONS is defined.
44162 * elf/soinit.c: Likewise.
44163 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44164 NO_CTORS_DTORS_SECTIONS is defined.
44165 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44166 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44167 * sysdeps/sh/init-first.c: Likewise.
44168 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44169
07eb4b71
UD
441702010-12-24 Ulrich Drepper <drepper@gmail.com>
44171
44172 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44173 always use the slow path.
44174
30950a5f
RA
441752010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44176
44177 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44178 similar rule which adds the sysdep directories to the header search in
44179 order to pick up the correct platform stackinfo.h.
44180 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44181 perform test if it is, otherwise return successfully without testing.
44182 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44183 DEFAULT_STACK_PERMS define in stackinfo.h.
44184 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44185 defined in stackinfo.h.
44186 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44187 DEFAULT_STACK_PERMS defined in stackinfo.h.
44188 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44189 * sysdeps/ia64/stackinfo.h: Likewise.
44190 * sysdeps/s390/stackinfo.h: Likewise.
44191 * sysdeps/sh/stackinfo.h: Likewise.
44192 * sysdeps/sparc/stackinfo.h: Likewise.
44193 * sysdeps/x86_64/stackinfo.h: Likewise.
44194 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44195 PF_X for powerpc64. Retain PF_X for powerpc32.
44196
db753e2c
UD
441972010-12-19 Ulrich Drepper <drepper@gmail.com>
44198
14b697f7
UD
44199 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44200 accurately.
db753e2c
UD
44201 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44202 GETDENTS_64BIT_ALIGNED.
44203
28300719
UD
442042010-12-14 Ulrich Drepper <dreper@gmail.com>
44205
14b697f7 44206 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44207
4f197237
AS
442082010-12-10 Andreas Schwab <schwab@redhat.com>
44209
dbb0472f
AS
44210 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44211 _GNU_SOURCE.
44212
4f197237
AS
44213 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44214 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44215 Remove __restrict.
44216 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44217 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44218
fb88ac72
UD
442192010-12-09 Ulrich Drepper <drepper@gmail.com>
44220
44221 [BZ #11655]
44222 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44223 are initialized.
44224
42acbb92
JJ
442252010-12-09 Jakub Jelinek <jakub@redhat.com>
44226
44227 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44228
c038d98d
UD
442292010-12-03 Ulrich Drepper <drepper@gmail.com>
44230
44231 * po/it.po: Update from translation team.
44232
3a4a2499
L
442332010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44234
44235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44236 unused codes.
44237
1e24cf6e
UD
442382010-11-30 Ulrich Drepper <drepper@gmail.com>
44239
44240 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44241
a7690819
AS
442422010-11-24 Andreas Schwab <schwab@redhat.com>
44243
44244 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44245 specially.
44246 (gaih_getanswer_slice): Likewise.
44247
3bf8d1b1
JJ
442482010-10-20 Jakub Jelinek <jakub@redhat.com>
44249
44250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44251
6db52fbb
PB
442522010-05-31 Petr Baudis <pasky@suse.cz>
44253
44254 [BZ #11149]
44255 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44256 silently even in the chroot mode.
44257
eaca7569
UD
442582010-11-22 Ulrich Drepper <drepper@gmail.com>
44259
44260 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44261 last patch a bit. Pretty printing
44262
3056dcdb
UD
442632010-05-31 Petr Baudis <pasky@suse.cz>
44264
44265 [BZ #10085]
44266 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44267 initialization of skip_initgroups_dyn.
44268
cf7c9078
UD
442692010-11-19 Ulrich Drepper <drepper@gmail.com>
44270
44271 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44272 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44273
a1fb5e3e
UD
442742010-11-16 Ulrich Drepper <drepper@gmail.com>
44275
44276 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44277
3540d66b
AS
442782010-11-11 Andreas Schwab <schwab@redhat.com>
44279
44280 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44281 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44282 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44283 ($(objpfx)tst-fnmatch-mem): New rule.
44284 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44285 * posix/tst-fnmatch.c (main): Call mtrace.
44286
13b69574
L
442872010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44288
44289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44290 Support Intel processor model 6 and model 0x2c.
44291
da93d214
LM
442922010-11-10 Luis Machado <luisgpm@br.ibm.com>
44293
44294 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44295 signed comparison.
44296
8ca52c6e
L
442972010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44298
44299 [BZ #12205]
44300 * string/test-strncasecmp.c (check_result): New function.
44301 (do_one_test): Use it.
44302 (check1): New function.
44303 (test_main): Use it.
44304 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44305 Support strcasecmp and strncasecmp.
44306
69da074d
UD
443072010-11-08 Ulrich Drepper <drepper@gmail.com>
44308
44309 [BZ #12194]
44310 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44311 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44312
ff02d528
L
443132010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44314
44315 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44316 IFUNC support.
44317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44318 memset-x86-64.
44319 * sysdeps/x86_64/multiarch/bzero.S: New file.
44320 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44321 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44322 * sysdeps/x86_64/multiarch/memset.S: New file.
44323 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44325 Set bit_Prefer_SSE_for_memop for Intel processors.
44326 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44327 Define.
44328 (index_Prefer_SSE_for_memop): Define.
44329 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44330
344d0b54
LM
443312010-11-04 Luis Machado <luisgpm@br.ibm.com>
44332
44333 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44334 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44335
c0dde15b
UD
443362010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44337
44338 [BZ #12191]
44339 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44340 (__x86_64_raw_data_cache_size_half): Likewise.
44341 (__x86_64_raw_shared_cache_size): Likewise.
44342 (__x86_64_raw_shared_cache_size_half): Likewise.
44343
44344 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44345 (__x86_64_raw_data_cache_size_half): Likewise.
44346 (__x86_64_raw_shared_cache_size): Likewise.
44347 (__x86_64_raw_shared_cache_size_half): Likewise.
44348 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44349 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44350 and __x86_64_raw_shared_cache_size_half. Round
44351 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44352 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44353 to multiple of 256 bytes.
44354
0e516e0e
MS
443552010-11-03 Ulrich Drepper <drepper@gmail.com>
44356
44357 [BZ #12167]
44358 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44359 of inacessible symlinks. Verify result of symlink before returning it.
44360 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44361 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44362
0e012e87
ER
443632010-10-28 Erich Ritz <erichritz@gmail.com>
44364
44365 * math/math.h (isinf): Fix typo in comment.
44366
de0ff7bc
UD
443672010-11-01 Ulrich Drepper <drepper@gmail.com>
44368
44369 * po/da.po: Update from translation team.
44370
fa41c84d
UD
443712010-10-26 Ulrich Drepper <drepper@gmail.com>
44372
44373 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44374 is added to the list.
44375
f0967738
AK
443762010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44377 Ulrich Drepper <drepper@gmail.com>
44378
44379 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44380 the global list here. Move code to...
44381 (_dl_add_to_namespace_list): ...here. New function.
44382 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44383 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44384 * elf/dl-load.c (lose): Don't remove the element from the list.
44385 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44386 (_dl_map_object): Likewise.
44387
443882010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
44389
44390 [BZ #12159]
44391 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44392 into all bytes of SSE register.
44393 Patch by Richard Li <richardpku@gmail.com>.
44394
f0967738 443952010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
44396
44397 [BZ #12140]
44398 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44399 perturbing.
44400
d0b9e94f
MB
444012010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44402
44403 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44404 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44405 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44406 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44408 submachine.
44409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44410
8e9f92e9
AS
444112010-10-22 Andreas Schwab <schwab@redhat.com>
44412
44413 * include/dlfcn.h (__RTLD_SECURE): Define.
44414 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44415 mode & __RTLD_SECURE instead.
44416 (open_path): Rename preloaded parameter to secure.
44417 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44418 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44419 * elf/dl-deps.c (openaux): Likewise.
44420 * elf/rtld.c (struct map_args): Remove is_preloaded.
44421 (map_doit): Don't use it.
44422 (dl_main): Likewise.
44423 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44424 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44425
bc96fbda
AS
444262010-09-09 Andreas Schwab <schwab@redhat.com>
44427
44428 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44429 (sysd-rules-targets): Remove duplicates.
44430 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44431 rtld-%.$o dependency.
44432
22cd1c9b
AS
444332010-10-18 Andreas Schwab <schwab@redhat.com>
44434
44435 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44436 _dl_map_object do it.
44437
18edac48
UD
444382010-10-19 Ulrich Drepper <drepper@gmail.com>
44439
44440 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44441 fast fma builtins, define the macros in the C99 standard.
44442 (FP_FAST_FMAF): Likewise.
44443 (FP_FAST_FMAL): Likewise.
44444 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44445
44446 * bits/mathdef.h: Update copyright year.
44447 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44448
d2050124
MM
444492010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44450
44451 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44452 builtins, define the macros in the C99 standard.
44453 (FP_FAST_FMAF): Likewise.
44454 (FP_FAST_FMAL): Likewise.
44455 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44456 multiply/add.
44457 (FP_FAST_FMAF): Likewise.
44458
475facd1
JJ
444592010-10-15 Jakub Jelinek <jakub@redhat.com>
44460
44461 [BZ #3268]
44462 * math/libm-test.inc (fma_test): Some new testcases.
44463 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44464 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44465 y and infinite z. Do multiplication by C already in long double.
44466 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44468 y and infinite z. Do bitwise or of inexact bit into u.d.
44469 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44470 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44471 * sysdeps/i386/fpu/s_fma.S: Removed.
44472 * sysdeps/i386/fpu/s_fmal.S: Removed.
44473
7c08a05c
JJ
444742010-10-16 Jakub Jelinek <jakub@redhat.com>
44475
44476 [BZ #3268]
44477 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44479 computation is not scheduled after fetestexcept. Fix value
44480 of minimum denormal long double.
44481
f3f7372d
JJ
444822010-10-14 Jakub Jelinek <jakub@redhat.com>
44483
44484 [BZ #3268]
44485 * math/libm-test.inc (fma_test): Add some more tests.
44486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44487 correctly.
44488
14d43591
AS
444892010-10-15 Andreas Schwab <schwab@redhat.com>
44490
44491 * scripts/data/localplt-s390-linux-gnu.data: New file.
44492 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44493
5e908464
JJ
444942010-10-13 Jakub Jelinek <jakub@redhat.com>
44495
44496 [BZ #3268]
44497 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44498 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44499 instead of dbl-64.
44500 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44501 inlines.
44502 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44504 if one of x and y is very large and the other is subnormal.
44505 * sysdeps/s390/fpu/s_fmaf.c: New file.
44506 * sysdeps/s390/fpu/s_fma.c: New file.
44507 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44508 * sysdeps/powerpc/fpu/s_fma.S: New file.
44509 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44510 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44511 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44512
445132010-10-12 Jakub Jelinek <jakub@redhat.com>
44514
44515 [BZ #3268]
44516 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44517 fma tests.
44518 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44519 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44520 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44521 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44522 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44523 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44524 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44525
b833d51f
UD
445262010-10-12 Ulrich Drepper <drepper@redhat.com>
44527
44528 [BZ #12078]
44529 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44530 * posix/bug-regex31.input: Add test case.
44531
1751705d
UD
445322010-10-11 Ulrich Drepper <drepper@gmail.com>
44533
e9b9cbf5
UD
44534 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44535 * posix/bug-regex31.input: New file.
44536
44537 [BZ #12078]
44538 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44539 (parse_sub_exp): Fix last change, use postorder.
44540
ef06edbe
UD
44541 * posix/bug-regex31.c: New file.
44542 * posix/Makefile: Add rules to build and run bug-regex31.
44543
a129c80d
UD
44544 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44545
44546 [BZ #12078]
44547 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44548
b76b818e
UD
44549 [BZ #12108]
44550 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44551 to have entries in sys_siglist.
44552
1751705d
UD
44553 [BZ #12093]
44554 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44555 be NULL.
44556
9ff8d36f
JJ
445572010-10-07 Jakub Jelinek <jakub@redhat.com>
44558
44559 [BZ #3268]
44560 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44561 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44562 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44563 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44564 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44565 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44566 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44567 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44568 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44569 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44570 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44571 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44572 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44573 * math/ftestexcept.c (fetestexcept): Likewise.
44574 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44575 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44576 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44577 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44578 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44579 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44580 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44581
af325969
UD
445822010-10-11 Ulrich Drepper <drepper@gmail.com>
44583
c579b202 44584 [BZ #12107]
af325969
UD
44585 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44586 newline.
44587
67a67b95
UD
445882010-10-06 Ulrich Drepper <drepper@gmail.com>
44589
44590 * string/bug-strstr1.c: New file.
44591 * string/Makefile: Add rules to build and run bug-strstr1.
44592
5fb308bc
EB
445932010-10-05 Eric Blake <eblake@redhat.com>
44594
44595 [BZ #12092]
44596 * string/str-two-way.h (two_way_long_needle): Always clear memory
44597 when skipping input due to the shift table.
44598
45db99c7
UD
445992010-10-03 Ulrich Drepper <drepper@gmail.com>
44600
3b111893
UD
44601 [BZ #12005]
44602 * malloc/mcheck.c: Handle large requests.
44603
45db99c7
UD
44604 [BZ #12077]
44605 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44606 for strncmp and strncasecmp.
44607 * string/stratcliff.c: Add tests for strcmp and strncmp.
44608 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44609
cf7a1eb8
NI
446102010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44611
44612 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44613 __set_fpscr.
44614
6484ba5e
AJ
446152010-09-30 Andreas Jaeger <aj@suse.de>
44616
44617 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44618 (CGROUP_SUPER_MAGIC): Define.
44619 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44620 Handle btrfs and cgroup file systems.
44621 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44622 Likewise.
44623
91c42559
LM
446242010-09-27 Luis Machado <luisgpm@br.ibm.com>
44625
44626 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44627 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44628
87a97932
AK
446292010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44630
44631 [BZ #12067]
44632 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44633 trying to locate the ELF header.
44634
c21cc9bc
AS
446352010-09-27 Andreas Schwab <schwab@redhat.com>
44636
44637 [BZ #11611]
44638 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44639 Mask out sign-bit copies when constructing f_fsid.
44640
315970f6
PB
446412010-09-24 Petr Baudis <pasky@suse.cz>
44642
44643 * debug/stack_chk_fail_local.c: Add missing licence exception.
44644 * debug/warning-nop.c: Likewise.
44645
1ac7a2c7
JM
446462010-09-15 Joseph Myers <joseph@codesourcery.com>
44647
44648 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44649 implementing getdents64 using getdents syscall, set d_type if
44650 __ASSUME_GETDENTS32_D_TYPE.
44651
56801c50
AS
446522010-09-16 Andreas Schwab <schwab@redhat.com>
44653
44654 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44655 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44656
dda51327
UD
446572010-09-21 Ulrich Drepper <drepper@redhat.com>
44658
44659 [BZ #12037]
44660 * posix/unistd.h: Undo change of feature selection for ftruncate from
44661 2010-01-11.
44662
8ffcee4a
UD
446632010-09-20 Ulrich Drepper <drepper@redhat.com>
44664
a545ecd9 44665 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44666 detection.
44667
e24f0a8b
AS
446682010-09-20 Andreas Schwab <schwab@redhat.com>
44669
44670 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44671 fanotify_mark.
44672 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44673
7291c56f
AS
446742010-09-14 Andreas Schwab <schwab@redhat.com>
44675
44676 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44677 variables after CHECK_SP call.
44678 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44679
bc5fb037
AS
446802010-09-13 Andreas Schwab <schwab@redhat.com>
44681 Ulrich Drepper <drepper@redhat.com>
44682
44683 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44684 re-relocationg ld.so.
44685 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44686 _dl_init_paths call.
44687 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44688 here anymore.
44689
e66e7419
UD
446902010-09-14 Ulrich Drepper <drepper@redhat.com>
44691
44692 * resolv/res_init.c (__res_vinit): Count the default server we added.
44693
c044aa75
CLT
446942010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44695 Ulrich Drepper <drepper@redhat.com>
44696
44697 [BZ #11968]
44698 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44699 (____longjmp_chk): Use %ebx for saving value across system call.
44700 Add unwind info.
44701
32cf4069
AS
447022010-09-06 Andreas Schwab <schwab@redhat.com>
44703
44704 * manual/Makefile: Don't mix pattern rules with normal rules.
44705
817328ee
AS
447062010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44707
44708 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44709 operation.
44710 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44711 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44712 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44713 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44714 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44715 Likewise.
44716
29fddf61
UD
447172010-09-04 Ulrich Drepper <drepper@redhat.com>
44718
44719 [BZ #11979]
44720 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44721 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44722
0959ffc9
UD
447232010-09-02 Ulrich Drepper <drepper@redhat.com>
44724
44725 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44726 * sysdeps/x86_64/addmul_1.S: Likewise.
44727 * sysdeps/x86_64/lshift.S: Likewise.
44728 * sysdeps/x86_64/mul_1.S: Likewise.
44729 * sysdeps/x86_64/rshift.S: Likewise.
44730 * sysdeps/x86_64/sub_n.S: Likewise.
44731 * sysdeps/x86_64/submul_1.S: Likewise.
44732
ece29840
ST
447332010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44734
0959ffc9
UD
44735 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44736 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44737 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44738 * bits/sched.h [__need_schedparam]
ece29840 44739 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44740 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44741 (__defined_schedparam): Define to 1.
ece29840
ST
44742 (__sched_param): New structure, identical to sched_param.
44743 (__need_schedparam): Undefine.
44744
e53a31fe
MF
447452010-08-31 Mike Frysinger <vapier@gentoo.org>
44746
fdc0c10d
MF
44747 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44748 (epoll_create1): Declare.
44749
e53a31fe
MF
44750 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44751
a726d796
AS
447522010-08-31 Andreas Schwab <schwab@redhat.com>
44753
44754 [BZ #7066]
44755 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44756 shifting retval into place.
44757
2f3e3dc7
UD
447582010-09-01 Ulrich Drepper <drepper@redhat.com>
44759
f2933da9
UD
44760 * nis/rpcsvc/nis.h: Update copyright notice.
44761 * nis/rpcsvc/nis.x: Likewise.
44762 * nis/rpcsvc/nis_callback.h: Likewise.
44763 * nis/rpcsvc/nis_callback.x: Likewise.
44764 * nis/rpcsvc/nis_object.x: Likewise.
44765 * nis/rpcsvc/nis_tags.h: Likewise.
44766 * nis/rpcsvc/yp.h: Likewise.
44767 * nis/rpcsvc/yp.x: Likewise.
44768 * nis/rpcsvc/ypupd.h: Likewise.
44769 * nis/yp_xdr.c: Likewise.
44770 * nis/ypupdate_xdr.c: Likewise.
44771
2f3e3dc7
UD
44772 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44773 mainly the body of pmap_getport. Add parameters to specify timeouts.
44774 (pmap_getport): Use __libc_rpc_getport.
44775 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44776 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44777 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44778
f3dcc2f9
AS
447792010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44780
44781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44782 fanotify_mark.
44783
6d34eb5b
RM
447842010-08-27 Roland McGrath <roland@redhat.com>
44785
44786 * sysdeps/i386/i686/multiarch/Makefile
44787 (CFLAGS-varshift.c): New variable.
44788
9ea3de11
UD
447892010-08-27 Ulrich Drepper <drepper@redhat.com>
44790
c96d23fc
UD
44791 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44792 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44793
9ea3de11
UD
44794 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44795
44796 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44797
623aac7f
L
447982010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44799
44800 * sysdeps/x86_64/strlen.S: Unroll the loop.
44801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44802 strlen-sse2 strlen-sse2-bsf.
44803 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44804 __strlen_no_bsf if bit_Slow_BSF is set.
44805 (__strlen_sse42): Removed.
44806 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44807 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44808
8b2b7715
RM
448092010-08-25 Roland McGrath <roland@redhat.com>
44810
44811 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44812 * sysdeps/x86_64/multiarch/varshift.c: New file.
44813 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44814 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44815 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44816 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44817
e73015f2
L
448182010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44819
44820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44821 strlen-sse2 strlen-sse2-bsf.
44822 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44823 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44824 (__strlen_sse2): Removed.
44825 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44828 bit_Slow_BSF for Atom.
44829 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44830 (index_Slow_BSF): Define.
44831 (HAS_SLOW_BSF): Define.
44832
df24a73e
UD
448332010-08-25 Ulrich Drepper <drepper@redhat.com>
44834
44835 [BZ #10851]
44836 * resolv/res_init.c (__res_vinit): When no server address at all
44837 is given default to loopback.
44838
f2ac4868
RM
448392010-08-24 Roland McGrath <roland@redhat.com>
44840
09055553
RM
44841 * configure.in: Remove config-name.h generation.
44842 * configure: Regenerated.
44843 * config-name.in: File removed.
44844 * scripts/config-uname.sh: New file.
44845 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44846 ($(objdir)config-name.h): New target.
44847
f2ac4868
RM
44848 * sunrpc/rpc_parse.h: Avoid nested comment.
44849
73f27d5e
RH
448502010-08-24 Richard Henderson <rth@redhat.com>
44851 Ulrich Drepper <drepper@redhat.com>
44852 H.J. Lu <hongjiu.lu@intel.com>
44853
44854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44856 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44857 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44858 _mm_alignr_epi8 with _mm_loadu_si128.
44859 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44860 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44861 (__m128i_shift_right): Removed.
44862 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44863 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44864 * sysdeps/x86_64/multiarch/varshift.h: New file.
44865 * sysdeps/x86_64/multiarch/varshift.S: New file.
44866
84b9230c
MF
448672010-08-21 Mike Frysinger <vapier@gentoo.org>
44868
44869 * configure.in: Move assembler checks to before sysdep dir checking.
44870
9bbd0ddc
PB
448712010-08-20 Petr Baudis <pasky@suse.cz>
44872
44873 * LICENSES: Sync the sunrpc license.
44874
9da4bb31
UD
448752010-08-19 Ulrich Drepper <drepper@redhat.com>
44876
a7ab6ec8
UD
44877 * sunrpc/auth_des.c: Update copyright notice once again.
44878 * sunrpc/auth_none.c: Likewise.
44879 * sunrpc/auth_unix.c: Likewise.
44880 * sunrpc/authdes_prot.c: Likewise.
44881 * sunrpc/authuxprot.c: Likewise.
44882 * sunrpc/bindrsvprt.c: Likewise.
44883 * sunrpc/clnt_gen.c: Likewise.
44884 * sunrpc/clnt_perr.c: Likewise.
44885 * sunrpc/clnt_raw.c: Likewise.
44886 * sunrpc/clnt_simp.c: Likewise.
44887 * sunrpc/clnt_tcp.c: Likewise.
44888 * sunrpc/clnt_udp.c: Likewise.
44889 * sunrpc/clnt_unix.c: Likewise.
44890 * sunrpc/des_crypt.c: Likewise.
44891 * sunrpc/des_soft.c: Likewise.
44892 * sunrpc/get_myaddr.c: Likewise.
44893 * sunrpc/getrpcport.c: Likewise.
44894 * sunrpc/key_call.c: Likewise.
44895 * sunrpc/key_prot.c: Likewise.
44896 * sunrpc/openchild.c: Likewise.
44897 * sunrpc/pm_getmaps.c: Likewise.
44898 * sunrpc/pm_getport.c: Likewise.
44899 * sunrpc/pmap_clnt.c: Likewise.
44900 * sunrpc/pmap_prot.c: Likewise.
44901 * sunrpc/pmap_prot2.c: Likewise.
44902 * sunrpc/pmap_rmt.c: Likewise.
44903 * sunrpc/rpc/auth.h: Likewise.
44904 * sunrpc/rpc/auth_unix.h: Likewise.
44905 * sunrpc/rpc/clnt.h: Likewise.
44906 * sunrpc/rpc/des_crypt.h: Likewise.
44907 * sunrpc/rpc/key_prot.h: Likewise.
44908 * sunrpc/rpc/netdb.h: Likewise.
44909 * sunrpc/rpc/pmap_clnt.h: Likewise.
44910 * sunrpc/rpc/pmap_prot.h: Likewise.
44911 * sunrpc/rpc/pmap_rmt.h: Likewise.
44912 * sunrpc/rpc/rpc.h: Likewise.
44913 * sunrpc/rpc/rpc_des.h: Likewise.
44914 * sunrpc/rpc/rpc_msg.h: Likewise.
44915 * sunrpc/rpc/svc.h: Likewise.
44916 * sunrpc/rpc/svc_auth.h: Likewise.
44917 * sunrpc/rpc/types.h: Likewise.
44918 * sunrpc/rpc/xdr.h: Likewise.
44919 * sunrpc/rpc_clntout.c: Likewise.
44920 * sunrpc/rpc_cmsg.c: Likewise.
44921 * sunrpc/rpc_common.c: Likewise.
44922 * sunrpc/rpc_cout.c: Likewise.
44923 * sunrpc/rpc_dtable.c: Likewise.
44924 * sunrpc/rpc_hout.c: Likewise.
44925 * sunrpc/rpc_main.c: Likewise.
44926 * sunrpc/rpc_parse.c: Likewise.
44927 * sunrpc/rpc_parse.h: Likewise.
44928 * sunrpc/rpc_prot.c: Likewise.
44929 * sunrpc/rpc_sample.c: Likewise.
44930 * sunrpc/rpc_scan.c: Likewise.
44931 * sunrpc/rpc_scan.h: Likewise.
44932 * sunrpc/rpc_svcout.c: Likewise.
44933 * sunrpc/rpc_tblout.c: Likewise.
44934 * sunrpc/rpc_util.c: Likewise.
44935 * sunrpc/rpc_util.h: Likewise.
44936 * sunrpc/rpcinfo.c: Likewise.
44937 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44938 * sunrpc/rpcsvc/key_prot.x: Likewise.
44939 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44940 * sunrpc/rpcsvc/mount.x: Likewise.
44941 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44942 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44943 * sunrpc/rpcsvc/rex.x: Likewise.
44944 * sunrpc/rpcsvc/rstat.x: Likewise.
44945 * sunrpc/rpcsvc/rusers.x: Likewise.
44946 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44947 * sunrpc/rpcsvc/spray.x: Likewise.
44948 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44949 * sunrpc/rtime.c: Likewise.
44950 * sunrpc/svc.c: Likewise.
44951 * sunrpc/svc_auth.c: Likewise.
44952 * sunrpc/svc_authux.c: Likewise.
44953 * sunrpc/svc_raw.c: Likewise.
44954 * sunrpc/svc_run.c: Likewise.
44955 * sunrpc/svc_simple.c: Likewise.
44956 * sunrpc/svc_tcp.c: Likewise.
44957 * sunrpc/svc_udp.c: Likewise.
44958 * sunrpc/svc_unix.c: Likewise.
44959 * sunrpc/svcauth_des.c: Likewise.
44960 * sunrpc/xcrypt.c: Likewise.
44961 * sunrpc/xdr.c: Likewise.
44962 * sunrpc/xdr_array.c: Likewise.
44963 * sunrpc/xdr_float.c: Likewise.
44964 * sunrpc/xdr_mem.c: Likewise.
44965 * sunrpc/xdr_rec.c: Likewise.
44966 * sunrpc/xdr_ref.c: Likewise.
44967 * sunrpc/xdr_sizeof.c: Likewise.
44968 * sunrpc/xdr_stdio.c: Likewise.
44969
9da4bb31
UD
44970 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44971 handling.
44972
bdaa77bc
AS
449732010-08-19 Andreas Schwab <schwab@redhat.com>
44974
44975 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44976
fe2f79db
LM
449772010-08-19 Luis Machado <luisgpm@br.ibm.com>
44978
44979 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44980 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44981 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44982 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44983 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44984 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44985 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44986 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44987 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44988 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44989 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44990 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44991 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44992 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44993
b9b42ee0
AB
449942010-07-26 Anton Blanchard <anton@samba.org>
44995
44996 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44997 * malloc/arena.c (heap_trim): Likewise.
44998
1c06ba31
UD
449992010-08-16 Ulrich Drepper <drepper@redhat.com>
45000
45001 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45002 here. Not...
45003 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45004 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45005
f8392f40
L
450062010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45007
45008 * sysdeps/i386/elf/Makefile: New file.
45009
3162f12e
AS
450102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45011
45012 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45013 from fanotify_init.
45014 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45015 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45016
28c90b2c
UD
450172010-08-15 Ulrich Drepper <drepper@redhat.com>
45018
45019 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45020 of strncasecmp_l.
1feccb6c 45021 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45022
ca6bb004
UD
450232010-08-14 Ulrich Drepper <drepper@redhat.com>
45024
e9f82e0d
UD
45025 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45026 strncase_l-nonascii.
45027 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45028 Add strncase_l-ssse3.
45029 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45030 * sysdeps/x86_64/strcmp.S: Likewise.
45031 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45032 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45033 * sysdeps/x86_64/strncase.S: New file.
45034 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45035 * sysdeps/x86_64/strncase_l.S: New file.
45036 * string/Makefile (strop-tests): Add strncasecmp.
45037 * string/test-strncasecmp.c: New file.
45038
45039 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45040 warning.
45041
ca6bb004
UD
45042 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45043 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45044
052fa7b3
AS
450452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45046
45047 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45048
962dba78
UD
450492010-08-12 Ulrich Drepper <drepper@redhat.com>
45050
45051 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45052 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45053 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45054
bebff237
AM
450552010-05-01 Alan Modra <amodra@gmail.com>
45056
45057 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45058 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45059 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45060 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45061 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45062 tidying. Don't tail-call __sigjmp_save for static lib.
45063 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45064 save location.
45065 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45066 (CALL_MCOUNT): Add eh info, and nop after bl.
45067 (TAIL_CALL_SYSCALL_ERROR): New macro.
45068 (PSEUDO_RET): Use it.
45069 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45070 Correct save location of integer regs and cr.
45071 (_dl_profile_resolve): Correct cr save location. Delete nops
45072 after bl when SHARED. Reduce cfi size a little by better
45073 placement of cfi directives.
45074 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45075 make a stack frame. Instead use parm save area as a temp.
45076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45077 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45079 Don't make a stack frame for parent, use parm save area.
45080 Increase child stack frame to 112 bytes. Don't save unused reg,
45081 and adjust reg usage. Set up cfi on error recovery and
45082 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45084 (__makecontext): Add dummy nop after jump to exit.
45085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45086 Use correct parm save area and cr save, reduce stack frame.
45087 Correct cfi for possible PSEUDO_RET frame setup.
45088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45089 Branch to local label emitted by PSEUDO_RET rather than
45090 __syscall_error.
45091
02637374
AS
450922010-08-12 Andreas Schwab <schwab@redhat.com>
45093
45094 [BZ #11904]
45095 * locale/programs/locale.c (print_assignment): New function.
45096 (show_locale_vars): Use it.
45097
c3e2f19b
UD
450982010-08-11 Ulrich Drepper <drepper@redhat.com>
45099
3cdaa6ad
UD
45100 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45101 field.
45102 (struct statfs64): Likewise.
45103 (_STATFS_F_FLAGS): Define.
45104 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45105 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45106 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45107 (ST_VALID): Define locally.
45108 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45109 __statvfs_getflags, use the provided value.
45110 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45111 __ASSUME_STATFS_F_FLAGS.
45112
754f7da3
UD
45113 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45114
10b3bedc
UD
45115 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45116 Add sys/fanotify.h.
45117 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45118 fanotify_mask for GLIBC_2.13.
45119 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45120 fanotify_init and fanotify_mark.
45121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45122 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45123
c08fb0d7
UD
45124 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45125 Add prlimit.
45126 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45127 prlimit64 for GLIBC_2.13.
45128 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45129 prlimit64.
45130 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45131 syscall.
45132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45133 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45134 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45135 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45136 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45137 add prlimit alias.
45138 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45139
15bac72b
UD
45140 [BZ #11903]
45141 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45142 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45143
c3e2f19b
UD
45144 * nss/Makefile: Add rules to build and run tst-nss-test1.
45145 * shlib-versions: Add entry for libnss_test1.
45146 * nss/nss_test1.c: New file.
45147 * nss/tst-nss-test1.c: New file.
45148
45149 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45150 (__nss_configure_lookup): Set appropriate entry in
45151 __nss_configure_lookup to true.
45152 * nss/nsswitch.h: Define enum with indeces of databases in
45153 databases and __nss_database_custom arrays. Declare
45154 __nss_database_custom.
45155 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45156 to avoid using nscd when custom rules are installed.
45157 * nss/getXXbyYY_r.c: Likewise.
45158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45159
45160 * nss/nss_files/files-parse.c: Whitespace fixes.
45161
f15ce4d8
UD
451622010-08-09 Ulrich Drepper <drepper@redhat.com>
45163
45164 [BZ #11883]
45165 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45166 * posix/fnmatch_loop.c: Likewise.
45167
d22e4cc9
AK
451682010-07-17 Andi Kleen <ak@linux.intel.com>
45169
45170 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45171 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45172 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45173 * Versions.def [GLIBC_2.13]: Add.
45174
805bc17d
UD
451752010-08-06 Ulrich Drepper <drepper@redhat.com>
45176
45177 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45178 Also fail if tpwd after pwuid call is NULL.
45179
5a42321d
ST
451802010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45181
45182 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45183 when converting to ms.
45184
fd3ebeda
ST
451852010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45186
45187 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45188 EOPNOTSUPP errors with ENOTTY.
45189 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45190 EOPNOTSUPP errors with ENOTTY.
45191
73507d3a
UD
451922010-07-31 Ulrich Drepper <drepper@redhat.com>
45193
45194 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45195 Add strcasecmp_l-ssse3.
45196 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45197 strcasecmp.
45198 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45199 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45200 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45201
fe36dd02
UD
452022010-07-30 Ulrich Drepper <drepper@redhat.com>
45203
66f6765a
UD
45204 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45205
42e08a54
UD
45206 * string/Makefile (strop-tests): Add strcasecmp.
45207 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45208 strcasecmp_l-nonascii.
45209 (gen-as-const-headers): Add locale-defines.sym.
45210 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45211 * sysdeps/x86_64/strcasecmp.S: New file.
45212 * sysdeps/x86_64/strcasecmp_l.S: New file.
45213 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45214 * sysdeps/x86_64/locale-defines.sym: New file.
45215 * string/test-strcasecmp.c: New file.
45216
fe36dd02
UD
45217 * string/test-strcasestr.c: Test both ends of the range of characters.
45218 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45219
48cbc0d6
RM
452202010-07-29 Roland McGrath <roland@redhat.com>
45221
76e6d6bc 45222 [BZ #11856]
48cbc0d6
RM
45223 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45224
880113d9
UD
452252010-07-27 Ulrich Drepper <drepper@redhat.com>
45226
45227 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45228 for ld.so.
45229
deb9cabb
AS
452302010-07-27 Andreas Schwab <schwab@redhat.com>
45231
45232 * manual/memory.texi (Malloc Tunable Parameters): Document
45233 M_PERTURB.
45234
1c7570ff
RM
452352010-07-26 Roland McGrath <roland@redhat.com>
45236
45237 [BZ #11840]
45238 * configure.in (-fgnu89-inline check): Set and substitute
45239 gnu89_inline, not libc_cv_gnu89_inline.
45240 * configure: Regenerated.
45241 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45242
24fb0f88
UD
452432010-07-26 Ulrich Drepper <drepper@redhat.com>
45244
45245 * string/test-strnlen.c: New file.
45246 * string/Makefile (strop-tests): Add strnlen.
45247 * string/tester.c (test_strnlen): Add a few more test cases.
45248 * string/tst-strlen.c: Better error reporting.
45249
45250 * sysdeps/x86_64/strnlen.S: New file.
45251
8e96b93a
UD
452522010-07-24 Ulrich Drepper <drepper@redhat.com>
45253
45254 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45255 lower-latency instructions.
45256
dbc676d4
UD
452572010-07-23 Ulrich Drepper <drepper@redhat.com>
45258
45259 * string/test-strcasestr.c: New file.
45260 * string/test-strstr.c: New file.
45261 * string/Makefile (strop-tests): Add strstr and strcasestr.
45262 * string/str-two-way.h: Don't undefine MAX.
45263 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45264
f6a31e0e
AS
452652010-07-21 Andreas Schwab <schwab@redhat.com>
45266
45267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45268 strcasestr-nonascii.
45269 (CFLAGS-strcasestr-nonascii.c): Define.
45270 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45271 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45272 Remove unused attribute.
45273
5dbc3b6c
RM
452742010-07-20 Roland McGrath <roland@redhat.com>
45275
45276 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45277 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45278 ld.so.cache was broken. With it, there is no way to disable dsocaps
45279 like LD_HWCAP_MASK can disable hwcaps.
45280
23d101d8
EPM
452812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45282
45283 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45284
cc9f2e47
UD
452852010-07-16 Ulrich Drepper <drepper@redhat.com>
45286
45287 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45288 call in strcasestr.
45289 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45290 __strcasestr_sse42_nonascii.
45291 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45292 strcasestr-nonascii.c.
45293 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45294
77c1b069
LM
452952010-06-15 Luis Machado <luisgpm@br.ibm.com>
45296
45297 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45298 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45299 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45300 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45301
440566c3
UD
453022010-07-09 Ulrich Drepper <drepper@redhat.com>
45303
45304 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45305 fcntl.
45306
5be9d05d
AS
453072010-07-06 Andreas Schwab <schwab@redhat.com>
45308
c30b7ee2 45309 [BZ #11577]
5be9d05d
AS
45310 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45311 dl_signal_cerror.
45312
8a492a67
UD
453132010-07-06 Ulrich Drepper <drepper@redhat.com>
45314
45315 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45316 _PC_PIPE_BUF using F_GETPIPE_SZ.
45317
713df3d5
RM
453182010-07-05 Roland McGrath <roland@redhat.com>
45319
45320 * manual/arith.texi (Rounding Functions): Fix rint description
45321 implicit in round description.
45322
702e8f14
UD
453232010-07-02 Ulrich Drepper <drepper@redhat.com>
45324
45325 * elf/Makefile: Fix linking for a few tests to make recent linker
45326 happy.
45327
52ed8be9
AS
453282010-06-30 Andreas Schwab <schwab@redhat.com>
45329
45330 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45331 $(common-objpfx)libc_nonshared.a.
45332
f47c9a11
LM
453332010-06-21 Luis Machado <luisgpm@br.ibm.com>
45334
45335 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45336 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45337 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45338 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45339 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45340 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45341 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45342 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45357 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45358 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45359 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45360 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45361 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45362 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45363 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45364 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45365 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45366 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45367 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45368 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45383
6fb8cbcb
L
453842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45385
45386 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45387 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45388 * string/memmove.c (memmove): Renamed to ...
45389 (MEMMOVE): ...this. Default to memmove.
45390 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45391 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45392 (END_CHK): Define.
45393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45394 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45395 mempcpy-ssse3-back memmove-ssse3-back.
45396 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45397 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45398 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45399 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45400 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45401 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45402 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45403 * sysdeps/x86_64/multiarch/memmove.c: New file.
45404 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45405 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45406 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45407 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45408 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45409 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45410 Define.
45411 (index_Fast_Copy_Backward): Define.
45412 (HAS_ARCH_FEATURE): Define.
45413 (HAS_FAST_REP_STRING): Define.
45414 (HAS_FAST_COPY_BACKWARD): Define.
45415
4e733bac 454162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
45417
45418 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45419 Restore proper fallback handling.
45420
63c4ed22
UD
454212010-06-19 Ulrich Drepper <drepper@redhat.com>
45422
ac2b484c
UD
45423 [BZ #11701]
45424 * posix/group_member.c (__group_member): Correct checking loop.
45425
63c4ed22
UD
45426 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45427 OOM in getpwuid_r correctly. Return error number when the caller
45428 should return, otherwise -1.
45429 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45430 call returning > 0 value.
45431 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45432
765ade4b
AS
454332010-06-07 Andreas Schwab <schwab@redhat.com>
45434
45435 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45436 libc_nonshared.a from targets in modules-names.
45437
80da2e09
KS
454382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45439
45440 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45441 requires it.
45442
158db122
LM
454432010-06-10 Luis Machado <luisgpm@br.ibm.com>
45444
45445 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45446 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45448 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45449
caa78cf8
AS
454502010-06-02 Andreas Schwab <schwab@redhat.com>
45451
45452 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45453
b2ef2c01
UD
454542010-06-14 Ulrich Drepper <drepper@redhat.com>
45455
45456 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45457 and F_GETPIPE_SZ.
45458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45462 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45463 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45464
fbd643b6
RM
454652010-06-14 Roland McGrath <roland@redhat.com>
45466
45467 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45468
f32f2869
JJ
454692010-06-07 Jakub Jelinek <jakub@redhat.com>
45470
45471 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45472 __REDIRECT followed by __THROW.
45473 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45474 * posix/getopt.h (getopt): Likewise.
45475
2a50c078
EPM
454762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45477
45478 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45479 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45480 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45481 in AT_FLAGS.
45482 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45483 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45484
eb5ad2eb
LM
454852010-05-28 Luis Machado <luisgpm@br.ibm.com>
45486
45487 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45488
3c88fe1e
L
454892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45490
45491 [BZ #11640]
45492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45493 Properly check family and model.
45494
d2f73151
TY
454952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45496
45497 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45498
ebd2e13d
LM
454992010-05-24 Luis Machado <luisgpm@br.ibm.com>
45500
45501 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45502
b32b8b45
UD
455032010-05-21 Ulrich Drepper <drepper@redhat.com>
45504
45505 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45506 symbol reference.
45507
9acbe24d
AS
455082010-05-19 Andreas Schwab <schwab@redhat.com>
45509
45510 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45511 symbol reference.
45512
f0ccf6ea
AS
455132010-05-21 Andreas Schwab <schwab@redhat.com>
45514
3d04ff3a
AS
45515 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45516 and internal_recvmmsg.
45517 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45518 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45519 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45520 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45521
f0ccf6ea
AS
45522 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45523 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45524 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45525
5b08ac57
AS
455262010-05-20 Andreas Schwab <schwab@redhat.com>
45527
45528 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45529
4828935d
LM
455302010-05-17 Luis Machado <luisgpm@br.ibm.com>
45531
45532 POWER7 optimizations.
45533 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45534 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45535
373d545e
UD
455362010-05-19 Ulrich Drepper <drepper@redhat.com>
45537
45538 * version.h: Update for 2.13 development version.
45539
21a2b1ae
AS
455402010-05-12 Andrew Stubbs <ams@codesourcery.com>
45541
45542 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45543 exceptions. Return 0.
45544
3f7dcb2b
RM
455452010-05-07 Roland McGrath <roland@redhat.com>
45546
45547 * elf/ldconfig.c (main): Add a const.
45548
5f24d53a 455492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45550
a160f8d8
UD
45551 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45552 (args_options): Add no-idn option.
45553 (ahosts_keys_int): Add idn_flags to ai_flags.
45554 (parse_option): Handle 'i' option to clear idn_flags.
45555
5f24d53a
UD
45556 * malloc/malloc.c (_int_free): Possible race in the most recently
45557 added check. Only act on the data if no current modification
45558 happened.
265bb1ce
UD
45559
45560See ChangeLog.17 for earlier changes.